2020-07-05 01:02:57 +02:00
|
|
|
extend type Mutation {
|
2020-08-01 03:01:14 +02:00
|
|
|
createTaskGroup(input: NewTaskGroup!):
|
|
|
|
TaskGroup! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
updateTaskGroupLocation(input: NewTaskGroupLocation!):
|
|
|
|
TaskGroup! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
updateTaskGroupName(input: UpdateTaskGroupName!):
|
|
|
|
TaskGroup! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
|
|
|
deleteTaskGroup(input: DeleteTaskGroupInput!):
|
|
|
|
DeleteTaskGroupPayload! @hasRole(roles: [ADMIN], level: PROJECT, type: PROJECT)
|
2020-07-05 01:02:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input NewTaskGroupLocation {
|
|
|
|
taskGroupID: UUID!
|
|
|
|
position: Float!
|
|
|
|
}
|
|
|
|
|
|
|
|
input UpdateTaskGroupName {
|
|
|
|
taskGroupID: UUID!
|
|
|
|
name: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input DeleteTaskGroupInput {
|
|
|
|
taskGroupID: UUID!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteTaskGroupPayload {
|
|
|
|
ok: Boolean!
|
|
|
|
affectedRows: Int!
|
|
|
|
taskGroup: TaskGroup!
|
|
|
|
}
|
|
|
|
|
|
|
|
input NewTaskGroup {
|
|
|
|
projectID: String!
|
|
|
|
name: String!
|
|
|
|
position: Float!
|
|
|
|
}
|