@teambit/graphql 1.0.188 → 1.0.190

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