feature(Project): add ability to create new task groups
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
mutation createTask($taskGroupID: String!, $name: String!, $position: Float!) {
|
||||
createTask(input: { taskGroupID: $taskGroupID, name: $name, position: $position }) {
|
||||
taskID
|
||||
taskGroupID
|
||||
taskGroup {
|
||||
taskGroupID
|
||||
}
|
||||
name
|
||||
position
|
||||
}
|
||||
|
9
web/src/shared/graphql/createTaskGroup.graphqls
Normal file
9
web/src/shared/graphql/createTaskGroup.graphqls
Normal file
@ -0,0 +1,9 @@
|
||||
mutation createTaskGroup( $projectID: String!, $name: String!, $position: Float! ) {
|
||||
createTaskGroup(
|
||||
input: { projectID: $projectID, name: $name, position: $position }
|
||||
) {
|
||||
taskGroupID
|
||||
name
|
||||
position
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user