2020-07-05 01:02:57 +02:00
|
|
|
extend type Mutation {
|
2020-08-01 03:01:14 +02:00
|
|
|
createTaskGroup(input: NewTaskGroup!):
|
2020-09-20 00:26:02 +02:00
|
|
|
TaskGroup! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: PROJECT)
|
2020-08-01 03:01:14 +02:00
|
|
|
updateTaskGroupLocation(input: NewTaskGroupLocation!):
|
2020-09-20 00:26:02 +02:00
|
|
|
TaskGroup! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: TASK_GROUP)
|
2020-08-01 03:01:14 +02:00
|
|
|
updateTaskGroupName(input: UpdateTaskGroupName!):
|
2020-09-20 00:26:02 +02:00
|
|
|
TaskGroup! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: TASK_GROUP)
|
2020-08-01 03:01:14 +02:00
|
|
|
deleteTaskGroup(input: DeleteTaskGroupInput!):
|
2020-09-20 00:26:02 +02:00
|
|
|
DeleteTaskGroupPayload! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: TASK_GROUP)
|
2020-09-11 01:15:06 +02:00
|
|
|
duplicateTaskGroup(input: DuplicateTaskGroup!):
|
2020-09-20 00:26:02 +02:00
|
|
|
DuplicateTaskGroupPayload! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: TASK_GROUP)
|
2020-09-11 01:15:06 +02:00
|
|
|
sortTaskGroup(input: SortTaskGroup!):
|
2020-09-20 00:26:02 +02:00
|
|
|
SortTaskGroupPayload! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: TASK_GROUP)
|
2020-09-11 01:15:06 +02:00
|
|
|
deleteTaskGroupTasks(input: DeleteTaskGroupTasks!):
|
2020-09-20 00:26:02 +02:00
|
|
|
DeleteTaskGroupTasksPayload! @hasRole(roles: [ADMIN, MEMBER], level: PROJECT, type: TASK_GROUP)
|
2020-09-11 01:15:06 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
input DeleteTaskGroupTasks {
|
|
|
|
taskGroupID: UUID!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DeleteTaskGroupTasksPayload {
|
|
|
|
taskGroupID: UUID!
|
|
|
|
tasks: [UUID!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input TaskPositionUpdate {
|
|
|
|
taskID: UUID!
|
|
|
|
position: Float!
|
|
|
|
}
|
|
|
|
|
|
|
|
type SortTaskGroupPayload {
|
|
|
|
taskGroupID: UUID!
|
|
|
|
tasks: [Task!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input SortTaskGroup {
|
|
|
|
taskGroupID: UUID!
|
|
|
|
tasks: [TaskPositionUpdate!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
input DuplicateTaskGroup {
|
|
|
|
projectID: UUID!
|
|
|
|
taskGroupID: UUID!
|
|
|
|
name: String!
|
|
|
|
position: Float!
|
|
|
|
}
|
|
|
|
|
|
|
|
type DuplicateTaskGroupPayload {
|
|
|
|
taskGroup: TaskGroup!
|
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 {
|
2020-09-20 00:26:02 +02:00
|
|
|
projectID: UUID!
|
2020-07-05 01:02:57 +02:00
|
|
|
name: String!
|
|
|
|
position: Float!
|
|
|
|
}
|