2020-08-08 15:04:59 +02:00
|
|
|
input UserChanges {
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
2020-09-11 09:19:18 +02:00
|
|
|
input CreateProjectChanges {
|
|
|
|
title: String!
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProjectTaskChanges {
|
|
|
|
label: String
|
|
|
|
categoryId: ID
|
|
|
|
estimations: ProjectTaskEstimationsChanges
|
|
|
|
}
|
|
|
|
|
|
|
|
input ProjectTaskEstimationsChanges {
|
|
|
|
optimistic: Float
|
|
|
|
likely: Float
|
|
|
|
pessimistic: Float
|
|
|
|
}
|
|
|
|
|
2020-08-08 15:04:59 +02:00
|
|
|
type Mutation {
|
|
|
|
updateUser(id: ID!, changes: UserChanges!): User!
|
2020-09-11 09:19:18 +02:00
|
|
|
createProject(changes: CreateProjectChanges!): Project!
|
|
|
|
updateProjectTitle(projectId: ID!, title: String!): Project!
|
2020-09-11 11:55:22 +02:00
|
|
|
addProjectTask(projectId: ID!, changes: ProjectTaskChanges!): Task!
|
2020-09-11 09:19:18 +02:00
|
|
|
removeProjectTask(projectId: ID!, taskId: ID!): Boolean!
|
2020-09-11 11:55:22 +02:00
|
|
|
updateProjectTask(projectId: ID!, taskId: ID!, changes: ProjectTaskChanges!): Task!
|
2020-08-08 15:04:59 +02:00
|
|
|
}
|