Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. type Station {
  2. network: String!
  3. lon: Float!
  4. state: String!
  5. elev: Int
  6. lat: Float!
  7. id: String!
  8. name: String!
  9. users: [User]
  10. }
  11.  
  12. type User {
  13. name: String!
  14. email: String!
  15. role: String!
  16. lat: Float
  17. lon: Float
  18. picture: String
  19. updated_at: String!
  20. #Auth0 user id
  21. sub: String!
  22. state: String
  23. locations: []
  24. stations: [Station]
  25. models: [Model]
  26. }
  27.  
  28. type ModelGeneral {
  29. name: String!
  30. category: String!
  31. commodity: String!
  32. type: String!
  33. inSeason: Boolean
  34. developedBy: String
  35. }
  36.  
  37. type Query {
  38. allStations: [Station!]
  39. allUsers: [User!]
  40. allModels: [Model!]
  41. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement