2020-07-16 09:28:27 +02:00
|
|
|
input ProfileChanges {
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
2020-07-21 18:10:03 +02:00
|
|
|
input WorkgroupChanges {
|
|
|
|
name: String
|
|
|
|
}
|
|
|
|
|
2020-08-26 14:51:53 +02:00
|
|
|
input DecisionSupportFileChanges {
|
|
|
|
title: String
|
|
|
|
sections: Map
|
|
|
|
status: String
|
|
|
|
workgroupId: ID
|
|
|
|
votedAt: Time
|
|
|
|
closedAt: Time
|
|
|
|
}
|
|
|
|
|
2020-07-16 09:28:27 +02:00
|
|
|
type Mutation {
|
2020-08-26 14:51:53 +02:00
|
|
|
createDecisionSupportFile(changes: DecisionSupportFileChanges): DecisionSupportFile!
|
|
|
|
updateDecisionSupportFile(id: ID!, changes: DecisionSupportFileChanges): DecisionSupportFile!
|
|
|
|
|
2020-07-16 09:28:27 +02:00
|
|
|
updateProfile(changes: ProfileChanges!): User!
|
2020-08-26 14:51:53 +02:00
|
|
|
|
2020-07-21 18:10:03 +02:00
|
|
|
joinWorkgroup(workgroupId: ID!): Workgroup!
|
|
|
|
leaveWorkgroup(workgroupId: ID!): Workgroup!
|
|
|
|
createWorkgroup(changes: WorkgroupChanges!): Workgroup!
|
|
|
|
closeWorkgroup(workgroupId: ID!): Workgroup!
|
|
|
|
updateWorkgroup(workgroupId: ID!, changes: WorkgroupChanges!): Workgroup!
|
2020-07-16 09:28:27 +02:00
|
|
|
}
|