vscode-apollo 2.5.6 → 2.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (178) hide show
  1. package/.circleci/config.yml +17 -0
  2. package/.github/workflows/E2E.yml +3 -2
  3. package/.github/workflows/build-prs.yml +2 -1
  4. package/.prettierignore +3 -0
  5. package/.semgrepignore +2 -0
  6. package/.vscode/settings.json +7 -2
  7. package/CHANGELOG.md +6 -0
  8. package/apollo.connectors.mapping.configuration.json +10 -0
  9. package/package.json +37 -3
  10. package/sampleWorkspace/connectors-community/.github/ISSUE_TEMPLATE/connector-bug-report.md +36 -0
  11. package/sampleWorkspace/connectors-community/.github/ISSUE_TEMPLATE/new-connector.md +10 -0
  12. package/sampleWorkspace/connectors-community/.github/renovate.json5 +3 -0
  13. package/sampleWorkspace/connectors-community/.vscode/extensions.json +3 -0
  14. package/sampleWorkspace/connectors-community/.vscode/settings.json +13 -0
  15. package/sampleWorkspace/connectors-community/.vscode/tasks.json +10 -0
  16. package/sampleWorkspace/connectors-community/README.md +108 -0
  17. package/sampleWorkspace/connectors-community/apollo.config.json +5 -0
  18. package/sampleWorkspace/connectors-community/connectors/.template/Dockerfile +5 -0
  19. package/sampleWorkspace/connectors-community/connectors/.template/README +46 -0
  20. package/sampleWorkspace/connectors-community/connectors/.template/connector.graphql +31 -0
  21. package/sampleWorkspace/connectors-community/connectors/.template/router.yaml +18 -0
  22. package/sampleWorkspace/connectors-community/connectors/.template/supergraph.yaml +6 -0
  23. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/README +12 -0
  24. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/albums.graphql +48 -0
  25. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/comments.graphql +54 -0
  26. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/photos.graphql +54 -0
  27. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/posts.graphql +51 -0
  28. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/supergraph.yaml +26 -0
  29. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/todos.graphql +51 -0
  30. package/sampleWorkspace/connectors-community/connectors/JSONPlaceholder/users.graphql +80 -0
  31. package/sampleWorkspace/connectors-community/connectors/TM-Forum/README.md +9 -0
  32. package/sampleWorkspace/connectors-community/connectors/TM-Forum/router.yaml +18 -0
  33. package/sampleWorkspace/connectors-community/connectors/TM-Forum/supergraph.yaml +6 -0
  34. package/sampleWorkspace/connectors-community/connectors/TM-Forum/tmf622-ProductOrdering.graphql +296 -0
  35. package/sampleWorkspace/connectors-community/connectors/adobe-commerce-cloud/README.md +7 -0
  36. package/sampleWorkspace/connectors-community/connectors/adobe-commerce-cloud/addresses.graphql +30 -0
  37. package/sampleWorkspace/connectors-community/connectors/adobe-commerce-cloud/customer.graphql +77 -0
  38. package/sampleWorkspace/connectors-community/connectors/adobe-commerce-cloud/products.graphql +70 -0
  39. package/sampleWorkspace/connectors-community/connectors/adobe-commerce-cloud/router.yaml +24 -0
  40. package/sampleWorkspace/connectors-community/connectors/adobe-commerce-cloud/supergraph.yaml +14 -0
  41. package/sampleWorkspace/connectors-community/connectors/adobe-commerce-cloud/swagger.json +69226 -0
  42. package/sampleWorkspace/connectors-community/connectors/anthropic/Dockerfile +5 -0
  43. package/sampleWorkspace/connectors-community/connectors/anthropic/README +61 -0
  44. package/sampleWorkspace/connectors-community/connectors/anthropic/messages.graphql +258 -0
  45. package/sampleWorkspace/connectors-community/connectors/anthropic/router.yaml +18 -0
  46. package/sampleWorkspace/connectors-community/connectors/anthropic/supergraph.yaml +6 -0
  47. package/sampleWorkspace/connectors-community/connectors/apollo-ecomm-simple/README +3 -0
  48. package/sampleWorkspace/connectors-community/connectors/apollo-ecomm-simple/connector.graphql +38 -0
  49. package/sampleWorkspace/connectors-community/connectors/apollo-ecomm-simple/router.yaml +18 -0
  50. package/sampleWorkspace/connectors-community/connectors/apollo-ecomm-simple/supergraph.yaml +6 -0
  51. package/sampleWorkspace/connectors-community/connectors/apple/README +36 -0
  52. package/sampleWorkspace/connectors-community/connectors/apple/app-store-connect.graphql +100 -0
  53. package/sampleWorkspace/connectors-community/connectors/apple/router.yaml +18 -0
  54. package/sampleWorkspace/connectors-community/connectors/apple/supergraph.yaml +6 -0
  55. package/sampleWorkspace/connectors-community/connectors/aws/README +125 -0
  56. package/sampleWorkspace/connectors-community/connectors/aws/dynamodb.graphql +130 -0
  57. package/sampleWorkspace/connectors-community/connectors/aws/json-responses/product-price.json +10 -0
  58. package/sampleWorkspace/connectors-community/connectors/aws/json-responses/products.json +53 -0
  59. package/sampleWorkspace/connectors-community/connectors/aws/lambda.graphql +179 -0
  60. package/sampleWorkspace/connectors-community/connectors/aws/router.yaml +54 -0
  61. package/sampleWorkspace/connectors-community/connectors/aws/supergraph.yaml +10 -0
  62. package/sampleWorkspace/connectors-community/connectors/bored/README.md +35 -0
  63. package/sampleWorkspace/connectors-community/connectors/bored/bored.graphql +87 -0
  64. package/sampleWorkspace/connectors-community/connectors/bored/supergraph.yaml +6 -0
  65. package/sampleWorkspace/connectors-community/connectors/common-room/README.md +23 -0
  66. package/sampleWorkspace/connectors-community/connectors/common-room/contacts.graphql +141 -0
  67. package/sampleWorkspace/connectors-community/connectors/common-room/json-responses/members_email_.json +61 -0
  68. package/sampleWorkspace/connectors-community/connectors/common-room/router.yaml +18 -0
  69. package/sampleWorkspace/connectors-community/connectors/common-room/supergraph.yaml +6 -0
  70. package/sampleWorkspace/connectors-community/connectors/googlemaps/README.md +58 -0
  71. package/sampleWorkspace/connectors-community/connectors/googlemaps/distancematrix.graphql +155 -0
  72. package/sampleWorkspace/connectors-community/connectors/googlemaps/places-legacy.graphql +117 -0
  73. package/sampleWorkspace/connectors-community/connectors/googlemaps/places.graphql +399 -0
  74. package/sampleWorkspace/connectors-community/connectors/googlemaps/router.yaml +18 -0
  75. package/sampleWorkspace/connectors-community/connectors/googlemaps/supergraph.yaml +18 -0
  76. package/sampleWorkspace/connectors-community/connectors/googlemaps/timezone.graphql +64 -0
  77. package/sampleWorkspace/connectors-community/connectors/heygen/README +105 -0
  78. package/sampleWorkspace/connectors-community/connectors/heygen/avatars.graphql +79 -0
  79. package/sampleWorkspace/connectors-community/connectors/heygen/photo-avatars.graphql +454 -0
  80. package/sampleWorkspace/connectors-community/connectors/heygen/router.yaml +21 -0
  81. package/sampleWorkspace/connectors-community/connectors/heygen/supergraph.yaml +10 -0
  82. package/sampleWorkspace/connectors-community/connectors/jira/README +36 -0
  83. package/sampleWorkspace/connectors-community/connectors/jira/connector.graphql +197 -0
  84. package/sampleWorkspace/connectors-community/connectors/jira/router.yaml +18 -0
  85. package/sampleWorkspace/connectors-community/connectors/jira/supergraph.yaml +6 -0
  86. package/sampleWorkspace/connectors-community/connectors/museums/README.md +40 -0
  87. package/sampleWorkspace/connectors-community/connectors/museums/chicagoArt.graphql +150 -0
  88. package/sampleWorkspace/connectors-community/connectors/museums/met.graphql +119 -0
  89. package/sampleWorkspace/connectors-community/connectors/museums/supergraph.yaml +10 -0
  90. package/sampleWorkspace/connectors-community/connectors/nws/README.md +45 -0
  91. package/sampleWorkspace/connectors-community/connectors/nws/alerts.graphql +598 -0
  92. package/sampleWorkspace/connectors-community/connectors/nws/supergraph.yaml +6 -0
  93. package/sampleWorkspace/connectors-community/connectors/odata/README +18 -0
  94. package/sampleWorkspace/connectors-community/connectors/odata/connector.graphql +171 -0
  95. package/sampleWorkspace/connectors-community/connectors/odata/router.yaml +18 -0
  96. package/sampleWorkspace/connectors-community/connectors/odata/supergraph.yaml +6 -0
  97. package/sampleWorkspace/connectors-community/connectors/openai/README.md +61 -0
  98. package/sampleWorkspace/connectors-community/connectors/openai/assistants.graphql +285 -0
  99. package/sampleWorkspace/connectors-community/connectors/openai/chat-completions.graphql +169 -0
  100. package/sampleWorkspace/connectors-community/connectors/openai/models.graphql +47 -0
  101. package/sampleWorkspace/connectors-community/connectors/openai/router.yaml +24 -0
  102. package/sampleWorkspace/connectors-community/connectors/openai/supergraph.yaml +14 -0
  103. package/sampleWorkspace/connectors-community/connectors/pokeapi/README +45 -0
  104. package/sampleWorkspace/connectors-community/connectors/pokeapi/games.graphql +70 -0
  105. package/sampleWorkspace/connectors-community/connectors/pokeapi/locations.graphql +127 -0
  106. package/sampleWorkspace/connectors-community/connectors/pokeapi/moves.graphql +107 -0
  107. package/sampleWorkspace/connectors-community/connectors/pokeapi/pokemon.graphql +539 -0
  108. package/sampleWorkspace/connectors-community/connectors/pokeapi/router.yaml +18 -0
  109. package/sampleWorkspace/connectors-community/connectors/pokeapi/supergraph.yaml +18 -0
  110. package/sampleWorkspace/connectors-community/connectors/strapi/README.md +75 -0
  111. package/sampleWorkspace/connectors-community/connectors/strapi/router.yaml +19 -0
  112. package/sampleWorkspace/connectors-community/connectors/strapi/supergraph.yaml +6 -0
  113. package/sampleWorkspace/connectors-community/connectors/strapi/users.graphql +227 -0
  114. package/sampleWorkspace/connectors-community/connectors/stripe/README.md +83 -0
  115. package/sampleWorkspace/connectors-community/connectors/stripe/checkout.graphql +112 -0
  116. package/sampleWorkspace/connectors-community/connectors/stripe/core-resources.graphql +868 -0
  117. package/sampleWorkspace/connectors-community/connectors/stripe/payment-methods.graphql +526 -0
  118. package/sampleWorkspace/connectors-community/connectors/stripe/products.graphql +162 -0
  119. package/sampleWorkspace/connectors-community/connectors/stripe/router.yaml +26 -0
  120. package/sampleWorkspace/connectors-community/connectors/stripe/supergraph.yaml +18 -0
  121. package/sampleWorkspace/connectors-community/connectors/supabase/README.md +80 -0
  122. package/sampleWorkspace/connectors-community/connectors/supabase/router.yaml +5 -0
  123. package/sampleWorkspace/connectors-community/connectors/supabase/supabase.graphql +143 -0
  124. package/sampleWorkspace/connectors-community/connectors/supabase/supergraph.yaml +6 -0
  125. package/sampleWorkspace/connectors-community/connectors/thespacedevs/README +46 -0
  126. package/sampleWorkspace/connectors-community/connectors/thespacedevs/agencies.graphql +193 -0
  127. package/sampleWorkspace/connectors-community/connectors/thespacedevs/api-throttle.graphql +33 -0
  128. package/sampleWorkspace/connectors-community/connectors/thespacedevs/astronauts.graphql +237 -0
  129. package/sampleWorkspace/connectors-community/connectors/thespacedevs/celestial-bodies.graphql +131 -0
  130. package/sampleWorkspace/connectors-community/connectors/thespacedevs/docking-events.graphql +3460 -0
  131. package/sampleWorkspace/connectors-community/connectors/thespacedevs/launches.graphql +1156 -0
  132. package/sampleWorkspace/connectors-community/connectors/thespacedevs/supergraph.yaml +77 -0
  133. package/sampleWorkspace/connectors-community/connectors/tint/README +35 -0
  134. package/sampleWorkspace/connectors-community/connectors/tint/accounts.graphql +69 -0
  135. package/sampleWorkspace/connectors-community/connectors/tint/router.yaml +21 -0
  136. package/sampleWorkspace/connectors-community/connectors/tint/social-feeds.graphql +62 -0
  137. package/sampleWorkspace/connectors-community/connectors/tint/supergraph.yaml +10 -0
  138. package/sampleWorkspace/connectors-community/connectors/todoist/README.md +48 -0
  139. package/sampleWorkspace/connectors-community/connectors/todoist/supergraph.yaml +6 -0
  140. package/sampleWorkspace/connectors-community/connectors/todoist/todoist.graphql +381 -0
  141. package/sampleWorkspace/connectors-community/connectors/trimblemaps/README +99 -0
  142. package/sampleWorkspace/connectors-community/connectors/trimblemaps/connector.graphql +66 -0
  143. package/sampleWorkspace/connectors-community/connectors/trimblemaps/router.yaml +18 -0
  144. package/sampleWorkspace/connectors-community/connectors/trimblemaps/supergraph.yaml +6 -0
  145. package/sampleWorkspace/connectors-community/connectors/twilio/README.md +44 -0
  146. package/sampleWorkspace/connectors-community/connectors/twilio/messages.graphql +107 -0
  147. package/sampleWorkspace/connectors-community/connectors/twilio/router.yaml +6 -0
  148. package/sampleWorkspace/connectors-community/connectors/twilio/supergraph.yaml +6 -0
  149. package/sampleWorkspace/connectors-community/connectors/usgs/earthquakes/README.md +44 -0
  150. package/sampleWorkspace/connectors-community/connectors/usgs/earthquakes/earthquakes.graphql +235 -0
  151. package/sampleWorkspace/connectors-community/connectors/usgs/earthquakes/supergraph.yaml +6 -0
  152. package/sampleWorkspace/connectors-community/connectors/usgs/earthquakes-nominatum/README.md +44 -0
  153. package/sampleWorkspace/connectors-community/connectors/usgs/earthquakes-nominatum/earthquake-simple.graphql +87 -0
  154. package/sampleWorkspace/connectors-community/connectors/usgs/earthquakes-nominatum/router.yaml +3 -0
  155. package/sampleWorkspace/connectors-community/connectors/usgs/earthquakes-nominatum/supergraph.yaml +6 -0
  156. package/sampleWorkspace/connectors-community/connectors/usps/README +36 -0
  157. package/sampleWorkspace/connectors-community/connectors/usps/router.yaml +18 -0
  158. package/sampleWorkspace/connectors-community/connectors/usps/supergraph.yaml +6 -0
  159. package/sampleWorkspace/connectors-community/connectors/usps/tracking.graphql +118 -0
  160. package/sampleWorkspace/connectors-community/connectors/zendesk/README +36 -0
  161. package/sampleWorkspace/connectors-community/connectors/zendesk/connector.graphql +98 -0
  162. package/sampleWorkspace/connectors-community/connectors/zendesk/router.yaml +18 -0
  163. package/sampleWorkspace/connectors-community/connectors/zendesk/supergraph.yaml +6 -0
  164. package/sampleWorkspace/connectors-community/file-new/index.js +520 -0
  165. package/sampleWorkspace/connectors-community/package-lock.json +119 -0
  166. package/sampleWorkspace/connectors-community/package.json +20 -0
  167. package/sampleWorkspace/connectors-community/supergraph.yaml +6 -0
  168. package/sampleWorkspace/sampleWorkspace.code-workspace +29 -8
  169. package/src/__tests__/fixtures/textmate/test.apollo.connectors.mapping +213 -0
  170. package/src/__tests__/fixtures/textmate/test.connect.graphql +104 -0
  171. package/src/language-server/__tests__/fixtures/documents/functionCall.ts.snap +3 -3
  172. package/syntaxes/build.ts +266 -0
  173. package/syntaxes/connectors.mapping.json +532 -0
  174. package/syntaxes/connectors.mapping.yaml +440 -0
  175. package/syntaxes/graphql.connectors.json +426 -0
  176. package/syntaxes/graphql.connectors.yaml +254 -0
  177. package/syntaxes/graphql.json +8 -1
  178. package/syntaxes/tsconfig.json +6 -0
