@teambit/component-compare 1.0.257 → 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.
@@ -14,343 +14,396 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "component-compare.main.runtime.ts",
20
- "line": 44,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class ComponentCompareMain",
24
23
  "name": "ComponentCompareMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "component-compare.main.runtime.ts",
30
- "line": 45,
31
- "character": 3
32
- },
33
- "signature": "constructor ComponentCompareMain(componentAspect: ComponentMain, scope: ScopeMain, logger: Logger, tester: TesterMain, depResolver: DependencyResolverMain, workspace?: Workspace): ComponentCompareMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "component-compare.main.runtime.ts",
40
- "line": 46,
41
- "character": 5
42
- },
43
- "name": "componentAspect",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "component-compare.main.runtime.ts",
28
+ "line": 44,
29
+ "character": 1
30
+ },
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
46
  "location": {
47
47
  "filePath": "component-compare.main.runtime.ts",
48
48
  "line": 46,
49
- "character": 30
49
+ "character": 5
50
50
  },
51
- "name": "ComponentMain",
52
- "componentId": {
53
- "scope": "teambit.component",
54
- "name": "component"
55
- }
56
- },
57
- "isOptional": false,
58
- "isSpread": false
59
- },
60
- {
61
- "__schema": "ParameterSchema",
62
- "location": {
63
- "filePath": "component-compare.main.runtime.ts",
64
- "line": 47,
65
- "character": 5
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
66
67
  },
67
- "name": "scope",
68
- "type": {
69
- "__schema": "TypeRefSchema",
68
+ {
69
+ "__schema": "ParameterSchema",
70
70
  "location": {
71
71
  "filePath": "component-compare.main.runtime.ts",
72
72
  "line": 47,
73
- "character": 20
73
+ "character": 5
74
74
  },
75
- "name": "ScopeMain",
76
- "componentId": {
77
- "scope": "teambit.scope",
78
- "name": "scope"
79
- }
80
- },
81
- "isOptional": false,
82
- "isSpread": false
83
- },
84
- {
85
- "__schema": "ParameterSchema",
86
- "location": {
87
- "filePath": "component-compare.main.runtime.ts",
88
- "line": 48,
89
- "character": 5
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
90
91
  },
91
- "name": "logger",
92
- "type": {
93
- "__schema": "TypeRefSchema",
92
+ {
93
+ "__schema": "ParameterSchema",
94
94
  "location": {
95
95
  "filePath": "component-compare.main.runtime.ts",
96
96
  "line": 48,
97
- "character": 21
97
+ "character": 5
98
98
  },
99
- "name": "Logger",
100
- "componentId": {
101
- "scope": "teambit.harmony",
102
- "name": "logger"
103
- }
104
- },
105
- "isOptional": false,
106
- "isSpread": false
107
- },
108
- {
109
- "__schema": "ParameterSchema",
110
- "location": {
111
- "filePath": "component-compare.main.runtime.ts",
112
- "line": 49,
113
- "character": 5
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
114
115
  },
115
- "name": "tester",
116
- "type": {
117
- "__schema": "TypeRefSchema",
116
+ {
117
+ "__schema": "ParameterSchema",
118
118
  "location": {
119
119
  "filePath": "component-compare.main.runtime.ts",
120
120
  "line": 49,
121
- "character": 21
121
+ "character": 5
122
122
  },
123
- "name": "TesterMain",
124
- "componentId": {
125
- "scope": "teambit.defender",
126
- "name": "tester"
127
- }
128
- },
129
- "isOptional": false,
130
- "isSpread": false
131
- },
132
- {
133
- "__schema": "ParameterSchema",
134
- "location": {
135
- "filePath": "component-compare.main.runtime.ts",
136
- "line": 50,
137
- "character": 5
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
138
139
  },
139
- "name": "depResolver",
140
- "type": {
141
- "__schema": "TypeRefSchema",
140
+ {
141
+ "__schema": "ParameterSchema",
142
142
  "location": {
143
143
  "filePath": "component-compare.main.runtime.ts",
144
144
  "line": 50,
145
- "character": 26
145
+ "character": 5
146
146
  },
147
- "name": "DependencyResolverMain",
148
- "componentId": {
149
- "scope": "teambit.dependencies",
150
- "name": "dependency-resolver"
151
- }
152
- },
153
- "isOptional": false,
154
- "isSpread": false
155
- },
156
- {
157
- "__schema": "ParameterSchema",
158
- "location": {
159
- "filePath": "component-compare.main.runtime.ts",
160
- "line": 51,
161
- "character": 5
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
162
163
  },
163
- "name": "workspace",
164
- "type": {
165
- "__schema": "TypeRefSchema",
164
+ {
165
+ "__schema": "ParameterSchema",
166
166
  "location": {
167
167
  "filePath": "component-compare.main.runtime.ts",
168
168
  "line": 51,
169
- "character": 25
169
+ "character": 5
170
170
  },
171
- "name": "Workspace",
172
- "componentId": {
173
- "scope": "teambit.workspace",
174
- "name": "workspace"
175
- }
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
176
195
  },
177
- "isOptional": true,
178
- "isSpread": false
179
- }
180
- ],
181
- "returnType": {
182
- "__schema": "ThisTypeSchema",
196
+ "name": "ComponentCompareMain"
197
+ },
198
+ "modifiers": []
199
+ },
200
+ {
201
+ "__schema": "FunctionLikeSchema",
183
202
  "location": {
184
203
  "filePath": "component-compare.main.runtime.ts",
185
- "line": 44,
186
- "character": 1
204
+ "line": 54,
205
+ "character": 3
187
206
  },
188
- "name": "ComponentCompareMain"
189
- },
190
- "modifiers": []
191
- },
192
- {
193
- "__schema": "FunctionLikeSchema",
194
- "location": {
195
- "filePath": "component-compare.main.runtime.ts",
196
- "line": 54,
197
- "character": 3
198
- },
199
- "signature": "(method) ComponentCompareMain.compare(baseIdStr: string, compareIdStr: string): Promise<ComponentCompareResult>",
200
- "name": "compare",
201
- "params": [
202
- {
203
- "__schema": "ParameterSchema",
204
- "location": {
205
- "filePath": "component-compare.main.runtime.ts",
206
- "line": 54,
207
- "character": 17
208
- },
209
- "name": "baseIdStr",
210
- "type": {
211
- "__schema": "KeywordTypeSchema",
207
+ "signature": "(method) ComponentCompareMain.compare(baseIdStr: string, compareIdStr: string): Promise<ComponentCompareResult>",
208
+ "name": "compare",
209
+ "params": [
210
+ {
211
+ "__schema": "ParameterSchema",
212
212
  "location": {
213
213
  "filePath": "component-compare.main.runtime.ts",
214
214
  "line": 54,
215
- "character": 28
215
+ "character": 17
216
216
  },
217
- "name": "string"
218
- },
219
- "isOptional": false,
220
- "isSpread": false
221
- },
222
- {
223
- "__schema": "ParameterSchema",
224
- "location": {
225
- "filePath": "component-compare.main.runtime.ts",
226
- "line": 54,
227
- "character": 36
228
- },
229
- "name": "compareIdStr",
230
- "type": {
231
- "__schema": "KeywordTypeSchema",
232
- "location": {
233
- "filePath": "component-compare.main.runtime.ts",
234
- "line": 54,
235
- "character": 50
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"
236
226
  },
237
- "name": "string"
227
+ "isOptional": false,
228
+ "isSpread": false
238
229
  },
239
- "isOptional": false,
240
- "isSpread": false
241
- }
242
- ],
243
- "returnType": {
244
- "__schema": "TypeRefSchema",
245
- "location": {
246
- "filePath": "component-compare.main.runtime.ts",
247
- "line": 54,
248
- "character": 59
249
- },
250
- "name": "Promise",
251
- "typeArgs": [
252
230
  {
253
- "__schema": "TypeRefSchema",
231
+ "__schema": "ParameterSchema",
254
232
  "location": {
255
233
  "filePath": "component-compare.main.runtime.ts",
256
234
  "line": 54,
257
- "character": 67
235
+ "character": 36
258
236
  },
259
- "name": "ComponentCompareResult",
260
- "internalFilePath": "component-compare.main.runtime.ts"
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
261
249
  }
262
- ]
263
- },
264
- "modifiers": [
265
- "async"
266
- ]
267
- },
268
- {
269
- "__schema": "FunctionLikeSchema",
270
- "location": {
271
- "filePath": "component-compare.main.runtime.ts",
272
- "line": 103,
273
- "character": 3
274
- },
275
- "signature": "(method) ComponentCompareMain.diffByCLIValues(pattern?: string, version?: string, toVersion?: string, { verbose, table }?: {\n verbose?: boolean;\n table?: boolean;\n}): Promise<any>",
276
- "name": "diffByCLIValues",
277
- "params": [
278
- {
279
- "__schema": "ParameterSchema",
250
+ ],
251
+ "returnType": {
252
+ "__schema": "TypeRefSchema",
280
253
  "location": {
281
254
  "filePath": "component-compare.main.runtime.ts",
282
- "line": 104,
283
- "character": 5
255
+ "line": 54,
256
+ "character": 59
284
257
  },
285
- "name": "pattern",
286
- "type": {
287
- "__schema": "KeywordTypeSchema",
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
288
  "location": {
289
289
  "filePath": "component-compare.main.runtime.ts",
290
290
  "line": 104,
291
- "character": 15
291
+ "character": 5
292
292
  },
293
- "name": "string"
294
- },
295
- "isOptional": true,
296
- "isSpread": false
297
- },
298
- {
299
- "__schema": "ParameterSchema",
300
- "location": {
301
- "filePath": "component-compare.main.runtime.ts",
302
- "line": 105,
303
- "character": 5
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
304
305
  },
305
- "name": "version",
306
- "type": {
307
- "__schema": "KeywordTypeSchema",
306
+ {
307
+ "__schema": "ParameterSchema",
308
308
  "location": {
309
309
  "filePath": "component-compare.main.runtime.ts",
310
310
  "line": 105,
311
- "character": 15
311
+ "character": 5
312
312
  },
313
- "name": "string"
314
- },
315
- "isOptional": true,
316
- "isSpread": false
317
- },
318
- {
319
- "__schema": "ParameterSchema",
320
- "location": {
321
- "filePath": "component-compare.main.runtime.ts",
322
- "line": 106,
323
- "character": 5
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
324
325
  },
325
- "name": "toVersion",
326
- "type": {
327
- "__schema": "KeywordTypeSchema",
326
+ {
327
+ "__schema": "ParameterSchema",
328
328
  "location": {
329
329
  "filePath": "component-compare.main.runtime.ts",
330
330
  "line": 106,
331
- "character": 17
331
+ "character": 5
332
332
  },
333
- "name": "string"
334
- },
335
- "isOptional": true,
336
- "isSpread": false
337
- },
338
- {
339
- "__schema": "ParameterSchema",
340
- "location": {
341
- "filePath": "component-compare.main.runtime.ts",
342
- "line": 107,
343
- "character": 5
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
344
345
  },
345
- "name": "{ verbose, table }",
346
- "type": {
347
- "__schema": "TypeLiteralSchema",
346
+ {
347
+ "__schema": "ParameterSchema",
348
348
  "location": {
349
349
  "filePath": "component-compare.main.runtime.ts",
350
350
  "line": 107,
351
- "character": 25
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
+ ]
352
403
  },
353
- "members": [
404
+ "isOptional": true,
405
+ "defaultValue": "{}",
406
+ "objectBindingNodes": [
354
407
  {
355
408
  "__schema": "VariableLikeSchema",
356
409
  "location": {
@@ -391,1198 +444,1181 @@
391
444
  },
392
445
  "isOptional": true
393
446
  }
394
- ]
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
395
457
  },
396
- "isOptional": true,
397
- "defaultValue": "{}",
398
- "objectBindingNodes": [
399
- {
400
- "__schema": "VariableLikeSchema",
401
- "location": {
402
- "filePath": "component-compare.main.runtime.ts",
403
- "line": 107,
404
- "character": 27
405
- },
406
- "signature": "(property) verbose?: boolean | undefined",
407
- "name": "verbose",
408
- "type": {
409
- "__schema": "KeywordTypeSchema",
410
- "location": {
411
- "filePath": "component-compare.main.runtime.ts",
412
- "line": 107,
413
- "character": 37
414
- },
415
- "name": "boolean"
416
- },
417
- "isOptional": true
418
- },
458
+ "name": "Promise",
459
+ "typeArgs": [
419
460
  {
420
- "__schema": "VariableLikeSchema",
461
+ "__schema": "KeywordTypeSchema",
421
462
  "location": {
422
463
  "filePath": "component-compare.main.runtime.ts",
423
- "line": 107,
424
- "character": 46
425
- },
426
- "signature": "(property) table?: boolean | undefined",
427
- "name": "table",
428
- "type": {
429
- "__schema": "KeywordTypeSchema",
430
- "location": {
431
- "filePath": "component-compare.main.runtime.ts",
432
- "line": 107,
433
- "character": 54
434
- },
435
- "name": "boolean"
464
+ "line": 108,
465
+ "character": 14
436
466
  },
437
- "isOptional": true
467
+ "name": "any"
438
468
  }
439
- ],
440
- "isSpread": false
441
- }
442
- ],
443
- "returnType": {
444
- "__schema": "TypeRefSchema",
469
+ ]
470
+ },
471
+ "modifiers": [
472
+ "async"
473
+ ]
474
+ },
475
+ {
476
+ "__schema": "FunctionLikeSchema",
445
477
  "location": {
446
478
  "filePath": "component-compare.main.runtime.ts",
447
- "line": 108,
448
- "character": 6
479
+ "line": 123,
480
+ "character": 3
449
481
  },
450
- "name": "Promise",
451
- "typeArgs": [
482
+ "signature": "(method) ComponentCompareMain.getConfigForDiffById(id: string): Promise<ConfigDiff>",
483
+ "name": "getConfigForDiffById",
484
+ "params": [
452
485
  {
453
- "__schema": "KeywordTypeSchema",
486
+ "__schema": "ParameterSchema",
454
487
  "location": {
455
488
  "filePath": "component-compare.main.runtime.ts",
456
- "line": 108,
457
- "character": 14
489
+ "line": 123,
490
+ "character": 30
458
491
  },
459
- "name": "any"
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
460
504
  }
461
- ]
462
- },
463
- "modifiers": [
464
- "async"
465
- ]
466
- },
467
- {
468
- "__schema": "FunctionLikeSchema",
469
- "location": {
470
- "filePath": "component-compare.main.runtime.ts",
471
- "line": 123,
472
- "character": 3
473
- },
474
- "signature": "(method) ComponentCompareMain.getConfigForDiffById(id: string): Promise<ConfigDiff>",
475
- "name": "getConfigForDiffById",
476
- "params": [
477
- {
478
- "__schema": "ParameterSchema",
505
+ ],
506
+ "returnType": {
507
+ "__schema": "TypeRefSchema",
479
508
  "location": {
480
509
  "filePath": "component-compare.main.runtime.ts",
481
510
  "line": 123,
482
- "character": 30
483
- },
484
- "name": "id",
485
- "type": {
486
- "__schema": "KeywordTypeSchema",
487
- "location": {
488
- "filePath": "component-compare.main.runtime.ts",
489
- "line": 123,
490
- "character": 34
491
- },
492
- "name": "string"
511
+ "character": 43
493
512
  },
494
- "isOptional": false,
495
- "isSpread": false
496
- }
497
- ],
498
- "returnType": {
499
- "__schema": "TypeRefSchema",
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",
500
533
  "location": {
501
534
  "filePath": "component-compare.main.runtime.ts",
502
- "line": 123,
503
- "character": 43
535
+ "line": 132,
536
+ "character": 3
504
537
  },
505
- "name": "Promise",
506
- "typeArgs": [
538
+ "signature": "(method) ComponentCompareMain.getConfigForDiffByCompObject(component: Component): Promise<{\n version: string;\n dependencies: string[];\n aspects: {};\n}>",
539
+ "name": "getConfigForDiffByCompObject",
540
+ "params": [
507
541
  {
508
- "__schema": "TypeRefSchema",
542
+ "__schema": "ParameterSchema",
509
543
  "location": {
510
544
  "filePath": "component-compare.main.runtime.ts",
511
- "line": 123,
512
- "character": 51
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
+ }
513
561
  },
514
- "name": "ConfigDiff",
515
- "internalFilePath": "component-compare.main.runtime.ts"
562
+ "isOptional": false,
563
+ "isSpread": false
516
564
  }
517
- ]
518
- },
519
- "modifiers": [
520
- "async"
521
- ]
522
- },
523
- {
524
- "__schema": "FunctionLikeSchema",
525
- "location": {
526
- "filePath": "component-compare.main.runtime.ts",
527
- "line": 132,
528
- "character": 3
529
- },
530
- "signature": "(method) ComponentCompareMain.getConfigForDiffByCompObject(component: Component): Promise<{\n version: string;\n dependencies: string[];\n aspects: {};\n}>",
531
- "name": "getConfigForDiffByCompObject",
532
- "params": [
533
- {
534
- "__schema": "ParameterSchema",
565
+ ],
566
+ "returnType": {
567
+ "__schema": "InferenceTypeSchema",
535
568
  "location": {
536
569
  "filePath": "component-compare.main.runtime.ts",
537
570
  "line": 132,
538
- "character": 38
539
- },
540
- "name": "component",
541
- "type": {
542
- "__schema": "TypeRefSchema",
543
- "location": {
544
- "filePath": "component-compare.main.runtime.ts",
545
- "line": 132,
546
- "character": 49
547
- },
548
- "name": "Component",
549
- "componentId": {
550
- "scope": "teambit.component",
551
- "name": "component"
552
- }
571
+ "character": 3
553
572
  },
554
- "isOptional": false,
555
- "isSpread": false
556
- }
557
- ],
558
- "returnType": {
559
- "__schema": "InferenceTypeSchema",
573
+ "type": "Promise<{\n version: string;\n dependencies: string[];\n aspects: {};\n}>"
574
+ },
575
+ "modifiers": [
576
+ "async"
577
+ ]
578
+ },
579
+ {
580
+ "__schema": "FunctionLikeSchema",
560
581
  "location": {
561
582
  "filePath": "component-compare.main.runtime.ts",
562
- "line": 132,
583
+ "line": 249,
563
584
  "character": 3
564
585
  },
565
- "type": "Promise<{\n version: string;\n dependencies: string[];\n aspects: {};\n}>"
566
- },
567
- "modifiers": [
568
- "async"
569
- ]
570
- },
571
- {
572
- "__schema": "FunctionLikeSchema",
573
- "location": {
574
- "filePath": "component-compare.main.runtime.ts",
575
- "line": 249,
576
- "character": 3
577
- },
578
- "signature": "(method) ComponentCompareMain.diffBetweenVersionsObjects(modelComponent: ModelComponent, fromVersionObject: Version, toVersionObject: Version, fromVersion: string, toVersion: string, diffOpts: DiffOptions): Promise<DiffResults>",
579
- "name": "diffBetweenVersionsObjects",
580
- "params": [
581
- {
582
- "__schema": "ParameterSchema",
583
- "location": {
584
- "filePath": "component-compare.main.runtime.ts",
585
- "line": 250,
586
- "character": 5
587
- },
588
- "name": "modelComponent",
589
- "type": {
590
- "__schema": "TypeRefSchema",
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
591
  "location": {
592
592
  "filePath": "component-compare.main.runtime.ts",
593
593
  "line": 250,
594
- "character": 21
594
+ "character": 5
595
595
  },
596
- "name": "ModelComponent",
597
- "packageName": "@teambit/legacy/dist/scope/models"
598
- },
599
- "isOptional": false,
600
- "isSpread": false
601
- },
602
- {
603
- "__schema": "ParameterSchema",
604
- "location": {
605
- "filePath": "component-compare.main.runtime.ts",
606
- "line": 251,
607
- "character": 5
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
608
609
  },
609
- "name": "fromVersionObject",
610
- "type": {
611
- "__schema": "TypeRefSchema",
610
+ {
611
+ "__schema": "ParameterSchema",
612
612
  "location": {
613
613
  "filePath": "component-compare.main.runtime.ts",
614
614
  "line": 251,
615
- "character": 24
615
+ "character": 5
616
616
  },
617
- "name": "Version",
618
- "packageName": "@teambit/legacy/dist/scope/models"
619
- },
620
- "isOptional": false,
621
- "isSpread": false
622
- },
623
- {
624
- "__schema": "ParameterSchema",
625
- "location": {
626
- "filePath": "component-compare.main.runtime.ts",
627
- "line": 252,
628
- "character": 5
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
629
630
  },
630
- "name": "toVersionObject",
631
- "type": {
632
- "__schema": "TypeRefSchema",
631
+ {
632
+ "__schema": "ParameterSchema",
633
633
  "location": {
634
634
  "filePath": "component-compare.main.runtime.ts",
635
635
  "line": 252,
636
- "character": 22
636
+ "character": 5
637
637
  },
638
- "name": "Version",
639
- "packageName": "@teambit/legacy/dist/scope/models"
640
- },
641
- "isOptional": false,
642
- "isSpread": false
643
- },
644
- {
645
- "__schema": "ParameterSchema",
646
- "location": {
647
- "filePath": "component-compare.main.runtime.ts",
648
- "line": 253,
649
- "character": 5
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
650
651
  },
651
- "name": "fromVersion",
652
- "type": {
653
- "__schema": "KeywordTypeSchema",
652
+ {
653
+ "__schema": "ParameterSchema",
654
654
  "location": {
655
655
  "filePath": "component-compare.main.runtime.ts",
656
656
  "line": 253,
657
- "character": 18
657
+ "character": 5
658
658
  },
659
- "name": "string"
660
- },
661
- "isOptional": false,
662
- "isSpread": false
663
- },
664
- {
665
- "__schema": "ParameterSchema",
666
- "location": {
667
- "filePath": "component-compare.main.runtime.ts",
668
- "line": 254,
669
- "character": 5
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
670
671
  },
671
- "name": "toVersion",
672
- "type": {
673
- "__schema": "KeywordTypeSchema",
672
+ {
673
+ "__schema": "ParameterSchema",
674
674
  "location": {
675
675
  "filePath": "component-compare.main.runtime.ts",
676
676
  "line": 254,
677
- "character": 16
677
+ "character": 5
678
678
  },
679
- "name": "string"
680
- },
681
- "isOptional": false,
682
- "isSpread": false
683
- },
684
- {
685
- "__schema": "ParameterSchema",
686
- "location": {
687
- "filePath": "component-compare.main.runtime.ts",
688
- "line": 255,
689
- "character": 5
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
690
691
  },
691
- "name": "diffOpts",
692
- "type": {
693
- "__schema": "TypeRefSchema",
692
+ {
693
+ "__schema": "ParameterSchema",
694
694
  "location": {
695
695
  "filePath": "component-compare.main.runtime.ts",
696
696
  "line": 255,
697
- "character": 15
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"
698
709
  },
699
- "name": "DiffOptions",
700
- "packageName": "@teambit/legacy/dist/consumer/component-ops/components-diff"
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
701
720
  },
702
- "isOptional": false,
703
- "isSpread": false
704
- }
705
- ],
706
- "returnType": {
707
- "__schema": "InferenceTypeSchema",
708
- "location": {
709
- "filePath": "component-compare.main.runtime.ts",
710
- "line": 249,
711
- "character": 3
721
+ "type": "Promise<DiffResults>"
712
722
  },
713
- "type": "Promise<DiffResults>"
714
- },
715
- "modifiers": [
716
- "async"
717
- ]
718
- },
719
- {
720
- "__schema": "VariableLikeSchema",
721
- "location": {
722
- "filePath": "component-compare.main.runtime.ts",
723
- "line": 285,
724
- "character": 3
723
+ "modifiers": [
724
+ "async"
725
+ ]
725
726
  },
726
- "signature": "(property) ComponentCompareMain.slots: never[]",
727
- "name": "slots",
728
- "type": {
729
- "__schema": "InferenceTypeSchema",
727
+ {
728
+ "__schema": "VariableLikeSchema",
730
729
  "location": {
731
730
  "filePath": "component-compare.main.runtime.ts",
732
731
  "line": 285,
733
732
  "character": 3
734
733
  },
735
- "type": "never[]"
736
- },
737
- "isOptional": true,
738
- "defaultValue": "[]"
739
- },
740
- {
741
- "__schema": "VariableLikeSchema",
742
- "location": {
743
- "filePath": "component-compare.main.runtime.ts",
744
- "line": 286,
745
- "character": 3
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": "[]"
746
747
  },
747
- "signature": "(property) ComponentCompareMain.dependencies: Aspect[]",
748
- "name": "dependencies",
749
- "type": {
750
- "__schema": "InferenceTypeSchema",
748
+ {
749
+ "__schema": "VariableLikeSchema",
751
750
  "location": {
752
751
  "filePath": "component-compare.main.runtime.ts",
753
752
  "line": 286,
754
753
  "character": 3
755
754
  },
756
- "type": "Aspect[]"
757
- },
758
- "isOptional": true,
759
- "defaultValue": "[\n GraphqlAspect,\n ComponentAspect,\n ScopeAspect,\n LoggerAspect,\n CLIAspect,\n WorkspaceAspect,\n TesterAspect,\n DependencyResolverAspect,\n ]"
760
- },
761
- {
762
- "__schema": "VariableLikeSchema",
763
- "location": {
764
- "filePath": "component-compare.main.runtime.ts",
765
- "line": 296,
766
- "character": 3
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 ]"
767
768
  },
768
- "signature": "(property) ComponentCompareMain.runtime: RuntimeDefinition",
769
- "name": "runtime",
770
- "type": {
771
- "__schema": "InferenceTypeSchema",
769
+ {
770
+ "__schema": "VariableLikeSchema",
772
771
  "location": {
773
772
  "filePath": "component-compare.main.runtime.ts",
774
773
  "line": 296,
775
774
  "character": 3
776
775
  },
777
- "type": "RuntimeDefinition"
778
- },
779
- "isOptional": true,
780
- "defaultValue": "MainRuntime"
781
- },
782
- {
783
- "__schema": "FunctionLikeSchema",
784
- "location": {
785
- "filePath": "component-compare.main.runtime.ts",
786
- "line": 297,
787
- "character": 3
788
- },
789
- "signature": "(method) ComponentCompareMain.provider([graphql, component, scope, loggerMain, cli, workspace, tester, depResolver]: [\n GraphqlMain,\n ComponentMain,\n ScopeMain,\n LoggerMain,\n CLIMain,\n Workspace,\n TesterMain,\n DependencyResolverMain\n]): Promise<ComponentCompareMain>",
790
- "name": "provider",
791
- "params": [
792
- {
793
- "__schema": "ParameterSchema",
776
+ "signature": "(property) ComponentCompareMain.runtime: RuntimeDefinition",
777
+ "name": "runtime",
778
+ "type": {
779
+ "__schema": "InferenceTypeSchema",
794
780
  "location": {
795
781
  "filePath": "component-compare.main.runtime.ts",
796
- "line": 297,
797
- "character": 25
782
+ "line": 296,
783
+ "character": 3
798
784
  },
799
- "name": "[ graphql, component, scope, loggerMain, cli, workspace, tester, depResolver ]",
800
- "type": {
801
- "__schema": "TupleTypeSchema",
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
802
  "location": {
803
803
  "filePath": "component-compare.main.runtime.ts",
804
804
  "line": 297,
805
- "character": 103
805
+ "character": 25
806
806
  },
807
- "elements": [
808
- {
809
- "__schema": "TypeRefSchema",
810
- "location": {
811
- "filePath": "component-compare.main.runtime.ts",
812
- "line": 298,
813
- "character": 5
814
- },
815
- "name": "GraphqlMain",
816
- "componentId": {
817
- "scope": "teambit.harmony",
818
- "name": "graphql"
819
- }
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
820
814
  },
821
- {
822
- "__schema": "TypeRefSchema",
823
- "location": {
824
- "filePath": "component-compare.main.runtime.ts",
825
- "line": 299,
826
- "character": 5
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
+ }
827
828
  },
828
- "name": "ComponentMain",
829
- "componentId": {
830
- "scope": "teambit.component",
831
- "name": "component"
832
- }
833
- },
834
- {
835
- "__schema": "TypeRefSchema",
836
- "location": {
837
- "filePath": "component-compare.main.runtime.ts",
838
- "line": 300,
839
- "character": 5
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
+ }
840
841
  },
841
- "name": "ScopeMain",
842
- "componentId": {
843
- "scope": "teambit.scope",
844
- "name": "scope"
845
- }
846
- },
847
- {
848
- "__schema": "TypeRefSchema",
849
- "location": {
850
- "filePath": "component-compare.main.runtime.ts",
851
- "line": 301,
852
- "character": 5
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
+ }
853
854
  },
854
- "name": "LoggerMain",
855
- "componentId": {
856
- "scope": "teambit.harmony",
857
- "name": "logger"
858
- }
859
- },
860
- {
861
- "__schema": "TypeRefSchema",
862
- "location": {
863
- "filePath": "component-compare.main.runtime.ts",
864
- "line": 302,
865
- "character": 5
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
+ }
866
867
  },
867
- "name": "CLIMain",
868
- "componentId": {
869
- "scope": "teambit.harmony",
870
- "name": "cli"
871
- }
872
- },
873
- {
874
- "__schema": "TypeRefSchema",
875
- "location": {
876
- "filePath": "component-compare.main.runtime.ts",
877
- "line": 303,
878
- "character": 5
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
+ }
879
880
  },
880
- "name": "Workspace",
881
- "componentId": {
882
- "scope": "teambit.workspace",
883
- "name": "workspace"
884
- }
885
- },
886
- {
887
- "__schema": "TypeRefSchema",
888
- "location": {
889
- "filePath": "component-compare.main.runtime.ts",
890
- "line": 304,
891
- "character": 5
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
+ }
892
893
  },
893
- "name": "TesterMain",
894
- "componentId": {
895
- "scope": "teambit.defender",
896
- "name": "tester"
897
- }
898
- },
899
- {
900
- "__schema": "TypeRefSchema",
901
- "location": {
902
- "filePath": "component-compare.main.runtime.ts",
903
- "line": 305,
904
- "character": 5
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
+ }
905
906
  },
906
- "name": "DependencyResolverMain",
907
- "componentId": {
908
- "scope": "teambit.dependencies",
909
- "name": "dependency-resolver"
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
+ }
910
919
  }
911
- }
912
- ]
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
913
932
  },
914
- "isOptional": false,
915
- "isSpread": false
916
- }
917
- ],
918
- "returnType": {
919
- "__schema": "InferenceTypeSchema",
920
- "location": {
921
- "filePath": "component-compare.main.runtime.ts",
922
- "line": 297,
923
- "character": 3
933
+ "type": "Promise<ComponentCompareMain>"
924
934
  },
925
- "type": "Promise<ComponentCompareMain>"
926
- },
927
- "modifiers": [
928
- "static",
929
- "async"
930
- ]
931
- }
932
- ],
933
- "extendsNodes": [],
934
- "implementNodes": []
935
+ "modifiers": [
936
+ "static",
937
+ "async"
938
+ ]
939
+ }
940
+ ],
941
+ "extendsNodes": [],
942
+ "implementNodes": []
943
+ }
935
944
  },
936
945
  {
937
- "__schema": "ClassSchema",
946
+ "__schema": "ExportSchema",
938
947
  "location": {
939
- "filePath": "component-compare.ui.runtime.tsx",
940
- "line": 19,
941
- "character": 1
948
+ "filePath": "index.ts",
949
+ "line": 4,
950
+ "character": 15
942
951
  },
943
- "signature": "class ComponentCompareUI",
944
952
  "name": "ComponentCompareUI",
945
- "members": [
946
- {
947
- "__schema": "ConstructorSchema",
948
- "location": {
949
- "filePath": "component-compare.ui.runtime.tsx",
950
- "line": 20,
951
- "character": 3
952
- },
953
- "signature": "constructor ComponentCompareUI(host: string, navSlot: ComponentCompareNavSlot, routeSlot: RouteSlot, compUI: ComponentUI): ComponentCompareUI",
954
- "name": "constructor",
955
- "params": [
956
- {
957
- "__schema": "ParameterSchema",
958
- "location": {
959
- "filePath": "component-compare.ui.runtime.tsx",
960
- "line": 21,
961
- "character": 5
962
- },
963
- "name": "host",
964
- "type": {
965
- "__schema": "KeywordTypeSchema",
953
+ "exportNode": {
954
+ "__schema": "ClassSchema",
955
+ "location": {
956
+ "filePath": "component-compare.ui.runtime.tsx",
957
+ "line": 19,
958
+ "character": 1
959
+ },
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",
966
975
  "location": {
967
976
  "filePath": "component-compare.ui.runtime.tsx",
968
977
  "line": 21,
969
- "character": 19
978
+ "character": 5
970
979
  },
971
- "name": "string"
972
- },
973
- "isOptional": false,
974
- "isSpread": false
975
- },
976
- {
977
- "__schema": "ParameterSchema",
978
- "location": {
979
- "filePath": "component-compare.ui.runtime.tsx",
980
- "line": 22,
981
- "character": 5
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
982
992
  },
983
- "name": "navSlot",
984
- "type": {
985
- "__schema": "TypeRefSchema",
993
+ {
994
+ "__schema": "ParameterSchema",
986
995
  "location": {
987
996
  "filePath": "component-compare.ui.runtime.tsx",
988
997
  "line": 22,
989
- "character": 22
998
+ "character": 5
990
999
  },
991
- "name": "ComponentCompareNavSlot"
992
- },
993
- "isOptional": false,
994
- "isSpread": false
995
- },
996
- {
997
- "__schema": "ParameterSchema",
998
- "location": {
999
- "filePath": "component-compare.ui.runtime.tsx",
1000
- "line": 23,
1001
- "character": 5
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
1002
1012
  },
1003
- "name": "routeSlot",
1004
- "type": {
1005
- "__schema": "TypeRefSchema",
1013
+ {
1014
+ "__schema": "ParameterSchema",
1006
1015
  "location": {
1007
1016
  "filePath": "component-compare.ui.runtime.tsx",
1008
1017
  "line": 23,
1009
- "character": 24
1018
+ "character": 5
1010
1019
  },
1011
- "name": "RouteSlot",
1012
- "componentId": {
1013
- "scope": "teambit.ui-foundation",
1014
- "name": "ui/react-router/slot-router",
1015
- "version": "0.0.508"
1016
- }
1017
- },
1018
- "isOptional": false,
1019
- "isSpread": false
1020
- },
1021
- {
1022
- "__schema": "ParameterSchema",
1023
- "location": {
1024
- "filePath": "component-compare.ui.runtime.tsx",
1025
- "line": 24,
1026
- "character": 5
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
1027
1037
  },
1028
- "name": "compUI",
1029
- "type": {
1030
- "__schema": "TypeRefSchema",
1038
+ {
1039
+ "__schema": "ParameterSchema",
1031
1040
  "location": {
1032
1041
  "filePath": "component-compare.ui.runtime.tsx",
1033
1042
  "line": 24,
1034
- "character": 21
1043
+ "character": 5
1035
1044
  },
1036
- "name": "ComponentUI",
1037
- "componentId": {
1038
- "scope": "teambit.component",
1039
- "name": "component"
1040
- }
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
1041
1069
  },
1042
- "isOptional": false,
1043
- "isSpread": false
1044
- }
1045
- ],
1046
- "returnType": {
1047
- "__schema": "ThisTypeSchema",
1048
- "location": {
1049
- "filePath": "component-compare.ui.runtime.tsx",
1050
- "line": 19,
1051
- "character": 1
1070
+ "name": "ComponentCompareUI"
1052
1071
  },
1053
- "name": "ComponentCompareUI"
1054
- },
1055
- "modifiers": []
1056
- },
1057
- {
1058
- "__schema": "VariableLikeSchema",
1059
- "location": {
1060
- "filePath": "component-compare.ui.runtime.tsx",
1061
- "line": 27,
1062
- "character": 3
1072
+ "modifiers": []
1063
1073
  },
1064
- "signature": "(property) ComponentCompareUI.runtime: RuntimeDefinition",
1065
- "name": "runtime",
1066
- "type": {
1067
- "__schema": "InferenceTypeSchema",
1074
+ {
1075
+ "__schema": "VariableLikeSchema",
1068
1076
  "location": {
1069
1077
  "filePath": "component-compare.ui.runtime.tsx",
1070
1078
  "line": 27,
1071
1079
  "character": 3
1072
1080
  },
1073
- "type": "RuntimeDefinition"
1074
- },
1075
- "isOptional": true,
1076
- "defaultValue": "UIRuntime"
1077
- },
1078
- {
1079
- "__schema": "VariableLikeSchema",
1080
- "location": {
1081
- "filePath": "component-compare.ui.runtime.tsx",
1082
- "line": 29,
1083
- "character": 3
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"
1084
1094
  },
1085
- "signature": "(property) ComponentCompareUI.slots: (((registerFn: () => string) => SlotRegistry<ComponentCompareNavSlot>) | ((registerFn: () => string) => SlotRegistry<RouteSlot>))[]",
1086
- "name": "slots",
1087
- "type": {
1088
- "__schema": "InferenceTypeSchema",
1095
+ {
1096
+ "__schema": "VariableLikeSchema",
1089
1097
  "location": {
1090
1098
  "filePath": "component-compare.ui.runtime.tsx",
1091
1099
  "line": 29,
1092
1100
  "character": 3
1093
1101
  },
1094
- "type": "(((registerFn: () => string) => SlotRegistry<ComponentCompareNavSlot>) | ((registerFn: () => string) => SlotRegistry<RouteSlot>))[]"
1095
- },
1096
- "isOptional": true,
1097
- "defaultValue": "[Slot.withType<ComponentCompareNavSlot>(), Slot.withType<RouteSlot>()]"
1098
- },
1099
- {
1100
- "__schema": "VariableLikeSchema",
1101
- "location": {
1102
- "filePath": "component-compare.ui.runtime.tsx",
1103
- "line": 31,
1104
- "character": 3
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>()]"
1105
1115
  },
1106
- "signature": "(property) ComponentCompareUI.dependencies: Aspect[]",
1107
- "name": "dependencies",
1108
- "type": {
1109
- "__schema": "InferenceTypeSchema",
1116
+ {
1117
+ "__schema": "VariableLikeSchema",
1110
1118
  "location": {
1111
1119
  "filePath": "component-compare.ui.runtime.tsx",
1112
1120
  "line": 31,
1113
1121
  "character": 3
1114
1122
  },
1115
- "type": "Aspect[]"
1116
- },
1117
- "isOptional": true,
1118
- "defaultValue": "[ComponentAspect]"
1119
- },
1120
- {
1121
- "__schema": "VariableLikeSchema",
1122
- "location": {
1123
- "filePath": "component-compare.ui.runtime.tsx",
1124
- "line": 33,
1125
- "character": 3
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]"
1126
1136
  },
1127
- "signature": "(property) ComponentCompareUI.getComponentComparePage: (props?: ComponentCompareProps) => React.JSX.Element",
1128
- "name": "getComponentComparePage",
1129
- "type": {
1130
- "__schema": "InferenceTypeSchema",
1137
+ {
1138
+ "__schema": "VariableLikeSchema",
1131
1139
  "location": {
1132
1140
  "filePath": "component-compare.ui.runtime.tsx",
1133
1141
  "line": 33,
1134
1142
  "character": 3
1135
1143
  },
1136
- "type": "(props?: ComponentCompareProps) => React.JSX.Element"
1137
- },
1138
- "isOptional": true,
1139
- "defaultValue": "(props?: ComponentCompareProps) => {\n const tabs = props?.tabs || (() => flatten(this.navSlot.values()));\n const routes = props?.routes || (() => flatten(this.routeSlot.values()));\n const host = props?.host || this.host;\n\n return (\n <ComponentCompare\n {...(props || {})}\n tabs={tabs}\n routes={routes}\n host={host}\n isFullScreen={props?.isFullScreen ?? true}\n />\n );\n }"
1140
- },
1141
- {
1142
- "__schema": "VariableLikeSchema",
1143
- "location": {
1144
- "filePath": "component-compare.ui.runtime.tsx",
1145
- "line": 49,
1146
- "character": 3
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 }"
1147
1157
  },
1148
- "signature": "(property) ComponentCompareUI.getAspectsComparePage: () => React.JSX.Element",
1149
- "name": "getAspectsComparePage",
1150
- "type": {
1151
- "__schema": "InferenceTypeSchema",
1158
+ {
1159
+ "__schema": "VariableLikeSchema",
1152
1160
  "location": {
1153
1161
  "filePath": "component-compare.ui.runtime.tsx",
1154
1162
  "line": 49,
1155
1163
  "character": 3
1156
1164
  },
1157
- "type": "() => React.JSX.Element"
1158
- },
1159
- "isOptional": true,
1160
- "defaultValue": "() => {\n return <ComponentCompareAspects host={this.host} />;\n }"
1161
- },
1162
- {
1163
- "__schema": "VariableLikeSchema",
1164
- "location": {
1165
- "filePath": "component-compare.ui.runtime.tsx",
1166
- "line": 53,
1167
- "character": 3
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 }"
1168
1178
  },
1169
- "signature": "(property) ComponentCompareUI.getChangelogComparePage: () => React.JSX.Element",
1170
- "name": "getChangelogComparePage",
1171
- "type": {
1172
- "__schema": "InferenceTypeSchema",
1179
+ {
1180
+ "__schema": "VariableLikeSchema",
1173
1181
  "location": {
1174
1182
  "filePath": "component-compare.ui.runtime.tsx",
1175
1183
  "line": 53,
1176
1184
  "character": 3
1177
1185
  },
1178
- "type": "() => React.JSX.Element"
1179
- },
1180
- "isOptional": true,
1181
- "defaultValue": "() => {\n return <ComponentCompareChangelog />;\n }"
1182
- },
1183
- {
1184
- "__schema": "FunctionLikeSchema",
1185
- "location": {
1186
- "filePath": "component-compare.ui.runtime.tsx",
1187
- "line": 57,
1188
- "character": 3
1189
- },
1190
- "signature": "(method) ComponentCompareUI.registerNavigation(nav: TabItem | Array<TabItem>): this",
1191
- "name": "registerNavigation",
1192
- "params": [
1193
- {
1194
- "__schema": "ParameterSchema",
1186
+ "signature": "(property) ComponentCompareUI.getChangelogComparePage: () => React.JSX.Element",
1187
+ "name": "getChangelogComparePage",
1188
+ "type": {
1189
+ "__schema": "InferenceTypeSchema",
1195
1190
  "location": {
1196
1191
  "filePath": "component-compare.ui.runtime.tsx",
1197
- "line": 57,
1198
- "character": 22
1192
+ "line": 53,
1193
+ "character": 3
1199
1194
  },
1200
- "name": "nav",
1201
- "type": {
1202
- "__schema": "TypeUnionSchema",
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",
1203
1212
  "location": {
1204
1213
  "filePath": "component-compare.ui.runtime.tsx",
1205
1214
  "line": 57,
1206
- "character": 27
1215
+ "character": 22
1207
1216
  },
1208
- "types": [
1209
- {
1210
- "__schema": "TypeRefSchema",
1211
- "location": {
1212
- "filePath": "component-compare.ui.runtime.tsx",
1213
- "line": 57,
1214
- "character": 27
1215
- },
1216
- "name": "TabItem",
1217
- "componentId": {
1218
- "scope": "teambit.component",
1219
- "name": "ui/component-compare/models/component-compare-props",
1220
- "version": "0.0.105"
1221
- }
1217
+ "name": "nav",
1218
+ "type": {
1219
+ "__schema": "TypeUnionSchema",
1220
+ "location": {
1221
+ "filePath": "component-compare.ui.runtime.tsx",
1222
+ "line": 57,
1223
+ "character": 27
1222
1224
  },
1223
- {
1224
- "__schema": "TypeRefSchema",
1225
- "location": {
1226
- "filePath": "component-compare.ui.runtime.tsx",
1227
- "line": 57,
1228
- "character": 37
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
+ }
1229
1239
  },
1230
- "name": "Array",
1231
- "typeArgs": [
1232
- {
1233
- "__schema": "TypeRefSchema",
1234
- "location": {
1235
- "filePath": "component-compare.ui.runtime.tsx",
1236
- "line": 57,
1237
- "character": 43
1238
- },
1239
- "name": "TabItem",
1240
- "componentId": {
1241
- "scope": "teambit.component",
1242
- "name": "ui/component-compare/models/component-compare-props",
1243
- "version": "0.0.105"
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
+ }
1244
1262
  }
1245
- }
1246
- ]
1247
- }
1248
- ]
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
1249
1277
  },
1250
- "isOptional": false,
1251
- "isSpread": false
1252
- }
1253
- ],
1254
- "returnType": {
1255
- "__schema": "TypeRefSchema",
1278
+ "name": "ComponentCompareUI"
1279
+ },
1280
+ "modifiers": []
1281
+ },
1282
+ {
1283
+ "__schema": "FunctionLikeSchema",
1256
1284
  "location": {
1257
1285
  "filePath": "component-compare.ui.runtime.tsx",
1258
- "line": 57,
1286
+ "line": 66,
1259
1287
  "character": 3
1260
1288
  },
1261
- "name": "ComponentCompareUI"
1262
- },
1263
- "modifiers": []
1264
- },
1265
- {
1266
- "__schema": "FunctionLikeSchema",
1267
- "location": {
1268
- "filePath": "component-compare.ui.runtime.tsx",
1269
- "line": 66,
1270
- "character": 3
1271
- },
1272
- "signature": "(method) ComponentCompareUI.registerRoutes(routes: RouteProps[]): this",
1273
- "name": "registerRoutes",
1274
- "params": [
1275
- {
1276
- "__schema": "ParameterSchema",
1277
- "location": {
1278
- "filePath": "component-compare.ui.runtime.tsx",
1279
- "line": 66,
1280
- "character": 18
1281
- },
1282
- "name": "routes",
1283
- "type": {
1284
- "__schema": "TypeArraySchema",
1289
+ "signature": "(method) ComponentCompareUI.registerRoutes(routes: RouteProps[]): this",
1290
+ "name": "registerRoutes",
1291
+ "params": [
1292
+ {
1293
+ "__schema": "ParameterSchema",
1285
1294
  "location": {
1286
1295
  "filePath": "component-compare.ui.runtime.tsx",
1287
1296
  "line": 66,
1288
- "character": 26
1297
+ "character": 18
1289
1298
  },
1299
+ "name": "routes",
1290
1300
  "type": {
1291
- "__schema": "TypeRefSchema",
1301
+ "__schema": "TypeArraySchema",
1292
1302
  "location": {
1293
1303
  "filePath": "component-compare.ui.runtime.tsx",
1294
1304
  "line": 66,
1295
1305
  "character": 26
1296
1306
  },
1297
- "name": "RouteProps",
1298
- "packageName": "react-router-dom"
1299
- }
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
1300
1328
  },
1301
- "isOptional": false,
1302
- "isSpread": false
1303
- }
1304
- ],
1305
- "returnType": {
1306
- "__schema": "TypeRefSchema",
1307
- "location": {
1308
- "filePath": "component-compare.ui.runtime.tsx",
1309
- "line": 66,
1310
- "character": 3
1329
+ "name": "ComponentCompareUI"
1311
1330
  },
1312
- "name": "ComponentCompareUI"
1313
- },
1314
- "modifiers": []
1315
- },
1316
- {
1317
- "__schema": "GetAccessorSchema",
1318
- "location": {
1319
- "filePath": "component-compare.ui.runtime.tsx",
1320
- "line": 71,
1321
- "character": 3
1331
+ "modifiers": []
1322
1332
  },
1323
- "signature": "(getter) ComponentCompareUI.routes: Map<string, RouteProps | RouteProps[]>",
1324
- "name": "routes",
1325
- "type": {
1326
- "__schema": "InferenceTypeSchema",
1333
+ {
1334
+ "__schema": "GetAccessorSchema",
1327
1335
  "location": {
1328
1336
  "filePath": "component-compare.ui.runtime.tsx",
1329
1337
  "line": 71,
1330
1338
  "character": 3
1331
1339
  },
1332
- "type": "Map<string, RouteProps | RouteProps[]>"
1333
- }
1334
- },
1335
- {
1336
- "__schema": "GetAccessorSchema",
1337
- "location": {
1338
- "filePath": "component-compare.ui.runtime.tsx",
1339
- "line": 75,
1340
- "character": 3
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
+ }
1341
1351
  },
1342
- "signature": "(getter) ComponentCompareUI.navLinks: Map<string, ComponentCompareNav>",
1343
- "name": "navLinks",
1344
- "type": {
1345
- "__schema": "InferenceTypeSchema",
1352
+ {
1353
+ "__schema": "GetAccessorSchema",
1346
1354
  "location": {
1347
1355
  "filePath": "component-compare.ui.runtime.tsx",
1348
1356
  "line": 75,
1349
1357
  "character": 3
1350
1358
  },
1351
- "type": "Map<string, ComponentCompareNav>"
1352
- }
1353
- },
1354
- {
1355
- "__schema": "GetAccessorSchema",
1356
- "location": {
1357
- "filePath": "component-compare.ui.runtime.tsx",
1358
- "line": 79,
1359
- "character": 3
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
+ }
1360
1370
  },
1361
- "signature": "(getter) ComponentCompareUI.tabs: {\n id: string;\n element: React.ReactNode;\n order?: number | undefined;\n displayName?: string | undefined;\n props?: ({\n replace?: boolean | undefined;\n external?: boolean | undefined;\n } & React.AnchorHTMLAttributes<...> & {\n ...;\n } & {\n ...;\n }) | undefined;\n widget?: boolean | undefined;\n changeType?: ChangeType | undefined;\n}[]",
1362
- "name": "tabs",
1363
- "type": {
1364
- "__schema": "InferenceTypeSchema",
1371
+ {
1372
+ "__schema": "GetAccessorSchema",
1365
1373
  "location": {
1366
1374
  "filePath": "component-compare.ui.runtime.tsx",
1367
1375
  "line": 79,
1368
1376
  "character": 3
1369
1377
  },
1370
- "type": "{\n id: string;\n element: React.ReactNode;\n order?: number | undefined;\n displayName?: string | undefined;\n props?: ({\n replace?: boolean | undefined;\n external?: boolean | undefined;\n } & React.AnchorHTMLAttributes<...> & {\n ...;\n } & {\n ...;\n }) | undefined;\n widget?: boolean | undefined;\n changeType?: ChangeType | undefined;\n}[]"
1371
- }
1372
- },
1373
- {
1374
- "__schema": "FunctionLikeSchema",
1375
- "location": {
1376
- "filePath": "component-compare.ui.runtime.tsx",
1377
- "line": 101,
1378
- "character": 3
1379
- },
1380
- "signature": "(method) ComponentCompareUI.provider([componentUi]: [ComponentUI], _: any, [navSlot, routeSlot]: [ComponentCompareNavSlot, RouteSlot], harmony: Harmony): Promise<ComponentCompareUI>",
1381
- "name": "provider",
1382
- "params": [
1383
- {
1384
- "__schema": "ParameterSchema",
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",
1385
1382
  "location": {
1386
1383
  "filePath": "component-compare.ui.runtime.tsx",
1387
- "line": 102,
1388
- "character": 5
1384
+ "line": 79,
1385
+ "character": 3
1389
1386
  },
1390
- "name": "[ componentUi ]",
1391
- "type": {
1392
- "__schema": "TupleTypeSchema",
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",
1393
1402
  "location": {
1394
1403
  "filePath": "component-compare.ui.runtime.tsx",
1395
1404
  "line": 102,
1396
- "character": 20
1405
+ "character": 5
1397
1406
  },
1398
- "elements": [
1399
- {
1400
- "__schema": "TypeRefSchema",
1401
- "location": {
1402
- "filePath": "component-compare.ui.runtime.tsx",
1403
- "line": 102,
1404
- "character": 21
1405
- },
1406
- "name": "ComponentUI",
1407
- "componentId": {
1408
- "scope": "teambit.component",
1409
- "name": "component"
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
+ }
1410
1428
  }
1411
- }
1412
- ]
1413
- },
1414
- "isOptional": false,
1415
- "isSpread": false
1416
- },
1417
- {
1418
- "__schema": "ParameterSchema",
1419
- "location": {
1420
- "filePath": "component-compare.ui.runtime.tsx",
1421
- "line": 103,
1422
- "character": 5
1429
+ ]
1430
+ },
1431
+ "isOptional": false,
1432
+ "isSpread": false
1423
1433
  },
1424
- "name": "_",
1425
- "type": {
1426
- "__schema": "InferenceTypeSchema",
1434
+ {
1435
+ "__schema": "ParameterSchema",
1427
1436
  "location": {
1428
1437
  "filePath": "component-compare.ui.runtime.tsx",
1429
1438
  "line": 103,
1430
1439
  "character": 5
1431
1440
  },
1432
- "type": "any"
1433
- },
1434
- "isOptional": false,
1435
- "isSpread": false
1436
- },
1437
- {
1438
- "__schema": "ParameterSchema",
1439
- "location": {
1440
- "filePath": "component-compare.ui.runtime.tsx",
1441
- "line": 104,
1442
- "character": 5
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
1443
1453
  },
1444
- "name": "[ navSlot, routeSlot ]",
1445
- "type": {
1446
- "__schema": "TupleTypeSchema",
1454
+ {
1455
+ "__schema": "ParameterSchema",
1447
1456
  "location": {
1448
1457
  "filePath": "component-compare.ui.runtime.tsx",
1449
1458
  "line": 104,
1450
- "character": 27
1459
+ "character": 5
1451
1460
  },
1452
- "elements": [
1453
- {
1454
- "__schema": "TypeRefSchema",
1455
- "location": {
1456
- "filePath": "component-compare.ui.runtime.tsx",
1457
- "line": 104,
1458
- "character": 28
1459
- },
1460
- "name": "ComponentCompareNavSlot"
1461
+ "name": "[ navSlot, routeSlot ]",
1462
+ "type": {
1463
+ "__schema": "TupleTypeSchema",
1464
+ "location": {
1465
+ "filePath": "component-compare.ui.runtime.tsx",
1466
+ "line": 104,
1467
+ "character": 27
1461
1468
  },
1462
- {
1463
- "__schema": "TypeRefSchema",
1464
- "location": {
1465
- "filePath": "component-compare.ui.runtime.tsx",
1466
- "line": 104,
1467
- "character": 53
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"
1468
1478
  },
1469
- "name": "RouteSlot",
1470
- "componentId": {
1471
- "scope": "teambit.ui-foundation",
1472
- "name": "ui/react-router/slot-router",
1473
- "version": "0.0.508"
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
+ }
1474
1492
  }
1475
- }
1476
- ]
1477
- },
1478
- "isOptional": false,
1479
- "isSpread": false
1480
- },
1481
- {
1482
- "__schema": "ParameterSchema",
1483
- "location": {
1484
- "filePath": "component-compare.ui.runtime.tsx",
1485
- "line": 105,
1486
- "character": 5
1493
+ ]
1494
+ },
1495
+ "isOptional": false,
1496
+ "isSpread": false
1487
1497
  },
1488
- "name": "harmony",
1489
- "type": {
1490
- "__schema": "TypeRefSchema",
1498
+ {
1499
+ "__schema": "ParameterSchema",
1491
1500
  "location": {
1492
1501
  "filePath": "component-compare.ui.runtime.tsx",
1493
1502
  "line": 105,
1494
- "character": 14
1503
+ "character": 5
1495
1504
  },
1496
- "name": "Harmony",
1497
- "componentId": {
1498
- "scope": "teambit.harmony",
1499
- "name": "harmony",
1500
- "version": "0.4.6"
1501
- }
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
1502
1530
  },
1503
- "isOptional": false,
1504
- "isSpread": false
1505
- }
1506
- ],
1507
- "returnType": {
1508
- "__schema": "InferenceTypeSchema",
1509
- "location": {
1510
- "filePath": "component-compare.ui.runtime.tsx",
1511
- "line": 101,
1512
- "character": 3
1531
+ "type": "Promise<ComponentCompareUI>"
1513
1532
  },
1514
- "type": "Promise<ComponentCompareUI>"
1515
- },
1516
- "modifiers": [
1517
- "static",
1518
- "async"
1519
- ]
1520
- }
1521
- ],
1522
- "extendsNodes": [],
1523
- "implementNodes": []
1533
+ "modifiers": [
1534
+ "static",
1535
+ "async"
1536
+ ]
1537
+ }
1538
+ ],
1539
+ "extendsNodes": [],
1540
+ "implementNodes": []
1541
+ }
1524
1542
  },
1525
1543
  {
1526
- "__schema": "TypeSchema",
1544
+ "__schema": "ExportSchema",
1527
1545
  "location": {
1528
- "filePath": "component-compare.ui.runtime.tsx",
1529
- "line": 18,
1530
- "character": 1
1546
+ "filePath": "index.ts",
1547
+ "line": 4,
1548
+ "character": 35
1531
1549
  },
1532
- "signature": "type ComponentCompareNavSlot = SlotRegistry<ComponentCompareNav>",
1533
1550
  "name": "ComponentCompareNavSlot",
1534
- "type": {
1535
- "__schema": "TypeRefSchema",
1551
+ "exportNode": {
1552
+ "__schema": "TypeSchema",
1536
1553
  "location": {
1537
1554
  "filePath": "component-compare.ui.runtime.tsx",
1538
1555
  "line": 18,
1539
- "character": 39
1540
- },
1541
- "name": "SlotRegistry",
1542
- "componentId": {
1543
- "scope": "teambit.harmony",
1544
- "name": "harmony",
1545
- "version": "0.4.6"
1556
+ "character": 1
1546
1557
  },
1547
- "typeArgs": [
1548
- {
1549
- "__schema": "TypeRefSchema",
1550
- "location": {
1551
- "filePath": "component-compare.ui.runtime.tsx",
1552
- "line": 18,
1553
- "character": 52
1554
- },
1555
- "name": "ComponentCompareNav",
1556
- "internalFilePath": "component-compare.ui.runtime.tsx"
1557
- }
1558
- ]
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
+ }
1559
1586
  }
1560
1587
  },
1561
1588
  {
1562
- "__schema": "VariableLikeSchema",
1589
+ "__schema": "ExportSchema",
1563
1590
  "location": {
1564
- "filePath": "component-compare.aspect.ts",
1565
- "line": 3,
1566
- "character": 14
1591
+ "filePath": "index.ts",
1592
+ "line": 5,
1593
+ "character": 10
1567
1594
  },
1568
- "signature": "const ComponentCompareAspect: Aspect",
1569
1595
  "name": "ComponentCompareAspect",
1570
- "type": {
1571
- "__schema": "TypeRefSchema",
1596
+ "exportNode": {
1597
+ "__schema": "VariableLikeSchema",
1572
1598
  "location": {
1573
1599
  "filePath": "component-compare.aspect.ts",
1574
1600
  "line": 3,
1575
1601
  "character": 14
1576
1602
  },
1577
- "name": "Aspect",
1578
- "componentId": {
1579
- "scope": "teambit.harmony",
1580
- "name": "harmony",
1581
- "version": "0.4.6"
1582
- }
1583
- },
1584
- "isOptional": false,
1585
- "defaultValue": "Aspect.create({\n id: 'teambit.component/component-compare',\n})"
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})"
1621
+ }
1586
1622
  },
1587
1623
  {
1588
1624
  "__schema": "UnImplementedSchema",
@@ -3669,7 +3705,7 @@
3669
3705
  "componentId": {
3670
3706
  "scope": "teambit.component",
3671
3707
  "name": "component-compare",
3672
- "version": "1.0.257"
3708
+ "version": "1.0.259"
3673
3709
  },
3674
3710
  "taggedModuleExports": []
3675
3711
  }