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.

38 lines
1.1 KiB

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. # LOG
  25. # USER
  26. "Log in."
  27. loginUser(input: UserLoginInput!): User!
  28. "Log out."
  29. logoutUser: User!
  30. "Create a new user. This can only be done by administrators."
  31. createUser(input: UserCreateInput!): User!
  32. "Edit an existing user. This can only be done by administrators."
  33. editUser(input: UserEditInput!): User!
  34. }