@teambit/graphql 1.0.186 → 1.0.188

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.
@@ -1,3768 +0,0 @@
1
- {
2
- "__schema": "APISchema",
3
- "location": {
4
- "filePath": "index.ts",
5
- "line": 1,
6
- "character": 1
7
- },
8
- "module": {
9
- "__schema": "ModuleSchema",
10
- "location": {
11
- "filePath": "index.ts",
12
- "line": 1,
13
- "character": 1
14
- },
15
- "exports": [
16
- {
17
- "__schema": "VariableLikeSchema",
18
- "location": {
19
- "filePath": "graphql.aspect.ts",
20
- "line": 3,
21
- "character": 14
22
- },
23
- "signature": "const GraphqlAspect: Aspect",
24
- "name": "GraphqlAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
27
- "location": {
28
- "filePath": "graphql.aspect.ts",
29
- "line": 3,
30
- "character": 14
31
- },
32
- "name": "Aspect",
33
- "componentId": {
34
- "scope": "teambit.harmony",
35
- "name": "harmony",
36
- "version": "0.4.6"
37
- }
38
- },
39
- "isOptional": false,
40
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/graphql',\n dependencies: [],\n defaultConfig: {},\n})"
41
- },
42
- {
43
- "__schema": "VariableLikeSchema",
44
- "location": {
45
- "filePath": "graphql.aspect.ts",
46
- "line": 3,
47
- "character": 14
48
- },
49
- "signature": "const GraphqlAspect: Aspect",
50
- "name": "GraphqlAspect",
51
- "type": {
52
- "__schema": "TypeRefSchema",
53
- "location": {
54
- "filePath": "graphql.aspect.ts",
55
- "line": 3,
56
- "character": 14
57
- },
58
- "name": "Aspect",
59
- "componentId": {
60
- "scope": "teambit.harmony",
61
- "name": "harmony",
62
- "version": "0.4.6"
63
- }
64
- },
65
- "isOptional": false,
66
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/graphql',\n dependencies: [],\n defaultConfig: {},\n})"
67
- },
68
- {
69
- "__schema": "TypeSchema",
70
- "location": {
71
- "filePath": "schema.ts",
72
- "line": 7,
73
- "character": 1
74
- },
75
- "doc": {
76
- "__schema": "DocSchema",
77
- "location": {
78
- "filePath": "schema.ts",
79
- "line": 4,
80
- "character": 1
81
- },
82
- "raw": "/**\n * graphql schema for an extension.\n */",
83
- "comment": "graphql schema for an extension."
84
- },
85
- "signature": "type Schema = {\n typeDefs?: string | DocumentNode | undefined;\n resolvers?: {\n [key: string]: any;\n } | undefined;\n schemaDirectives?: SchemaDirectives | undefined;\n}",
86
- "name": "Schema",
87
- "type": {
88
- "__schema": "TypeLiteralSchema",
89
- "location": {
90
- "filePath": "schema.ts",
91
- "line": 7,
92
- "character": 22
93
- },
94
- "members": [
95
- {
96
- "__schema": "VariableLikeSchema",
97
- "location": {
98
- "filePath": "schema.ts",
99
- "line": 8,
100
- "character": 3
101
- },
102
- "signature": "(property) typeDefs?: string | DocumentNode | undefined",
103
- "name": "typeDefs",
104
- "type": {
105
- "__schema": "TypeUnionSchema",
106
- "location": {
107
- "filePath": "schema.ts",
108
- "line": 8,
109
- "character": 14
110
- },
111
- "types": [
112
- {
113
- "__schema": "KeywordTypeSchema",
114
- "location": {
115
- "filePath": "schema.ts",
116
- "line": 8,
117
- "character": 14
118
- },
119
- "name": "string"
120
- },
121
- {
122
- "__schema": "TypeRefSchema",
123
- "location": {
124
- "filePath": "schema.ts",
125
- "line": 8,
126
- "character": 23
127
- },
128
- "name": "DocumentNode"
129
- }
130
- ]
131
- },
132
- "isOptional": true
133
- },
134
- {
135
- "__schema": "VariableLikeSchema",
136
- "location": {
137
- "filePath": "schema.ts",
138
- "line": 9,
139
- "character": 3
140
- },
141
- "signature": "(property) resolvers?: {\n [key: string]: any;\n} | undefined",
142
- "name": "resolvers",
143
- "type": {
144
- "__schema": "TypeLiteralSchema",
145
- "location": {
146
- "filePath": "schema.ts",
147
- "line": 9,
148
- "character": 15
149
- },
150
- "members": [
151
- {
152
- "__schema": "IndexSignatureSchema",
153
- "location": {
154
- "filePath": "schema.ts",
155
- "line": 9,
156
- "character": 17
157
- },
158
- "keyType": {
159
- "__schema": "ParameterSchema",
160
- "location": {
161
- "filePath": "schema.ts",
162
- "line": 9,
163
- "character": 18
164
- },
165
- "name": "key",
166
- "type": {
167
- "__schema": "KeywordTypeSchema",
168
- "location": {
169
- "filePath": "schema.ts",
170
- "line": 9,
171
- "character": 23
172
- },
173
- "name": "string"
174
- },
175
- "isOptional": false,
176
- "isSpread": false
177
- },
178
- "valueType": {
179
- "__schema": "KeywordTypeSchema",
180
- "location": {
181
- "filePath": "schema.ts",
182
- "line": 9,
183
- "character": 32
184
- },
185
- "name": "any"
186
- }
187
- }
188
- ]
189
- },
190
- "isOptional": true
191
- },
192
- {
193
- "__schema": "VariableLikeSchema",
194
- "location": {
195
- "filePath": "schema.ts",
196
- "line": 10,
197
- "character": 3
198
- },
199
- "signature": "(property) schemaDirectives?: SchemaDirectives | undefined",
200
- "name": "schemaDirectives",
201
- "type": {
202
- "__schema": "TypeRefSchema",
203
- "location": {
204
- "filePath": "schema.ts",
205
- "line": 10,
206
- "character": 22
207
- },
208
- "name": "SchemaDirectives"
209
- },
210
- "isOptional": true
211
- }
212
- ]
213
- }
214
- },
215
- {
216
- "__schema": "ClassSchema",
217
- "location": {
218
- "filePath": "graphql.main.runtime.ts",
219
- "line": 49,
220
- "character": 1
221
- },
222
- "signature": "class GraphqlMain",
223
- "name": "GraphqlMain",
224
- "members": [
225
- {
226
- "__schema": "ConstructorSchema",
227
- "location": {
228
- "filePath": "graphql.main.runtime.ts",
229
- "line": 50,
230
- "character": 3
231
- },
232
- "signature": "constructor GraphqlMain(config: GraphQLConfig, moduleSlot: SchemaSlot, context: Harmony, logger: Logger, graphQLServerSlot: GraphQLServerSlot, pubSubSlot: PubSubSlot): GraphqlMain",
233
- "name": "constructor",
234
- "params": [
235
- {
236
- "__schema": "ParameterSchema",
237
- "location": {
238
- "filePath": "graphql.main.runtime.ts",
239
- "line": 54,
240
- "character": 5
241
- },
242
- "name": "config",
243
- "type": {
244
- "__schema": "TypeRefSchema",
245
- "location": {
246
- "filePath": "graphql.main.runtime.ts",
247
- "line": 54,
248
- "character": 22
249
- },
250
- "name": "GraphQLConfig"
251
- },
252
- "isOptional": false,
253
- "isSpread": false
254
- },
255
- {
256
- "__schema": "ParameterSchema",
257
- "location": {
258
- "filePath": "graphql.main.runtime.ts",
259
- "line": 59,
260
- "character": 5
261
- },
262
- "name": "moduleSlot",
263
- "type": {
264
- "__schema": "TypeRefSchema",
265
- "location": {
266
- "filePath": "graphql.main.runtime.ts",
267
- "line": 59,
268
- "character": 25
269
- },
270
- "name": "SchemaSlot"
271
- },
272
- "isOptional": false,
273
- "isSpread": false
274
- },
275
- {
276
- "__schema": "ParameterSchema",
277
- "location": {
278
- "filePath": "graphql.main.runtime.ts",
279
- "line": 64,
280
- "character": 5
281
- },
282
- "name": "context",
283
- "type": {
284
- "__schema": "TypeRefSchema",
285
- "location": {
286
- "filePath": "graphql.main.runtime.ts",
287
- "line": 64,
288
- "character": 22
289
- },
290
- "name": "Harmony"
291
- },
292
- "isOptional": false,
293
- "isSpread": false
294
- },
295
- {
296
- "__schema": "ParameterSchema",
297
- "location": {
298
- "filePath": "graphql.main.runtime.ts",
299
- "line": 69,
300
- "character": 5
301
- },
302
- "name": "logger",
303
- "type": {
304
- "__schema": "TypeRefSchema",
305
- "location": {
306
- "filePath": "graphql.main.runtime.ts",
307
- "line": 69,
308
- "character": 22
309
- },
310
- "name": "Logger"
311
- },
312
- "isOptional": false,
313
- "isSpread": false
314
- },
315
- {
316
- "__schema": "ParameterSchema",
317
- "location": {
318
- "filePath": "graphql.main.runtime.ts",
319
- "line": 71,
320
- "character": 5
321
- },
322
- "name": "graphQLServerSlot",
323
- "type": {
324
- "__schema": "TypeRefSchema",
325
- "location": {
326
- "filePath": "graphql.main.runtime.ts",
327
- "line": 71,
328
- "character": 32
329
- },
330
- "name": "GraphQLServerSlot"
331
- },
332
- "isOptional": false,
333
- "isSpread": false
334
- },
335
- {
336
- "__schema": "ParameterSchema",
337
- "location": {
338
- "filePath": "graphql.main.runtime.ts",
339
- "line": 76,
340
- "character": 5
341
- },
342
- "name": "pubSubSlot",
343
- "type": {
344
- "__schema": "TypeRefSchema",
345
- "location": {
346
- "filePath": "graphql.main.runtime.ts",
347
- "line": 76,
348
- "character": 25
349
- },
350
- "name": "PubSubSlot"
351
- },
352
- "isOptional": false,
353
- "isSpread": false
354
- }
355
- ],
356
- "returnType": {
357
- "__schema": "ThisTypeSchema",
358
- "location": {
359
- "filePath": "graphql.main.runtime.ts",
360
- "line": 49,
361
- "character": 1
362
- },
363
- "name": "GraphqlMain"
364
- },
365
- "modifiers": []
366
- },
367
- {
368
- "__schema": "GetAccessorSchema",
369
- "location": {
370
- "filePath": "graphql.main.runtime.ts",
371
- "line": 79,
372
- "character": 3
373
- },
374
- "signature": "(getter) GraphqlMain.pubsub: PubSubEngine",
375
- "name": "pubsub",
376
- "type": {
377
- "__schema": "TypeRefSchema",
378
- "location": {
379
- "filePath": "graphql.main.runtime.ts",
380
- "line": 79,
381
- "character": 3
382
- },
383
- "name": "PubSubEngine",
384
- "packageName": "graphql-subscriptions"
385
- }
386
- },
387
- {
388
- "__schema": "FunctionLikeSchema",
389
- "location": {
390
- "filePath": "graphql.main.runtime.ts",
391
- "line": 90,
392
- "character": 3
393
- },
394
- "doc": {
395
- "__schema": "DocSchema",
396
- "location": {
397
- "filePath": "graphql.main.runtime.ts",
398
- "line": 87,
399
- "character": 3
400
- },
401
- "raw": "/**\n * returns the schema for a specific aspect by its id.\n */",
402
- "comment": "returns the schema for a specific aspect by its id."
403
- },
404
- "signature": "(method) GraphqlMain.getSchema(aspectId: string): Schema | undefined",
405
- "name": "getSchema",
406
- "params": [
407
- {
408
- "__schema": "ParameterSchema",
409
- "location": {
410
- "filePath": "graphql.main.runtime.ts",
411
- "line": 90,
412
- "character": 13
413
- },
414
- "name": "aspectId",
415
- "type": {
416
- "__schema": "KeywordTypeSchema",
417
- "location": {
418
- "filePath": "graphql.main.runtime.ts",
419
- "line": 90,
420
- "character": 23
421
- },
422
- "name": "string"
423
- },
424
- "isOptional": false,
425
- "isSpread": false
426
- }
427
- ],
428
- "returnType": {
429
- "__schema": "InferenceTypeSchema",
430
- "location": {
431
- "filePath": "graphql.main.runtime.ts",
432
- "line": 90,
433
- "character": 3
434
- },
435
- "type": "Schema | undefined"
436
- },
437
- "modifiers": []
438
- },
439
- {
440
- "__schema": "FunctionLikeSchema",
441
- "location": {
442
- "filePath": "graphql.main.runtime.ts",
443
- "line": 97,
444
- "character": 3
445
- },
446
- "doc": {
447
- "__schema": "DocSchema",
448
- "location": {
449
- "filePath": "graphql.main.runtime.ts",
450
- "line": 94,
451
- "character": 3
452
- },
453
- "raw": "/**\n * get multiple schema by aspect ids.\n */",
454
- "comment": "get multiple schema by aspect ids."
455
- },
456
- "signature": "(method) GraphqlMain.getSchemas(aspectIds: string[]): Schema[]",
457
- "name": "getSchemas",
458
- "params": [
459
- {
460
- "__schema": "ParameterSchema",
461
- "location": {
462
- "filePath": "graphql.main.runtime.ts",
463
- "line": 97,
464
- "character": 14
465
- },
466
- "name": "aspectIds",
467
- "type": {
468
- "__schema": "TypeArraySchema",
469
- "location": {
470
- "filePath": "graphql.main.runtime.ts",
471
- "line": 97,
472
- "character": 25
473
- },
474
- "type": {
475
- "__schema": "KeywordTypeSchema",
476
- "location": {
477
- "filePath": "graphql.main.runtime.ts",
478
- "line": 97,
479
- "character": 25
480
- },
481
- "name": "string"
482
- }
483
- },
484
- "isOptional": false,
485
- "isSpread": false
486
- }
487
- ],
488
- "returnType": {
489
- "__schema": "InferenceTypeSchema",
490
- "location": {
491
- "filePath": "graphql.main.runtime.ts",
492
- "line": 97,
493
- "character": 3
494
- },
495
- "type": "Schema[]"
496
- },
497
- "modifiers": []
498
- },
499
- {
500
- "__schema": "FunctionLikeSchema",
501
- "location": {
502
- "filePath": "graphql.main.runtime.ts",
503
- "line": 108,
504
- "character": 3
505
- },
506
- "signature": "(method) GraphqlMain.createServer(options: GraphQLServerOptions): Promise<Server<typeof IncomingMessage, typeof ServerResponse>>",
507
- "name": "createServer",
508
- "params": [
509
- {
510
- "__schema": "ParameterSchema",
511
- "location": {
512
- "filePath": "graphql.main.runtime.ts",
513
- "line": 108,
514
- "character": 22
515
- },
516
- "name": "options",
517
- "type": {
518
- "__schema": "TypeRefSchema",
519
- "location": {
520
- "filePath": "graphql.main.runtime.ts",
521
- "line": 108,
522
- "character": 31
523
- },
524
- "name": "GraphQLServerOptions"
525
- },
526
- "isOptional": false,
527
- "isSpread": false
528
- }
529
- ],
530
- "returnType": {
531
- "__schema": "InferenceTypeSchema",
532
- "location": {
533
- "filePath": "graphql.main.runtime.ts",
534
- "line": 108,
535
- "character": 3
536
- },
537
- "type": "Promise<Server<typeof IncomingMessage, typeof ServerResponse>>"
538
- },
539
- "modifiers": [
540
- "async"
541
- ]
542
- },
543
- {
544
- "__schema": "FunctionLikeSchema",
545
- "location": {
546
- "filePath": "graphql.main.runtime.ts",
547
- "line": 164,
548
- "character": 3
549
- },
550
- "doc": {
551
- "__schema": "DocSchema",
552
- "location": {
553
- "filePath": "graphql.main.runtime.ts",
554
- "line": 161,
555
- "character": 3
556
- },
557
- "raw": "/**\n * register a new graphql server.\n */",
558
- "comment": "register a new graphql server."
559
- },
560
- "signature": "(method) GraphqlMain.registerServer(server: GraphQLServer): this",
561
- "name": "registerServer",
562
- "params": [
563
- {
564
- "__schema": "ParameterSchema",
565
- "location": {
566
- "filePath": "graphql.main.runtime.ts",
567
- "line": 164,
568
- "character": 18
569
- },
570
- "name": "server",
571
- "type": {
572
- "__schema": "TypeRefSchema",
573
- "location": {
574
- "filePath": "graphql.main.runtime.ts",
575
- "line": 164,
576
- "character": 26
577
- },
578
- "name": "GraphQLServer"
579
- },
580
- "isOptional": false,
581
- "isSpread": false
582
- }
583
- ],
584
- "returnType": {
585
- "__schema": "TypeRefSchema",
586
- "location": {
587
- "filePath": "graphql.main.runtime.ts",
588
- "line": 164,
589
- "character": 3
590
- },
591
- "name": "GraphqlMain"
592
- },
593
- "modifiers": []
594
- },
595
- {
596
- "__schema": "FunctionLikeSchema",
597
- "location": {
598
- "filePath": "graphql.main.runtime.ts",
599
- "line": 172,
600
- "character": 3
601
- },
602
- "doc": {
603
- "__schema": "DocSchema",
604
- "location": {
605
- "filePath": "graphql.main.runtime.ts",
606
- "line": 169,
607
- "character": 3
608
- },
609
- "raw": "/**\n * register a pubsub client\n */",
610
- "comment": "register a pubsub client"
611
- },
612
- "signature": "(method) GraphqlMain.registerPubSub(pubsub: PubSubEngine): this",
613
- "name": "registerPubSub",
614
- "params": [
615
- {
616
- "__schema": "ParameterSchema",
617
- "location": {
618
- "filePath": "graphql.main.runtime.ts",
619
- "line": 172,
620
- "character": 18
621
- },
622
- "name": "pubsub",
623
- "type": {
624
- "__schema": "TypeRefSchema",
625
- "location": {
626
- "filePath": "graphql.main.runtime.ts",
627
- "line": 172,
628
- "character": 26
629
- },
630
- "name": "PubSubEngine"
631
- },
632
- "isOptional": false,
633
- "isSpread": false
634
- }
635
- ],
636
- "returnType": {
637
- "__schema": "TypeRefSchema",
638
- "location": {
639
- "filePath": "graphql.main.runtime.ts",
640
- "line": 172,
641
- "character": 3
642
- },
643
- "name": "GraphqlMain"
644
- },
645
- "modifiers": []
646
- },
647
- {
648
- "__schema": "FunctionLikeSchema",
649
- "location": {
650
- "filePath": "graphql.main.runtime.ts",
651
- "line": 182,
652
- "character": 3
653
- },
654
- "doc": {
655
- "__schema": "DocSchema",
656
- "location": {
657
- "filePath": "graphql.main.runtime.ts",
658
- "line": 179,
659
- "character": 3
660
- },
661
- "raw": "/**\n * start a graphql server.\n */",
662
- "comment": "start a graphql server."
663
- },
664
- "signature": "(method) GraphqlMain.listen(port?: number, server?: Server, app?: Express): Promise<void>",
665
- "name": "listen",
666
- "params": [
667
- {
668
- "__schema": "ParameterSchema",
669
- "location": {
670
- "filePath": "graphql.main.runtime.ts",
671
- "line": 182,
672
- "character": 16
673
- },
674
- "name": "port",
675
- "type": {
676
- "__schema": "KeywordTypeSchema",
677
- "location": {
678
- "filePath": "graphql.main.runtime.ts",
679
- "line": 182,
680
- "character": 23
681
- },
682
- "name": "number"
683
- },
684
- "isOptional": true,
685
- "isSpread": false
686
- },
687
- {
688
- "__schema": "ParameterSchema",
689
- "location": {
690
- "filePath": "graphql.main.runtime.ts",
691
- "line": 182,
692
- "character": 31
693
- },
694
- "name": "server",
695
- "type": {
696
- "__schema": "TypeRefSchema",
697
- "location": {
698
- "filePath": "graphql.main.runtime.ts",
699
- "line": 182,
700
- "character": 40
701
- },
702
- "name": "Server"
703
- },
704
- "isOptional": true,
705
- "isSpread": false
706
- },
707
- {
708
- "__schema": "ParameterSchema",
709
- "location": {
710
- "filePath": "graphql.main.runtime.ts",
711
- "line": 182,
712
- "character": 48
713
- },
714
- "name": "app",
715
- "type": {
716
- "__schema": "TypeRefSchema",
717
- "location": {
718
- "filePath": "graphql.main.runtime.ts",
719
- "line": 182,
720
- "character": 54
721
- },
722
- "name": "Express"
723
- },
724
- "isOptional": true,
725
- "isSpread": false
726
- }
727
- ],
728
- "returnType": {
729
- "__schema": "InferenceTypeSchema",
730
- "location": {
731
- "filePath": "graphql.main.runtime.ts",
732
- "line": 182,
733
- "character": 3
734
- },
735
- "type": "Promise<void>"
736
- },
737
- "modifiers": [
738
- "async"
739
- ]
740
- },
741
- {
742
- "__schema": "FunctionLikeSchema",
743
- "location": {
744
- "filePath": "graphql.main.runtime.ts",
745
- "line": 197,
746
- "character": 3
747
- },
748
- "doc": {
749
- "__schema": "DocSchema",
750
- "location": {
751
- "filePath": "graphql.main.runtime.ts",
752
- "line": 194,
753
- "character": 3
754
- },
755
- "raw": "/**\n * register a new graphql module.\n */",
756
- "comment": "register a new graphql module."
757
- },
758
- "signature": "(method) GraphqlMain.register(schema: Schema): this",
759
- "name": "register",
760
- "params": [
761
- {
762
- "__schema": "ParameterSchema",
763
- "location": {
764
- "filePath": "graphql.main.runtime.ts",
765
- "line": 197,
766
- "character": 12
767
- },
768
- "name": "schema",
769
- "type": {
770
- "__schema": "TypeRefSchema",
771
- "location": {
772
- "filePath": "graphql.main.runtime.ts",
773
- "line": 197,
774
- "character": 20
775
- },
776
- "name": "Schema"
777
- },
778
- "isOptional": false,
779
- "isSpread": false
780
- }
781
- ],
782
- "returnType": {
783
- "__schema": "TypeRefSchema",
784
- "location": {
785
- "filePath": "graphql.main.runtime.ts",
786
- "line": 197,
787
- "character": 3
788
- },
789
- "name": "GraphqlMain"
790
- },
791
- "modifiers": []
792
- },
793
- {
794
- "__schema": "VariableLikeSchema",
795
- "location": {
796
- "filePath": "graphql.main.runtime.ts",
797
- "line": 304,
798
- "character": 3
799
- },
800
- "signature": "(property) GraphqlMain.slots: (((registerFn: () => string) => SlotRegistry<Schema>) | ((registerFn: () => string) => SlotRegistry<GraphQLServer>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
801
- "name": "slots",
802
- "type": {
803
- "__schema": "InferenceTypeSchema",
804
- "location": {
805
- "filePath": "graphql.main.runtime.ts",
806
- "line": 304,
807
- "character": 3
808
- },
809
- "type": "(((registerFn: () => string) => SlotRegistry<Schema>) | ((registerFn: () => string) => SlotRegistry<GraphQLServer>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
810
- },
811
- "isOptional": true,
812
- "defaultValue": "[Slot.withType<Schema>(), Slot.withType<GraphQLServer>(), Slot.withType<PubSubSlot>()]"
813
- },
814
- {
815
- "__schema": "VariableLikeSchema",
816
- "location": {
817
- "filePath": "graphql.main.runtime.ts",
818
- "line": 306,
819
- "character": 3
820
- },
821
- "signature": "(property) GraphqlMain.defaultConfig: {\n port: number;\n subscriptionsPortRange: number[];\n disableCors: boolean;\n subscriptionsPath: string;\n}",
822
- "name": "defaultConfig",
823
- "type": {
824
- "__schema": "InferenceTypeSchema",
825
- "location": {
826
- "filePath": "graphql.main.runtime.ts",
827
- "line": 306,
828
- "character": 3
829
- },
830
- "type": "{\n port: number;\n subscriptionsPortRange: number[];\n disableCors: boolean;\n subscriptionsPath: string;\n}"
831
- },
832
- "isOptional": true,
833
- "defaultValue": "{\n port: 4000,\n subscriptionsPortRange: [2000, 2100],\n disableCors: false,\n subscriptionsPath: '/subscriptions',\n }"
834
- },
835
- {
836
- "__schema": "VariableLikeSchema",
837
- "location": {
838
- "filePath": "graphql.main.runtime.ts",
839
- "line": 313,
840
- "character": 3
841
- },
842
- "signature": "(property) GraphqlMain.runtime: RuntimeDefinition",
843
- "name": "runtime",
844
- "type": {
845
- "__schema": "InferenceTypeSchema",
846
- "location": {
847
- "filePath": "graphql.main.runtime.ts",
848
- "line": 313,
849
- "character": 3
850
- },
851
- "type": "RuntimeDefinition"
852
- },
853
- "isOptional": true,
854
- "defaultValue": "MainRuntime"
855
- },
856
- {
857
- "__schema": "VariableLikeSchema",
858
- "location": {
859
- "filePath": "graphql.main.runtime.ts",
860
- "line": 314,
861
- "character": 3
862
- },
863
- "signature": "(property) GraphqlMain.dependencies: Aspect[]",
864
- "name": "dependencies",
865
- "type": {
866
- "__schema": "InferenceTypeSchema",
867
- "location": {
868
- "filePath": "graphql.main.runtime.ts",
869
- "line": 314,
870
- "character": 3
871
- },
872
- "type": "Aspect[]"
873
- },
874
- "isOptional": true,
875
- "defaultValue": "[LoggerAspect]"
876
- },
877
- {
878
- "__schema": "FunctionLikeSchema",
879
- "location": {
880
- "filePath": "graphql.main.runtime.ts",
881
- "line": 316,
882
- "character": 3
883
- },
884
- "signature": "(method) GraphqlMain.provider([loggerFactory]: [LoggerMain], config: GraphQLConfig, [moduleSlot, graphQLServerSlot, pubSubSlot]: [SchemaSlot, GraphQLServerSlot, PubSubSlot], context: Harmony): Promise<GraphqlMain>",
885
- "name": "provider",
886
- "params": [
887
- {
888
- "__schema": "ParameterSchema",
889
- "location": {
890
- "filePath": "graphql.main.runtime.ts",
891
- "line": 317,
892
- "character": 5
893
- },
894
- "name": "[ loggerFactory ]",
895
- "type": {
896
- "__schema": "TupleTypeSchema",
897
- "location": {
898
- "filePath": "graphql.main.runtime.ts",
899
- "line": 317,
900
- "character": 22
901
- },
902
- "elements": [
903
- {
904
- "__schema": "TypeRefSchema",
905
- "location": {
906
- "filePath": "graphql.main.runtime.ts",
907
- "line": 317,
908
- "character": 23
909
- },
910
- "name": "LoggerMain"
911
- }
912
- ]
913
- },
914
- "isOptional": false,
915
- "isSpread": false
916
- },
917
- {
918
- "__schema": "ParameterSchema",
919
- "location": {
920
- "filePath": "graphql.main.runtime.ts",
921
- "line": 318,
922
- "character": 5
923
- },
924
- "name": "config",
925
- "type": {
926
- "__schema": "TypeRefSchema",
927
- "location": {
928
- "filePath": "graphql.main.runtime.ts",
929
- "line": 318,
930
- "character": 13
931
- },
932
- "name": "GraphQLConfig"
933
- },
934
- "isOptional": false,
935
- "isSpread": false
936
- },
937
- {
938
- "__schema": "ParameterSchema",
939
- "location": {
940
- "filePath": "graphql.main.runtime.ts",
941
- "line": 319,
942
- "character": 5
943
- },
944
- "name": "[ moduleSlot, graphQLServerSlot, pubSubSlot ]",
945
- "type": {
946
- "__schema": "TupleTypeSchema",
947
- "location": {
948
- "filePath": "graphql.main.runtime.ts",
949
- "line": 319,
950
- "character": 50
951
- },
952
- "elements": [
953
- {
954
- "__schema": "TypeRefSchema",
955
- "location": {
956
- "filePath": "graphql.main.runtime.ts",
957
- "line": 319,
958
- "character": 51
959
- },
960
- "name": "SchemaSlot"
961
- },
962
- {
963
- "__schema": "TypeRefSchema",
964
- "location": {
965
- "filePath": "graphql.main.runtime.ts",
966
- "line": 319,
967
- "character": 63
968
- },
969
- "name": "GraphQLServerSlot"
970
- },
971
- {
972
- "__schema": "TypeRefSchema",
973
- "location": {
974
- "filePath": "graphql.main.runtime.ts",
975
- "line": 319,
976
- "character": 82
977
- },
978
- "name": "PubSubSlot"
979
- }
980
- ]
981
- },
982
- "isOptional": false,
983
- "isSpread": false
984
- },
985
- {
986
- "__schema": "ParameterSchema",
987
- "location": {
988
- "filePath": "graphql.main.runtime.ts",
989
- "line": 320,
990
- "character": 5
991
- },
992
- "name": "context",
993
- "type": {
994
- "__schema": "TypeRefSchema",
995
- "location": {
996
- "filePath": "graphql.main.runtime.ts",
997
- "line": 320,
998
- "character": 14
999
- },
1000
- "name": "Harmony"
1001
- },
1002
- "isOptional": false,
1003
- "isSpread": false
1004
- }
1005
- ],
1006
- "returnType": {
1007
- "__schema": "InferenceTypeSchema",
1008
- "location": {
1009
- "filePath": "graphql.main.runtime.ts",
1010
- "line": 316,
1011
- "character": 3
1012
- },
1013
- "type": "Promise<GraphqlMain>"
1014
- },
1015
- "modifiers": [
1016
- "static",
1017
- "async"
1018
- ]
1019
- }
1020
- ],
1021
- "extendsNodes": [],
1022
- "implementNodes": []
1023
- },
1024
- {
1025
- "__schema": "TypeSchema",
1026
- "location": {
1027
- "filePath": "graphql.main.runtime.ts",
1028
- "line": 35,
1029
- "character": 1
1030
- },
1031
- "signature": "type SchemaSlot = SlotRegistry<Schema>",
1032
- "name": "SchemaSlot",
1033
- "type": {
1034
- "__schema": "TypeRefSchema",
1035
- "location": {
1036
- "filePath": "graphql.main.runtime.ts",
1037
- "line": 35,
1038
- "character": 26
1039
- },
1040
- "name": "SlotRegistry",
1041
- "typeArgs": [
1042
- {
1043
- "__schema": "TypeRefSchema",
1044
- "location": {
1045
- "filePath": "graphql.main.runtime.ts",
1046
- "line": 35,
1047
- "character": 39
1048
- },
1049
- "name": "Schema"
1050
- }
1051
- ]
1052
- }
1053
- },
1054
- {
1055
- "__schema": "ClassSchema",
1056
- "location": {
1057
- "filePath": "graphql.ui.runtime.tsx",
1058
- "line": 30,
1059
- "character": 1
1060
- },
1061
- "signature": "class GraphqlUI",
1062
- "name": "GraphqlUI",
1063
- "members": [
1064
- {
1065
- "__schema": "FunctionLikeSchema",
1066
- "location": {
1067
- "filePath": "graphql.ui.runtime.tsx",
1068
- "line": 31,
1069
- "character": 3
1070
- },
1071
- "signature": "(method) GraphqlUI.createClient(uri: string, { state, subscriptionUri }?: ClientOptions): ApolloClient<NormalizedCacheObject>",
1072
- "name": "createClient",
1073
- "params": [
1074
- {
1075
- "__schema": "ParameterSchema",
1076
- "location": {
1077
- "filePath": "graphql.ui.runtime.tsx",
1078
- "line": 31,
1079
- "character": 16
1080
- },
1081
- "name": "uri",
1082
- "type": {
1083
- "__schema": "KeywordTypeSchema",
1084
- "location": {
1085
- "filePath": "graphql.ui.runtime.tsx",
1086
- "line": 31,
1087
- "character": 21
1088
- },
1089
- "name": "string"
1090
- },
1091
- "isOptional": false,
1092
- "isSpread": false
1093
- },
1094
- {
1095
- "__schema": "ParameterSchema",
1096
- "location": {
1097
- "filePath": "graphql.ui.runtime.tsx",
1098
- "line": 31,
1099
- "character": 29
1100
- },
1101
- "name": "{ state, subscriptionUri }",
1102
- "type": {
1103
- "__schema": "TypeRefSchema",
1104
- "location": {
1105
- "filePath": "graphql.ui.runtime.tsx",
1106
- "line": 31,
1107
- "character": 57
1108
- },
1109
- "name": "ClientOptions"
1110
- },
1111
- "isOptional": true,
1112
- "defaultValue": "{}",
1113
- "objectBindingNodes": [
1114
- {
1115
- "__schema": "InferenceTypeSchema",
1116
- "location": {
1117
- "filePath": "graphql.ui.runtime.tsx",
1118
- "line": 31,
1119
- "character": 31
1120
- },
1121
- "name": "state",
1122
- "type": "NormalizedCacheObject | undefined",
1123
- "isSpread": false
1124
- },
1125
- {
1126
- "__schema": "InferenceTypeSchema",
1127
- "location": {
1128
- "filePath": "graphql.ui.runtime.tsx",
1129
- "line": 31,
1130
- "character": 38
1131
- },
1132
- "name": "subscriptionUri",
1133
- "type": "string | undefined",
1134
- "isSpread": false
1135
- }
1136
- ],
1137
- "isSpread": false
1138
- }
1139
- ],
1140
- "returnType": {
1141
- "__schema": "InferenceTypeSchema",
1142
- "location": {
1143
- "filePath": "graphql.ui.runtime.tsx",
1144
- "line": 31,
1145
- "character": 3
1146
- },
1147
- "type": "ApolloClient<NormalizedCacheObject>"
1148
- },
1149
- "modifiers": []
1150
- },
1151
- {
1152
- "__schema": "FunctionLikeSchema",
1153
- "location": {
1154
- "filePath": "graphql.ui.runtime.tsx",
1155
- "line": 40,
1156
- "character": 3
1157
- },
1158
- "signature": "(method) GraphqlUI.createSsrClient({ serverUrl, headers }: {\n serverUrl: string;\n headers: any;\n}): ApolloClient<NormalizedCacheObject>",
1159
- "name": "createSsrClient",
1160
- "params": [
1161
- {
1162
- "__schema": "ParameterSchema",
1163
- "location": {
1164
- "filePath": "graphql.ui.runtime.tsx",
1165
- "line": 40,
1166
- "character": 19
1167
- },
1168
- "name": "{ serverUrl, headers }",
1169
- "type": {
1170
- "__schema": "TypeLiteralSchema",
1171
- "location": {
1172
- "filePath": "graphql.ui.runtime.tsx",
1173
- "line": 40,
1174
- "character": 43
1175
- },
1176
- "members": [
1177
- {
1178
- "__schema": "VariableLikeSchema",
1179
- "location": {
1180
- "filePath": "graphql.ui.runtime.tsx",
1181
- "line": 40,
1182
- "character": 45
1183
- },
1184
- "signature": "(property) serverUrl: string",
1185
- "name": "serverUrl",
1186
- "type": {
1187
- "__schema": "KeywordTypeSchema",
1188
- "location": {
1189
- "filePath": "graphql.ui.runtime.tsx",
1190
- "line": 40,
1191
- "character": 56
1192
- },
1193
- "name": "string"
1194
- },
1195
- "isOptional": false
1196
- },
1197
- {
1198
- "__schema": "VariableLikeSchema",
1199
- "location": {
1200
- "filePath": "graphql.ui.runtime.tsx",
1201
- "line": 40,
1202
- "character": 64
1203
- },
1204
- "signature": "(property) headers: any",
1205
- "name": "headers",
1206
- "type": {
1207
- "__schema": "KeywordTypeSchema",
1208
- "location": {
1209
- "filePath": "graphql.ui.runtime.tsx",
1210
- "line": 40,
1211
- "character": 73
1212
- },
1213
- "name": "any"
1214
- },
1215
- "isOptional": false
1216
- }
1217
- ]
1218
- },
1219
- "isOptional": false,
1220
- "objectBindingNodes": [
1221
- {
1222
- "__schema": "VariableLikeSchema",
1223
- "location": {
1224
- "filePath": "graphql.ui.runtime.tsx",
1225
- "line": 40,
1226
- "character": 45
1227
- },
1228
- "signature": "(property) serverUrl: string",
1229
- "name": "serverUrl",
1230
- "type": {
1231
- "__schema": "KeywordTypeSchema",
1232
- "location": {
1233
- "filePath": "graphql.ui.runtime.tsx",
1234
- "line": 40,
1235
- "character": 56
1236
- },
1237
- "name": "string"
1238
- },
1239
- "isOptional": false
1240
- },
1241
- {
1242
- "__schema": "VariableLikeSchema",
1243
- "location": {
1244
- "filePath": "graphql.ui.runtime.tsx",
1245
- "line": 40,
1246
- "character": 64
1247
- },
1248
- "signature": "(property) headers: any",
1249
- "name": "headers",
1250
- "type": {
1251
- "__schema": "KeywordTypeSchema",
1252
- "location": {
1253
- "filePath": "graphql.ui.runtime.tsx",
1254
- "line": 40,
1255
- "character": 73
1256
- },
1257
- "name": "any"
1258
- },
1259
- "isOptional": false
1260
- }
1261
- ],
1262
- "isSpread": false
1263
- }
1264
- ],
1265
- "returnType": {
1266
- "__schema": "InferenceTypeSchema",
1267
- "location": {
1268
- "filePath": "graphql.ui.runtime.tsx",
1269
- "line": 40,
1270
- "character": 3
1271
- },
1272
- "type": "ApolloClient<NormalizedCacheObject>"
1273
- },
1274
- "modifiers": []
1275
- },
1276
- {
1277
- "__schema": "VariableLikeSchema",
1278
- "location": {
1279
- "filePath": "graphql.ui.runtime.tsx",
1280
- "line": 86,
1281
- "character": 3
1282
- },
1283
- "doc": {
1284
- "__schema": "DocSchema",
1285
- "location": {
1286
- "filePath": "graphql.ui.runtime.tsx",
1287
- "line": 83,
1288
- "character": 3
1289
- },
1290
- "raw": "/**\n * get the graphQL provider\n */",
1291
- "comment": "get the graphQL provider"
1292
- },
1293
- "signature": "(property) GraphqlUI.getProvider: ({ client, children }: {\n client: GraphQLClient<any>;\n children: ReactNode;\n}) => React.JSX.Element",
1294
- "name": "getProvider",
1295
- "type": {
1296
- "__schema": "InferenceTypeSchema",
1297
- "location": {
1298
- "filePath": "graphql.ui.runtime.tsx",
1299
- "line": 86,
1300
- "character": 3
1301
- },
1302
- "type": "({ client, children }: {\n client: GraphQLClient<any>;\n children: ReactNode;\n}) => React.JSX.Element"
1303
- },
1304
- "isOptional": true,
1305
- "defaultValue": "({ client, children }: { client: GraphQLClient<any>; children: ReactNode }) => {\n return <GraphQLProvider client={client}>{children}</GraphQLProvider>;\n }"
1306
- },
1307
- {
1308
- "__schema": "VariableLikeSchema",
1309
- "location": {
1310
- "filePath": "graphql.ui.runtime.tsx",
1311
- "line": 90,
1312
- "character": 3
1313
- },
1314
- "signature": "(property) GraphqlUI.renderPlugins: GraphqlRenderPlugins",
1315
- "name": "renderPlugins",
1316
- "type": {
1317
- "__schema": "TypeRefSchema",
1318
- "location": {
1319
- "filePath": "graphql.ui.runtime.tsx",
1320
- "line": 90,
1321
- "character": 3
1322
- },
1323
- "name": "GraphqlRenderPlugins",
1324
- "internalFilePath": "render-lifecycle.tsx"
1325
- },
1326
- "isOptional": true,
1327
- "defaultValue": "new GraphqlRenderPlugins(this)"
1328
- },
1329
- {
1330
- "__schema": "VariableLikeSchema",
1331
- "location": {
1332
- "filePath": "graphql.ui.runtime.tsx",
1333
- "line": 92,
1334
- "character": 3
1335
- },
1336
- "signature": "(property) GraphqlUI.runtime: RuntimeDefinition",
1337
- "name": "runtime",
1338
- "type": {
1339
- "__schema": "InferenceTypeSchema",
1340
- "location": {
1341
- "filePath": "graphql.ui.runtime.tsx",
1342
- "line": 92,
1343
- "character": 3
1344
- },
1345
- "type": "RuntimeDefinition"
1346
- },
1347
- "isOptional": true,
1348
- "defaultValue": "UIRuntime"
1349
- },
1350
- {
1351
- "__schema": "VariableLikeSchema",
1352
- "location": {
1353
- "filePath": "graphql.ui.runtime.tsx",
1354
- "line": 93,
1355
- "character": 3
1356
- },
1357
- "signature": "(property) GraphqlUI.dependencies: never[]",
1358
- "name": "dependencies",
1359
- "type": {
1360
- "__schema": "InferenceTypeSchema",
1361
- "location": {
1362
- "filePath": "graphql.ui.runtime.tsx",
1363
- "line": 93,
1364
- "character": 3
1365
- },
1366
- "type": "never[]"
1367
- },
1368
- "isOptional": true,
1369
- "defaultValue": "[]"
1370
- },
1371
- {
1372
- "__schema": "VariableLikeSchema",
1373
- "location": {
1374
- "filePath": "graphql.ui.runtime.tsx",
1375
- "line": 94,
1376
- "character": 3
1377
- },
1378
- "signature": "(property) GraphqlUI.slots: never[]",
1379
- "name": "slots",
1380
- "type": {
1381
- "__schema": "InferenceTypeSchema",
1382
- "location": {
1383
- "filePath": "graphql.ui.runtime.tsx",
1384
- "line": 94,
1385
- "character": 3
1386
- },
1387
- "type": "never[]"
1388
- },
1389
- "isOptional": true,
1390
- "defaultValue": "[]"
1391
- },
1392
- {
1393
- "__schema": "FunctionLikeSchema",
1394
- "location": {
1395
- "filePath": "graphql.ui.runtime.tsx",
1396
- "line": 96,
1397
- "character": 3
1398
- },
1399
- "signature": "(method) GraphqlUI.provider(): Promise<GraphqlUI>",
1400
- "name": "provider",
1401
- "params": [],
1402
- "returnType": {
1403
- "__schema": "InferenceTypeSchema",
1404
- "location": {
1405
- "filePath": "graphql.ui.runtime.tsx",
1406
- "line": 96,
1407
- "character": 3
1408
- },
1409
- "type": "Promise<GraphqlUI>"
1410
- },
1411
- "modifiers": [
1412
- "static",
1413
- "async"
1414
- ]
1415
- }
1416
- ],
1417
- "extendsNodes": [],
1418
- "implementNodes": []
1419
- },
1420
- {
1421
- "__schema": "TypeSchema",
1422
- "location": {
1423
- "filePath": "graphql.ui.runtime.tsx",
1424
- "line": 21,
1425
- "character": 1
1426
- },
1427
- "doc": {
1428
- "__schema": "DocSchema",
1429
- "location": {
1430
- "filePath": "graphql.ui.runtime.tsx",
1431
- "line": 17,
1432
- "character": 1
1433
- },
1434
- "raw": "/**\n * Type of gql client.\n * Used to abstract Apollo client, so consumers could import the type from graphql.ui, and not have to depend on @apollo/client directly\n * */",
1435
- "comment": "Type of gql client.\nUsed to abstract Apollo client, so consumers could import the type from graphql.ui, and not have to depend on @apollo/client directly"
1436
- },
1437
- "signature": "type GraphQLClient<T> = ApolloClient<T>",
1438
- "name": "GraphQLClient",
1439
- "type": {
1440
- "__schema": "TypeRefSchema",
1441
- "location": {
1442
- "filePath": "graphql.ui.runtime.tsx",
1443
- "line": 21,
1444
- "character": 32
1445
- },
1446
- "name": "ApolloClient",
1447
- "typeArgs": [
1448
- {
1449
- "__schema": "TypeRefSchema",
1450
- "location": {
1451
- "filePath": "graphql.ui.runtime.tsx",
1452
- "line": 21,
1453
- "character": 45
1454
- },
1455
- "name": "T"
1456
- }
1457
- ]
1458
- }
1459
- },
1460
- {
1461
- "__schema": "InterfaceSchema",
1462
- "location": {
1463
- "filePath": "graphql-server.ts",
1464
- "line": 1,
1465
- "character": 1
1466
- },
1467
- "signature": "interface GraphQLServer",
1468
- "name": "GraphQLServer",
1469
- "members": [
1470
- {
1471
- "__schema": "VariableLikeSchema",
1472
- "location": {
1473
- "filePath": "graphql-server.ts",
1474
- "line": 2,
1475
- "character": 3
1476
- },
1477
- "signature": "(property) GraphQLServer.uri: string",
1478
- "name": "uri",
1479
- "type": {
1480
- "__schema": "KeywordTypeSchema",
1481
- "location": {
1482
- "filePath": "graphql-server.ts",
1483
- "line": 2,
1484
- "character": 8
1485
- },
1486
- "name": "string"
1487
- },
1488
- "isOptional": false
1489
- },
1490
- {
1491
- "__schema": "VariableLikeSchema",
1492
- "location": {
1493
- "filePath": "graphql-server.ts",
1494
- "line": 4,
1495
- "character": 3
1496
- },
1497
- "signature": "(property) GraphQLServer.subscriptionsUri?: string | undefined",
1498
- "name": "subscriptionsUri",
1499
- "type": {
1500
- "__schema": "KeywordTypeSchema",
1501
- "location": {
1502
- "filePath": "graphql-server.ts",
1503
- "line": 4,
1504
- "character": 22
1505
- },
1506
- "name": "string"
1507
- },
1508
- "isOptional": true
1509
- }
1510
- ],
1511
- "extendsNodes": []
1512
- },
1513
- {
1514
- "__schema": "ReactSchema",
1515
- "location": {
1516
- "filePath": "graphql-provider/graphql-provider.tsx",
1517
- "line": 10,
1518
- "character": 1
1519
- },
1520
- "signature": "function GraphQLProvider({ client, children }: GraphQLProviderProps): React.JSX.Element",
1521
- "name": "GraphQLProvider",
1522
- "props": {
1523
- "__schema": "ParameterSchema",
1524
- "location": {
1525
- "filePath": "graphql-provider/graphql-provider.tsx",
1526
- "line": 10,
1527
- "character": 33
1528
- },
1529
- "name": "{ client, children }",
1530
- "type": {
1531
- "__schema": "TypeRefSchema",
1532
- "location": {
1533
- "filePath": "graphql-provider/graphql-provider.tsx",
1534
- "line": 10,
1535
- "character": 55
1536
- },
1537
- "name": "GraphQLProviderProps"
1538
- },
1539
- "isOptional": false,
1540
- "objectBindingNodes": [
1541
- {
1542
- "__schema": "InferenceTypeSchema",
1543
- "location": {
1544
- "filePath": "graphql-provider/graphql-provider.tsx",
1545
- "line": 10,
1546
- "character": 35
1547
- },
1548
- "name": "client",
1549
- "type": "GraphQLClient<any>",
1550
- "isSpread": false
1551
- },
1552
- {
1553
- "__schema": "InferenceTypeSchema",
1554
- "location": {
1555
- "filePath": "graphql-provider/graphql-provider.tsx",
1556
- "line": 10,
1557
- "character": 43
1558
- },
1559
- "name": "children",
1560
- "type": "React.ReactNode",
1561
- "isSpread": false
1562
- }
1563
- ],
1564
- "isSpread": false
1565
- },
1566
- "returnType": {
1567
- "__schema": "TypeRefSchema",
1568
- "location": {
1569
- "filePath": "graphql-provider/graphql-provider.tsx",
1570
- "line": 10,
1571
- "character": 1
1572
- },
1573
- "name": "React.JSX.Element",
1574
- "packageName": "react"
1575
- },
1576
- "modifiers": [
1577
- "export"
1578
- ]
1579
- },
1580
- {
1581
- "__schema": "ClassSchema",
1582
- "location": {
1583
- "filePath": "graphql-error.ts",
1584
- "line": 1,
1585
- "character": 1
1586
- },
1587
- "signature": "class GraphQlError",
1588
- "name": "GraphQlError",
1589
- "members": [
1590
- {
1591
- "__schema": "ConstructorSchema",
1592
- "location": {
1593
- "filePath": "graphql-error.ts",
1594
- "line": 2,
1595
- "character": 3
1596
- },
1597
- "signature": "constructor GraphQlError(code: number, message?: string): GraphQlError",
1598
- "name": "constructor",
1599
- "params": [
1600
- {
1601
- "__schema": "ParameterSchema",
1602
- "location": {
1603
- "filePath": "graphql-error.ts",
1604
- "line": 6,
1605
- "character": 5
1606
- },
1607
- "name": "code",
1608
- "type": {
1609
- "__schema": "KeywordTypeSchema",
1610
- "location": {
1611
- "filePath": "graphql-error.ts",
1612
- "line": 6,
1613
- "character": 27
1614
- },
1615
- "name": "number"
1616
- },
1617
- "isOptional": false,
1618
- "isSpread": false
1619
- },
1620
- {
1621
- "__schema": "ParameterSchema",
1622
- "location": {
1623
- "filePath": "graphql-error.ts",
1624
- "line": 11,
1625
- "character": 5
1626
- },
1627
- "name": "message",
1628
- "type": {
1629
- "__schema": "KeywordTypeSchema",
1630
- "location": {
1631
- "filePath": "graphql-error.ts",
1632
- "line": 11,
1633
- "character": 31
1634
- },
1635
- "name": "string"
1636
- },
1637
- "isOptional": true,
1638
- "isSpread": false
1639
- }
1640
- ],
1641
- "returnType": {
1642
- "__schema": "ThisTypeSchema",
1643
- "location": {
1644
- "filePath": "graphql-error.ts",
1645
- "line": 1,
1646
- "character": 1
1647
- },
1648
- "name": "GraphQlError"
1649
- },
1650
- "modifiers": []
1651
- }
1652
- ],
1653
- "extendsNodes": [],
1654
- "implementNodes": []
1655
- }
1656
- ],
1657
- "internals": []
1658
- },
1659
- "internals": [
1660
- {
1661
- "__schema": "ModuleSchema",
1662
- "location": {
1663
- "filePath": "graphql.aspect.ts",
1664
- "line": 1,
1665
- "character": 1
1666
- },
1667
- "exports": [
1668
- {
1669
- "__schema": "VariableLikeSchema",
1670
- "location": {
1671
- "filePath": "graphql.aspect.ts",
1672
- "line": 3,
1673
- "character": 14
1674
- },
1675
- "signature": "const GraphqlAspect: Aspect",
1676
- "name": "GraphqlAspect",
1677
- "type": {
1678
- "__schema": "TypeRefSchema",
1679
- "location": {
1680
- "filePath": "graphql.aspect.ts",
1681
- "line": 3,
1682
- "character": 14
1683
- },
1684
- "name": "Aspect",
1685
- "componentId": {
1686
- "scope": "teambit.harmony",
1687
- "name": "harmony",
1688
- "version": "0.4.6"
1689
- }
1690
- },
1691
- "isOptional": false,
1692
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/graphql',\n dependencies: [],\n defaultConfig: {},\n})"
1693
- },
1694
- {
1695
- "__schema": "UnImplementedSchema",
1696
- "location": {
1697
- "filePath": "graphql.aspect.ts",
1698
- "line": 9,
1699
- "character": 16
1700
- },
1701
- "name": "GraphqlAspect",
1702
- "type": "Identifier"
1703
- }
1704
- ],
1705
- "internals": []
1706
- },
1707
- {
1708
- "__schema": "ModuleSchema",
1709
- "location": {
1710
- "filePath": "schema.ts",
1711
- "line": 1,
1712
- "character": 1
1713
- },
1714
- "exports": [
1715
- {
1716
- "__schema": "TypeSchema",
1717
- "location": {
1718
- "filePath": "schema.ts",
1719
- "line": 7,
1720
- "character": 1
1721
- },
1722
- "doc": {
1723
- "__schema": "DocSchema",
1724
- "location": {
1725
- "filePath": "schema.ts",
1726
- "line": 4,
1727
- "character": 1
1728
- },
1729
- "raw": "/**\n * graphql schema for an extension.\n */",
1730
- "comment": "graphql schema for an extension."
1731
- },
1732
- "signature": "type Schema = {\n typeDefs?: string | DocumentNode | undefined;\n resolvers?: {\n [key: string]: any;\n } | undefined;\n schemaDirectives?: SchemaDirectives | undefined;\n}",
1733
- "name": "Schema",
1734
- "type": {
1735
- "__schema": "TypeLiteralSchema",
1736
- "location": {
1737
- "filePath": "schema.ts",
1738
- "line": 7,
1739
- "character": 22
1740
- },
1741
- "members": [
1742
- {
1743
- "__schema": "VariableLikeSchema",
1744
- "location": {
1745
- "filePath": "schema.ts",
1746
- "line": 8,
1747
- "character": 3
1748
- },
1749
- "signature": "(property) typeDefs?: string | DocumentNode | undefined",
1750
- "name": "typeDefs",
1751
- "type": {
1752
- "__schema": "TypeUnionSchema",
1753
- "location": {
1754
- "filePath": "schema.ts",
1755
- "line": 8,
1756
- "character": 14
1757
- },
1758
- "types": [
1759
- {
1760
- "__schema": "KeywordTypeSchema",
1761
- "location": {
1762
- "filePath": "schema.ts",
1763
- "line": 8,
1764
- "character": 14
1765
- },
1766
- "name": "string"
1767
- },
1768
- {
1769
- "__schema": "TypeRefSchema",
1770
- "location": {
1771
- "filePath": "schema.ts",
1772
- "line": 8,
1773
- "character": 23
1774
- },
1775
- "name": "DocumentNode"
1776
- }
1777
- ]
1778
- },
1779
- "isOptional": true
1780
- },
1781
- {
1782
- "__schema": "VariableLikeSchema",
1783
- "location": {
1784
- "filePath": "schema.ts",
1785
- "line": 9,
1786
- "character": 3
1787
- },
1788
- "signature": "(property) resolvers?: {\n [key: string]: any;\n} | undefined",
1789
- "name": "resolvers",
1790
- "type": {
1791
- "__schema": "TypeLiteralSchema",
1792
- "location": {
1793
- "filePath": "schema.ts",
1794
- "line": 9,
1795
- "character": 15
1796
- },
1797
- "members": [
1798
- {
1799
- "__schema": "IndexSignatureSchema",
1800
- "location": {
1801
- "filePath": "schema.ts",
1802
- "line": 9,
1803
- "character": 17
1804
- },
1805
- "keyType": {
1806
- "__schema": "ParameterSchema",
1807
- "location": {
1808
- "filePath": "schema.ts",
1809
- "line": 9,
1810
- "character": 18
1811
- },
1812
- "name": "key",
1813
- "type": {
1814
- "__schema": "KeywordTypeSchema",
1815
- "location": {
1816
- "filePath": "schema.ts",
1817
- "line": 9,
1818
- "character": 23
1819
- },
1820
- "name": "string"
1821
- },
1822
- "isOptional": false,
1823
- "isSpread": false
1824
- },
1825
- "valueType": {
1826
- "__schema": "KeywordTypeSchema",
1827
- "location": {
1828
- "filePath": "schema.ts",
1829
- "line": 9,
1830
- "character": 32
1831
- },
1832
- "name": "any"
1833
- }
1834
- }
1835
- ]
1836
- },
1837
- "isOptional": true
1838
- },
1839
- {
1840
- "__schema": "VariableLikeSchema",
1841
- "location": {
1842
- "filePath": "schema.ts",
1843
- "line": 10,
1844
- "character": 3
1845
- },
1846
- "signature": "(property) schemaDirectives?: SchemaDirectives | undefined",
1847
- "name": "schemaDirectives",
1848
- "type": {
1849
- "__schema": "TypeRefSchema",
1850
- "location": {
1851
- "filePath": "schema.ts",
1852
- "line": 10,
1853
- "character": 22
1854
- },
1855
- "name": "SchemaDirectives"
1856
- },
1857
- "isOptional": true
1858
- }
1859
- ]
1860
- }
1861
- }
1862
- ],
1863
- "internals": []
1864
- },
1865
- {
1866
- "__schema": "ModuleSchema",
1867
- "location": {
1868
- "filePath": "graphql.main.runtime.ts",
1869
- "line": 1,
1870
- "character": 1
1871
- },
1872
- "exports": [
1873
- {
1874
- "__schema": "EnumSchema",
1875
- "location": {
1876
- "filePath": "graphql.main.runtime.ts",
1877
- "line": 21,
1878
- "character": 1
1879
- },
1880
- "signature": "enum Verb",
1881
- "name": "Verb",
1882
- "members": [
1883
- {
1884
- "__schema": "EnumMemberSchema",
1885
- "location": {
1886
- "filePath": "graphql.main.runtime.ts",
1887
- "line": 22,
1888
- "character": 3
1889
- },
1890
- "signature": "(enum member) Verb.WRITE = \"write\"",
1891
- "name": "WRITE",
1892
- "value": "'write'"
1893
- },
1894
- {
1895
- "__schema": "EnumMemberSchema",
1896
- "location": {
1897
- "filePath": "graphql.main.runtime.ts",
1898
- "line": 23,
1899
- "character": 3
1900
- },
1901
- "signature": "(enum member) Verb.READ = \"read\"",
1902
- "name": "READ",
1903
- "value": "'read'"
1904
- }
1905
- ]
1906
- },
1907
- {
1908
- "__schema": "TypeSchema",
1909
- "location": {
1910
- "filePath": "graphql.main.runtime.ts",
1911
- "line": 26,
1912
- "character": 1
1913
- },
1914
- "signature": "type GraphQLConfig = {\n port: number;\n subscriptionsPortRange: number[];\n subscriptionsPath: string;\n disableCors?: boolean | undefined;\n}",
1915
- "name": "GraphQLConfig",
1916
- "type": {
1917
- "__schema": "TypeLiteralSchema",
1918
- "location": {
1919
- "filePath": "graphql.main.runtime.ts",
1920
- "line": 26,
1921
- "character": 29
1922
- },
1923
- "members": [
1924
- {
1925
- "__schema": "VariableLikeSchema",
1926
- "location": {
1927
- "filePath": "graphql.main.runtime.ts",
1928
- "line": 27,
1929
- "character": 3
1930
- },
1931
- "signature": "(property) port: number",
1932
- "name": "port",
1933
- "type": {
1934
- "__schema": "KeywordTypeSchema",
1935
- "location": {
1936
- "filePath": "graphql.main.runtime.ts",
1937
- "line": 27,
1938
- "character": 9
1939
- },
1940
- "name": "number"
1941
- },
1942
- "isOptional": false
1943
- },
1944
- {
1945
- "__schema": "VariableLikeSchema",
1946
- "location": {
1947
- "filePath": "graphql.main.runtime.ts",
1948
- "line": 28,
1949
- "character": 3
1950
- },
1951
- "signature": "(property) subscriptionsPortRange: number[]",
1952
- "name": "subscriptionsPortRange",
1953
- "type": {
1954
- "__schema": "TypeArraySchema",
1955
- "location": {
1956
- "filePath": "graphql.main.runtime.ts",
1957
- "line": 28,
1958
- "character": 27
1959
- },
1960
- "type": {
1961
- "__schema": "KeywordTypeSchema",
1962
- "location": {
1963
- "filePath": "graphql.main.runtime.ts",
1964
- "line": 28,
1965
- "character": 27
1966
- },
1967
- "name": "number"
1968
- }
1969
- },
1970
- "isOptional": false
1971
- },
1972
- {
1973
- "__schema": "VariableLikeSchema",
1974
- "location": {
1975
- "filePath": "graphql.main.runtime.ts",
1976
- "line": 29,
1977
- "character": 3
1978
- },
1979
- "signature": "(property) subscriptionsPath: string",
1980
- "name": "subscriptionsPath",
1981
- "type": {
1982
- "__schema": "KeywordTypeSchema",
1983
- "location": {
1984
- "filePath": "graphql.main.runtime.ts",
1985
- "line": 29,
1986
- "character": 22
1987
- },
1988
- "name": "string"
1989
- },
1990
- "isOptional": false
1991
- },
1992
- {
1993
- "__schema": "VariableLikeSchema",
1994
- "location": {
1995
- "filePath": "graphql.main.runtime.ts",
1996
- "line": 30,
1997
- "character": 3
1998
- },
1999
- "signature": "(property) disableCors?: boolean | undefined",
2000
- "name": "disableCors",
2001
- "type": {
2002
- "__schema": "KeywordTypeSchema",
2003
- "location": {
2004
- "filePath": "graphql.main.runtime.ts",
2005
- "line": 30,
2006
- "character": 17
2007
- },
2008
- "name": "boolean"
2009
- },
2010
- "isOptional": true
2011
- }
2012
- ]
2013
- }
2014
- },
2015
- {
2016
- "__schema": "TypeSchema",
2017
- "location": {
2018
- "filePath": "graphql.main.runtime.ts",
2019
- "line": 33,
2020
- "character": 1
2021
- },
2022
- "signature": "type GraphQLServerSlot = SlotRegistry<GraphQLServer>",
2023
- "name": "GraphQLServerSlot",
2024
- "type": {
2025
- "__schema": "TypeRefSchema",
2026
- "location": {
2027
- "filePath": "graphql.main.runtime.ts",
2028
- "line": 33,
2029
- "character": 33
2030
- },
2031
- "name": "SlotRegistry",
2032
- "typeArgs": [
2033
- {
2034
- "__schema": "TypeRefSchema",
2035
- "location": {
2036
- "filePath": "graphql.main.runtime.ts",
2037
- "line": 33,
2038
- "character": 46
2039
- },
2040
- "name": "GraphQLServer"
2041
- }
2042
- ]
2043
- }
2044
- },
2045
- {
2046
- "__schema": "TypeSchema",
2047
- "location": {
2048
- "filePath": "graphql.main.runtime.ts",
2049
- "line": 35,
2050
- "character": 1
2051
- },
2052
- "signature": "type SchemaSlot = SlotRegistry<Schema>",
2053
- "name": "SchemaSlot",
2054
- "type": {
2055
- "__schema": "TypeRefSchema",
2056
- "location": {
2057
- "filePath": "graphql.main.runtime.ts",
2058
- "line": 35,
2059
- "character": 26
2060
- },
2061
- "name": "SlotRegistry",
2062
- "typeArgs": [
2063
- {
2064
- "__schema": "TypeRefSchema",
2065
- "location": {
2066
- "filePath": "graphql.main.runtime.ts",
2067
- "line": 35,
2068
- "character": 39
2069
- },
2070
- "name": "Schema"
2071
- }
2072
- ]
2073
- }
2074
- },
2075
- {
2076
- "__schema": "TypeSchema",
2077
- "location": {
2078
- "filePath": "graphql.main.runtime.ts",
2079
- "line": 37,
2080
- "character": 1
2081
- },
2082
- "signature": "type PubSubSlot = SlotRegistry<PubSubEngine>",
2083
- "name": "PubSubSlot",
2084
- "type": {
2085
- "__schema": "TypeRefSchema",
2086
- "location": {
2087
- "filePath": "graphql.main.runtime.ts",
2088
- "line": 37,
2089
- "character": 26
2090
- },
2091
- "name": "SlotRegistry",
2092
- "typeArgs": [
2093
- {
2094
- "__schema": "TypeRefSchema",
2095
- "location": {
2096
- "filePath": "graphql.main.runtime.ts",
2097
- "line": 37,
2098
- "character": 39
2099
- },
2100
- "name": "PubSubEngine"
2101
- }
2102
- ]
2103
- }
2104
- },
2105
- {
2106
- "__schema": "TypeSchema",
2107
- "location": {
2108
- "filePath": "graphql.main.runtime.ts",
2109
- "line": 39,
2110
- "character": 1
2111
- },
2112
- "signature": "type GraphQLServerOptions = {\n schemaSlot?: SchemaSlot | undefined;\n app?: express.Express | undefined;\n graphiql?: boolean | undefined;\n disableIntrospection?: boolean | undefined;\n remoteSchemas?: GraphQLServer[] | undefined;\n subscriptionsPortRange?: number[] | undefined;\n onWsConnect?: Function | undefined;\n}",
2113
- "name": "GraphQLServerOptions",
2114
- "type": {
2115
- "__schema": "TypeLiteralSchema",
2116
- "location": {
2117
- "filePath": "graphql.main.runtime.ts",
2118
- "line": 39,
2119
- "character": 36
2120
- },
2121
- "members": [
2122
- {
2123
- "__schema": "VariableLikeSchema",
2124
- "location": {
2125
- "filePath": "graphql.main.runtime.ts",
2126
- "line": 40,
2127
- "character": 3
2128
- },
2129
- "signature": "(property) schemaSlot?: SchemaSlot | undefined",
2130
- "name": "schemaSlot",
2131
- "type": {
2132
- "__schema": "TypeRefSchema",
2133
- "location": {
2134
- "filePath": "graphql.main.runtime.ts",
2135
- "line": 40,
2136
- "character": 16
2137
- },
2138
- "name": "SchemaSlot"
2139
- },
2140
- "isOptional": true
2141
- },
2142
- {
2143
- "__schema": "VariableLikeSchema",
2144
- "location": {
2145
- "filePath": "graphql.main.runtime.ts",
2146
- "line": 41,
2147
- "character": 3
2148
- },
2149
- "signature": "(property) app?: express.Express | undefined",
2150
- "name": "app",
2151
- "type": {
2152
- "__schema": "TypeRefSchema",
2153
- "location": {
2154
- "filePath": "graphql.main.runtime.ts",
2155
- "line": 41,
2156
- "character": 9
2157
- },
2158
- "name": "Express"
2159
- },
2160
- "isOptional": true
2161
- },
2162
- {
2163
- "__schema": "VariableLikeSchema",
2164
- "location": {
2165
- "filePath": "graphql.main.runtime.ts",
2166
- "line": 42,
2167
- "character": 3
2168
- },
2169
- "signature": "(property) graphiql?: boolean | undefined",
2170
- "name": "graphiql",
2171
- "type": {
2172
- "__schema": "KeywordTypeSchema",
2173
- "location": {
2174
- "filePath": "graphql.main.runtime.ts",
2175
- "line": 42,
2176
- "character": 14
2177
- },
2178
- "name": "boolean"
2179
- },
2180
- "isOptional": true
2181
- },
2182
- {
2183
- "__schema": "VariableLikeSchema",
2184
- "location": {
2185
- "filePath": "graphql.main.runtime.ts",
2186
- "line": 43,
2187
- "character": 3
2188
- },
2189
- "signature": "(property) disableIntrospection?: boolean | undefined",
2190
- "name": "disableIntrospection",
2191
- "type": {
2192
- "__schema": "KeywordTypeSchema",
2193
- "location": {
2194
- "filePath": "graphql.main.runtime.ts",
2195
- "line": 43,
2196
- "character": 26
2197
- },
2198
- "name": "boolean"
2199
- },
2200
- "isOptional": true
2201
- },
2202
- {
2203
- "__schema": "VariableLikeSchema",
2204
- "location": {
2205
- "filePath": "graphql.main.runtime.ts",
2206
- "line": 44,
2207
- "character": 3
2208
- },
2209
- "signature": "(property) remoteSchemas?: GraphQLServer[] | undefined",
2210
- "name": "remoteSchemas",
2211
- "type": {
2212
- "__schema": "TypeArraySchema",
2213
- "location": {
2214
- "filePath": "graphql.main.runtime.ts",
2215
- "line": 44,
2216
- "character": 19
2217
- },
2218
- "type": {
2219
- "__schema": "TypeRefSchema",
2220
- "location": {
2221
- "filePath": "graphql.main.runtime.ts",
2222
- "line": 44,
2223
- "character": 19
2224
- },
2225
- "name": "GraphQLServer"
2226
- }
2227
- },
2228
- "isOptional": true
2229
- },
2230
- {
2231
- "__schema": "VariableLikeSchema",
2232
- "location": {
2233
- "filePath": "graphql.main.runtime.ts",
2234
- "line": 45,
2235
- "character": 3
2236
- },
2237
- "signature": "(property) subscriptionsPortRange?: number[] | undefined",
2238
- "name": "subscriptionsPortRange",
2239
- "type": {
2240
- "__schema": "TypeArraySchema",
2241
- "location": {
2242
- "filePath": "graphql.main.runtime.ts",
2243
- "line": 45,
2244
- "character": 28
2245
- },
2246
- "type": {
2247
- "__schema": "KeywordTypeSchema",
2248
- "location": {
2249
- "filePath": "graphql.main.runtime.ts",
2250
- "line": 45,
2251
- "character": 28
2252
- },
2253
- "name": "number"
2254
- }
2255
- },
2256
- "isOptional": true
2257
- },
2258
- {
2259
- "__schema": "VariableLikeSchema",
2260
- "location": {
2261
- "filePath": "graphql.main.runtime.ts",
2262
- "line": 46,
2263
- "character": 3
2264
- },
2265
- "signature": "(property) onWsConnect?: Function | undefined",
2266
- "name": "onWsConnect",
2267
- "type": {
2268
- "__schema": "TypeRefSchema",
2269
- "location": {
2270
- "filePath": "graphql.main.runtime.ts",
2271
- "line": 46,
2272
- "character": 17
2273
- },
2274
- "name": "Function"
2275
- },
2276
- "isOptional": true
2277
- }
2278
- ]
2279
- }
2280
- },
2281
- {
2282
- "__schema": "ClassSchema",
2283
- "location": {
2284
- "filePath": "graphql.main.runtime.ts",
2285
- "line": 49,
2286
- "character": 1
2287
- },
2288
- "signature": "class GraphqlMain",
2289
- "name": "GraphqlMain",
2290
- "members": [
2291
- {
2292
- "__schema": "ConstructorSchema",
2293
- "location": {
2294
- "filePath": "graphql.main.runtime.ts",
2295
- "line": 50,
2296
- "character": 3
2297
- },
2298
- "signature": "constructor GraphqlMain(config: GraphQLConfig, moduleSlot: SchemaSlot, context: Harmony, logger: Logger, graphQLServerSlot: GraphQLServerSlot, pubSubSlot: PubSubSlot): GraphqlMain",
2299
- "name": "constructor",
2300
- "params": [
2301
- {
2302
- "__schema": "ParameterSchema",
2303
- "location": {
2304
- "filePath": "graphql.main.runtime.ts",
2305
- "line": 54,
2306
- "character": 5
2307
- },
2308
- "name": "config",
2309
- "type": {
2310
- "__schema": "TypeRefSchema",
2311
- "location": {
2312
- "filePath": "graphql.main.runtime.ts",
2313
- "line": 54,
2314
- "character": 22
2315
- },
2316
- "name": "GraphQLConfig"
2317
- },
2318
- "isOptional": false,
2319
- "isSpread": false
2320
- },
2321
- {
2322
- "__schema": "ParameterSchema",
2323
- "location": {
2324
- "filePath": "graphql.main.runtime.ts",
2325
- "line": 59,
2326
- "character": 5
2327
- },
2328
- "name": "moduleSlot",
2329
- "type": {
2330
- "__schema": "TypeRefSchema",
2331
- "location": {
2332
- "filePath": "graphql.main.runtime.ts",
2333
- "line": 59,
2334
- "character": 25
2335
- },
2336
- "name": "SchemaSlot"
2337
- },
2338
- "isOptional": false,
2339
- "isSpread": false
2340
- },
2341
- {
2342
- "__schema": "ParameterSchema",
2343
- "location": {
2344
- "filePath": "graphql.main.runtime.ts",
2345
- "line": 64,
2346
- "character": 5
2347
- },
2348
- "name": "context",
2349
- "type": {
2350
- "__schema": "TypeRefSchema",
2351
- "location": {
2352
- "filePath": "graphql.main.runtime.ts",
2353
- "line": 64,
2354
- "character": 22
2355
- },
2356
- "name": "Harmony"
2357
- },
2358
- "isOptional": false,
2359
- "isSpread": false
2360
- },
2361
- {
2362
- "__schema": "ParameterSchema",
2363
- "location": {
2364
- "filePath": "graphql.main.runtime.ts",
2365
- "line": 69,
2366
- "character": 5
2367
- },
2368
- "name": "logger",
2369
- "type": {
2370
- "__schema": "TypeRefSchema",
2371
- "location": {
2372
- "filePath": "graphql.main.runtime.ts",
2373
- "line": 69,
2374
- "character": 22
2375
- },
2376
- "name": "Logger"
2377
- },
2378
- "isOptional": false,
2379
- "isSpread": false
2380
- },
2381
- {
2382
- "__schema": "ParameterSchema",
2383
- "location": {
2384
- "filePath": "graphql.main.runtime.ts",
2385
- "line": 71,
2386
- "character": 5
2387
- },
2388
- "name": "graphQLServerSlot",
2389
- "type": {
2390
- "__schema": "TypeRefSchema",
2391
- "location": {
2392
- "filePath": "graphql.main.runtime.ts",
2393
- "line": 71,
2394
- "character": 32
2395
- },
2396
- "name": "GraphQLServerSlot"
2397
- },
2398
- "isOptional": false,
2399
- "isSpread": false
2400
- },
2401
- {
2402
- "__schema": "ParameterSchema",
2403
- "location": {
2404
- "filePath": "graphql.main.runtime.ts",
2405
- "line": 76,
2406
- "character": 5
2407
- },
2408
- "name": "pubSubSlot",
2409
- "type": {
2410
- "__schema": "TypeRefSchema",
2411
- "location": {
2412
- "filePath": "graphql.main.runtime.ts",
2413
- "line": 76,
2414
- "character": 25
2415
- },
2416
- "name": "PubSubSlot"
2417
- },
2418
- "isOptional": false,
2419
- "isSpread": false
2420
- }
2421
- ],
2422
- "returnType": {
2423
- "__schema": "ThisTypeSchema",
2424
- "location": {
2425
- "filePath": "graphql.main.runtime.ts",
2426
- "line": 49,
2427
- "character": 1
2428
- },
2429
- "name": "GraphqlMain"
2430
- },
2431
- "modifiers": []
2432
- },
2433
- {
2434
- "__schema": "GetAccessorSchema",
2435
- "location": {
2436
- "filePath": "graphql.main.runtime.ts",
2437
- "line": 79,
2438
- "character": 3
2439
- },
2440
- "signature": "(getter) GraphqlMain.pubsub: PubSubEngine",
2441
- "name": "pubsub",
2442
- "type": {
2443
- "__schema": "TypeRefSchema",
2444
- "location": {
2445
- "filePath": "graphql.main.runtime.ts",
2446
- "line": 79,
2447
- "character": 3
2448
- },
2449
- "name": "PubSubEngine",
2450
- "packageName": "graphql-subscriptions"
2451
- }
2452
- },
2453
- {
2454
- "__schema": "FunctionLikeSchema",
2455
- "location": {
2456
- "filePath": "graphql.main.runtime.ts",
2457
- "line": 90,
2458
- "character": 3
2459
- },
2460
- "doc": {
2461
- "__schema": "DocSchema",
2462
- "location": {
2463
- "filePath": "graphql.main.runtime.ts",
2464
- "line": 87,
2465
- "character": 3
2466
- },
2467
- "raw": "/**\n * returns the schema for a specific aspect by its id.\n */",
2468
- "comment": "returns the schema for a specific aspect by its id."
2469
- },
2470
- "signature": "(method) GraphqlMain.getSchema(aspectId: string): Schema | undefined",
2471
- "name": "getSchema",
2472
- "params": [
2473
- {
2474
- "__schema": "ParameterSchema",
2475
- "location": {
2476
- "filePath": "graphql.main.runtime.ts",
2477
- "line": 90,
2478
- "character": 13
2479
- },
2480
- "name": "aspectId",
2481
- "type": {
2482
- "__schema": "KeywordTypeSchema",
2483
- "location": {
2484
- "filePath": "graphql.main.runtime.ts",
2485
- "line": 90,
2486
- "character": 23
2487
- },
2488
- "name": "string"
2489
- },
2490
- "isOptional": false,
2491
- "isSpread": false
2492
- }
2493
- ],
2494
- "returnType": {
2495
- "__schema": "InferenceTypeSchema",
2496
- "location": {
2497
- "filePath": "graphql.main.runtime.ts",
2498
- "line": 90,
2499
- "character": 3
2500
- },
2501
- "type": "Schema | undefined"
2502
- },
2503
- "modifiers": []
2504
- },
2505
- {
2506
- "__schema": "FunctionLikeSchema",
2507
- "location": {
2508
- "filePath": "graphql.main.runtime.ts",
2509
- "line": 97,
2510
- "character": 3
2511
- },
2512
- "doc": {
2513
- "__schema": "DocSchema",
2514
- "location": {
2515
- "filePath": "graphql.main.runtime.ts",
2516
- "line": 94,
2517
- "character": 3
2518
- },
2519
- "raw": "/**\n * get multiple schema by aspect ids.\n */",
2520
- "comment": "get multiple schema by aspect ids."
2521
- },
2522
- "signature": "(method) GraphqlMain.getSchemas(aspectIds: string[]): Schema[]",
2523
- "name": "getSchemas",
2524
- "params": [
2525
- {
2526
- "__schema": "ParameterSchema",
2527
- "location": {
2528
- "filePath": "graphql.main.runtime.ts",
2529
- "line": 97,
2530
- "character": 14
2531
- },
2532
- "name": "aspectIds",
2533
- "type": {
2534
- "__schema": "TypeArraySchema",
2535
- "location": {
2536
- "filePath": "graphql.main.runtime.ts",
2537
- "line": 97,
2538
- "character": 25
2539
- },
2540
- "type": {
2541
- "__schema": "KeywordTypeSchema",
2542
- "location": {
2543
- "filePath": "graphql.main.runtime.ts",
2544
- "line": 97,
2545
- "character": 25
2546
- },
2547
- "name": "string"
2548
- }
2549
- },
2550
- "isOptional": false,
2551
- "isSpread": false
2552
- }
2553
- ],
2554
- "returnType": {
2555
- "__schema": "InferenceTypeSchema",
2556
- "location": {
2557
- "filePath": "graphql.main.runtime.ts",
2558
- "line": 97,
2559
- "character": 3
2560
- },
2561
- "type": "Schema[]"
2562
- },
2563
- "modifiers": []
2564
- },
2565
- {
2566
- "__schema": "FunctionLikeSchema",
2567
- "location": {
2568
- "filePath": "graphql.main.runtime.ts",
2569
- "line": 108,
2570
- "character": 3
2571
- },
2572
- "signature": "(method) GraphqlMain.createServer(options: GraphQLServerOptions): Promise<Server<typeof IncomingMessage, typeof ServerResponse>>",
2573
- "name": "createServer",
2574
- "params": [
2575
- {
2576
- "__schema": "ParameterSchema",
2577
- "location": {
2578
- "filePath": "graphql.main.runtime.ts",
2579
- "line": 108,
2580
- "character": 22
2581
- },
2582
- "name": "options",
2583
- "type": {
2584
- "__schema": "TypeRefSchema",
2585
- "location": {
2586
- "filePath": "graphql.main.runtime.ts",
2587
- "line": 108,
2588
- "character": 31
2589
- },
2590
- "name": "GraphQLServerOptions"
2591
- },
2592
- "isOptional": false,
2593
- "isSpread": false
2594
- }
2595
- ],
2596
- "returnType": {
2597
- "__schema": "InferenceTypeSchema",
2598
- "location": {
2599
- "filePath": "graphql.main.runtime.ts",
2600
- "line": 108,
2601
- "character": 3
2602
- },
2603
- "type": "Promise<Server<typeof IncomingMessage, typeof ServerResponse>>"
2604
- },
2605
- "modifiers": [
2606
- "async"
2607
- ]
2608
- },
2609
- {
2610
- "__schema": "FunctionLikeSchema",
2611
- "location": {
2612
- "filePath": "graphql.main.runtime.ts",
2613
- "line": 164,
2614
- "character": 3
2615
- },
2616
- "doc": {
2617
- "__schema": "DocSchema",
2618
- "location": {
2619
- "filePath": "graphql.main.runtime.ts",
2620
- "line": 161,
2621
- "character": 3
2622
- },
2623
- "raw": "/**\n * register a new graphql server.\n */",
2624
- "comment": "register a new graphql server."
2625
- },
2626
- "signature": "(method) GraphqlMain.registerServer(server: GraphQLServer): this",
2627
- "name": "registerServer",
2628
- "params": [
2629
- {
2630
- "__schema": "ParameterSchema",
2631
- "location": {
2632
- "filePath": "graphql.main.runtime.ts",
2633
- "line": 164,
2634
- "character": 18
2635
- },
2636
- "name": "server",
2637
- "type": {
2638
- "__schema": "TypeRefSchema",
2639
- "location": {
2640
- "filePath": "graphql.main.runtime.ts",
2641
- "line": 164,
2642
- "character": 26
2643
- },
2644
- "name": "GraphQLServer"
2645
- },
2646
- "isOptional": false,
2647
- "isSpread": false
2648
- }
2649
- ],
2650
- "returnType": {
2651
- "__schema": "TypeRefSchema",
2652
- "location": {
2653
- "filePath": "graphql.main.runtime.ts",
2654
- "line": 164,
2655
- "character": 3
2656
- },
2657
- "name": "GraphqlMain"
2658
- },
2659
- "modifiers": []
2660
- },
2661
- {
2662
- "__schema": "FunctionLikeSchema",
2663
- "location": {
2664
- "filePath": "graphql.main.runtime.ts",
2665
- "line": 172,
2666
- "character": 3
2667
- },
2668
- "doc": {
2669
- "__schema": "DocSchema",
2670
- "location": {
2671
- "filePath": "graphql.main.runtime.ts",
2672
- "line": 169,
2673
- "character": 3
2674
- },
2675
- "raw": "/**\n * register a pubsub client\n */",
2676
- "comment": "register a pubsub client"
2677
- },
2678
- "signature": "(method) GraphqlMain.registerPubSub(pubsub: PubSubEngine): this",
2679
- "name": "registerPubSub",
2680
- "params": [
2681
- {
2682
- "__schema": "ParameterSchema",
2683
- "location": {
2684
- "filePath": "graphql.main.runtime.ts",
2685
- "line": 172,
2686
- "character": 18
2687
- },
2688
- "name": "pubsub",
2689
- "type": {
2690
- "__schema": "TypeRefSchema",
2691
- "location": {
2692
- "filePath": "graphql.main.runtime.ts",
2693
- "line": 172,
2694
- "character": 26
2695
- },
2696
- "name": "PubSubEngine"
2697
- },
2698
- "isOptional": false,
2699
- "isSpread": false
2700
- }
2701
- ],
2702
- "returnType": {
2703
- "__schema": "TypeRefSchema",
2704
- "location": {
2705
- "filePath": "graphql.main.runtime.ts",
2706
- "line": 172,
2707
- "character": 3
2708
- },
2709
- "name": "GraphqlMain"
2710
- },
2711
- "modifiers": []
2712
- },
2713
- {
2714
- "__schema": "FunctionLikeSchema",
2715
- "location": {
2716
- "filePath": "graphql.main.runtime.ts",
2717
- "line": 182,
2718
- "character": 3
2719
- },
2720
- "doc": {
2721
- "__schema": "DocSchema",
2722
- "location": {
2723
- "filePath": "graphql.main.runtime.ts",
2724
- "line": 179,
2725
- "character": 3
2726
- },
2727
- "raw": "/**\n * start a graphql server.\n */",
2728
- "comment": "start a graphql server."
2729
- },
2730
- "signature": "(method) GraphqlMain.listen(port?: number, server?: Server, app?: Express): Promise<void>",
2731
- "name": "listen",
2732
- "params": [
2733
- {
2734
- "__schema": "ParameterSchema",
2735
- "location": {
2736
- "filePath": "graphql.main.runtime.ts",
2737
- "line": 182,
2738
- "character": 16
2739
- },
2740
- "name": "port",
2741
- "type": {
2742
- "__schema": "KeywordTypeSchema",
2743
- "location": {
2744
- "filePath": "graphql.main.runtime.ts",
2745
- "line": 182,
2746
- "character": 23
2747
- },
2748
- "name": "number"
2749
- },
2750
- "isOptional": true,
2751
- "isSpread": false
2752
- },
2753
- {
2754
- "__schema": "ParameterSchema",
2755
- "location": {
2756
- "filePath": "graphql.main.runtime.ts",
2757
- "line": 182,
2758
- "character": 31
2759
- },
2760
- "name": "server",
2761
- "type": {
2762
- "__schema": "TypeRefSchema",
2763
- "location": {
2764
- "filePath": "graphql.main.runtime.ts",
2765
- "line": 182,
2766
- "character": 40
2767
- },
2768
- "name": "Server"
2769
- },
2770
- "isOptional": true,
2771
- "isSpread": false
2772
- },
2773
- {
2774
- "__schema": "ParameterSchema",
2775
- "location": {
2776
- "filePath": "graphql.main.runtime.ts",
2777
- "line": 182,
2778
- "character": 48
2779
- },
2780
- "name": "app",
2781
- "type": {
2782
- "__schema": "TypeRefSchema",
2783
- "location": {
2784
- "filePath": "graphql.main.runtime.ts",
2785
- "line": 182,
2786
- "character": 54
2787
- },
2788
- "name": "Express"
2789
- },
2790
- "isOptional": true,
2791
- "isSpread": false
2792
- }
2793
- ],
2794
- "returnType": {
2795
- "__schema": "InferenceTypeSchema",
2796
- "location": {
2797
- "filePath": "graphql.main.runtime.ts",
2798
- "line": 182,
2799
- "character": 3
2800
- },
2801
- "type": "Promise<void>"
2802
- },
2803
- "modifiers": [
2804
- "async"
2805
- ]
2806
- },
2807
- {
2808
- "__schema": "FunctionLikeSchema",
2809
- "location": {
2810
- "filePath": "graphql.main.runtime.ts",
2811
- "line": 197,
2812
- "character": 3
2813
- },
2814
- "doc": {
2815
- "__schema": "DocSchema",
2816
- "location": {
2817
- "filePath": "graphql.main.runtime.ts",
2818
- "line": 194,
2819
- "character": 3
2820
- },
2821
- "raw": "/**\n * register a new graphql module.\n */",
2822
- "comment": "register a new graphql module."
2823
- },
2824
- "signature": "(method) GraphqlMain.register(schema: Schema): this",
2825
- "name": "register",
2826
- "params": [
2827
- {
2828
- "__schema": "ParameterSchema",
2829
- "location": {
2830
- "filePath": "graphql.main.runtime.ts",
2831
- "line": 197,
2832
- "character": 12
2833
- },
2834
- "name": "schema",
2835
- "type": {
2836
- "__schema": "TypeRefSchema",
2837
- "location": {
2838
- "filePath": "graphql.main.runtime.ts",
2839
- "line": 197,
2840
- "character": 20
2841
- },
2842
- "name": "Schema"
2843
- },
2844
- "isOptional": false,
2845
- "isSpread": false
2846
- }
2847
- ],
2848
- "returnType": {
2849
- "__schema": "TypeRefSchema",
2850
- "location": {
2851
- "filePath": "graphql.main.runtime.ts",
2852
- "line": 197,
2853
- "character": 3
2854
- },
2855
- "name": "GraphqlMain"
2856
- },
2857
- "modifiers": []
2858
- },
2859
- {
2860
- "__schema": "VariableLikeSchema",
2861
- "location": {
2862
- "filePath": "graphql.main.runtime.ts",
2863
- "line": 304,
2864
- "character": 3
2865
- },
2866
- "signature": "(property) GraphqlMain.slots: (((registerFn: () => string) => SlotRegistry<Schema>) | ((registerFn: () => string) => SlotRegistry<GraphQLServer>) | ((registerFn: () => string) => SlotRegistry<...>))[]",
2867
- "name": "slots",
2868
- "type": {
2869
- "__schema": "InferenceTypeSchema",
2870
- "location": {
2871
- "filePath": "graphql.main.runtime.ts",
2872
- "line": 304,
2873
- "character": 3
2874
- },
2875
- "type": "(((registerFn: () => string) => SlotRegistry<Schema>) | ((registerFn: () => string) => SlotRegistry<GraphQLServer>) | ((registerFn: () => string) => SlotRegistry<...>))[]"
2876
- },
2877
- "isOptional": true,
2878
- "defaultValue": "[Slot.withType<Schema>(), Slot.withType<GraphQLServer>(), Slot.withType<PubSubSlot>()]"
2879
- },
2880
- {
2881
- "__schema": "VariableLikeSchema",
2882
- "location": {
2883
- "filePath": "graphql.main.runtime.ts",
2884
- "line": 306,
2885
- "character": 3
2886
- },
2887
- "signature": "(property) GraphqlMain.defaultConfig: {\n port: number;\n subscriptionsPortRange: number[];\n disableCors: boolean;\n subscriptionsPath: string;\n}",
2888
- "name": "defaultConfig",
2889
- "type": {
2890
- "__schema": "InferenceTypeSchema",
2891
- "location": {
2892
- "filePath": "graphql.main.runtime.ts",
2893
- "line": 306,
2894
- "character": 3
2895
- },
2896
- "type": "{\n port: number;\n subscriptionsPortRange: number[];\n disableCors: boolean;\n subscriptionsPath: string;\n}"
2897
- },
2898
- "isOptional": true,
2899
- "defaultValue": "{\n port: 4000,\n subscriptionsPortRange: [2000, 2100],\n disableCors: false,\n subscriptionsPath: '/subscriptions',\n }"
2900
- },
2901
- {
2902
- "__schema": "VariableLikeSchema",
2903
- "location": {
2904
- "filePath": "graphql.main.runtime.ts",
2905
- "line": 313,
2906
- "character": 3
2907
- },
2908
- "signature": "(property) GraphqlMain.runtime: RuntimeDefinition",
2909
- "name": "runtime",
2910
- "type": {
2911
- "__schema": "InferenceTypeSchema",
2912
- "location": {
2913
- "filePath": "graphql.main.runtime.ts",
2914
- "line": 313,
2915
- "character": 3
2916
- },
2917
- "type": "RuntimeDefinition"
2918
- },
2919
- "isOptional": true,
2920
- "defaultValue": "MainRuntime"
2921
- },
2922
- {
2923
- "__schema": "VariableLikeSchema",
2924
- "location": {
2925
- "filePath": "graphql.main.runtime.ts",
2926
- "line": 314,
2927
- "character": 3
2928
- },
2929
- "signature": "(property) GraphqlMain.dependencies: Aspect[]",
2930
- "name": "dependencies",
2931
- "type": {
2932
- "__schema": "InferenceTypeSchema",
2933
- "location": {
2934
- "filePath": "graphql.main.runtime.ts",
2935
- "line": 314,
2936
- "character": 3
2937
- },
2938
- "type": "Aspect[]"
2939
- },
2940
- "isOptional": true,
2941
- "defaultValue": "[LoggerAspect]"
2942
- },
2943
- {
2944
- "__schema": "FunctionLikeSchema",
2945
- "location": {
2946
- "filePath": "graphql.main.runtime.ts",
2947
- "line": 316,
2948
- "character": 3
2949
- },
2950
- "signature": "(method) GraphqlMain.provider([loggerFactory]: [LoggerMain], config: GraphQLConfig, [moduleSlot, graphQLServerSlot, pubSubSlot]: [SchemaSlot, GraphQLServerSlot, PubSubSlot], context: Harmony): Promise<GraphqlMain>",
2951
- "name": "provider",
2952
- "params": [
2953
- {
2954
- "__schema": "ParameterSchema",
2955
- "location": {
2956
- "filePath": "graphql.main.runtime.ts",
2957
- "line": 317,
2958
- "character": 5
2959
- },
2960
- "name": "[ loggerFactory ]",
2961
- "type": {
2962
- "__schema": "TupleTypeSchema",
2963
- "location": {
2964
- "filePath": "graphql.main.runtime.ts",
2965
- "line": 317,
2966
- "character": 22
2967
- },
2968
- "elements": [
2969
- {
2970
- "__schema": "TypeRefSchema",
2971
- "location": {
2972
- "filePath": "graphql.main.runtime.ts",
2973
- "line": 317,
2974
- "character": 23
2975
- },
2976
- "name": "LoggerMain"
2977
- }
2978
- ]
2979
- },
2980
- "isOptional": false,
2981
- "isSpread": false
2982
- },
2983
- {
2984
- "__schema": "ParameterSchema",
2985
- "location": {
2986
- "filePath": "graphql.main.runtime.ts",
2987
- "line": 318,
2988
- "character": 5
2989
- },
2990
- "name": "config",
2991
- "type": {
2992
- "__schema": "TypeRefSchema",
2993
- "location": {
2994
- "filePath": "graphql.main.runtime.ts",
2995
- "line": 318,
2996
- "character": 13
2997
- },
2998
- "name": "GraphQLConfig"
2999
- },
3000
- "isOptional": false,
3001
- "isSpread": false
3002
- },
3003
- {
3004
- "__schema": "ParameterSchema",
3005
- "location": {
3006
- "filePath": "graphql.main.runtime.ts",
3007
- "line": 319,
3008
- "character": 5
3009
- },
3010
- "name": "[ moduleSlot, graphQLServerSlot, pubSubSlot ]",
3011
- "type": {
3012
- "__schema": "TupleTypeSchema",
3013
- "location": {
3014
- "filePath": "graphql.main.runtime.ts",
3015
- "line": 319,
3016
- "character": 50
3017
- },
3018
- "elements": [
3019
- {
3020
- "__schema": "TypeRefSchema",
3021
- "location": {
3022
- "filePath": "graphql.main.runtime.ts",
3023
- "line": 319,
3024
- "character": 51
3025
- },
3026
- "name": "SchemaSlot"
3027
- },
3028
- {
3029
- "__schema": "TypeRefSchema",
3030
- "location": {
3031
- "filePath": "graphql.main.runtime.ts",
3032
- "line": 319,
3033
- "character": 63
3034
- },
3035
- "name": "GraphQLServerSlot"
3036
- },
3037
- {
3038
- "__schema": "TypeRefSchema",
3039
- "location": {
3040
- "filePath": "graphql.main.runtime.ts",
3041
- "line": 319,
3042
- "character": 82
3043
- },
3044
- "name": "PubSubSlot"
3045
- }
3046
- ]
3047
- },
3048
- "isOptional": false,
3049
- "isSpread": false
3050
- },
3051
- {
3052
- "__schema": "ParameterSchema",
3053
- "location": {
3054
- "filePath": "graphql.main.runtime.ts",
3055
- "line": 320,
3056
- "character": 5
3057
- },
3058
- "name": "context",
3059
- "type": {
3060
- "__schema": "TypeRefSchema",
3061
- "location": {
3062
- "filePath": "graphql.main.runtime.ts",
3063
- "line": 320,
3064
- "character": 14
3065
- },
3066
- "name": "Harmony"
3067
- },
3068
- "isOptional": false,
3069
- "isSpread": false
3070
- }
3071
- ],
3072
- "returnType": {
3073
- "__schema": "InferenceTypeSchema",
3074
- "location": {
3075
- "filePath": "graphql.main.runtime.ts",
3076
- "line": 316,
3077
- "character": 3
3078
- },
3079
- "type": "Promise<GraphqlMain>"
3080
- },
3081
- "modifiers": [
3082
- "static",
3083
- "async"
3084
- ]
3085
- }
3086
- ],
3087
- "extendsNodes": [],
3088
- "implementNodes": []
3089
- }
3090
- ],
3091
- "internals": [
3092
- {
3093
- "__schema": "UnImplementedSchema",
3094
- "location": {
3095
- "filePath": "graphql.main.runtime.ts",
3096
- "line": 328,
3097
- "character": 1
3098
- },
3099
- "name": "GraphqlAspect.addRuntime(GraphqlMain);",
3100
- "type": "ExpressionStatement"
3101
- }
3102
- ]
3103
- },
3104
- {
3105
- "__schema": "ModuleSchema",
3106
- "location": {
3107
- "filePath": "graphql.ui.runtime.tsx",
3108
- "line": 1,
3109
- "character": 1
3110
- },
3111
- "exports": [
3112
- {
3113
- "__schema": "TypeSchema",
3114
- "location": {
3115
- "filePath": "graphql.ui.runtime.tsx",
3116
- "line": 21,
3117
- "character": 1
3118
- },
3119
- "doc": {
3120
- "__schema": "DocSchema",
3121
- "location": {
3122
- "filePath": "graphql.ui.runtime.tsx",
3123
- "line": 17,
3124
- "character": 1
3125
- },
3126
- "raw": "/**\n * Type of gql client.\n * Used to abstract Apollo client, so consumers could import the type from graphql.ui, and not have to depend on @apollo/client directly\n * */",
3127
- "comment": "Type of gql client.\nUsed to abstract Apollo client, so consumers could import the type from graphql.ui, and not have to depend on @apollo/client directly"
3128
- },
3129
- "signature": "type GraphQLClient<T> = ApolloClient<T>",
3130
- "name": "GraphQLClient",
3131
- "type": {
3132
- "__schema": "TypeRefSchema",
3133
- "location": {
3134
- "filePath": "graphql.ui.runtime.tsx",
3135
- "line": 21,
3136
- "character": 32
3137
- },
3138
- "name": "ApolloClient",
3139
- "typeArgs": [
3140
- {
3141
- "__schema": "TypeRefSchema",
3142
- "location": {
3143
- "filePath": "graphql.ui.runtime.tsx",
3144
- "line": 21,
3145
- "character": 45
3146
- },
3147
- "name": "T"
3148
- }
3149
- ]
3150
- }
3151
- },
3152
- {
3153
- "__schema": "ClassSchema",
3154
- "location": {
3155
- "filePath": "graphql.ui.runtime.tsx",
3156
- "line": 30,
3157
- "character": 1
3158
- },
3159
- "signature": "class GraphqlUI",
3160
- "name": "GraphqlUI",
3161
- "members": [
3162
- {
3163
- "__schema": "FunctionLikeSchema",
3164
- "location": {
3165
- "filePath": "graphql.ui.runtime.tsx",
3166
- "line": 31,
3167
- "character": 3
3168
- },
3169
- "signature": "(method) GraphqlUI.createClient(uri: string, { state, subscriptionUri }?: ClientOptions): ApolloClient<NormalizedCacheObject>",
3170
- "name": "createClient",
3171
- "params": [
3172
- {
3173
- "__schema": "ParameterSchema",
3174
- "location": {
3175
- "filePath": "graphql.ui.runtime.tsx",
3176
- "line": 31,
3177
- "character": 16
3178
- },
3179
- "name": "uri",
3180
- "type": {
3181
- "__schema": "KeywordTypeSchema",
3182
- "location": {
3183
- "filePath": "graphql.ui.runtime.tsx",
3184
- "line": 31,
3185
- "character": 21
3186
- },
3187
- "name": "string"
3188
- },
3189
- "isOptional": false,
3190
- "isSpread": false
3191
- },
3192
- {
3193
- "__schema": "ParameterSchema",
3194
- "location": {
3195
- "filePath": "graphql.ui.runtime.tsx",
3196
- "line": 31,
3197
- "character": 29
3198
- },
3199
- "name": "{ state, subscriptionUri }",
3200
- "type": {
3201
- "__schema": "TypeRefSchema",
3202
- "location": {
3203
- "filePath": "graphql.ui.runtime.tsx",
3204
- "line": 31,
3205
- "character": 57
3206
- },
3207
- "name": "ClientOptions"
3208
- },
3209
- "isOptional": true,
3210
- "defaultValue": "{}",
3211
- "objectBindingNodes": [
3212
- {
3213
- "__schema": "InferenceTypeSchema",
3214
- "location": {
3215
- "filePath": "graphql.ui.runtime.tsx",
3216
- "line": 31,
3217
- "character": 31
3218
- },
3219
- "name": "state",
3220
- "type": "NormalizedCacheObject | undefined",
3221
- "isSpread": false
3222
- },
3223
- {
3224
- "__schema": "InferenceTypeSchema",
3225
- "location": {
3226
- "filePath": "graphql.ui.runtime.tsx",
3227
- "line": 31,
3228
- "character": 38
3229
- },
3230
- "name": "subscriptionUri",
3231
- "type": "string | undefined",
3232
- "isSpread": false
3233
- }
3234
- ],
3235
- "isSpread": false
3236
- }
3237
- ],
3238
- "returnType": {
3239
- "__schema": "InferenceTypeSchema",
3240
- "location": {
3241
- "filePath": "graphql.ui.runtime.tsx",
3242
- "line": 31,
3243
- "character": 3
3244
- },
3245
- "type": "ApolloClient<NormalizedCacheObject>"
3246
- },
3247
- "modifiers": []
3248
- },
3249
- {
3250
- "__schema": "FunctionLikeSchema",
3251
- "location": {
3252
- "filePath": "graphql.ui.runtime.tsx",
3253
- "line": 40,
3254
- "character": 3
3255
- },
3256
- "signature": "(method) GraphqlUI.createSsrClient({ serverUrl, headers }: {\n serverUrl: string;\n headers: any;\n}): ApolloClient<NormalizedCacheObject>",
3257
- "name": "createSsrClient",
3258
- "params": [
3259
- {
3260
- "__schema": "ParameterSchema",
3261
- "location": {
3262
- "filePath": "graphql.ui.runtime.tsx",
3263
- "line": 40,
3264
- "character": 19
3265
- },
3266
- "name": "{ serverUrl, headers }",
3267
- "type": {
3268
- "__schema": "TypeLiteralSchema",
3269
- "location": {
3270
- "filePath": "graphql.ui.runtime.tsx",
3271
- "line": 40,
3272
- "character": 43
3273
- },
3274
- "members": [
3275
- {
3276
- "__schema": "VariableLikeSchema",
3277
- "location": {
3278
- "filePath": "graphql.ui.runtime.tsx",
3279
- "line": 40,
3280
- "character": 45
3281
- },
3282
- "signature": "(property) serverUrl: string",
3283
- "name": "serverUrl",
3284
- "type": {
3285
- "__schema": "KeywordTypeSchema",
3286
- "location": {
3287
- "filePath": "graphql.ui.runtime.tsx",
3288
- "line": 40,
3289
- "character": 56
3290
- },
3291
- "name": "string"
3292
- },
3293
- "isOptional": false
3294
- },
3295
- {
3296
- "__schema": "VariableLikeSchema",
3297
- "location": {
3298
- "filePath": "graphql.ui.runtime.tsx",
3299
- "line": 40,
3300
- "character": 64
3301
- },
3302
- "signature": "(property) headers: any",
3303
- "name": "headers",
3304
- "type": {
3305
- "__schema": "KeywordTypeSchema",
3306
- "location": {
3307
- "filePath": "graphql.ui.runtime.tsx",
3308
- "line": 40,
3309
- "character": 73
3310
- },
3311
- "name": "any"
3312
- },
3313
- "isOptional": false
3314
- }
3315
- ]
3316
- },
3317
- "isOptional": false,
3318
- "objectBindingNodes": [
3319
- {
3320
- "__schema": "VariableLikeSchema",
3321
- "location": {
3322
- "filePath": "graphql.ui.runtime.tsx",
3323
- "line": 40,
3324
- "character": 45
3325
- },
3326
- "signature": "(property) serverUrl: string",
3327
- "name": "serverUrl",
3328
- "type": {
3329
- "__schema": "KeywordTypeSchema",
3330
- "location": {
3331
- "filePath": "graphql.ui.runtime.tsx",
3332
- "line": 40,
3333
- "character": 56
3334
- },
3335
- "name": "string"
3336
- },
3337
- "isOptional": false
3338
- },
3339
- {
3340
- "__schema": "VariableLikeSchema",
3341
- "location": {
3342
- "filePath": "graphql.ui.runtime.tsx",
3343
- "line": 40,
3344
- "character": 64
3345
- },
3346
- "signature": "(property) headers: any",
3347
- "name": "headers",
3348
- "type": {
3349
- "__schema": "KeywordTypeSchema",
3350
- "location": {
3351
- "filePath": "graphql.ui.runtime.tsx",
3352
- "line": 40,
3353
- "character": 73
3354
- },
3355
- "name": "any"
3356
- },
3357
- "isOptional": false
3358
- }
3359
- ],
3360
- "isSpread": false
3361
- }
3362
- ],
3363
- "returnType": {
3364
- "__schema": "InferenceTypeSchema",
3365
- "location": {
3366
- "filePath": "graphql.ui.runtime.tsx",
3367
- "line": 40,
3368
- "character": 3
3369
- },
3370
- "type": "ApolloClient<NormalizedCacheObject>"
3371
- },
3372
- "modifiers": []
3373
- },
3374
- {
3375
- "__schema": "VariableLikeSchema",
3376
- "location": {
3377
- "filePath": "graphql.ui.runtime.tsx",
3378
- "line": 86,
3379
- "character": 3
3380
- },
3381
- "doc": {
3382
- "__schema": "DocSchema",
3383
- "location": {
3384
- "filePath": "graphql.ui.runtime.tsx",
3385
- "line": 83,
3386
- "character": 3
3387
- },
3388
- "raw": "/**\n * get the graphQL provider\n */",
3389
- "comment": "get the graphQL provider"
3390
- },
3391
- "signature": "(property) GraphqlUI.getProvider: ({ client, children }: {\n client: GraphQLClient<any>;\n children: ReactNode;\n}) => React.JSX.Element",
3392
- "name": "getProvider",
3393
- "type": {
3394
- "__schema": "InferenceTypeSchema",
3395
- "location": {
3396
- "filePath": "graphql.ui.runtime.tsx",
3397
- "line": 86,
3398
- "character": 3
3399
- },
3400
- "type": "({ client, children }: {\n client: GraphQLClient<any>;\n children: ReactNode;\n}) => React.JSX.Element"
3401
- },
3402
- "isOptional": true,
3403
- "defaultValue": "({ client, children }: { client: GraphQLClient<any>; children: ReactNode }) => {\n return <GraphQLProvider client={client}>{children}</GraphQLProvider>;\n }"
3404
- },
3405
- {
3406
- "__schema": "VariableLikeSchema",
3407
- "location": {
3408
- "filePath": "graphql.ui.runtime.tsx",
3409
- "line": 90,
3410
- "character": 3
3411
- },
3412
- "signature": "(property) GraphqlUI.renderPlugins: GraphqlRenderPlugins",
3413
- "name": "renderPlugins",
3414
- "type": {
3415
- "__schema": "TypeRefSchema",
3416
- "location": {
3417
- "filePath": "graphql.ui.runtime.tsx",
3418
- "line": 90,
3419
- "character": 3
3420
- },
3421
- "name": "GraphqlRenderPlugins",
3422
- "internalFilePath": "render-lifecycle.tsx"
3423
- },
3424
- "isOptional": true,
3425
- "defaultValue": "new GraphqlRenderPlugins(this)"
3426
- },
3427
- {
3428
- "__schema": "VariableLikeSchema",
3429
- "location": {
3430
- "filePath": "graphql.ui.runtime.tsx",
3431
- "line": 92,
3432
- "character": 3
3433
- },
3434
- "signature": "(property) GraphqlUI.runtime: RuntimeDefinition",
3435
- "name": "runtime",
3436
- "type": {
3437
- "__schema": "InferenceTypeSchema",
3438
- "location": {
3439
- "filePath": "graphql.ui.runtime.tsx",
3440
- "line": 92,
3441
- "character": 3
3442
- },
3443
- "type": "RuntimeDefinition"
3444
- },
3445
- "isOptional": true,
3446
- "defaultValue": "UIRuntime"
3447
- },
3448
- {
3449
- "__schema": "VariableLikeSchema",
3450
- "location": {
3451
- "filePath": "graphql.ui.runtime.tsx",
3452
- "line": 93,
3453
- "character": 3
3454
- },
3455
- "signature": "(property) GraphqlUI.dependencies: never[]",
3456
- "name": "dependencies",
3457
- "type": {
3458
- "__schema": "InferenceTypeSchema",
3459
- "location": {
3460
- "filePath": "graphql.ui.runtime.tsx",
3461
- "line": 93,
3462
- "character": 3
3463
- },
3464
- "type": "never[]"
3465
- },
3466
- "isOptional": true,
3467
- "defaultValue": "[]"
3468
- },
3469
- {
3470
- "__schema": "VariableLikeSchema",
3471
- "location": {
3472
- "filePath": "graphql.ui.runtime.tsx",
3473
- "line": 94,
3474
- "character": 3
3475
- },
3476
- "signature": "(property) GraphqlUI.slots: never[]",
3477
- "name": "slots",
3478
- "type": {
3479
- "__schema": "InferenceTypeSchema",
3480
- "location": {
3481
- "filePath": "graphql.ui.runtime.tsx",
3482
- "line": 94,
3483
- "character": 3
3484
- },
3485
- "type": "never[]"
3486
- },
3487
- "isOptional": true,
3488
- "defaultValue": "[]"
3489
- },
3490
- {
3491
- "__schema": "FunctionLikeSchema",
3492
- "location": {
3493
- "filePath": "graphql.ui.runtime.tsx",
3494
- "line": 96,
3495
- "character": 3
3496
- },
3497
- "signature": "(method) GraphqlUI.provider(): Promise<GraphqlUI>",
3498
- "name": "provider",
3499
- "params": [],
3500
- "returnType": {
3501
- "__schema": "InferenceTypeSchema",
3502
- "location": {
3503
- "filePath": "graphql.ui.runtime.tsx",
3504
- "line": 96,
3505
- "character": 3
3506
- },
3507
- "type": "Promise<GraphqlUI>"
3508
- },
3509
- "modifiers": [
3510
- "static",
3511
- "async"
3512
- ]
3513
- }
3514
- ],
3515
- "extendsNodes": [],
3516
- "implementNodes": []
3517
- }
3518
- ],
3519
- "internals": [
3520
- {
3521
- "__schema": "TypeSchema",
3522
- "location": {
3523
- "filePath": "graphql.ui.runtime.tsx",
3524
- "line": 23,
3525
- "character": 1
3526
- },
3527
- "signature": "type ClientOptions = {\n state?: NormalizedCacheObject | undefined;\n subscriptionUri?: string | undefined;\n}",
3528
- "name": "ClientOptions",
3529
- "type": {
3530
- "__schema": "TypeLiteralSchema",
3531
- "location": {
3532
- "filePath": "graphql.ui.runtime.tsx",
3533
- "line": 23,
3534
- "character": 22
3535
- },
3536
- "members": [
3537
- {
3538
- "__schema": "VariableLikeSchema",
3539
- "location": {
3540
- "filePath": "graphql.ui.runtime.tsx",
3541
- "line": 25,
3542
- "character": 3
3543
- },
3544
- "doc": {
3545
- "__schema": "DocSchema",
3546
- "location": {
3547
- "filePath": "graphql.ui.runtime.tsx",
3548
- "line": 24,
3549
- "character": 3
3550
- },
3551
- "raw": "/** Preset in-memory cache with state (e.g. continue state from SSR) */",
3552
- "comment": "Preset in-memory cache with state (e.g. continue state from SSR)"
3553
- },
3554
- "signature": "(property) state?: NormalizedCacheObject | undefined",
3555
- "name": "state",
3556
- "type": {
3557
- "__schema": "TypeRefSchema",
3558
- "location": {
3559
- "filePath": "graphql.ui.runtime.tsx",
3560
- "line": 25,
3561
- "character": 11
3562
- },
3563
- "name": "NormalizedCacheObject"
3564
- },
3565
- "isOptional": true
3566
- },
3567
- {
3568
- "__schema": "VariableLikeSchema",
3569
- "location": {
3570
- "filePath": "graphql.ui.runtime.tsx",
3571
- "line": 27,
3572
- "character": 3
3573
- },
3574
- "doc": {
3575
- "__schema": "DocSchema",
3576
- "location": {
3577
- "filePath": "graphql.ui.runtime.tsx",
3578
- "line": 26,
3579
- "character": 3
3580
- },
3581
- "raw": "/** endpoint for websocket connections */",
3582
- "comment": "endpoint for websocket connections"
3583
- },
3584
- "signature": "(property) subscriptionUri?: string | undefined",
3585
- "name": "subscriptionUri",
3586
- "type": {
3587
- "__schema": "KeywordTypeSchema",
3588
- "location": {
3589
- "filePath": "graphql.ui.runtime.tsx",
3590
- "line": 27,
3591
- "character": 21
3592
- },
3593
- "name": "string"
3594
- },
3595
- "isOptional": true
3596
- }
3597
- ]
3598
- }
3599
- },
3600
- {
3601
- "__schema": "UnImplementedSchema",
3602
- "location": {
3603
- "filePath": "graphql.ui.runtime.tsx",
3604
- "line": 103,
3605
- "character": 1
3606
- },
3607
- "name": "GraphqlAspect.addRuntime(GraphqlUI);",
3608
- "type": "ExpressionStatement"
3609
- }
3610
- ]
3611
- },
3612
- {
3613
- "__schema": "ModuleSchema",
3614
- "location": {
3615
- "filePath": "graphql-provider/graphql-provider.tsx",
3616
- "line": 1,
3617
- "character": 1
3618
- },
3619
- "exports": [
3620
- {
3621
- "__schema": "TypeSchema",
3622
- "location": {
3623
- "filePath": "graphql-provider/graphql-provider.tsx",
3624
- "line": 5,
3625
- "character": 1
3626
- },
3627
- "signature": "type GraphQLProviderProps = {\n client: GraphQLClient<any>;\n children: ReactNode;\n}",
3628
- "name": "GraphQLProviderProps",
3629
- "type": {
3630
- "__schema": "TypeLiteralSchema",
3631
- "location": {
3632
- "filePath": "graphql-provider/graphql-provider.tsx",
3633
- "line": 5,
3634
- "character": 36
3635
- },
3636
- "members": [
3637
- {
3638
- "__schema": "VariableLikeSchema",
3639
- "location": {
3640
- "filePath": "graphql-provider/graphql-provider.tsx",
3641
- "line": 6,
3642
- "character": 3
3643
- },
3644
- "signature": "(property) client: GraphQLClient<any>",
3645
- "name": "client",
3646
- "type": {
3647
- "__schema": "TypeRefSchema",
3648
- "location": {
3649
- "filePath": "graphql-provider/graphql-provider.tsx",
3650
- "line": 6,
3651
- "character": 11
3652
- },
3653
- "name": "GraphQLClient",
3654
- "typeArgs": [
3655
- {
3656
- "__schema": "KeywordTypeSchema",
3657
- "location": {
3658
- "filePath": "graphql-provider/graphql-provider.tsx",
3659
- "line": 6,
3660
- "character": 25
3661
- },
3662
- "name": "any"
3663
- }
3664
- ]
3665
- },
3666
- "isOptional": false
3667
- },
3668
- {
3669
- "__schema": "VariableLikeSchema",
3670
- "location": {
3671
- "filePath": "graphql-provider/graphql-provider.tsx",
3672
- "line": 7,
3673
- "character": 3
3674
- },
3675
- "signature": "(property) children: React.ReactNode",
3676
- "name": "children",
3677
- "type": {
3678
- "__schema": "TypeRefSchema",
3679
- "location": {
3680
- "filePath": "graphql-provider/graphql-provider.tsx",
3681
- "line": 7,
3682
- "character": 13
3683
- },
3684
- "name": "ReactNode"
3685
- },
3686
- "isOptional": false
3687
- }
3688
- ]
3689
- }
3690
- },
3691
- {
3692
- "__schema": "ReactSchema",
3693
- "location": {
3694
- "filePath": "graphql-provider/graphql-provider.tsx",
3695
- "line": 10,
3696
- "character": 1
3697
- },
3698
- "signature": "function GraphQLProvider({ client, children }: GraphQLProviderProps): React.JSX.Element",
3699
- "name": "GraphQLProvider",
3700
- "props": {
3701
- "__schema": "ParameterSchema",
3702
- "location": {
3703
- "filePath": "graphql-provider/graphql-provider.tsx",
3704
- "line": 10,
3705
- "character": 33
3706
- },
3707
- "name": "{ client, children }",
3708
- "type": {
3709
- "__schema": "TypeRefSchema",
3710
- "location": {
3711
- "filePath": "graphql-provider/graphql-provider.tsx",
3712
- "line": 10,
3713
- "character": 55
3714
- },
3715
- "name": "GraphQLProviderProps"
3716
- },
3717
- "isOptional": false,
3718
- "objectBindingNodes": [
3719
- {
3720
- "__schema": "InferenceTypeSchema",
3721
- "location": {
3722
- "filePath": "graphql-provider/graphql-provider.tsx",
3723
- "line": 10,
3724
- "character": 35
3725
- },
3726
- "name": "client",
3727
- "type": "GraphQLClient<any>",
3728
- "isSpread": false
3729
- },
3730
- {
3731
- "__schema": "InferenceTypeSchema",
3732
- "location": {
3733
- "filePath": "graphql-provider/graphql-provider.tsx",
3734
- "line": 10,
3735
- "character": 43
3736
- },
3737
- "name": "children",
3738
- "type": "React.ReactNode",
3739
- "isSpread": false
3740
- }
3741
- ],
3742
- "isSpread": false
3743
- },
3744
- "returnType": {
3745
- "__schema": "TypeRefSchema",
3746
- "location": {
3747
- "filePath": "graphql-provider/graphql-provider.tsx",
3748
- "line": 10,
3749
- "character": 1
3750
- },
3751
- "name": "React.JSX.Element",
3752
- "packageName": "react"
3753
- },
3754
- "modifiers": [
3755
- "export"
3756
- ]
3757
- }
3758
- ],
3759
- "internals": []
3760
- }
3761
- ],
3762
- "componentId": {
3763
- "scope": "teambit.harmony",
3764
- "name": "graphql",
3765
- "version": "1.0.186"
3766
- },
3767
- "taggedModuleExports": []
3768
- }