stufflog graphql server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.4 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. type Mutation {
  2. # PROJECT
  3. "Create a new project."
  4. createProject(input: ProjectCreateInput!): Project!
  5. # ACTIVITY
  6. "Create an activity."
  7. createActivity(input: ActivityCreateInput!): Activity!
  8. "Edit an activity."
  9. editActivity(input: ActivityEditInput!): Activity!
  10. # ITEM
  11. "Create an item."
  12. createItem(input: ItemCreateInput): Item!
  13. "Edit an item."
  14. editItem(input: ItemEditInput): Item!
  15. # ISSUE
  16. "Create a new issue."
  17. createIssue(input: IssueCreateInput!): Issue!
  18. # ISSUE TASK
  19. "Create a new issue task."
  20. createIssueTask(input: IssueTaskCreateInput!): IssueTask!
  21. "Edit an issue task."
  22. editIssueTask(input: IssueTaskEditInput!): IssueTask!
  23. # ISSUE ITEM
  24. "Create an issue item."
  25. createIssueItem(input: IssueItemCreateInput!): IssueItem!
  26. "Edit an issue item."
  27. editIssueItem(input: IssueItemEditInput!): IssueItem!
  28. # LOG
  29. "Create a log."
  30. createLog(input: LogCreateInput!): Log!
  31. "Edit a log."
  32. editLog(input: LogEditInput!): Log!
  33. # GOAL
  34. # USER
  35. "Log in."
  36. loginUser(input: UserLoginInput!): User!
  37. "Log out."
  38. logoutUser: User!
  39. "Create a new user. This can only be done by administrators."
  40. createUser(input: UserCreateInput!): User!
  41. "Edit an existing user. This can only be done by administrators."
  42. editUser(input: UserEditInput!): User!
  43. }