schema.graphql 577 B

1234567891011121314151617181920212223242526272829303132333435
  1. type Query {
  2. projects: [Project]!,
  3. connectionCommand(connectionId: String!, command: String!): String!
  4. me: User!
  5. }
  6. type Mutation {
  7. createUser(name: String!, email: String!, abbreviation: String!, password: String!): User!
  8. }
  9. type User {
  10. id: ID!
  11. email: String!
  12. name: String!
  13. abbreviation: String!
  14. password: String!
  15. images: [File]!
  16. }
  17. type File {
  18. id: ID!
  19. filename: String!
  20. mimetype: String!
  21. truncated: Boolean!
  22. size: Int!
  23. md5: String!
  24. }
  25. type Project {
  26. id: ID!
  27. name: String!
  28. abbreviation: String!
  29. description: String
  30. images: [File]!
  31. }