feat: 支持批量上传关卡

This commit is contained in:
richarjiang
2026-05-01 08:44:56 +08:00
parent f3f27def2b
commit 66a9ee2950
27 changed files with 5262 additions and 515 deletions

View File

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