feat: 支持评分字段的导入

This commit is contained in:
richarjiang
2026-06-07 09:50:03 +08:00
parent e0b88e68e9
commit 588b6fbc77
8 changed files with 193 additions and 24 deletions

View File

@@ -10,6 +10,8 @@ export interface Level {
hint1: string | null
hint2: string | null
hint3: string | null
difficultyScore: number | null
funScore: number | null
sortKey: string
sortOrder: number
createdAt: Date
@@ -27,6 +29,8 @@ export interface LevelFormData {
hint1?: string
hint2?: string
hint3?: string
difficultyScore?: number | null
funScore?: number | null
/** 1-based 位置;创建时 [1, N+1],编辑时 [1, N];不传由后端决定默认行为 */
position?: number
}