daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. type Query {
  2.   launches(
  3.     pageSize: Int
  4.     after: String
  5.   ): LaunchConnection!
  6.   launch(id: ID!): Launch
  7.   me: User
  8. }
  9. type Mutation {
  10.   bookTrips(launchIds: [ID]!): TripUpdateResponse!
  11.   cancelTrip(launchId: ID!): TripUpdateResponse!
  12.   login(email: String): String # login token
  13. }
  14. type TripUpdateResponse {
  15.   success: Boolean!
  16.   message: String
  17.   launches: [Launch]
  18. }
  19. type LaunchConnection {
  20.   cursor: String!
  21.   hasMore: Boolean!
  22.   launches: [Launch]!
  23. }
  24. type Launch {
  25.   id: ID!
  26.   site: String
  27.   mission: Mission
  28.   rocket: Rocket
  29.   isBooked: Boolean!
  30. }
  31. type Rocket {
  32.   id: ID!
  33.   name: String
  34.   type: String
  35. }
  36. type User {
  37.   id: ID!
  38.   email: String!
  39.   trips: [Launch]!
  40. }
  41. type Mission {
  42.   name: String
  43.   missionPatch(size: PatchSize): String
  44. }
  45. enum PatchSize {
  46.   SMALL
  47.   LARGE
  48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top