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.

24 lines
718 B

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. # ISSUE
  11. "Create a new issue."
  12. createIssue(input: IssueCreateInput!): Issue!
  13. # USER
  14. "Log in."
  15. loginUser(input: UserLoginInput!): User!
  16. "Log out."
  17. logoutUser: User!
  18. "Create a new user. This can only be done by administrators."
  19. createUser(input: UserCreateInput!): User!
  20. "Edit an existing user. This can only be done by administrators."
  21. editUser(input: UserEditInput!): User!
  22. }