arch: move web folder into api & move api to top level
This commit is contained in:
13
frontend/src/shared/graphql/task/createTask.ts
Normal file
13
frontend/src/shared/graphql/task/createTask.ts
Normal file
@ -0,0 +1,13 @@
|
||||
import gql from 'graphql-tag';
|
||||
import TASK_FRAGMENT from '../fragments/task';
|
||||
|
||||
const CREATE_TASK_MUTATION = gql`
|
||||
mutation createTask($taskGroupID: String!, $name: String!, $position: Float!) {
|
||||
createTask(input: { taskGroupID: $taskGroupID, name: $name, position: $position }) {
|
||||
...TaskFields
|
||||
}
|
||||
}
|
||||
${TASK_FRAGMENT}
|
||||
`;
|
||||
|
||||
export default CREATE_TASK_MUTATION;
|
Reference in New Issue
Block a user