@teambit/component-compare 1.0.512 → 1.0.514

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