@teambit/variants 0.0.1101 → 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.
package/artifacts/schema.json
CHANGED
|
@@ -14,649 +14,676 @@
|
|
|
14
14
|
},
|
|
15
15
|
"exports": [
|
|
16
16
|
{
|
|
17
|
-
"__schema": "
|
|
17
|
+
"__schema": "ExportSchema",
|
|
18
18
|
"location": {
|
|
19
|
-
"filePath": "
|
|
20
|
-
"line":
|
|
21
|
-
"character":
|
|
19
|
+
"filePath": "index.ts",
|
|
20
|
+
"line": 1,
|
|
21
|
+
"character": 15
|
|
22
22
|
},
|
|
23
|
-
"signature": "class VariantsMain",
|
|
24
23
|
"name": "VariantsMain",
|
|
25
|
-
"
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"__schema": "
|
|
24
|
+
"exportNode": {
|
|
25
|
+
"__schema": "ClassSchema",
|
|
26
|
+
"location": {
|
|
27
|
+
"filePath": "variants.main.runtime.ts",
|
|
28
|
+
"line": 29,
|
|
29
|
+
"character": 1
|
|
30
|
+
},
|
|
31
|
+
"signature": "class VariantsMain",
|
|
32
|
+
"name": "VariantsMain",
|
|
33
|
+
"members": [
|
|
34
|
+
{
|
|
35
|
+
"__schema": "VariableLikeSchema",
|
|
37
36
|
"location": {
|
|
38
37
|
"filePath": "variants.main.runtime.ts",
|
|
39
38
|
"line": 30,
|
|
40
39
|
"character": 3
|
|
41
40
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
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"
|
|
53
54
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"type": {
|
|
57
|
-
"__schema": "InferenceTypeSchema",
|
|
55
|
+
{
|
|
56
|
+
"__schema": "VariableLikeSchema",
|
|
58
57
|
"location": {
|
|
59
58
|
"filePath": "variants.main.runtime.ts",
|
|
60
59
|
"line": 31,
|
|
61
60
|
"character": 3
|
|
62
61
|
},
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"__schema": "ConstructorSchema",
|
|
70
|
-
"location": {
|
|
71
|
-
"filePath": "variants.main.runtime.ts",
|
|
72
|
-
"line": 33,
|
|
73
|
-
"character": 3
|
|
74
|
-
},
|
|
75
|
-
"signature": "constructor VariantsMain(patterns: Patterns, configAspect: ConfigMain): VariantsMain",
|
|
76
|
-
"name": "constructor",
|
|
77
|
-
"params": [
|
|
78
|
-
{
|
|
79
|
-
"__schema": "ParameterSchema",
|
|
62
|
+
"signature": "(property) VariantsMain.dependencies: Aspect[]",
|
|
63
|
+
"name": "dependencies",
|
|
64
|
+
"type": {
|
|
65
|
+
"__schema": "InferenceTypeSchema",
|
|
80
66
|
"location": {
|
|
81
67
|
"filePath": "variants.main.runtime.ts",
|
|
82
|
-
"line":
|
|
83
|
-
"character":
|
|
68
|
+
"line": 31,
|
|
69
|
+
"character": 3
|
|
84
70
|
},
|
|
85
|
-
"
|
|
86
|
-
|
|
87
|
-
|
|
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
88
|
"location": {
|
|
89
89
|
"filePath": "variants.main.runtime.ts",
|
|
90
90
|
"line": 33,
|
|
91
|
-
"character":
|
|
91
|
+
"character": 15
|
|
92
92
|
},
|
|
93
|
-
"name": "
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
"
|
|
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
|
|
104
105
|
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"__schema": "TypeRefSchema",
|
|
106
|
+
{
|
|
107
|
+
"__schema": "ParameterSchema",
|
|
108
108
|
"location": {
|
|
109
109
|
"filePath": "variants.main.runtime.ts",
|
|
110
110
|
"line": 33,
|
|
111
|
-
"character":
|
|
111
|
+
"character": 43
|
|
112
112
|
},
|
|
113
|
-
"name": "
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
|
|
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
|
|
118
137
|
},
|
|
119
|
-
"
|
|
120
|
-
"isSpread": false
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
"returnType": {
|
|
124
|
-
"__schema": "ThisTypeSchema",
|
|
125
|
-
"location": {
|
|
126
|
-
"filePath": "variants.main.runtime.ts",
|
|
127
|
-
"line": 29,
|
|
128
|
-
"character": 1
|
|
138
|
+
"name": "VariantsMain"
|
|
129
139
|
},
|
|
130
|
-
"
|
|
131
|
-
},
|
|
132
|
-
"modifiers": []
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
"__schema": "FunctionLikeSchema",
|
|
136
|
-
"location": {
|
|
137
|
-
"filePath": "variants.main.runtime.ts",
|
|
138
|
-
"line": 45,
|
|
139
|
-
"character": 3
|
|
140
|
+
"modifiers": []
|
|
140
141
|
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"params": [],
|
|
144
|
-
"returnType": {
|
|
145
|
-
"__schema": "TypeRefSchema",
|
|
142
|
+
{
|
|
143
|
+
"__schema": "FunctionLikeSchema",
|
|
146
144
|
"location": {
|
|
147
145
|
"filePath": "variants.main.runtime.ts",
|
|
148
146
|
"line": 45,
|
|
149
147
|
"character": 3
|
|
150
148
|
},
|
|
151
|
-
"
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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": []
|
|
161
162
|
},
|
|
162
|
-
|
|
163
|
-
"__schema": "
|
|
163
|
+
{
|
|
164
|
+
"__schema": "FunctionLikeSchema",
|
|
164
165
|
"location": {
|
|
165
166
|
"filePath": "variants.main.runtime.ts",
|
|
166
|
-
"line":
|
|
167
|
+
"line": 53,
|
|
167
168
|
"character": 3
|
|
168
169
|
},
|
|
169
|
-
"
|
|
170
|
-
|
|
171
|
-
"tags": [
|
|
172
|
-
{
|
|
173
|
-
"__schema": "PropertyLikeTagSchema",
|
|
174
|
-
"location": {
|
|
175
|
-
"filePath": "variants.main.runtime.ts",
|
|
176
|
-
"line": 51,
|
|
177
|
-
"character": 6
|
|
178
|
-
},
|
|
179
|
-
"name": "rootDir",
|
|
180
|
-
"tagName": "parameter"
|
|
181
|
-
}
|
|
182
|
-
]
|
|
183
|
-
},
|
|
184
|
-
"signature": "(method) VariantsMain.byRootDirAndName(rootDir: PathLinuxRelative, componentName: string): VariantsComponentConfig | undefined",
|
|
185
|
-
"name": "byRootDirAndName",
|
|
186
|
-
"params": [
|
|
187
|
-
{
|
|
188
|
-
"__schema": "ParameterSchema",
|
|
189
|
-
"location": {
|
|
190
|
-
"filePath": "variants.main.runtime.ts",
|
|
191
|
-
"line": 53,
|
|
192
|
-
"character": 20
|
|
193
|
-
},
|
|
194
|
-
"name": "rootDir",
|
|
195
|
-
"type": {
|
|
196
|
-
"__schema": "TypeRefSchema",
|
|
197
|
-
"location": {
|
|
198
|
-
"filePath": "variants.main.runtime.ts",
|
|
199
|
-
"line": 53,
|
|
200
|
-
"character": 29
|
|
201
|
-
},
|
|
202
|
-
"name": "PathLinuxRelative",
|
|
203
|
-
"packageName": "@teambit/legacy/dist/utils/path"
|
|
204
|
-
},
|
|
205
|
-
"isOptional": false,
|
|
206
|
-
"isSpread": false
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"__schema": "ParameterSchema",
|
|
170
|
+
"doc": {
|
|
171
|
+
"__schema": "DocSchema",
|
|
210
172
|
"location": {
|
|
211
173
|
"filePath": "variants.main.runtime.ts",
|
|
212
|
-
"line":
|
|
213
|
-
"character":
|
|
214
|
-
},
|
|
215
|
-
"name": "componentName",
|
|
216
|
-
"type": {
|
|
217
|
-
"__schema": "KeywordTypeSchema",
|
|
218
|
-
"location": {
|
|
219
|
-
"filePath": "variants.main.runtime.ts",
|
|
220
|
-
"line": 53,
|
|
221
|
-
"character": 63
|
|
222
|
-
},
|
|
223
|
-
"name": "string"
|
|
174
|
+
"line": 49,
|
|
175
|
+
"character": 3
|
|
224
176
|
},
|
|
225
|
-
"
|
|
226
|
-
"
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
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
|
+
]
|
|
235
191
|
},
|
|
236
|
-
"
|
|
192
|
+
"signature": "(method) VariantsMain.byRootDirAndName(rootDir: PathLinuxRelative, componentName: string): VariantsComponentConfig | undefined",
|
|
193
|
+
"name": "byRootDirAndName",
|
|
194
|
+
"params": [
|
|
237
195
|
{
|
|
238
|
-
"__schema": "
|
|
196
|
+
"__schema": "ParameterSchema",
|
|
239
197
|
"location": {
|
|
240
198
|
"filePath": "variants.main.runtime.ts",
|
|
241
199
|
"line": 53,
|
|
242
|
-
"character":
|
|
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"
|
|
243
212
|
},
|
|
244
|
-
"
|
|
245
|
-
"
|
|
213
|
+
"isOptional": false,
|
|
214
|
+
"isSpread": false
|
|
246
215
|
},
|
|
247
216
|
{
|
|
248
|
-
"__schema": "
|
|
217
|
+
"__schema": "ParameterSchema",
|
|
249
218
|
"location": {
|
|
250
219
|
"filePath": "variants.main.runtime.ts",
|
|
251
220
|
"line": 53,
|
|
252
|
-
"character":
|
|
221
|
+
"character": 48
|
|
253
222
|
},
|
|
254
|
-
"name": "
|
|
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
|
|
255
235
|
}
|
|
256
|
-
]
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
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": []
|
|
266
267
|
},
|
|
267
|
-
|
|
268
|
-
"__schema": "
|
|
268
|
+
{
|
|
269
|
+
"__schema": "FunctionLikeSchema",
|
|
269
270
|
"location": {
|
|
270
271
|
"filePath": "variants.main.runtime.ts",
|
|
271
|
-
"line":
|
|
272
|
+
"line": 101,
|
|
272
273
|
"character": 3
|
|
273
274
|
},
|
|
274
|
-
"
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
"
|
|
279
|
-
"
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"comment": "- The variant pattern.",
|
|
287
|
-
"type": {
|
|
288
|
-
"__schema": "KeywordTypeSchema",
|
|
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",
|
|
289
287
|
"location": {
|
|
290
288
|
"filePath": "variants.main.runtime.ts",
|
|
291
289
|
"line": 96,
|
|
292
|
-
"character":
|
|
290
|
+
"character": 6
|
|
293
291
|
},
|
|
294
|
-
"name": "
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
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
|
+
}
|
|
303
304
|
},
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
"comment": "- The extension ID.",
|
|
307
|
-
"type": {
|
|
308
|
-
"__schema": "KeywordTypeSchema",
|
|
305
|
+
{
|
|
306
|
+
"__schema": "PropertyLikeTagSchema",
|
|
309
307
|
"location": {
|
|
310
308
|
"filePath": "variants.main.runtime.ts",
|
|
311
309
|
"line": 97,
|
|
312
|
-
"character":
|
|
310
|
+
"character": 6
|
|
313
311
|
},
|
|
314
|
-
"name": "
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
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
|
+
}
|
|
323
324
|
},
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
"comment": "- The extension configuration.",
|
|
327
|
-
"type": {
|
|
328
|
-
"__schema": "TypeRefSchema",
|
|
325
|
+
{
|
|
326
|
+
"__schema": "PropertyLikeTagSchema",
|
|
329
327
|
"location": {
|
|
330
328
|
"filePath": "variants.main.runtime.ts",
|
|
331
329
|
"line": 98,
|
|
332
|
-
"character":
|
|
330
|
+
"character": 6
|
|
333
331
|
},
|
|
334
|
-
"name": "
|
|
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
|
+
}
|
|
335
364
|
}
|
|
336
|
-
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
"signature": "(method) VariantsMain.setExtension(variant: string, extensionId: string, extensionConfig: any, opts?: {\n overrideExisting?: boolean;\n}): void",
|
|
368
|
+
"name": "setExtension",
|
|
369
|
+
"params": [
|
|
337
370
|
{
|
|
338
|
-
"__schema": "
|
|
371
|
+
"__schema": "ParameterSchema",
|
|
339
372
|
"location": {
|
|
340
373
|
"filePath": "variants.main.runtime.ts",
|
|
341
|
-
"line":
|
|
342
|
-
"character":
|
|
374
|
+
"line": 101,
|
|
375
|
+
"character": 16
|
|
343
376
|
},
|
|
344
|
-
"name": "
|
|
345
|
-
"tagName": "parameter",
|
|
346
|
-
"comment": "- When true, any existing entries are overriden.",
|
|
377
|
+
"name": "variant",
|
|
347
378
|
"type": {
|
|
348
379
|
"__schema": "KeywordTypeSchema",
|
|
349
380
|
"location": {
|
|
350
381
|
"filePath": "variants.main.runtime.ts",
|
|
351
|
-
"line":
|
|
352
|
-
"character":
|
|
382
|
+
"line": 101,
|
|
383
|
+
"character": 25
|
|
353
384
|
},
|
|
354
|
-
"name": "
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
]
|
|
358
|
-
},
|
|
359
|
-
"signature": "(method) VariantsMain.setExtension(variant: string, extensionId: string, extensionConfig: any, opts?: {\n overrideExisting?: boolean;\n}): void",
|
|
360
|
-
"name": "setExtension",
|
|
361
|
-
"params": [
|
|
362
|
-
{
|
|
363
|
-
"__schema": "ParameterSchema",
|
|
364
|
-
"location": {
|
|
365
|
-
"filePath": "variants.main.runtime.ts",
|
|
366
|
-
"line": 101,
|
|
367
|
-
"character": 16
|
|
368
|
-
},
|
|
369
|
-
"name": "variant",
|
|
370
|
-
"type": {
|
|
371
|
-
"__schema": "KeywordTypeSchema",
|
|
372
|
-
"location": {
|
|
373
|
-
"filePath": "variants.main.runtime.ts",
|
|
374
|
-
"line": 101,
|
|
375
|
-
"character": 25
|
|
385
|
+
"name": "string"
|
|
376
386
|
},
|
|
377
|
-
"
|
|
378
|
-
|
|
379
|
-
"isOptional": false,
|
|
380
|
-
"isSpread": false
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
"__schema": "ParameterSchema",
|
|
384
|
-
"location": {
|
|
385
|
-
"filePath": "variants.main.runtime.ts",
|
|
386
|
-
"line": 101,
|
|
387
|
-
"character": 33
|
|
387
|
+
"isOptional": false,
|
|
388
|
+
"isSpread": false
|
|
388
389
|
},
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
"__schema": "KeywordTypeSchema",
|
|
390
|
+
{
|
|
391
|
+
"__schema": "ParameterSchema",
|
|
392
392
|
"location": {
|
|
393
393
|
"filePath": "variants.main.runtime.ts",
|
|
394
394
|
"line": 101,
|
|
395
|
-
"character":
|
|
395
|
+
"character": 33
|
|
396
396
|
},
|
|
397
|
-
"name": "
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
"
|
|
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
|
|
408
409
|
},
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
"__schema": "KeywordTypeSchema",
|
|
410
|
+
{
|
|
411
|
+
"__schema": "ParameterSchema",
|
|
412
412
|
"location": {
|
|
413
413
|
"filePath": "variants.main.runtime.ts",
|
|
414
414
|
"line": 101,
|
|
415
|
-
"character":
|
|
415
|
+
"character": 54
|
|
416
416
|
},
|
|
417
|
-
"name": "
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"
|
|
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
|
|
428
429
|
},
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
"__schema": "TypeLiteralSchema",
|
|
430
|
+
{
|
|
431
|
+
"__schema": "ParameterSchema",
|
|
432
432
|
"location": {
|
|
433
433
|
"filePath": "variants.main.runtime.ts",
|
|
434
434
|
"line": 101,
|
|
435
|
-
"character":
|
|
435
|
+
"character": 76
|
|
436
436
|
},
|
|
437
|
-
"
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
"__schema": "KeywordTypeSchema",
|
|
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",
|
|
449
448
|
"location": {
|
|
450
449
|
"filePath": "variants.main.runtime.ts",
|
|
451
450
|
"line": 101,
|
|
452
|
-
"character":
|
|
451
|
+
"character": 85
|
|
453
452
|
},
|
|
454
|
-
"
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
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
|
|
459
478
|
},
|
|
460
|
-
"
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
"__schema": "
|
|
479
|
+
"type": "void"
|
|
480
|
+
},
|
|
481
|
+
"modifiers": []
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"__schema": "FunctionLikeSchema",
|
|
466
485
|
"location": {
|
|
467
486
|
"filePath": "variants.main.runtime.ts",
|
|
468
|
-
"line":
|
|
487
|
+
"line": 111,
|
|
469
488
|
"character": 3
|
|
470
489
|
},
|
|
471
|
-
"
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
"__schema": "FunctionLikeSchema",
|
|
477
|
-
"location": {
|
|
478
|
-
"filePath": "variants.main.runtime.ts",
|
|
479
|
-
"line": 111,
|
|
480
|
-
"character": 3
|
|
481
|
-
},
|
|
482
|
-
"signature": "(method) VariantsMain.provider([configAspect]: [ConfigMain], config: any): Promise<VariantsMain>",
|
|
483
|
-
"name": "provider",
|
|
484
|
-
"params": [
|
|
485
|
-
{
|
|
486
|
-
"__schema": "ParameterSchema",
|
|
487
|
-
"location": {
|
|
488
|
-
"filePath": "variants.main.runtime.ts",
|
|
489
|
-
"line": 111,
|
|
490
|
-
"character": 25
|
|
491
|
-
},
|
|
492
|
-
"name": "[ configAspect ]",
|
|
493
|
-
"type": {
|
|
494
|
-
"__schema": "TupleTypeSchema",
|
|
490
|
+
"signature": "(method) VariantsMain.provider([configAspect]: [ConfigMain], config: any): Promise<VariantsMain>",
|
|
491
|
+
"name": "provider",
|
|
492
|
+
"params": [
|
|
493
|
+
{
|
|
494
|
+
"__schema": "ParameterSchema",
|
|
495
495
|
"location": {
|
|
496
496
|
"filePath": "variants.main.runtime.ts",
|
|
497
497
|
"line": 111,
|
|
498
|
-
"character":
|
|
498
|
+
"character": 25
|
|
499
499
|
},
|
|
500
|
-
"
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
"
|
|
511
|
-
"
|
|
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
|
+
}
|
|
512
521
|
}
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
"isSpread": false
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"__schema": "ParameterSchema",
|
|
521
|
-
"location": {
|
|
522
|
-
"filePath": "variants.main.runtime.ts",
|
|
523
|
-
"line": 111,
|
|
524
|
-
"character": 55
|
|
522
|
+
]
|
|
523
|
+
},
|
|
524
|
+
"isOptional": false,
|
|
525
|
+
"isSpread": false
|
|
525
526
|
},
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
"__schema": "InferenceTypeSchema",
|
|
527
|
+
{
|
|
528
|
+
"__schema": "ParameterSchema",
|
|
529
529
|
"location": {
|
|
530
530
|
"filePath": "variants.main.runtime.ts",
|
|
531
531
|
"line": 111,
|
|
532
532
|
"character": 55
|
|
533
533
|
},
|
|
534
|
-
"
|
|
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
|
|
535
554
|
},
|
|
536
|
-
"
|
|
537
|
-
"isSpread": false
|
|
538
|
-
}
|
|
539
|
-
],
|
|
540
|
-
"returnType": {
|
|
541
|
-
"__schema": "InferenceTypeSchema",
|
|
542
|
-
"location": {
|
|
543
|
-
"filePath": "variants.main.runtime.ts",
|
|
544
|
-
"line": 111,
|
|
545
|
-
"character": 3
|
|
555
|
+
"type": "Promise<VariantsMain>"
|
|
546
556
|
},
|
|
547
|
-
"
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
"implementNodes": []
|
|
557
|
+
"modifiers": [
|
|
558
|
+
"static",
|
|
559
|
+
"async"
|
|
560
|
+
]
|
|
561
|
+
}
|
|
562
|
+
],
|
|
563
|
+
"extendsNodes": [],
|
|
564
|
+
"implementNodes": []
|
|
565
|
+
}
|
|
557
566
|
},
|
|
558
567
|
{
|
|
559
|
-
"__schema": "
|
|
568
|
+
"__schema": "ExportSchema",
|
|
560
569
|
"location": {
|
|
561
|
-
"filePath": "
|
|
562
|
-
"line":
|
|
563
|
-
"character":
|
|
570
|
+
"filePath": "index.ts",
|
|
571
|
+
"line": 1,
|
|
572
|
+
"character": 29
|
|
564
573
|
},
|
|
565
|
-
"signature": "type Patterns = {\n [pattern: string]: Record<string, any>;\n}",
|
|
566
574
|
"name": "Patterns",
|
|
567
|
-
"
|
|
568
|
-
"__schema": "
|
|
575
|
+
"exportNode": {
|
|
576
|
+
"__schema": "TypeSchema",
|
|
569
577
|
"location": {
|
|
570
578
|
"filePath": "variants.main.runtime.ts",
|
|
571
579
|
"line": 16,
|
|
572
|
-
"character":
|
|
580
|
+
"character": 1
|
|
573
581
|
},
|
|
574
|
-
"
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
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",
|
|
584
594
|
"location": {
|
|
585
595
|
"filePath": "variants.main.runtime.ts",
|
|
586
596
|
"line": 16,
|
|
587
|
-
"character":
|
|
597
|
+
"character": 26
|
|
588
598
|
},
|
|
589
|
-
"
|
|
590
|
-
|
|
591
|
-
"__schema": "KeywordTypeSchema",
|
|
599
|
+
"keyType": {
|
|
600
|
+
"__schema": "ParameterSchema",
|
|
592
601
|
"location": {
|
|
593
602
|
"filePath": "variants.main.runtime.ts",
|
|
594
603
|
"line": 16,
|
|
595
|
-
"character":
|
|
604
|
+
"character": 27
|
|
596
605
|
},
|
|
597
|
-
"name": "
|
|
598
|
-
|
|
599
|
-
"isOptional": false,
|
|
600
|
-
"isSpread": false
|
|
601
|
-
},
|
|
602
|
-
"valueType": {
|
|
603
|
-
"__schema": "TypeRefSchema",
|
|
604
|
-
"location": {
|
|
605
|
-
"filePath": "variants.main.runtime.ts",
|
|
606
|
-
"line": 16,
|
|
607
|
-
"character": 45
|
|
608
|
-
},
|
|
609
|
-
"name": "Record",
|
|
610
|
-
"typeArgs": [
|
|
611
|
-
{
|
|
606
|
+
"name": "pattern",
|
|
607
|
+
"type": {
|
|
612
608
|
"__schema": "KeywordTypeSchema",
|
|
613
609
|
"location": {
|
|
614
610
|
"filePath": "variants.main.runtime.ts",
|
|
615
611
|
"line": 16,
|
|
616
|
-
"character":
|
|
612
|
+
"character": 36
|
|
617
613
|
},
|
|
618
614
|
"name": "string"
|
|
619
615
|
},
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
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"
|
|
626
636
|
},
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
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
|
+
}
|
|
630
648
|
}
|
|
631
|
-
|
|
632
|
-
|
|
649
|
+
]
|
|
650
|
+
}
|
|
633
651
|
}
|
|
634
652
|
},
|
|
635
653
|
{
|
|
636
|
-
"__schema": "
|
|
654
|
+
"__schema": "ExportSchema",
|
|
637
655
|
"location": {
|
|
638
|
-
"filePath": "
|
|
639
|
-
"line":
|
|
640
|
-
"character":
|
|
656
|
+
"filePath": "index.ts",
|
|
657
|
+
"line": 2,
|
|
658
|
+
"character": 10
|
|
641
659
|
},
|
|
642
|
-
"signature": "const VariantsAspect: Aspect",
|
|
643
660
|
"name": "VariantsAspect",
|
|
644
|
-
"
|
|
645
|
-
"__schema": "
|
|
661
|
+
"exportNode": {
|
|
662
|
+
"__schema": "VariableLikeSchema",
|
|
646
663
|
"location": {
|
|
647
664
|
"filePath": "variants.aspect.ts",
|
|
648
665
|
"line": 3,
|
|
649
666
|
"character": 14
|
|
650
667
|
},
|
|
651
|
-
"
|
|
652
|
-
"
|
|
653
|
-
|
|
654
|
-
"
|
|
655
|
-
"
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
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})"
|
|
686
|
+
}
|
|
660
687
|
}
|
|
661
688
|
],
|
|
662
689
|
"internals": []
|
|
@@ -1601,7 +1628,7 @@
|
|
|
1601
1628
|
"componentId": {
|
|
1602
1629
|
"scope": "teambit.workspace",
|
|
1603
1630
|
"name": "variants",
|
|
1604
|
-
"version": "0.0.
|
|
1631
|
+
"version": "0.0.1103"
|
|
1605
1632
|
},
|
|
1606
1633
|
"taggedModuleExports": []
|
|
1607
1634
|
}
|