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.

47 line
1.1KB

  1. # ------------------------------------------------------
  2. # THIS FILE WAS AUTOMATICALLY GENERATED (DO NOT MODIFY)
  3. # ------------------------------------------------------
  4. type Person {
  5. _id: UUID!
  6. givenName: String!
  7. familyName: String!
  8. email: EmailAddress!
  9. token: String
  10. }
  11. """UUID"""
  12. scalar UUID
  13. """
  14. A field whose value conforms to the standard internet email address format as specified in RFC822: https://www.w3.org/Protocols/rfc822/.
  15. """
  16. scalar EmailAddress
  17. type Apparatus {
  18. _id: UUID!
  19. name: String!
  20. logo: String
  21. }
  22. type Organizer {
  23. _id: UUID!
  24. name: String!
  25. logo: String
  26. _admins: [UUID!]
  27. _organizers: [UUID!]
  28. }
  29. type Query {
  30. Person(id: UUID!): Person
  31. PersonFind(offset: Int, limit: Int, email: String, familyName: String, givenName: String): [Person!]
  32. Apparatus(id: UUID!): Apparatus
  33. ApparatusFind(offset: Int, limit: Int, name: String): [Apparatus!]
  34. Organizer(id: UUID!): Organizer
  35. OrganizerFind(offset: Int, limit: Int, name: String): [Organizer!]
  36. }
  37. type Mutation {
  38. login(token: String, passwort: String, email: String): Person
  39. }