@teambit/graphql 1.0.512 → 1.0.513

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