@teambit/graphql 1.0.512 → 1.0.514

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