schema.graphql 523 B

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