feat: 更新 PagePKData 组件,添加挑战参与者排行摘要支持
This commit is contained in:
@@ -162,6 +162,17 @@ export interface SubmitShareData {
|
||||
levels: SubmittedShareLevelData[];
|
||||
}
|
||||
|
||||
/** 分享挑战参与者排行摘要 */
|
||||
export interface ShareParticipantRankSummary {
|
||||
userId?: string | null;
|
||||
nickname?: string | null;
|
||||
nickName?: string | null;
|
||||
avatarUrl?: string | null;
|
||||
rank?: number | null;
|
||||
correctCount?: number | null;
|
||||
totalTimeSpent?: number | null;
|
||||
}
|
||||
|
||||
/** 我创建的分享挑战条目 */
|
||||
export interface CreatedShareItem {
|
||||
id: string;
|
||||
@@ -171,6 +182,10 @@ export interface CreatedShareItem {
|
||||
participantCount: number;
|
||||
userRank: number | null;
|
||||
createdAt: string;
|
||||
firstPlaceUser?: ShareParticipantRankSummary | null;
|
||||
topParticipant?: ShareParticipantRankSummary | null;
|
||||
firstParticipant?: ShareParticipantRankSummary | null;
|
||||
champion?: ShareParticipantRankSummary | null;
|
||||
}
|
||||
|
||||
/** 我创建的分享挑战列表响应 */
|
||||
|
||||
Reference in New Issue
Block a user