77 lines
1.9 KiB
GraphQL
77 lines
1.9 KiB
GraphQL
extend type Mutation {
|
|
createTaskChecklist(input: CreateTaskChecklist!): TaskChecklist!
|
|
deleteTaskChecklist(input: DeleteTaskChecklist!): DeleteTaskChecklistPayload!
|
|
updateTaskChecklistName(input: UpdateTaskChecklistName!): TaskChecklist!
|
|
createTaskChecklistItem(input: CreateTaskChecklistItem!): TaskChecklistItem!
|
|
updateTaskChecklistItemName(input: UpdateTaskChecklistItemName!): TaskChecklistItem!
|
|
setTaskChecklistItemComplete(input: SetTaskChecklistItemComplete!): TaskChecklistItem!
|
|
deleteTaskChecklistItem(input: DeleteTaskChecklistItem!): DeleteTaskChecklistItemPayload!
|
|
|
|
updateTaskChecklistLocation(input: UpdateTaskChecklistLocation!): UpdateTaskChecklistLocationPayload!
|
|
updateTaskChecklistItemLocation(input: UpdateTaskChecklistItemLocation!): UpdateTaskChecklistItemLocationPayload!
|
|
}
|
|
|
|
input UpdateTaskChecklistItemLocation {
|
|
checklistID: UUID!
|
|
checklistItemID: UUID!
|
|
position: Float!
|
|
}
|
|
|
|
type UpdateTaskChecklistItemLocationPayload {
|
|
checklistID: UUID!
|
|
prevChecklistID: UUID!
|
|
checklistItem: TaskChecklistItem!
|
|
}
|
|
|
|
input UpdateTaskChecklistLocation {
|
|
checklistID: UUID!
|
|
position: Float!
|
|
}
|
|
|
|
type UpdateTaskChecklistLocationPayload {
|
|
checklist: TaskChecklist!
|
|
}
|
|
|
|
input CreateTaskChecklist {
|
|
taskID: UUID!
|
|
name: String!
|
|
position: Float!
|
|
}
|
|
|
|
type DeleteTaskChecklistItemPayload {
|
|
ok: Boolean!
|
|
taskChecklistItem: TaskChecklistItem!
|
|
}
|
|
|
|
input CreateTaskChecklistItem {
|
|
taskChecklistID: UUID!
|
|
name: String!
|
|
position: Float!
|
|
}
|
|
|
|
input SetTaskChecklistItemComplete {
|
|
taskChecklistItemID: UUID!
|
|
complete: Boolean!
|
|
}
|
|
|
|
input DeleteTaskChecklistItem {
|
|
taskChecklistItemID: UUID!
|
|
}
|
|
|
|
input UpdateTaskChecklistItemName {
|
|
taskChecklistItemID: UUID!
|
|
name: String!
|
|
}
|
|
|
|
input UpdateTaskChecklistName {
|
|
taskChecklistID: UUID!
|
|
name: String!
|
|
}
|
|
input DeleteTaskChecklist {
|
|
taskChecklistID: UUID!
|
|
}
|
|
type DeleteTaskChecklistPayload {
|
|
ok: Boolean!
|
|
taskChecklist: TaskChecklist!
|
|
}
|