@teambit/component-compare 1.0.258 → 1.0.259

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