2020-07-05 01:02:57 +02:00
|
|
|
input AddTaskLabelInput {
|
|
|
|
taskID: UUID!
|
|
|
|
projectLabelID: UUID!
|
|
|
|
}
|
|
|
|
|
|
|
|
input RemoveTaskLabelInput {
|
|
|
|
taskLabelID: UUID!
|
|
|
|
}
|
|
|
|
input ToggleTaskLabelInput {
|
|
|
|
taskID: UUID!
|
|
|
|
projectLabelID: UUID!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ToggleTaskLabelPayload {
|
|
|
|
active: Boolean!
|
|
|
|
task: Task!
|
|
|
|
}
|
|
|
|
extend type Mutation {
|
2020-08-01 03:01:14 +02:00
|
|
|
addTaskLabel(input: AddTaskLabelInput):
|
|
|
|
Task! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
removeTaskLabel(input: RemoveTaskLabelInput):
|
|
|
|
Task! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
toggleTaskLabel(input: ToggleTaskLabelInput!):
|
|
|
|
ToggleTaskLabelPayload! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|