@@ -0,0 +1,1156 @@
1
+ extend schema
2
+ @link(
3
+ url: "https://specs.apollo.dev/federation/v2.10"
4
+ import: ["@key", "@requires", "@shareable"]
5
+ )
6
+ @link(
7
+ url: "https://specs.apollo.dev/connect/v0.2"
8
+ import: ["@source", "@connect"]
9
+ )
10
+ @source(name: "llv2", http: { baseURL: "https://ll.thespacedevs.com/2.3.0/" })
11
+
12
+ type LaunchConnection {
13
+ pageInfo: PageInfo
14
+ results: [Launch]
15
+ }
16
+
17
+ type PageInfo @shareable {
18
+ count: Int
19
+ next: String
20
+ previous: String
21
+ }
22
+ type LaunchStatus @shareable{
23
+ id: ID!
24
+ name: String
25
+ abbrev: String
26
+ description: String
27
+ }
28
+ type LaunchWindow @shareable{
29
+ start: String
30
+ end: String
31
+ }
32
+ type Image @shareable{
33
+ id: ID!
34
+ name: String
35
+ url: String
36
+ thumbnail: String
37
+ credit: String
38
+ singleUse: Boolean
39
+ license: ImageLicense
40
+ }
41
+ type ImageLicense @shareable{
42
+ name: String
43
+ link: String
44
+ }
45
+ type Agency @key(fields: "id", resolvable: false) {
46
+ id: ID!
47
+ name: String @shareable
48
+ abbrev: String @shareable
49
+ type: String @shareable
50
+ }
51
+ type Rocket @shareable{
52
+ id: ID!
53
+ configuration: RocketLaunchConfigurations
54
+ }
55
+ type RocketLaunchConfigurations @shareable{
56
+ id: ID!
57
+ name: String
58
+ fullName: String
59
+ variant: String
60
+ families: [RocketFamily]
61
+ }
62
+ type RocketFamily @shareable{
63
+ id: ID!
64
+ name: String
65
+ }
66
+ type CelestialBody @key(fields:"id", resolvable: false) {
67
+ id: ID!
68
+ name: String @shareable
69
+ }
70
+ type Orbit @shareable{
71
+ id: ID!
72
+ name: String
73
+ abbrev: String
74
+ celestialBody: CelestialBody
75
+ }
76
+ type Mission @shareable{
77
+ id: ID!
78
+ name: String
79
+ type: String
80
+ description: String
81
+ image: Image
82
+ orbit: Orbit
83
+ agencies: [Agency]
84
+ infoUrls: [InfoUrl]
85
+ vidUrls: [VideoUrl]
86
+ }
87
+ type InfoUrl @shareable{
88
+ priority: Int
89
+ source: String
90
+ title: String
91
+ description: String
92
+ featureImage: String
93
+ url: String
94
+ type: String
95
+ language: Language
96
+ }
97
+ type VideoUrl @shareable{
98
+ priority: Int
99
+ source: String
100
+ publisher: String
101
+ title: String
102
+ description: String
103
+ featureImage: String
104
+ url: String
105
+ type: String
106
+ language: Language
107
+ startTime: String
108
+ endTime: String
109
+ live: Boolean
110
+ }
111
+ type Language @shareable {
112
+ id: ID!
113
+ name: String
114
+ code: String
115
+ }
116
+ type Pad @shareable{
117
+ id: ID!
118
+ active: Boolean
119
+ agencies: [Agency]
120
+ name: String
121
+ image: Image
122
+ description: String
123
+ infoUrl: String
124
+ wikiUrl: String
125
+ mapUrl: String
126
+ latitude: Float
127
+ longitude: Float
128
+ country: Country
129
+ mapImage: String
130
+ launchTotalCount: Int
131
+ orbitalLaunchAttemptCount: Int
132
+ fastestTurnaround: String
133
+ location: Location
134
+ }
135
+ type Location @shareable {
136
+ id: ID!
137
+ name: String
138
+ active: Boolean
139
+ country: Country
140
+ image: Image
141
+ mapImage: String
142
+ longitude: String
143
+ latitude: String
144
+ totalLaunchCount: Int
145
+ totalLandingCount: Int
146
+ description: String
147
+ timezone: String
148
+ }
149
+ type Country @shareable {
150
+ id: ID!
151
+ name: String
152
+ alpha2Code: String
153
+ alpha3Code: String
154
+ nationalityName: String
155
+ nationalityNameComposed: String
156
+ }
157
+ type Program @shareable{
158
+ id: ID!
159
+ name: String
160
+ image: Image
161
+ infoUrl: String
162
+ wikiUrl: String
163
+ description: String
164
+ agencies: [Agency]
165
+ startDate: String
166
+ endDate: String
167
+ missionPatches: [MissionPatch]
168
+ }
169
+ type MissionPatch @shareable {
170
+ id: ID!
171
+ name: String
172
+ priority: Int
173
+ imageUrl: String
174
+ agency: Agency
175
+ }
176
+ type Launch @key(fields: "id", resolvable: false) @shareable{
177
+ id: ID!
178
+ name: String
179
+ launchDesignator: String
180
+ status: LaunchStatus
181
+ lastUpdated: String
182
+ net: String
183
+ netPrecision: String
184
+ window: LaunchWindow
185
+ image: Image
186
+ infographic: String
187
+ probability: Float
188
+ weatherConcerns: String
189
+ failreason: String
190
+ hashtag: String
191
+ provider: Agency
192
+ rocket: Rocket
193
+ mission: Mission
194
+ pad: Pad
195
+ webcastLive: Boolean
196
+ program: Program
197
+ orbitalLaunchAttemps: Int
198
+ locationLaunchAttemps: Int
199
+ padLaunchAttemps: Int
200
+ agencyLaunchAttemps: Int
201
+ orbitalLaunchAttempsYear: Int
202
+ locationLaunchAttempsYear: Int
203
+ padLaunchAttempsYear: Int
204
+ agencyLaunchAttempsYear: Int
205
+ }
206
+ type Query {
207
+ launch(id: ID!): Launch
208
+ @connect(
209
+ source: "llv2"
210
+ http: {
211
+ GET: "/launches/{$args.id}/"
212
+ queryParams: """
213
+ id: $args.id
214
+ format: $('json')
215
+ """
216
+ }
217
+ entity: true
218
+ selection: """
219
+ id
220
+ name
221
+ launchDesignator: launch_designator
222
+ status {
223
+ id
224
+ name
225
+ abbrev
226
+ description
227
+ }
228
+ lastUpdated: last_updated
229
+ net
230
+ netPrecision: net_precision
231
+ window: {
232
+ start: window_start
233
+ end: window_end
234
+ }
235
+ image {
236
+ id
237
+ name
238
+ url: image_url
239
+ thumbnail: thumbnail_url
240
+ credit
241
+ license {
242
+ name
243
+ link
244
+ }
245
+ singleUse: single_use
246
+ }
247
+ infographic
248
+ probability
249
+ weatherConcerns: weather_concerns
250
+ failreason
251
+ hashtag
252
+ provider: $.launch_service_provider {
253
+ id
254
+ name
255
+ abbrev
256
+ type: $.type.name
257
+ }
258
+ rocket {
259
+ id
260
+ configuration {
261
+ id
262
+ name
263
+ fullName: full_name
264
+ variant
265
+ families {
266
+ id
267
+ name
268
+ }
269
+ }
270
+ }
271
+ mission {
272
+ id
273
+ name
274
+ type
275
+ description
276
+ image {
277
+ id
278
+ name
279
+ url: image_url
280
+ thumbnail: thumbnail_url
281
+ credit
282
+ license {
283
+ name
284
+ link
285
+ }
286
+ singleUse: single_use
287
+ }
288
+ orbit {
289
+ id
290
+ name
291
+ abbrev
292
+ celestialBody: $.celestial_body {
293
+ id
294
+ name
295
+ }
296
+ }
297
+ agencies {
298
+ id
299
+ name
300
+ abbrev
301
+ type: type.name
302
+ }
303
+ infoUrls: info_urls {
304
+ priority
305
+ source
306
+ title
307
+ description
308
+ featureImage: feature_image
309
+ url
310
+ type: type.name
311
+ language {
312
+ id
313
+ name
314
+ code
315
+ }
316
+ }
317
+ vidUrls: vid_urls {
318
+ priority
319
+ source
320
+ publisher
321
+ title
322
+ description
323
+ featureImage: feature_image
324
+ url
325
+ type: type.name
326
+ language {
327
+ id
328
+ name
329
+ code
330
+ }
331
+ startTime: start_time
332
+ endTime: end_time
333
+ live
334
+ }
335
+ }
336
+ pad {
337
+ id
338
+ active
339
+ agencies {
340
+ id
341
+ name
342
+ abbrev
343
+ type: type.name
344
+ }
345
+ name
346
+ image {
347
+ id
348
+ name
349
+ url: image_url
350
+ thumbnail: thumbnail_url
351
+ credit
352
+ license {
353
+ name
354
+ link
355
+ }
356
+ singleUse: single_use
357
+ }
358
+ description
359
+ infoUrl: info_url
360
+ wikiUrl: wiki_url
361
+ mapUrl: map_url
362
+ latitude
363
+ longitude
364
+ country {
365
+ id
366
+ name
367
+ alpha2Code: alpha_2_code
368
+ alpha3Code: alpha_3_code
369
+ nationalityName: nationality_name
370
+ nationalityNameComposed: nationality_name_composed
371
+ }
372
+ mapImage: map_image
373
+ launchTotalCount: total_launch_count
374
+ orbitalLaunchAttemptCount: orbital_launch_attempt_count
375
+ fastestTurnaround: fastest_turnaround
376
+ location {
377
+ id
378
+ name
379
+ active
380
+ country {
381
+ id
382
+ name
383
+ alpha2Code: alpha_2_code
384
+ alpha3Code: alpha_3_code
385
+ nationalityName: nationality_name
386
+ nationalityNameComposed: nationality_name_composed
387
+ }
388
+ description
389
+ image {
390
+ id
391
+ name
392
+ url: image_url
393
+ thumbnail: thumbnail_url
394
+ credit
395
+ license {
396
+ name
397
+ link
398
+ }
399
+ singleUse: single_use
400
+ }
401
+ mapImage: map_image
402
+ longitude
403
+ latitude
404
+ timezone: timezone_name
405
+ totalLaunchCount: total_launch_count
406
+ totalLandingCount: total_landing_count
407
+ }
408
+ }
409
+ program {
410
+ id
411
+ name
412
+ image {
413
+ id
414
+ name
415
+ url: image_url
416
+ thumbnail: thumbnail_url
417
+ credit
418
+ license {
419
+ name
420
+ link
421
+ }
422
+ singleUse: single_use
423
+ }
424
+ infoUrl: info_url
425
+ wikiUrl: wiki_url
426
+ description
427
+ agencies {
428
+ id
429
+ name
430
+ abbrev
431
+ type: type.name
432
+ }
433
+ startDate: start_date
434
+ endDate: end_date
435
+ missionPatches: mission_patches {
436
+ id
437
+ name
438
+ priority
439
+ imageUrl: image_url
440
+ agency {
441
+ id
442
+ name
443
+ abbrev
444
+ type: type.name
445
+ }
446
+ }
447
+ }
448
+ webcastLive: webcast_live
449
+ orbitalLaunchAttemps: orbital_launch_attempt_count
450
+ locationLaunchAttemps: location_launch_attempt_count
451
+ padLaunchAttemps: pad_launch_attempt_count
452
+ agencyLaunchAttemps: agency_launch_attempt_count
453
+ orbitalLaunchAttempsYear: orbital_launch_attempt_count_year
454
+ locationLaunchAttempsYear: location_launch_attempt_count_year
455
+ padLaunchAttempsYear: pad_launch_attempt_count_year
456
+ agencyLaunchAttempsYear: agency_launch_attempt_count_year
457
+ """
458
+ )
459
+ launches(search: String, limit: Int = 5, offset: Int = 0): LaunchConnection
460
+ @connect(
461
+ source: "llv2"
462
+ http: {
463
+ GET: "/launches/"
464
+ queryParams: """
465
+ search: $args.filters.search
466
+ limit: $args.limit
467
+ offset: $args.offset
468
+ format: $('json')
469
+ """
470
+ }
471
+ selection: """
472
+ pageInfo: {
473
+ count
474
+ next
475
+ previous
476
+ }
477
+ results {
478
+ id
479
+ name
480
+ launchDesignator: launch_designator
481
+ status {
482
+ id
483
+ name
484
+ abbrev
485
+ description
486
+ }
487
+ lastUpdated: last_updated
488
+ net
489
+ netPrecision: net_precision
490
+ window: {
491
+ start: window_start
492
+ end: window_end
493
+ }
494
+ image {
495
+ id
496
+ name
497
+ url: image_url
498
+ thumbnail: thumbnail_url
499
+ credit
500
+ license {
501
+ name
502
+ link
503
+ }
504
+ singleUse: single_use
505
+ }
506
+ infographic
507
+ probability
508
+ weatherConcerns: weather_concerns
509
+ failreason
510
+ hashtag
511
+ provider: $.launch_service_provider {
512
+ id
513
+ name
514
+ abbrev
515
+ type: $.type.name
516
+ }
517
+ rocket {
518
+ id
519
+ configuration {
520
+ id
521
+ name
522
+ fullName: full_name
523
+ variant
524
+ families {
525
+ id
526
+ name
527
+ }
528
+ }
529
+ }
530
+ mission {
531
+ id
532
+ name
533
+ type
534
+ description
535
+ image {
536
+ id
537
+ name
538
+ url: image_url
539
+ thumbnail: thumbnail_url
540
+ credit
541
+ license {
542
+ name
543
+ link
544
+ }
545
+ singleUse: single_use
546
+ }
547
+ orbit {
548
+ id
549
+ name
550
+ abbrev
551
+ celestialBody: $.celestial_body {
552
+ id
553
+ name
554
+ }
555
+ }
556
+ agencies { id }
557
+ infoUrls: info_urls {
558
+ priority
559
+ source
560
+ title
561
+ description
562
+ featureImage: feature_image
563
+ url
564
+ type: type.name
565
+ language {
566
+ id
567
+ name
568
+ code
569
+ }
570
+ }
571
+ vidUrls: vid_urls {
572
+ priority
573
+ source
574
+ publisher
575
+ title
576
+ description
577
+ featureImage: feature_image
578
+ url
579
+ type: type.name
580
+ language {
581
+ id
582
+ name
583
+ code
584
+ }
585
+ startTime: start_time
586
+ endTime: end_time
587
+ live
588
+ }
589
+ }
590
+ pad {
591
+ id
592
+ active
593
+ agencies {
594
+ id
595
+ name
596
+ abbrev
597
+ type: type.name
598
+ }
599
+ name
600
+ image {
601
+ id
602
+ name
603
+ url: image_url
604
+ thumbnail: thumbnail_url
605
+ credit
606
+ license {
607
+ name
608
+ link
609
+ }
610
+ singleUse: single_use
611
+ }
612
+ description
613
+ infoUrl: info_url
614
+ wikiUrl: wiki_url
615
+ mapUrl: map_url
616
+ latitude
617
+ longitude
618
+ country {
619
+ id
620
+ name
621
+ alpha2Code: alpha_2_code
622
+ alpha3Code: alpha_3_code
623
+ nationalityName: nationality_name
624
+ nationalityNameComposed: nationality_name_composed
625
+ }
626
+ mapImage: map_image
627
+ launchTotalCount: total_launch_count
628
+ orbitalLaunchAttemptCount: orbital_launch_attempt_count
629
+ fastestTurnaround: fastest_turnaround
630
+ location {
631
+ id
632
+ name
633
+ active
634
+ country {
635
+ id
636
+ name
637
+ alpha2Code: alpha_2_code
638
+ alpha3Code: alpha_3_code
639
+ nationalityName: nationality_name
640
+ nationalityNameComposed: nationality_name_composed
641
+ }
642
+ description
643
+ image {
644
+ id
645
+ name
646
+ url: image_url
647
+ thumbnail: thumbnail_url
648
+ credit
649
+ license {
650
+ name
651
+ link
652
+ }
653
+ singleUse: single_use
654
+ }
655
+ mapImage: map_image
656
+ longitude
657
+ latitude
658
+ timezone: timezone_name
659
+ totalLaunchCount: total_launch_count
660
+ totalLandingCount: total_landing_count
661
+ }
662
+ }
663
+ program {
664
+ id
665
+ name
666
+ image {
667
+ id
668
+ name
669
+ url: image_url
670
+ thumbnail: thumbnail_url
671
+ credit
672
+ license {
673
+ name
674
+ link
675
+ }
676
+ singleUse: single_use
677
+ }
678
+ infoUrl: info_url
679
+ wikiUrl: wiki_url
680
+ description
681
+ agencies {
682
+ id
683
+ name
684
+ abbrev
685
+ type: type.name
686
+ }
687
+ startDate: start_date
688
+ endDate: end_date
689
+ missionPatches: mission_patches {
690
+ id
691
+ name
692
+ priority
693
+ imageUrl: image_url
694
+ agency {
695
+ id
696
+ name
697
+ abbrev
698
+ type: type.name
699
+ }
700
+ }
701
+ }
702
+ webcastLive: webcast_live
703
+ orbitalLaunchAttemps: orbital_launch_attempt_count
704
+ locationLaunchAttemps: location_launch_attempt_count
705
+ padLaunchAttemps: pad_launch_attempt_count
706
+ agencyLaunchAttemps: agency_launch_attempt_count
707
+ orbitalLaunchAttempsYear: orbital_launch_attempt_count_year
708
+ locationLaunchAttempsYear: location_launch_attempt_count_year
709
+ padLaunchAttempsYear: pad_launch_attempt_count_year
710
+ agencyLaunchAttempsYear: agency_launch_attempt_count_year
711
+ }
712
+ """
713
+ )
714
+ previousLaunces(search: String, limit: Int = 5, offset: Int = 0): LaunchConnection
715
+ @connect(
716
+ source: "llv2"
717
+ http: {
718
+ GET: "/launches/previous/"
719
+ queryParams: """
720
+ search: $args.filters.search
721
+ limit: $args.limit
722
+ offset: $args.offset
723
+ format: $('json')
724
+ """
725
+ }
726
+ selection: """
727
+ pageInfo: {
728
+ count
729
+ next
730
+ previous
731
+ }
732
+ results {
733
+ id
734
+ name
735
+ launchDesignator: launch_designator
736
+ status {
737
+ id
738
+ name
739
+ abbrev
740
+ description
741
+ }
742
+ lastUpdated: last_updated
743
+ net
744
+ netPrecision: net_precision
745
+ window: {
746
+ start: window_start
747
+ end: window_end
748
+ }
749
+ image {
750
+ id
751
+ name
752
+ url: image_url
753
+ thumbnail: thumbnail_url
754
+ credit
755
+ license {
756
+ name
757
+ link
758
+ }
759
+ singleUse: single_use
760
+ }
761
+ infographic
762
+ probability
763
+ weatherConcerns: weather_concerns
764
+ failreason
765
+ hashtag
766
+ provider: $.launch_service_provider {
767
+ id
768
+ name
769
+ abbrev
770
+ type: $.type.name
771
+ }
772
+ rocket {
773
+ id
774
+ configuration {
775
+ id
776
+ name
777
+ fullName: full_name
778
+ variant
779
+ families {
780
+ id
781
+ name
782
+ }
783
+ }
784
+ }
785
+ mission {
786
+ id
787
+ name
788
+ type
789
+ description
790
+ image {
791
+ id
792
+ name
793
+ url: image_url
794
+ thumbnail: thumbnail_url
795
+ credit
796
+ license {
797
+ name
798
+ link
799
+ }
800
+ singleUse: single_use
801
+ }
802
+ orbit {
803
+ id
804
+ name
805
+ abbrev
806
+ celestialBody: $.celestial_body {
807
+ id
808
+ name
809
+ }
810
+ }
811
+ agencies {
812
+ id
813
+ name
814
+ abbrev
815
+ type: type.name
816
+ }
817
+ infoUrls: info_urls {
818
+ priority
819
+ source
820
+ title
821
+ description
822
+ featureImage: feature_image
823
+ url
824
+ type: type.name
825
+ language {
826
+ id
827
+ name
828
+ code
829
+ }
830
+ }
831
+ vidUrls: vid_urls {
832
+ priority
833
+ source
834
+ publisher
835
+ title
836
+ description
837
+ featureImage: feature_image
838
+ url
839
+ type: type.name
840
+ language {
841
+ id
842
+ name
843
+ code
844
+ }
845
+ startTime: start_time
846
+ endTime: end_time
847
+ live
848
+ }
849
+ }
850
+ pad {
851
+ id
852
+ active
853
+ agencies {
854
+ id
855
+ name
856
+ abbrev
857
+ type: type.name
858
+ }
859
+ name
860
+ image {
861
+ id
862
+ name
863
+ url: image_url
864
+ thumbnail: thumbnail_url
865
+ credit
866
+ license {
867
+ name
868
+ link
869
+ }
870
+ singleUse: single_use
871
+ }
872
+ description
873
+ infoUrl: info_url
874
+ wikiUrl: wiki_url
875
+ mapUrl: map_url
876
+ latitude
877
+ longitude
878
+ country {
879
+ id
880
+ name
881
+ alpha2Code: alpha_2_code
882
+ alpha3Code: alpha_3_code
883
+ nationalityName: nationality_name
884
+ nationalityNameComposed: nationality_name_composed
885
+ }
886
+ mapImage: map_image
887
+ launchTotalCount: total_launch_count
888
+ orbitalLaunchAttemptCount: orbital_launch_attempt_count
889
+ fastestTurnaround: fastest_turnaround
890
+ location {
891
+ id
892
+ name
893
+ active
894
+ country {
895
+ id
896
+ name
897
+ alpha2Code: alpha_2_code
898
+ alpha3Code: alpha_3_code
899
+ nationalityName: nationality_name
900
+ nationalityNameComposed: nationality_name_composed
901
+ }
902
+ description
903
+ image {
904
+ id
905
+ name
906
+ url: image_url
907
+ thumbnail: thumbnail_url
908
+ credit
909
+ license {
910
+ name
911
+ link
912
+ }
913
+ singleUse: single_use
914
+ }
915
+ mapImage: map_image
916
+ longitude
917
+ latitude
918
+ timezone: timezone_name
919
+ totalLaunchCount: total_launch_count
920
+ totalLandingCount: total_landing_count
921
+ }
922
+ }
923
+ webcastLive: webcast_live
924
+ orbitalLaunchAttemps: orbital_launch_attempt_count
925
+ locationLaunchAttemps: location_launch_attempt_count
926
+ padLaunchAttemps: pad_launch_attempt_count
927
+ agencyLaunchAttemps: agency_launch_attempt_count
928
+ orbitalLaunchAttempsYear: orbital_launch_attempt_count_year
929
+ locationLaunchAttempsYear: location_launch_attempt_count_year
930
+ padLaunchAttempsYear: pad_launch_attempt_count_year
931
+ agencyLaunchAttempsYear: agency_launch_attempt_count_year
932
+ }
933
+ """
934
+ )
935
+ upcomingLaunches(search: String, limit: Int = 5, offset: Int = 0): LaunchConnection
936
+ @connect(
937
+ source: "llv2"
938
+ http: {
939
+ GET: "/launches/upcoming/"
940
+ queryParams: """
941
+ search: $args.filters.search
942
+ limit: $args.limit
943
+ offset: $args.offset
944
+ format: $('json')
945
+ """
946
+ }
947
+ selection: """
948
+ pageInfo: {
949
+ count
950
+ next
951
+ previous
952
+ }
953
+ results {
954
+ id
955
+ name
956
+ launchDesignator: launch_designator
957
+ status {
958
+ id
959
+ name
960
+ abbrev
961
+ description
962
+ }
963
+ lastUpdated: last_updated
964
+ net
965
+ netPrecision: net_precision
966
+ window: {
967
+ start: window_start
968
+ end: window_end
969
+ }
970
+ image {
971
+ id
972
+ name
973
+ url: image_url
974
+ thumbnail: thumbnail_url
975
+ credit
976
+ license {
977
+ name
978
+ link
979
+ }
980
+ singleUse: single_use
981
+ }
982
+ infographic
983
+ probability
984
+ weatherConcerns: weather_concerns
985
+ failreason
986
+ hashtag
987
+ provider: $.launch_service_provider {
988
+ id
989
+ name
990
+ abbrev
991
+ type: $.type.name
992
+ }
993
+ rocket {
994
+ id
995
+ configuration {
996
+ id
997
+ name
998
+ fullName: full_name
999
+ variant
1000
+ families {
1001
+ id
1002
+ name
1003
+ }
1004
+ }
1005
+ }
1006
+ mission {
1007
+ id
1008
+ name
1009
+ type
1010
+ description
1011
+ image {
1012
+ id
1013
+ name
1014
+ url: image_url
1015
+ thumbnail: thumbnail_url
1016
+ credit
1017
+ license {
1018
+ name
1019
+ link
1020
+ }
1021
+ singleUse: single_use
1022
+ }
1023
+ orbit {
1024
+ id
1025
+ name
1026
+ abbrev
1027
+ celestialBody: $.celestial_body {
1028
+ id
1029
+ name
1030
+ }
1031
+ }
1032
+ agencies {
1033
+ id
1034
+ name
1035
+ abbrev
1036
+ type: type.name
1037
+ }
1038
+ infoUrls: info_urls {
1039
+ priority
1040
+ source
1041
+ title
1042
+ description
1043
+ featureImage: feature_image
1044
+ url
1045
+ type: type.name
1046
+ language {
1047
+ id
1048
+ name
1049
+ code
1050
+ }
1051
+ }
1052
+ vidUrls: vid_urls {
1053
+ priority
1054
+ source
1055
+ publisher
1056
+ title
1057
+ description
1058
+ featureImage: feature_image
1059
+ url
1060
+ type: type.name
1061
+ language {
1062
+ id
1063
+ name
1064
+ code
1065
+ }
1066
+ startTime: start_time
1067
+ endTime: end_time
1068
+ live
1069
+ }
1070
+ }
1071
+ pad {
1072
+ id
1073
+ active
1074
+ agencies {
1075
+ id
1076
+ name
1077
+ abbrev
1078
+ type: type.name
1079
+ }
1080
+ name
1081
+ image {
1082
+ id
1083
+ name
1084
+ url: image_url
1085
+ thumbnail: thumbnail_url
1086
+ credit
1087
+ license {
1088
+ name
1089
+ link
1090
+ }
1091
+ singleUse: single_use
1092
+ }
1093
+ description
1094
+ infoUrl: info_url
1095
+ wikiUrl: wiki_url
1096
+ mapUrl: map_url
1097
+ latitude
1098
+ longitude
1099
+ country {
1100
+ id
1101
+ name
1102
+ alpha2Code: alpha_2_code
1103
+ alpha3Code: alpha_3_code
1104
+ nationalityName: nationality_name
1105
+ nationalityNameComposed: nationality_name_composed
1106
+ }
1107
+ mapImage: map_image
1108
+ launchTotalCount: total_launch_count
1109
+ orbitalLaunchAttemptCount: orbital_launch_attempt_count
1110
+ fastestTurnaround: fastest_turnaround
1111
+ location {
1112
+ id
1113
+ name
1114
+ active
1115
+ country {
1116
+ id
1117
+ name
1118
+ alpha2Code: alpha_2_code
1119
+ alpha3Code: alpha_3_code
1120
+ nationalityName: nationality_name
1121
+ nationalityNameComposed: nationality_name_composed
1122
+ }
1123
+ description
1124
+ image {
1125
+ id
1126
+ name
1127
+ url: image_url
1128
+ thumbnail: thumbnail_url
1129
+ credit
1130
+ license {
1131
+ name
1132
+ link
1133
+ }
1134
+ singleUse: single_use
1135
+ }
1136
+ mapImage: map_image
1137
+ longitude
1138
+ latitude
1139
+ timezone: timezone_name
1140
+ totalLaunchCount: total_launch_count
1141
+ totalLandingCount: total_landing_count
1142
+ }
1143
+ }
1144
+ webcastLive: webcast_live
1145
+ orbitalLaunchAttemps: orbital_launch_attempt_count
1146
+ locationLaunchAttemps: location_launch_attempt_count
1147
+ padLaunchAttemps: pad_launch_attempt_count
1148
+ agencyLaunchAttemps: agency_launch_attempt_count
1149
+ orbitalLaunchAttempsYear: orbital_launch_attempt_count_year
1150
+ locationLaunchAttempsYear: location_launch_attempt_count_year
1151
+ padLaunchAttempsYear: pad_launch_attempt_count_year
1152
+ agencyLaunchAttempsYear: agency_launch_attempt_count_year
1153
+ }
1154
+ """
1155
+ )
1156
+ }