Add duplicate and clear submissions functionality for challenge chains; implement corresponding dialogs and API endpoints, enhancing user experience and task management. Update localization for new features in English and Russian.

This commit is contained in:
2025-12-13 21:32:22 +03:00
parent 04836ea6ce
commit 88b95a7651
9 changed files with 354 additions and 1 deletions

View File

@@ -142,6 +142,16 @@ export interface UpdateChainRequest {
isActive?: boolean
}
export interface DuplicateChainRequest {
name?: string
}
export interface ClearSubmissionsResponse {
deletedCount: number
chainId: string
userId?: string
}
// ========== Stats v2 Types ==========
export type TaskProgressStatus = 'not_started' | 'pending' | 'in_progress' | 'needs_revision' | 'completed'