feat: 接入我创建的挑战列表接口

This commit is contained in:
richarjiang
2026-04-13 09:51:38 +08:00
parent 2f74f260b7
commit ddf51919b0
5 changed files with 99 additions and 4 deletions

View File

@@ -97,9 +97,9 @@ export interface ShareLevelData {
level: number;
imageUrl: string;
answer: string;
hint1: string;
hint2: string;
hint3: string;
hint1: string | null;
hint2: string | null;
hint3: string | null;
sortOrder: number;
}
@@ -116,3 +116,19 @@ export interface ReportProgressData {
timeLimit: number | null;
withinTimeLimit: boolean;
}
/** 我创建的分享挑战条目 */
export interface CreatedShareItem {
id: string;
shareCode: string;
title: string;
levelCount: number;
participantCount: number;
userRank: number | null;
createdAt: string;
}
/** 我创建的分享挑战列表响应 */
export interface CreatedShareListData {
items: CreatedShareItem[];
}