Refactor ChainFormPage and challenge types to use 'taskIds' instead of 'tasks' for improved clarity and consistency in data handling.
This commit is contained in:
@@ -131,11 +131,11 @@ export interface UpdateTaskRequest {
|
||||
|
||||
export interface CreateChainRequest {
|
||||
name: string
|
||||
tasks: string[] // Array of task IDs
|
||||
taskIds: string[] // Array of task IDs
|
||||
}
|
||||
|
||||
export interface UpdateChainRequest {
|
||||
name?: string
|
||||
tasks?: string[]
|
||||
taskIds?: string[]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user