@teambit/variants 0.0.1102 → 0.0.1103

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