@teambit/component-compare 1.0.188 → 1.0.190

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