@teambit/component-compare 1.0.511 → 1.0.513

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