@teambit/dev-files 1.0.257 → 1.0.259
Sign up to get free protection for your applications and to get access to all the features.
package/artifacts/schema.json
CHANGED
@@ -14,878 +14,896 @@
|
|
14
14
|
},
|
15
15
|
"exports": [
|
16
16
|
{
|
17
|
-
"__schema": "
|
17
|
+
"__schema": "ExportSchema",
|
18
18
|
"location": {
|
19
|
-
"filePath": "
|
19
|
+
"filePath": "index.ts",
|
20
20
|
"line": 3,
|
21
|
-
"character":
|
21
|
+
"character": 10
|
22
22
|
},
|
23
|
-
"signature": "const DevFilesAspect: Aspect",
|
24
23
|
"name": "DevFilesAspect",
|
25
|
-
"
|
26
|
-
"__schema": "
|
24
|
+
"exportNode": {
|
25
|
+
"__schema": "VariableLikeSchema",
|
27
26
|
"location": {
|
28
27
|
"filePath": "dev-files.aspect.ts",
|
29
28
|
"line": 3,
|
30
29
|
"character": 14
|
31
30
|
},
|
32
|
-
"
|
33
|
-
"
|
34
|
-
|
35
|
-
"
|
36
|
-
"
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
31
|
+
"signature": "const DevFilesAspect: Aspect",
|
32
|
+
"name": "DevFilesAspect",
|
33
|
+
"type": {
|
34
|
+
"__schema": "TypeRefSchema",
|
35
|
+
"location": {
|
36
|
+
"filePath": "dev-files.aspect.ts",
|
37
|
+
"line": 3,
|
38
|
+
"character": 14
|
39
|
+
},
|
40
|
+
"name": "Aspect",
|
41
|
+
"componentId": {
|
42
|
+
"scope": "teambit.harmony",
|
43
|
+
"name": "harmony",
|
44
|
+
"version": "0.4.6"
|
45
|
+
}
|
46
|
+
},
|
47
|
+
"isOptional": false,
|
48
|
+
"defaultValue": "Aspect.create({\n id: 'teambit.component/dev-files',\n})"
|
49
|
+
}
|
41
50
|
},
|
42
51
|
{
|
43
|
-
"__schema": "
|
52
|
+
"__schema": "ExportSchema",
|
44
53
|
"location": {
|
45
|
-
"filePath": "
|
46
|
-
"line":
|
47
|
-
"character":
|
54
|
+
"filePath": "index.ts",
|
55
|
+
"line": 4,
|
56
|
+
"character": 15
|
48
57
|
},
|
49
|
-
"signature": "class DevFilesMain",
|
50
58
|
"name": "DevFilesMain",
|
51
|
-
"
|
52
|
-
|
53
|
-
|
54
|
-
"
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
"
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
59
|
+
"exportNode": {
|
60
|
+
"__schema": "ClassSchema",
|
61
|
+
"location": {
|
62
|
+
"filePath": "dev-files.main.runtime.ts",
|
63
|
+
"line": 45,
|
64
|
+
"character": 1
|
65
|
+
},
|
66
|
+
"signature": "class DevFilesMain",
|
67
|
+
"name": "DevFilesMain",
|
68
|
+
"members": [
|
69
|
+
{
|
70
|
+
"__schema": "ConstructorSchema",
|
71
|
+
"location": {
|
72
|
+
"filePath": "dev-files.main.runtime.ts",
|
73
|
+
"line": 46,
|
74
|
+
"character": 3
|
75
|
+
},
|
76
|
+
"signature": "constructor DevFilesMain(envs: EnvsMain, workspace: Workspace, devPatternSlot: DevPatternSlot, config: DevFilesConfig): DevFilesMain",
|
77
|
+
"name": "constructor",
|
78
|
+
"params": [
|
79
|
+
{
|
80
|
+
"__schema": "ParameterSchema",
|
72
81
|
"location": {
|
73
82
|
"filePath": "dev-files.main.runtime.ts",
|
74
83
|
"line": 47,
|
75
|
-
"character":
|
84
|
+
"character": 5
|
76
85
|
},
|
77
|
-
"name": "
|
78
|
-
"
|
79
|
-
"
|
80
|
-
"
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
"
|
86
|
+
"name": "envs",
|
87
|
+
"type": {
|
88
|
+
"__schema": "TypeRefSchema",
|
89
|
+
"location": {
|
90
|
+
"filePath": "dev-files.main.runtime.ts",
|
91
|
+
"line": 47,
|
92
|
+
"character": 19
|
93
|
+
},
|
94
|
+
"name": "EnvsMain",
|
95
|
+
"componentId": {
|
96
|
+
"scope": "teambit.envs",
|
97
|
+
"name": "envs"
|
98
|
+
}
|
99
|
+
},
|
100
|
+
"isOptional": false,
|
101
|
+
"isSpread": false
|
92
102
|
},
|
93
|
-
|
94
|
-
|
95
|
-
"__schema": "TypeRefSchema",
|
103
|
+
{
|
104
|
+
"__schema": "ParameterSchema",
|
96
105
|
"location": {
|
97
106
|
"filePath": "dev-files.main.runtime.ts",
|
98
107
|
"line": 49,
|
99
|
-
"character":
|
108
|
+
"character": 5
|
100
109
|
},
|
101
|
-
"name": "
|
102
|
-
"
|
103
|
-
"
|
104
|
-
"
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
"
|
110
|
+
"name": "workspace",
|
111
|
+
"type": {
|
112
|
+
"__schema": "TypeRefSchema",
|
113
|
+
"location": {
|
114
|
+
"filePath": "dev-files.main.runtime.ts",
|
115
|
+
"line": 49,
|
116
|
+
"character": 24
|
117
|
+
},
|
118
|
+
"name": "Workspace",
|
119
|
+
"componentId": {
|
120
|
+
"scope": "teambit.workspace",
|
121
|
+
"name": "workspace"
|
122
|
+
}
|
123
|
+
},
|
124
|
+
"isOptional": false,
|
125
|
+
"isSpread": false
|
116
126
|
},
|
117
|
-
|
118
|
-
|
119
|
-
"__schema": "TypeRefSchema",
|
127
|
+
{
|
128
|
+
"__schema": "ParameterSchema",
|
120
129
|
"location": {
|
121
130
|
"filePath": "dev-files.main.runtime.ts",
|
122
131
|
"line": 51,
|
123
|
-
"character":
|
132
|
+
"character": 5
|
124
133
|
},
|
125
|
-
"name": "
|
126
|
-
"
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
"
|
134
|
+
"name": "devPatternSlot",
|
135
|
+
"type": {
|
136
|
+
"__schema": "TypeRefSchema",
|
137
|
+
"location": {
|
138
|
+
"filePath": "dev-files.main.runtime.ts",
|
139
|
+
"line": 51,
|
140
|
+
"character": 29
|
141
|
+
},
|
142
|
+
"name": "DevPatternSlot",
|
143
|
+
"internalFilePath": "dev-files.main.runtime.ts"
|
144
|
+
},
|
145
|
+
"isOptional": false,
|
146
|
+
"isSpread": false
|
137
147
|
},
|
138
|
-
|
139
|
-
|
140
|
-
"__schema": "TypeRefSchema",
|
148
|
+
{
|
149
|
+
"__schema": "ParameterSchema",
|
141
150
|
"location": {
|
142
151
|
"filePath": "dev-files.main.runtime.ts",
|
143
152
|
"line": 56,
|
144
|
-
"character":
|
153
|
+
"character": 5
|
154
|
+
},
|
155
|
+
"name": "config",
|
156
|
+
"type": {
|
157
|
+
"__schema": "TypeRefSchema",
|
158
|
+
"location": {
|
159
|
+
"filePath": "dev-files.main.runtime.ts",
|
160
|
+
"line": 56,
|
161
|
+
"character": 22
|
162
|
+
},
|
163
|
+
"name": "DevFilesConfig",
|
164
|
+
"internalFilePath": "dev-files.main.runtime.ts"
|
145
165
|
},
|
146
|
-
"
|
147
|
-
"
|
166
|
+
"isOptional": false,
|
167
|
+
"isSpread": false
|
168
|
+
}
|
169
|
+
],
|
170
|
+
"returnType": {
|
171
|
+
"__schema": "ThisTypeSchema",
|
172
|
+
"location": {
|
173
|
+
"filePath": "dev-files.main.runtime.ts",
|
174
|
+
"line": 45,
|
175
|
+
"character": 1
|
148
176
|
},
|
149
|
-
"
|
150
|
-
"isSpread": false
|
151
|
-
}
|
152
|
-
],
|
153
|
-
"returnType": {
|
154
|
-
"__schema": "ThisTypeSchema",
|
155
|
-
"location": {
|
156
|
-
"filePath": "dev-files.main.runtime.ts",
|
157
|
-
"line": 45,
|
158
|
-
"character": 1
|
177
|
+
"name": "DevFilesMain"
|
159
178
|
},
|
160
|
-
"
|
161
|
-
},
|
162
|
-
"modifiers": []
|
163
|
-
},
|
164
|
-
{
|
165
|
-
"__schema": "FunctionLikeSchema",
|
166
|
-
"location": {
|
167
|
-
"filePath": "dev-files.main.runtime.ts",
|
168
|
-
"line": 64,
|
169
|
-
"character": 3
|
179
|
+
"modifiers": []
|
170
180
|
},
|
171
|
-
|
172
|
-
"__schema": "
|
181
|
+
{
|
182
|
+
"__schema": "FunctionLikeSchema",
|
173
183
|
"location": {
|
174
184
|
"filePath": "dev-files.main.runtime.ts",
|
175
|
-
"line":
|
185
|
+
"line": 64,
|
176
186
|
"character": 3
|
177
187
|
},
|
178
|
-
"
|
179
|
-
|
180
|
-
},
|
181
|
-
"signature": "(method) DevFilesMain.computeDevPatterns(component: Component): Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>",
|
182
|
-
"name": "computeDevPatterns",
|
183
|
-
"params": [
|
184
|
-
{
|
185
|
-
"__schema": "ParameterSchema",
|
188
|
+
"doc": {
|
189
|
+
"__schema": "DocSchema",
|
186
190
|
"location": {
|
187
191
|
"filePath": "dev-files.main.runtime.ts",
|
188
|
-
"line":
|
189
|
-
"character":
|
192
|
+
"line": 59,
|
193
|
+
"character": 3
|
190
194
|
},
|
191
|
-
"
|
192
|
-
"
|
193
|
-
|
195
|
+
"raw": "/**\n * compute all dev patterns on a component.\n * computing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\n * the registering aspects (through registerDevPattern()).\n */",
|
196
|
+
"comment": "compute all dev patterns on a component.\ncomputing of dev patterns is a merge of the configuration, the env (env.getDevPatterns(component)) and\nthe registering aspects (through registerDevPattern())."
|
197
|
+
},
|
198
|
+
"signature": "(method) DevFilesMain.computeDevPatterns(component: Component): Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>",
|
199
|
+
"name": "computeDevPatterns",
|
200
|
+
"params": [
|
201
|
+
{
|
202
|
+
"__schema": "ParameterSchema",
|
194
203
|
"location": {
|
195
204
|
"filePath": "dev-files.main.runtime.ts",
|
196
205
|
"line": 64,
|
197
|
-
"character":
|
206
|
+
"character": 28
|
198
207
|
},
|
199
|
-
"name": "
|
200
|
-
"
|
201
|
-
"
|
202
|
-
"
|
203
|
-
|
208
|
+
"name": "component",
|
209
|
+
"type": {
|
210
|
+
"__schema": "TypeRefSchema",
|
211
|
+
"location": {
|
212
|
+
"filePath": "dev-files.main.runtime.ts",
|
213
|
+
"line": 64,
|
214
|
+
"character": 39
|
215
|
+
},
|
216
|
+
"name": "Component",
|
217
|
+
"componentId": {
|
218
|
+
"scope": "teambit.component",
|
219
|
+
"name": "component"
|
220
|
+
}
|
221
|
+
},
|
222
|
+
"isOptional": false,
|
223
|
+
"isSpread": false
|
224
|
+
}
|
225
|
+
],
|
226
|
+
"returnType": {
|
227
|
+
"__schema": "InferenceTypeSchema",
|
228
|
+
"location": {
|
229
|
+
"filePath": "dev-files.main.runtime.ts",
|
230
|
+
"line": 64,
|
231
|
+
"character": 3
|
204
232
|
},
|
205
|
-
"
|
206
|
-
"isSpread": false
|
207
|
-
}
|
208
|
-
],
|
209
|
-
"returnType": {
|
210
|
-
"__schema": "InferenceTypeSchema",
|
211
|
-
"location": {
|
212
|
-
"filePath": "dev-files.main.runtime.ts",
|
213
|
-
"line": 64,
|
214
|
-
"character": 3
|
233
|
+
"type": "Promise<{\n config: any;\n} & {\n [id: string]: string[];\n} & {\n [id: string]: string[];\n}>"
|
215
234
|
},
|
216
|
-
"
|
217
|
-
|
218
|
-
|
219
|
-
"async"
|
220
|
-
]
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"__schema": "FunctionLikeSchema",
|
224
|
-
"location": {
|
225
|
-
"filePath": "dev-files.main.runtime.ts",
|
226
|
-
"line": 161,
|
227
|
-
"character": 3
|
235
|
+
"modifiers": [
|
236
|
+
"async"
|
237
|
+
]
|
228
238
|
},
|
229
|
-
|
230
|
-
"__schema": "
|
239
|
+
{
|
240
|
+
"__schema": "FunctionLikeSchema",
|
231
241
|
"location": {
|
232
242
|
"filePath": "dev-files.main.runtime.ts",
|
233
|
-
"line":
|
243
|
+
"line": 161,
|
234
244
|
"character": 3
|
235
245
|
},
|
236
|
-
"
|
237
|
-
|
238
|
-
},
|
239
|
-
"signature": "(method) DevFilesMain.getDevPatterns(component: Component, aspectId?: string): string[]",
|
240
|
-
"name": "getDevPatterns",
|
241
|
-
"params": [
|
242
|
-
{
|
243
|
-
"__schema": "ParameterSchema",
|
246
|
+
"doc": {
|
247
|
+
"__schema": "DocSchema",
|
244
248
|
"location": {
|
245
249
|
"filePath": "dev-files.main.runtime.ts",
|
246
|
-
"line":
|
247
|
-
"character":
|
248
|
-
},
|
249
|
-
"name": "component",
|
250
|
-
"type": {
|
251
|
-
"__schema": "TypeRefSchema",
|
252
|
-
"location": {
|
253
|
-
"filePath": "dev-files.main.runtime.ts",
|
254
|
-
"line": 161,
|
255
|
-
"character": 29
|
256
|
-
},
|
257
|
-
"name": "Component",
|
258
|
-
"componentId": {
|
259
|
-
"scope": "teambit.component",
|
260
|
-
"name": "component"
|
261
|
-
}
|
250
|
+
"line": 158,
|
251
|
+
"character": 3
|
262
252
|
},
|
263
|
-
"
|
264
|
-
"
|
253
|
+
"raw": "/**\n * get all dev files configured on a component.\n */",
|
254
|
+
"comment": "get all dev files configured on a component."
|
265
255
|
},
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
"
|
271
|
-
"character": 40
|
272
|
-
},
|
273
|
-
"name": "aspectId",
|
274
|
-
"type": {
|
275
|
-
"__schema": "KeywordTypeSchema",
|
256
|
+
"signature": "(method) DevFilesMain.getDevPatterns(component: Component, aspectId?: string): string[]",
|
257
|
+
"name": "getDevPatterns",
|
258
|
+
"params": [
|
259
|
+
{
|
260
|
+
"__schema": "ParameterSchema",
|
276
261
|
"location": {
|
277
262
|
"filePath": "dev-files.main.runtime.ts",
|
278
263
|
"line": 161,
|
279
|
-
"character":
|
264
|
+
"character": 18
|
280
265
|
},
|
281
|
-
"name": "
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
"type": {
|
295
|
-
"__schema": "KeywordTypeSchema",
|
296
|
-
"location": {
|
297
|
-
"filePath": "dev-files.main.runtime.ts",
|
298
|
-
"line": 161,
|
299
|
-
"character": 60
|
300
|
-
},
|
301
|
-
"name": "string"
|
302
|
-
}
|
303
|
-
},
|
304
|
-
"modifiers": []
|
305
|
-
},
|
306
|
-
{
|
307
|
-
"__schema": "FunctionLikeSchema",
|
308
|
-
"location": {
|
309
|
-
"filePath": "dev-files.main.runtime.ts",
|
310
|
-
"line": 170,
|
311
|
-
"character": 3
|
312
|
-
},
|
313
|
-
"doc": {
|
314
|
-
"__schema": "DocSchema",
|
315
|
-
"location": {
|
316
|
-
"filePath": "dev-files.main.runtime.ts",
|
317
|
-
"line": 167,
|
318
|
-
"character": 3
|
319
|
-
},
|
320
|
-
"raw": "/**\n * determine whether a file of a component is a dev file.\n */",
|
321
|
-
"comment": "determine whether a file of a component is a dev file."
|
322
|
-
},
|
323
|
-
"signature": "(method) DevFilesMain.isDevFile(component: Component, filePath: string): boolean",
|
324
|
-
"name": "isDevFile",
|
325
|
-
"params": [
|
326
|
-
{
|
327
|
-
"__schema": "ParameterSchema",
|
328
|
-
"location": {
|
329
|
-
"filePath": "dev-files.main.runtime.ts",
|
330
|
-
"line": 170,
|
331
|
-
"character": 13
|
332
|
-
},
|
333
|
-
"name": "component",
|
334
|
-
"type": {
|
335
|
-
"__schema": "TypeRefSchema",
|
336
|
-
"location": {
|
337
|
-
"filePath": "dev-files.main.runtime.ts",
|
338
|
-
"line": 170,
|
339
|
-
"character": 24
|
340
|
-
},
|
341
|
-
"name": "Component",
|
342
|
-
"componentId": {
|
343
|
-
"scope": "teambit.component",
|
344
|
-
"name": "component"
|
345
|
-
}
|
346
|
-
},
|
347
|
-
"isOptional": false,
|
348
|
-
"isSpread": false
|
349
|
-
},
|
350
|
-
{
|
351
|
-
"__schema": "ParameterSchema",
|
352
|
-
"location": {
|
353
|
-
"filePath": "dev-files.main.runtime.ts",
|
354
|
-
"line": 170,
|
355
|
-
"character": 35
|
356
|
-
},
|
357
|
-
"name": "filePath",
|
358
|
-
"type": {
|
359
|
-
"__schema": "KeywordTypeSchema",
|
360
|
-
"location": {
|
361
|
-
"filePath": "dev-files.main.runtime.ts",
|
362
|
-
"line": 170,
|
363
|
-
"character": 45
|
266
|
+
"name": "component",
|
267
|
+
"type": {
|
268
|
+
"__schema": "TypeRefSchema",
|
269
|
+
"location": {
|
270
|
+
"filePath": "dev-files.main.runtime.ts",
|
271
|
+
"line": 161,
|
272
|
+
"character": 29
|
273
|
+
},
|
274
|
+
"name": "Component",
|
275
|
+
"componentId": {
|
276
|
+
"scope": "teambit.component",
|
277
|
+
"name": "component"
|
278
|
+
}
|
364
279
|
},
|
365
|
-
"
|
280
|
+
"isOptional": false,
|
281
|
+
"isSpread": false
|
366
282
|
},
|
367
|
-
"isOptional": false,
|
368
|
-
"isSpread": false
|
369
|
-
}
|
370
|
-
],
|
371
|
-
"returnType": {
|
372
|
-
"__schema": "KeywordTypeSchema",
|
373
|
-
"location": {
|
374
|
-
"filePath": "dev-files.main.runtime.ts",
|
375
|
-
"line": 170,
|
376
|
-
"character": 54
|
377
|
-
},
|
378
|
-
"name": "boolean"
|
379
|
-
},
|
380
|
-
"modifiers": []
|
381
|
-
},
|
382
|
-
{
|
383
|
-
"__schema": "FunctionLikeSchema",
|
384
|
-
"location": {
|
385
|
-
"filePath": "dev-files.main.runtime.ts",
|
386
|
-
"line": 179,
|
387
|
-
"character": 3
|
388
|
-
},
|
389
|
-
"doc": {
|
390
|
-
"__schema": "DocSchema",
|
391
|
-
"location": {
|
392
|
-
"filePath": "dev-files.main.runtime.ts",
|
393
|
-
"line": 175,
|
394
|
-
"character": 3
|
395
|
-
},
|
396
|
-
"raw": "/**\n * register a new dev pattern.\n * @param regex dev pattern\n */",
|
397
|
-
"comment": "register a new dev pattern.",
|
398
|
-
"tags": [
|
399
283
|
{
|
400
|
-
"__schema": "
|
284
|
+
"__schema": "ParameterSchema",
|
401
285
|
"location": {
|
402
286
|
"filePath": "dev-files.main.runtime.ts",
|
403
|
-
"line":
|
404
|
-
"character":
|
287
|
+
"line": 161,
|
288
|
+
"character": 40
|
289
|
+
},
|
290
|
+
"name": "aspectId",
|
291
|
+
"type": {
|
292
|
+
"__schema": "KeywordTypeSchema",
|
293
|
+
"location": {
|
294
|
+
"filePath": "dev-files.main.runtime.ts",
|
295
|
+
"line": 161,
|
296
|
+
"character": 51
|
297
|
+
},
|
298
|
+
"name": "string"
|
405
299
|
},
|
406
|
-
"
|
407
|
-
"
|
408
|
-
"comment": "dev pattern"
|
300
|
+
"isOptional": true,
|
301
|
+
"isSpread": false
|
409
302
|
}
|
410
|
-
]
|
411
|
-
|
412
|
-
|
413
|
-
"name": "registerDevPattern",
|
414
|
-
"params": [
|
415
|
-
{
|
416
|
-
"__schema": "ParameterSchema",
|
303
|
+
],
|
304
|
+
"returnType": {
|
305
|
+
"__schema": "TypeArraySchema",
|
417
306
|
"location": {
|
418
307
|
"filePath": "dev-files.main.runtime.ts",
|
419
|
-
"line":
|
420
|
-
"character":
|
308
|
+
"line": 161,
|
309
|
+
"character": 60
|
421
310
|
},
|
422
|
-
"name": "pattern",
|
423
311
|
"type": {
|
424
|
-
"__schema": "
|
312
|
+
"__schema": "KeywordTypeSchema",
|
425
313
|
"location": {
|
426
314
|
"filePath": "dev-files.main.runtime.ts",
|
427
|
-
"line":
|
428
|
-
"character":
|
315
|
+
"line": 161,
|
316
|
+
"character": 60
|
429
317
|
},
|
430
|
-
"name": "
|
431
|
-
|
432
|
-
},
|
433
|
-
"isOptional": false,
|
434
|
-
"isSpread": false
|
435
|
-
}
|
436
|
-
],
|
437
|
-
"returnType": {
|
438
|
-
"__schema": "InferenceTypeSchema",
|
439
|
-
"location": {
|
440
|
-
"filePath": "dev-files.main.runtime.ts",
|
441
|
-
"line": 179,
|
442
|
-
"character": 3
|
318
|
+
"name": "string"
|
319
|
+
}
|
443
320
|
},
|
444
|
-
"
|
445
|
-
},
|
446
|
-
"modifiers": []
|
447
|
-
},
|
448
|
-
{
|
449
|
-
"__schema": "FunctionLikeSchema",
|
450
|
-
"location": {
|
451
|
-
"filePath": "dev-files.main.runtime.ts",
|
452
|
-
"line": 187,
|
453
|
-
"character": 3
|
321
|
+
"modifiers": []
|
454
322
|
},
|
455
|
-
|
456
|
-
"__schema": "
|
323
|
+
{
|
324
|
+
"__schema": "FunctionLikeSchema",
|
457
325
|
"location": {
|
458
326
|
"filePath": "dev-files.main.runtime.ts",
|
459
|
-
"line":
|
327
|
+
"line": 170,
|
460
328
|
"character": 3
|
461
329
|
},
|
462
|
-
"
|
463
|
-
|
464
|
-
},
|
465
|
-
"signature": "(method) DevFilesMain.getDevFiles(component: Component): DevFiles",
|
466
|
-
"name": "getDevFiles",
|
467
|
-
"params": [
|
468
|
-
{
|
469
|
-
"__schema": "ParameterSchema",
|
330
|
+
"doc": {
|
331
|
+
"__schema": "DocSchema",
|
470
332
|
"location": {
|
471
333
|
"filePath": "dev-files.main.runtime.ts",
|
472
|
-
"line":
|
473
|
-
"character":
|
474
|
-
},
|
475
|
-
"name": "component",
|
476
|
-
"type": {
|
477
|
-
"__schema": "TypeRefSchema",
|
478
|
-
"location": {
|
479
|
-
"filePath": "dev-files.main.runtime.ts",
|
480
|
-
"line": 187,
|
481
|
-
"character": 26
|
482
|
-
},
|
483
|
-
"name": "Component",
|
484
|
-
"componentId": {
|
485
|
-
"scope": "teambit.component",
|
486
|
-
"name": "component"
|
487
|
-
}
|
334
|
+
"line": 167,
|
335
|
+
"character": 3
|
488
336
|
},
|
489
|
-
"
|
490
|
-
"
|
491
|
-
}
|
492
|
-
],
|
493
|
-
"returnType": {
|
494
|
-
"__schema": "TypeRefSchema",
|
495
|
-
"location": {
|
496
|
-
"filePath": "dev-files.main.runtime.ts",
|
497
|
-
"line": 187,
|
498
|
-
"character": 3
|
337
|
+
"raw": "/**\n * determine whether a file of a component is a dev file.\n */",
|
338
|
+
"comment": "determine whether a file of a component is a dev file."
|
499
339
|
},
|
500
|
-
"
|
501
|
-
"
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
{
|
506
|
-
"__schema": "FunctionLikeSchema",
|
507
|
-
"location": {
|
508
|
-
"filePath": "dev-files.main.runtime.ts",
|
509
|
-
"line": 193,
|
510
|
-
"character": 3
|
511
|
-
},
|
512
|
-
"signature": "(method) DevFilesMain.getDevFilesForConsumerComp(consumerComponent: LegacyComponent): Promise<string[]>",
|
513
|
-
"name": "getDevFilesForConsumerComp",
|
514
|
-
"params": [
|
515
|
-
{
|
516
|
-
"__schema": "ParameterSchema",
|
517
|
-
"location": {
|
518
|
-
"filePath": "dev-files.main.runtime.ts",
|
519
|
-
"line": 193,
|
520
|
-
"character": 36
|
521
|
-
},
|
522
|
-
"name": "consumerComponent",
|
523
|
-
"type": {
|
524
|
-
"__schema": "TypeRefSchema",
|
340
|
+
"signature": "(method) DevFilesMain.isDevFile(component: Component, filePath: string): boolean",
|
341
|
+
"name": "isDevFile",
|
342
|
+
"params": [
|
343
|
+
{
|
344
|
+
"__schema": "ParameterSchema",
|
525
345
|
"location": {
|
526
346
|
"filePath": "dev-files.main.runtime.ts",
|
527
|
-
"line":
|
528
|
-
"character":
|
347
|
+
"line": 170,
|
348
|
+
"character": 13
|
349
|
+
},
|
350
|
+
"name": "component",
|
351
|
+
"type": {
|
352
|
+
"__schema": "TypeRefSchema",
|
353
|
+
"location": {
|
354
|
+
"filePath": "dev-files.main.runtime.ts",
|
355
|
+
"line": 170,
|
356
|
+
"character": 24
|
357
|
+
},
|
358
|
+
"name": "Component",
|
359
|
+
"componentId": {
|
360
|
+
"scope": "teambit.component",
|
361
|
+
"name": "component"
|
362
|
+
}
|
529
363
|
},
|
530
|
-
"
|
531
|
-
"
|
364
|
+
"isOptional": false,
|
365
|
+
"isSpread": false
|
532
366
|
},
|
533
|
-
"isOptional": false,
|
534
|
-
"isSpread": false
|
535
|
-
}
|
536
|
-
],
|
537
|
-
"returnType": {
|
538
|
-
"__schema": "TypeRefSchema",
|
539
|
-
"location": {
|
540
|
-
"filePath": "dev-files.main.runtime.ts",
|
541
|
-
"line": 193,
|
542
|
-
"character": 73
|
543
|
-
},
|
544
|
-
"name": "Promise",
|
545
|
-
"typeArgs": [
|
546
367
|
{
|
547
|
-
"__schema": "
|
368
|
+
"__schema": "ParameterSchema",
|
548
369
|
"location": {
|
549
370
|
"filePath": "dev-files.main.runtime.ts",
|
550
|
-
"line":
|
551
|
-
"character":
|
371
|
+
"line": 170,
|
372
|
+
"character": 35
|
552
373
|
},
|
374
|
+
"name": "filePath",
|
553
375
|
"type": {
|
554
376
|
"__schema": "KeywordTypeSchema",
|
555
377
|
"location": {
|
556
378
|
"filePath": "dev-files.main.runtime.ts",
|
557
|
-
"line":
|
558
|
-
"character":
|
379
|
+
"line": 170,
|
380
|
+
"character": 45
|
559
381
|
},
|
560
382
|
"name": "string"
|
561
|
-
}
|
383
|
+
},
|
384
|
+
"isOptional": false,
|
385
|
+
"isSpread": false
|
562
386
|
}
|
563
|
-
]
|
564
|
-
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
569
|
-
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
"
|
574
|
-
"character": 3
|
387
|
+
],
|
388
|
+
"returnType": {
|
389
|
+
"__schema": "KeywordTypeSchema",
|
390
|
+
"location": {
|
391
|
+
"filePath": "dev-files.main.runtime.ts",
|
392
|
+
"line": 170,
|
393
|
+
"character": 54
|
394
|
+
},
|
395
|
+
"name": "boolean"
|
396
|
+
},
|
397
|
+
"modifiers": []
|
575
398
|
},
|
576
|
-
|
577
|
-
"__schema": "
|
399
|
+
{
|
400
|
+
"__schema": "FunctionLikeSchema",
|
578
401
|
"location": {
|
579
402
|
"filePath": "dev-files.main.runtime.ts",
|
580
|
-
"line":
|
403
|
+
"line": 179,
|
581
404
|
"character": 3
|
582
405
|
},
|
583
|
-
"
|
584
|
-
|
585
|
-
},
|
586
|
-
"signature": "(method) DevFilesMain.computeDevFiles(component: Component): Promise<DevFiles>",
|
587
|
-
"name": "computeDevFiles",
|
588
|
-
"params": [
|
589
|
-
{
|
590
|
-
"__schema": "ParameterSchema",
|
406
|
+
"doc": {
|
407
|
+
"__schema": "DocSchema",
|
591
408
|
"location": {
|
592
409
|
"filePath": "dev-files.main.runtime.ts",
|
593
|
-
"line":
|
594
|
-
"character":
|
410
|
+
"line": 175,
|
411
|
+
"character": 3
|
595
412
|
},
|
596
|
-
"
|
597
|
-
"
|
598
|
-
|
599
|
-
|
600
|
-
"
|
601
|
-
"
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
|
606
|
-
"
|
607
|
-
"
|
413
|
+
"raw": "/**\n * register a new dev pattern.\n * @param regex dev pattern\n */",
|
414
|
+
"comment": "register a new dev pattern.",
|
415
|
+
"tags": [
|
416
|
+
{
|
417
|
+
"__schema": "PropertyLikeTagSchema",
|
418
|
+
"location": {
|
419
|
+
"filePath": "dev-files.main.runtime.ts",
|
420
|
+
"line": 177,
|
421
|
+
"character": 6
|
422
|
+
},
|
423
|
+
"name": "regex",
|
424
|
+
"tagName": "parameter",
|
425
|
+
"comment": "dev pattern"
|
608
426
|
}
|
609
|
-
|
610
|
-
"isOptional": false,
|
611
|
-
"isSpread": false
|
612
|
-
}
|
613
|
-
],
|
614
|
-
"returnType": {
|
615
|
-
"__schema": "TypeRefSchema",
|
616
|
-
"location": {
|
617
|
-
"filePath": "dev-files.main.runtime.ts",
|
618
|
-
"line": 205,
|
619
|
-
"character": 48
|
427
|
+
]
|
620
428
|
},
|
621
|
-
"
|
622
|
-
"
|
429
|
+
"signature": "(method) DevFilesMain.registerDevPattern(pattern: DevPatterns): void",
|
430
|
+
"name": "registerDevPattern",
|
431
|
+
"params": [
|
623
432
|
{
|
624
|
-
"__schema": "
|
433
|
+
"__schema": "ParameterSchema",
|
625
434
|
"location": {
|
626
435
|
"filePath": "dev-files.main.runtime.ts",
|
627
|
-
"line":
|
628
|
-
"character":
|
436
|
+
"line": 179,
|
437
|
+
"character": 22
|
629
438
|
},
|
630
|
-
"name": "
|
631
|
-
"
|
632
|
-
|
633
|
-
|
634
|
-
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
|
641
|
-
|
642
|
-
|
643
|
-
|
644
|
-
|
439
|
+
"name": "pattern",
|
440
|
+
"type": {
|
441
|
+
"__schema": "TypeRefSchema",
|
442
|
+
"location": {
|
443
|
+
"filePath": "dev-files.main.runtime.ts",
|
444
|
+
"line": 179,
|
445
|
+
"character": 31
|
446
|
+
},
|
447
|
+
"name": "DevPatterns",
|
448
|
+
"internalFilePath": "dev-files.main.runtime.ts"
|
449
|
+
},
|
450
|
+
"isOptional": false,
|
451
|
+
"isSpread": false
|
452
|
+
}
|
453
|
+
],
|
454
|
+
"returnType": {
|
455
|
+
"__schema": "InferenceTypeSchema",
|
456
|
+
"location": {
|
457
|
+
"filePath": "dev-files.main.runtime.ts",
|
458
|
+
"line": 179,
|
459
|
+
"character": 3
|
460
|
+
},
|
461
|
+
"type": "void"
|
462
|
+
},
|
463
|
+
"modifiers": []
|
645
464
|
},
|
646
|
-
|
647
|
-
|
648
|
-
"type": {
|
649
|
-
"__schema": "InferenceTypeSchema",
|
465
|
+
{
|
466
|
+
"__schema": "FunctionLikeSchema",
|
650
467
|
"location": {
|
651
468
|
"filePath": "dev-files.main.runtime.ts",
|
652
|
-
"line":
|
469
|
+
"line": 187,
|
653
470
|
"character": 3
|
654
471
|
},
|
655
|
-
"
|
472
|
+
"doc": {
|
473
|
+
"__schema": "DocSchema",
|
474
|
+
"location": {
|
475
|
+
"filePath": "dev-files.main.runtime.ts",
|
476
|
+
"line": 183,
|
477
|
+
"character": 3
|
478
|
+
},
|
479
|
+
"raw": "/**\n * get all dev patterns registered.\n * If you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet\n */",
|
480
|
+
"comment": "get all dev patterns registered.\nIf you want to use this during onLoad event you might need to use computeDevFiles instead, since the component might not include this data yet"
|
481
|
+
},
|
482
|
+
"signature": "(method) DevFilesMain.getDevFiles(component: Component): DevFiles",
|
483
|
+
"name": "getDevFiles",
|
484
|
+
"params": [
|
485
|
+
{
|
486
|
+
"__schema": "ParameterSchema",
|
487
|
+
"location": {
|
488
|
+
"filePath": "dev-files.main.runtime.ts",
|
489
|
+
"line": 187,
|
490
|
+
"character": 15
|
491
|
+
},
|
492
|
+
"name": "component",
|
493
|
+
"type": {
|
494
|
+
"__schema": "TypeRefSchema",
|
495
|
+
"location": {
|
496
|
+
"filePath": "dev-files.main.runtime.ts",
|
497
|
+
"line": 187,
|
498
|
+
"character": 26
|
499
|
+
},
|
500
|
+
"name": "Component",
|
501
|
+
"componentId": {
|
502
|
+
"scope": "teambit.component",
|
503
|
+
"name": "component"
|
504
|
+
}
|
505
|
+
},
|
506
|
+
"isOptional": false,
|
507
|
+
"isSpread": false
|
508
|
+
}
|
509
|
+
],
|
510
|
+
"returnType": {
|
511
|
+
"__schema": "TypeRefSchema",
|
512
|
+
"location": {
|
513
|
+
"filePath": "dev-files.main.runtime.ts",
|
514
|
+
"line": 187,
|
515
|
+
"character": 3
|
516
|
+
},
|
517
|
+
"name": "DevFiles",
|
518
|
+
"internalFilePath": "dev-files.ts"
|
519
|
+
},
|
520
|
+
"modifiers": []
|
656
521
|
},
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
"
|
665
|
-
"
|
522
|
+
{
|
523
|
+
"__schema": "FunctionLikeSchema",
|
524
|
+
"location": {
|
525
|
+
"filePath": "dev-files.main.runtime.ts",
|
526
|
+
"line": 193,
|
527
|
+
"character": 3
|
528
|
+
},
|
529
|
+
"signature": "(method) DevFilesMain.getDevFilesForConsumerComp(consumerComponent: LegacyComponent): Promise<string[]>",
|
530
|
+
"name": "getDevFilesForConsumerComp",
|
531
|
+
"params": [
|
532
|
+
{
|
533
|
+
"__schema": "ParameterSchema",
|
534
|
+
"location": {
|
535
|
+
"filePath": "dev-files.main.runtime.ts",
|
536
|
+
"line": 193,
|
537
|
+
"character": 36
|
538
|
+
},
|
539
|
+
"name": "consumerComponent",
|
540
|
+
"type": {
|
541
|
+
"__schema": "TypeRefSchema",
|
542
|
+
"location": {
|
543
|
+
"filePath": "dev-files.main.runtime.ts",
|
544
|
+
"line": 193,
|
545
|
+
"character": 55
|
546
|
+
},
|
547
|
+
"name": "LegacyComponent",
|
548
|
+
"packageName": "@teambit/legacy/dist/consumer/component"
|
549
|
+
},
|
550
|
+
"isOptional": false,
|
551
|
+
"isSpread": false
|
552
|
+
}
|
553
|
+
],
|
554
|
+
"returnType": {
|
555
|
+
"__schema": "TypeRefSchema",
|
556
|
+
"location": {
|
557
|
+
"filePath": "dev-files.main.runtime.ts",
|
558
|
+
"line": 193,
|
559
|
+
"character": 73
|
560
|
+
},
|
561
|
+
"name": "Promise",
|
562
|
+
"typeArgs": [
|
563
|
+
{
|
564
|
+
"__schema": "TypeArraySchema",
|
565
|
+
"location": {
|
566
|
+
"filePath": "dev-files.main.runtime.ts",
|
567
|
+
"line": 193,
|
568
|
+
"character": 81
|
569
|
+
},
|
570
|
+
"type": {
|
571
|
+
"__schema": "KeywordTypeSchema",
|
572
|
+
"location": {
|
573
|
+
"filePath": "dev-files.main.runtime.ts",
|
574
|
+
"line": 193,
|
575
|
+
"character": 81
|
576
|
+
},
|
577
|
+
"name": "string"
|
578
|
+
}
|
579
|
+
}
|
580
|
+
]
|
581
|
+
},
|
582
|
+
"modifiers": [
|
583
|
+
"async"
|
584
|
+
]
|
666
585
|
},
|
667
|
-
|
668
|
-
|
669
|
-
"type": {
|
670
|
-
"__schema": "InferenceTypeSchema",
|
586
|
+
{
|
587
|
+
"__schema": "FunctionLikeSchema",
|
671
588
|
"location": {
|
672
589
|
"filePath": "dev-files.main.runtime.ts",
|
673
|
-
"line":
|
590
|
+
"line": 205,
|
674
591
|
"character": 3
|
675
592
|
},
|
676
|
-
"
|
593
|
+
"doc": {
|
594
|
+
"__schema": "DocSchema",
|
595
|
+
"location": {
|
596
|
+
"filePath": "dev-files.main.runtime.ts",
|
597
|
+
"line": 202,
|
598
|
+
"character": 3
|
599
|
+
},
|
600
|
+
"raw": "/**\n * compute all dev files of a component.\n */",
|
601
|
+
"comment": "compute all dev files of a component."
|
602
|
+
},
|
603
|
+
"signature": "(method) DevFilesMain.computeDevFiles(component: Component): Promise<DevFiles>",
|
604
|
+
"name": "computeDevFiles",
|
605
|
+
"params": [
|
606
|
+
{
|
607
|
+
"__schema": "ParameterSchema",
|
608
|
+
"location": {
|
609
|
+
"filePath": "dev-files.main.runtime.ts",
|
610
|
+
"line": 205,
|
611
|
+
"character": 25
|
612
|
+
},
|
613
|
+
"name": "component",
|
614
|
+
"type": {
|
615
|
+
"__schema": "TypeRefSchema",
|
616
|
+
"location": {
|
617
|
+
"filePath": "dev-files.main.runtime.ts",
|
618
|
+
"line": 205,
|
619
|
+
"character": 36
|
620
|
+
},
|
621
|
+
"name": "Component",
|
622
|
+
"componentId": {
|
623
|
+
"scope": "teambit.component",
|
624
|
+
"name": "component"
|
625
|
+
}
|
626
|
+
},
|
627
|
+
"isOptional": false,
|
628
|
+
"isSpread": false
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"returnType": {
|
632
|
+
"__schema": "TypeRefSchema",
|
633
|
+
"location": {
|
634
|
+
"filePath": "dev-files.main.runtime.ts",
|
635
|
+
"line": 205,
|
636
|
+
"character": 48
|
637
|
+
},
|
638
|
+
"name": "Promise",
|
639
|
+
"typeArgs": [
|
640
|
+
{
|
641
|
+
"__schema": "TypeRefSchema",
|
642
|
+
"location": {
|
643
|
+
"filePath": "dev-files.main.runtime.ts",
|
644
|
+
"line": 205,
|
645
|
+
"character": 56
|
646
|
+
},
|
647
|
+
"name": "DevFiles",
|
648
|
+
"internalFilePath": "dev-files.ts"
|
649
|
+
}
|
650
|
+
]
|
651
|
+
},
|
652
|
+
"modifiers": [
|
653
|
+
"async"
|
654
|
+
]
|
677
655
|
},
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
"
|
686
|
-
"
|
656
|
+
{
|
657
|
+
"__schema": "VariableLikeSchema",
|
658
|
+
"location": {
|
659
|
+
"filePath": "dev-files.main.runtime.ts",
|
660
|
+
"line": 217,
|
661
|
+
"character": 3
|
662
|
+
},
|
663
|
+
"signature": "(property) DevFilesMain.slots: ((registerFn: () => string) => SlotRegistry<DevPatterns>)[]",
|
664
|
+
"name": "slots",
|
665
|
+
"type": {
|
666
|
+
"__schema": "InferenceTypeSchema",
|
667
|
+
"location": {
|
668
|
+
"filePath": "dev-files.main.runtime.ts",
|
669
|
+
"line": 217,
|
670
|
+
"character": 3
|
671
|
+
},
|
672
|
+
"type": "((registerFn: () => string) => SlotRegistry<DevPatterns>)[]"
|
673
|
+
},
|
674
|
+
"isOptional": true,
|
675
|
+
"defaultValue": "[Slot.withType<DevPatterns>()]"
|
687
676
|
},
|
688
|
-
|
689
|
-
|
690
|
-
"type": {
|
691
|
-
"__schema": "InferenceTypeSchema",
|
677
|
+
{
|
678
|
+
"__schema": "VariableLikeSchema",
|
692
679
|
"location": {
|
693
680
|
"filePath": "dev-files.main.runtime.ts",
|
694
|
-
"line":
|
681
|
+
"line": 219,
|
695
682
|
"character": 3
|
696
683
|
},
|
697
|
-
"
|
684
|
+
"signature": "(property) DevFilesMain.defaultConfig: {\n patterns: never[];\n}",
|
685
|
+
"name": "defaultConfig",
|
686
|
+
"type": {
|
687
|
+
"__schema": "InferenceTypeSchema",
|
688
|
+
"location": {
|
689
|
+
"filePath": "dev-files.main.runtime.ts",
|
690
|
+
"line": 219,
|
691
|
+
"character": 3
|
692
|
+
},
|
693
|
+
"type": "{\n patterns: never[];\n}"
|
694
|
+
},
|
695
|
+
"isOptional": true,
|
696
|
+
"defaultValue": "{\n patterns: [],\n }"
|
698
697
|
},
|
699
|
-
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
"
|
707
|
-
"
|
698
|
+
{
|
699
|
+
"__schema": "VariableLikeSchema",
|
700
|
+
"location": {
|
701
|
+
"filePath": "dev-files.main.runtime.ts",
|
702
|
+
"line": 223,
|
703
|
+
"character": 3
|
704
|
+
},
|
705
|
+
"signature": "(property) DevFilesMain.runtime: RuntimeDefinition",
|
706
|
+
"name": "runtime",
|
707
|
+
"type": {
|
708
|
+
"__schema": "InferenceTypeSchema",
|
709
|
+
"location": {
|
710
|
+
"filePath": "dev-files.main.runtime.ts",
|
711
|
+
"line": 223,
|
712
|
+
"character": 3
|
713
|
+
},
|
714
|
+
"type": "RuntimeDefinition"
|
715
|
+
},
|
716
|
+
"isOptional": true,
|
717
|
+
"defaultValue": "MainRuntime"
|
708
718
|
},
|
709
|
-
|
710
|
-
|
711
|
-
"type": {
|
712
|
-
"__schema": "InferenceTypeSchema",
|
719
|
+
{
|
720
|
+
"__schema": "VariableLikeSchema",
|
713
721
|
"location": {
|
714
722
|
"filePath": "dev-files.main.runtime.ts",
|
715
723
|
"line": 225,
|
716
724
|
"character": 3
|
717
725
|
},
|
718
|
-
"
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
},
|
723
|
-
{
|
724
|
-
"__schema": "FunctionLikeSchema",
|
725
|
-
"location": {
|
726
|
-
"filePath": "dev-files.main.runtime.ts",
|
727
|
-
"line": 227,
|
728
|
-
"character": 3
|
729
|
-
},
|
730
|
-
"signature": "(method) DevFilesMain.provider([envs, workspace, componentAspect, graphql, scope]: [EnvsMain, Workspace, ComponentMain, GraphqlMain, ScopeMain], config: DevFilesConfig, [devPatternSlot]: [DevPatternSlot]): Promise<DevFilesMain>",
|
731
|
-
"name": "provider",
|
732
|
-
"params": [
|
733
|
-
{
|
734
|
-
"__schema": "ParameterSchema",
|
726
|
+
"signature": "(property) DevFilesMain.dependencies: Aspect[]",
|
727
|
+
"name": "dependencies",
|
728
|
+
"type": {
|
729
|
+
"__schema": "InferenceTypeSchema",
|
735
730
|
"location": {
|
736
731
|
"filePath": "dev-files.main.runtime.ts",
|
737
|
-
"line":
|
738
|
-
"character":
|
732
|
+
"line": 225,
|
733
|
+
"character": 3
|
739
734
|
},
|
740
|
-
"
|
741
|
-
|
742
|
-
|
735
|
+
"type": "Aspect[]"
|
736
|
+
},
|
737
|
+
"isOptional": true,
|
738
|
+
"defaultValue": "[EnvsAspect, WorkspaceAspect, ComponentAspect, GraphqlAspect, ScopeAspect]"
|
739
|
+
},
|
740
|
+
{
|
741
|
+
"__schema": "FunctionLikeSchema",
|
742
|
+
"location": {
|
743
|
+
"filePath": "dev-files.main.runtime.ts",
|
744
|
+
"line": 227,
|
745
|
+
"character": 3
|
746
|
+
},
|
747
|
+
"signature": "(method) DevFilesMain.provider([envs, workspace, componentAspect, graphql, scope]: [EnvsMain, Workspace, ComponentMain, GraphqlMain, ScopeMain], config: DevFilesConfig, [devPatternSlot]: [DevPatternSlot]): Promise<DevFilesMain>",
|
748
|
+
"name": "provider",
|
749
|
+
"params": [
|
750
|
+
{
|
751
|
+
"__schema": "ParameterSchema",
|
743
752
|
"location": {
|
744
753
|
"filePath": "dev-files.main.runtime.ts",
|
745
754
|
"line": 228,
|
746
|
-
"character":
|
755
|
+
"character": 5
|
747
756
|
},
|
748
|
-
"
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
},
|
756
|
-
"name": "EnvsMain",
|
757
|
-
"componentId": {
|
758
|
-
"scope": "teambit.envs",
|
759
|
-
"name": "envs"
|
760
|
-
}
|
757
|
+
"name": "[ envs, workspace, componentAspect, graphql, scope ]",
|
758
|
+
"type": {
|
759
|
+
"__schema": "TupleTypeSchema",
|
760
|
+
"location": {
|
761
|
+
"filePath": "dev-files.main.runtime.ts",
|
762
|
+
"line": 228,
|
763
|
+
"character": 57
|
761
764
|
},
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
"
|
766
|
-
|
767
|
-
|
765
|
+
"elements": [
|
766
|
+
{
|
767
|
+
"__schema": "TypeRefSchema",
|
768
|
+
"location": {
|
769
|
+
"filePath": "dev-files.main.runtime.ts",
|
770
|
+
"line": 228,
|
771
|
+
"character": 58
|
772
|
+
},
|
773
|
+
"name": "EnvsMain",
|
774
|
+
"componentId": {
|
775
|
+
"scope": "teambit.envs",
|
776
|
+
"name": "envs"
|
777
|
+
}
|
768
778
|
},
|
769
|
-
|
770
|
-
|
771
|
-
"
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
779
|
+
{
|
780
|
+
"__schema": "TypeRefSchema",
|
781
|
+
"location": {
|
782
|
+
"filePath": "dev-files.main.runtime.ts",
|
783
|
+
"line": 228,
|
784
|
+
"character": 68
|
785
|
+
},
|
786
|
+
"name": "Workspace",
|
787
|
+
"componentId": {
|
788
|
+
"scope": "teambit.workspace",
|
789
|
+
"name": "workspace"
|
790
|
+
}
|
781
791
|
},
|
782
|
-
|
783
|
-
|
784
|
-
"
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
792
|
+
{
|
793
|
+
"__schema": "TypeRefSchema",
|
794
|
+
"location": {
|
795
|
+
"filePath": "dev-files.main.runtime.ts",
|
796
|
+
"line": 228,
|
797
|
+
"character": 79
|
798
|
+
},
|
799
|
+
"name": "ComponentMain",
|
800
|
+
"componentId": {
|
801
|
+
"scope": "teambit.component",
|
802
|
+
"name": "component"
|
803
|
+
}
|
794
804
|
},
|
795
|
-
|
796
|
-
|
797
|
-
"
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
805
|
+
{
|
806
|
+
"__schema": "TypeRefSchema",
|
807
|
+
"location": {
|
808
|
+
"filePath": "dev-files.main.runtime.ts",
|
809
|
+
"line": 228,
|
810
|
+
"character": 94
|
811
|
+
},
|
812
|
+
"name": "GraphqlMain",
|
813
|
+
"componentId": {
|
814
|
+
"scope": "teambit.harmony",
|
815
|
+
"name": "graphql"
|
816
|
+
}
|
807
817
|
},
|
808
|
-
|
809
|
-
|
810
|
-
"
|
811
|
-
|
818
|
+
{
|
819
|
+
"__schema": "TypeRefSchema",
|
820
|
+
"location": {
|
821
|
+
"filePath": "dev-files.main.runtime.ts",
|
822
|
+
"line": 228,
|
823
|
+
"character": 107
|
824
|
+
},
|
825
|
+
"name": "ScopeMain",
|
826
|
+
"componentId": {
|
827
|
+
"scope": "teambit.scope",
|
828
|
+
"name": "scope"
|
829
|
+
}
|
812
830
|
}
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
"isSpread": false
|
818
|
-
},
|
819
|
-
{
|
820
|
-
"__schema": "ParameterSchema",
|
821
|
-
"location": {
|
822
|
-
"filePath": "dev-files.main.runtime.ts",
|
823
|
-
"line": 229,
|
824
|
-
"character": 5
|
831
|
+
]
|
832
|
+
},
|
833
|
+
"isOptional": false,
|
834
|
+
"isSpread": false
|
825
835
|
},
|
826
|
-
|
827
|
-
|
828
|
-
"__schema": "TypeRefSchema",
|
836
|
+
{
|
837
|
+
"__schema": "ParameterSchema",
|
829
838
|
"location": {
|
830
839
|
"filePath": "dev-files.main.runtime.ts",
|
831
840
|
"line": 229,
|
832
|
-
"character":
|
841
|
+
"character": 5
|
833
842
|
},
|
834
|
-
"name": "
|
835
|
-
"
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
"
|
843
|
+
"name": "config",
|
844
|
+
"type": {
|
845
|
+
"__schema": "TypeRefSchema",
|
846
|
+
"location": {
|
847
|
+
"filePath": "dev-files.main.runtime.ts",
|
848
|
+
"line": 229,
|
849
|
+
"character": 13
|
850
|
+
},
|
851
|
+
"name": "DevFilesConfig",
|
852
|
+
"internalFilePath": "dev-files.main.runtime.ts"
|
853
|
+
},
|
854
|
+
"isOptional": false,
|
855
|
+
"isSpread": false
|
846
856
|
},
|
847
|
-
|
848
|
-
|
849
|
-
"__schema": "TupleTypeSchema",
|
857
|
+
{
|
858
|
+
"__schema": "ParameterSchema",
|
850
859
|
"location": {
|
851
860
|
"filePath": "dev-files.main.runtime.ts",
|
852
861
|
"line": 230,
|
853
|
-
"character":
|
862
|
+
"character": 5
|
854
863
|
},
|
855
|
-
"
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
|
860
|
-
|
861
|
-
|
862
|
-
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
|
864
|
+
"name": "[ devPatternSlot ]",
|
865
|
+
"type": {
|
866
|
+
"__schema": "TupleTypeSchema",
|
867
|
+
"location": {
|
868
|
+
"filePath": "dev-files.main.runtime.ts",
|
869
|
+
"line": 230,
|
870
|
+
"character": 23
|
871
|
+
},
|
872
|
+
"elements": [
|
873
|
+
{
|
874
|
+
"__schema": "TypeRefSchema",
|
875
|
+
"location": {
|
876
|
+
"filePath": "dev-files.main.runtime.ts",
|
877
|
+
"line": 230,
|
878
|
+
"character": 24
|
879
|
+
},
|
880
|
+
"name": "DevPatternSlot",
|
881
|
+
"internalFilePath": "dev-files.main.runtime.ts"
|
882
|
+
}
|
883
|
+
]
|
884
|
+
},
|
885
|
+
"isOptional": false,
|
886
|
+
"isSpread": false
|
887
|
+
}
|
888
|
+
],
|
889
|
+
"returnType": {
|
890
|
+
"__schema": "InferenceTypeSchema",
|
891
|
+
"location": {
|
892
|
+
"filePath": "dev-files.main.runtime.ts",
|
893
|
+
"line": 227,
|
894
|
+
"character": 3
|
867
895
|
},
|
868
|
-
"
|
869
|
-
"isSpread": false
|
870
|
-
}
|
871
|
-
],
|
872
|
-
"returnType": {
|
873
|
-
"__schema": "InferenceTypeSchema",
|
874
|
-
"location": {
|
875
|
-
"filePath": "dev-files.main.runtime.ts",
|
876
|
-
"line": 227,
|
877
|
-
"character": 3
|
896
|
+
"type": "Promise<DevFilesMain>"
|
878
897
|
},
|
879
|
-
"
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
"implementNodes": []
|
898
|
+
"modifiers": [
|
899
|
+
"static",
|
900
|
+
"async"
|
901
|
+
]
|
902
|
+
}
|
903
|
+
],
|
904
|
+
"extendsNodes": [],
|
905
|
+
"implementNodes": []
|
906
|
+
}
|
889
907
|
},
|
890
908
|
{
|
891
909
|
"__schema": "UnImplementedSchema",
|
@@ -2136,7 +2154,7 @@
|
|
2136
2154
|
"componentId": {
|
2137
2155
|
"scope": "teambit.component",
|
2138
2156
|
"name": "dev-files",
|
2139
|
-
"version": "1.0.
|
2157
|
+
"version": "1.0.259"
|
2140
2158
|
},
|
2141
2159
|
"taggedModuleExports": []
|
2142
2160
|
}
|