@teambit/component-compare 1.0.158 → 1.0.160

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