@teambit/schema 1.0.257 → 1.0.259

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,2040 +14,2130 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "InterfaceSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "parser.ts",
19
+ "filePath": "index.ts",
20
20
  "line": 3,
21
- "character": 1
21
+ "character": 15
22
22
  },
23
- "signature": "interface Parser",
24
23
  "name": "Parser",
25
- "members": [
26
- {
27
- "__schema": "VariableLikeSchema",
28
- "location": {
29
- "filePath": "parser.ts",
30
- "line": 7,
31
- "character": 3
32
- },
33
- "doc": {
34
- "__schema": "DocSchema",
24
+ "exportNode": {
25
+ "__schema": "InterfaceSchema",
26
+ "location": {
27
+ "filePath": "parser.ts",
28
+ "line": 3,
29
+ "character": 1
30
+ },
31
+ "signature": "interface Parser",
32
+ "name": "Parser",
33
+ "members": [
34
+ {
35
+ "__schema": "VariableLikeSchema",
35
36
  "location": {
36
37
  "filePath": "parser.ts",
37
- "line": 4,
38
+ "line": 7,
38
39
  "character": 3
39
40
  },
40
- "raw": "/**\n * regex to apply on which components compiler applies.\n */",
41
- "comment": "regex to apply on which components compiler applies."
42
- },
43
- "signature": "(property) Parser.extension: RegExp",
44
- "name": "extension",
45
- "type": {
46
- "__schema": "TypeRefSchema",
47
- "location": {
48
- "filePath": "parser.ts",
49
- "line": 7,
50
- "character": 14
41
+ "doc": {
42
+ "__schema": "DocSchema",
43
+ "location": {
44
+ "filePath": "parser.ts",
45
+ "line": 4,
46
+ "character": 3
47
+ },
48
+ "raw": "/**\n * regex to apply on which components compiler applies.\n */",
49
+ "comment": "regex to apply on which components compiler applies."
51
50
  },
52
- "name": "RegExp"
53
- },
54
- "isOptional": false
55
- },
56
- {
57
- "__schema": "FunctionLikeSchema",
58
- "location": {
59
- "filePath": "parser.ts",
60
- "line": 12,
61
- "character": 3
51
+ "signature": "(property) Parser.extension: RegExp",
52
+ "name": "extension",
53
+ "type": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "parser.ts",
57
+ "line": 7,
58
+ "character": 14
59
+ },
60
+ "name": "RegExp"
61
+ },
62
+ "isOptional": false
62
63
  },
63
- "doc": {
64
- "__schema": "DocSchema",
64
+ {
65
+ "__schema": "FunctionLikeSchema",
65
66
  "location": {
66
67
  "filePath": "parser.ts",
67
- "line": 9,
68
+ "line": 12,
68
69
  "character": 3
69
70
  },
70
- "raw": "/**\n * parse a module.\n */",
71
- "comment": "parse a module."
72
- },
73
- "signature": "(method) Parser.parseModule(modulePath: string, content?: string): Export[]",
74
- "name": "parseModule",
75
- "params": [
76
- {
77
- "__schema": "ParameterSchema",
71
+ "doc": {
72
+ "__schema": "DocSchema",
78
73
  "location": {
79
74
  "filePath": "parser.ts",
80
- "line": 12,
81
- "character": 15
75
+ "line": 9,
76
+ "character": 3
82
77
  },
83
- "name": "modulePath",
84
- "type": {
85
- "__schema": "KeywordTypeSchema",
78
+ "raw": "/**\n * parse a module.\n */",
79
+ "comment": "parse a module."
80
+ },
81
+ "signature": "(method) Parser.parseModule(modulePath: string, content?: string): Export[]",
82
+ "name": "parseModule",
83
+ "params": [
84
+ {
85
+ "__schema": "ParameterSchema",
86
86
  "location": {
87
87
  "filePath": "parser.ts",
88
88
  "line": 12,
89
- "character": 27
89
+ "character": 15
90
90
  },
91
- "name": "string"
92
- },
93
- "isOptional": false,
94
- "isSpread": false
95
- },
96
- {
97
- "__schema": "ParameterSchema",
98
- "location": {
99
- "filePath": "parser.ts",
100
- "line": 12,
101
- "character": 35
91
+ "name": "modulePath",
92
+ "type": {
93
+ "__schema": "KeywordTypeSchema",
94
+ "location": {
95
+ "filePath": "parser.ts",
96
+ "line": 12,
97
+ "character": 27
98
+ },
99
+ "name": "string"
100
+ },
101
+ "isOptional": false,
102
+ "isSpread": false
102
103
  },
103
- "name": "content",
104
- "type": {
105
- "__schema": "KeywordTypeSchema",
104
+ {
105
+ "__schema": "ParameterSchema",
106
106
  "location": {
107
107
  "filePath": "parser.ts",
108
108
  "line": 12,
109
- "character": 45
109
+ "character": 35
110
110
  },
111
- "name": "string"
112
- },
113
- "isOptional": true,
114
- "isSpread": false
115
- }
116
- ],
117
- "returnType": {
118
- "__schema": "TypeArraySchema",
119
- "location": {
120
- "filePath": "parser.ts",
121
- "line": 12,
122
- "character": 54
123
- },
124
- "type": {
125
- "__schema": "TypeRefSchema",
111
+ "name": "content",
112
+ "type": {
113
+ "__schema": "KeywordTypeSchema",
114
+ "location": {
115
+ "filePath": "parser.ts",
116
+ "line": 12,
117
+ "character": 45
118
+ },
119
+ "name": "string"
120
+ },
121
+ "isOptional": true,
122
+ "isSpread": false
123
+ }
124
+ ],
125
+ "returnType": {
126
+ "__schema": "TypeArraySchema",
126
127
  "location": {
127
128
  "filePath": "parser.ts",
128
129
  "line": 12,
129
130
  "character": 54
130
131
  },
131
- "name": "Export",
132
- "componentId": {
133
- "scope": "teambit.semantics",
134
- "name": "entities/semantic-schema",
135
- "version": "0.0.68"
136
- }
137
- }
138
- },
139
- "modifiers": []
140
- }
141
- ],
142
- "extendsNodes": []
143
- },
144
- {
145
- "__schema": "InterfaceSchema",
146
- "location": {
147
- "filePath": "schema-extractor.ts",
148
- "line": 5,
149
- "character": 1
150
- },
151
- "signature": "interface SchemaExtractor",
152
- "name": "SchemaExtractor",
153
- "members": [
154
- {
155
- "__schema": "FunctionLikeSchema",
156
- "location": {
157
- "filePath": "schema-extractor.ts",
158
- "line": 9,
159
- "character": 3
160
- },
161
- "doc": {
162
- "__schema": "DocSchema",
163
- "location": {
164
- "filePath": "schema-extractor.ts",
165
- "line": 6,
166
- "character": 3
167
- },
168
- "raw": "/**\n * extract a semantic schema from a component.\n */",
169
- "comment": "extract a semantic schema from a component."
170
- },
171
- "signature": "(method) SchemaExtractor.extract(component: Component, options?: SchemaExtractorOptions): Promise<APISchema>",
172
- "name": "extract",
173
- "params": [
174
- {
175
- "__schema": "ParameterSchema",
176
- "location": {
177
- "filePath": "schema-extractor.ts",
178
- "line": 9,
179
- "character": 11
180
- },
181
- "name": "component",
182
- "type": {
183
- "__schema": "TypeRefSchema",
184
- "location": {
185
- "filePath": "schema-extractor.ts",
186
- "line": 9,
187
- "character": 22
188
- },
189
- "name": "Component",
190
- "componentId": {
191
- "scope": "teambit.component",
192
- "name": "component"
193
- }
194
- },
195
- "isOptional": false,
196
- "isSpread": false
197
- },
198
- {
199
- "__schema": "ParameterSchema",
200
- "location": {
201
- "filePath": "schema-extractor.ts",
202
- "line": 9,
203
- "character": 33
204
- },
205
- "name": "options",
206
132
  "type": {
207
133
  "__schema": "TypeRefSchema",
208
134
  "location": {
209
- "filePath": "schema-extractor.ts",
210
- "line": 9,
211
- "character": 43
212
- },
213
- "name": "SchemaExtractorOptions"
214
- },
215
- "isOptional": true,
216
- "isSpread": false
217
- }
218
- ],
219
- "returnType": {
220
- "__schema": "TypeRefSchema",
221
- "location": {
222
- "filePath": "schema-extractor.ts",
223
- "line": 9,
224
- "character": 68
225
- },
226
- "name": "Promise",
227
- "typeArgs": [
228
- {
229
- "__schema": "TypeRefSchema",
230
- "location": {
231
- "filePath": "schema-extractor.ts",
232
- "line": 9,
233
- "character": 76
135
+ "filePath": "parser.ts",
136
+ "line": 12,
137
+ "character": 54
234
138
  },
235
- "name": "APISchema",
139
+ "name": "Export",
236
140
  "componentId": {
237
141
  "scope": "teambit.semantics",
238
142
  "name": "entities/semantic-schema",
239
- "version": "0.0.68"
143
+ "version": "0.0.69"
240
144
  }
241
145
  }
242
- ]
243
- },
244
- "modifiers": []
245
- },
246
- {
247
- "__schema": "FunctionLikeSchema",
248
- "location": {
249
- "filePath": "schema-extractor.ts",
250
- "line": 16,
251
- "character": 3
252
- },
253
- "doc": {
254
- "__schema": "DocSchema",
255
- "location": {
256
- "filePath": "schema-extractor.ts",
257
- "line": 10,
258
- "character": 3
259
146
  },
260
- "raw": "/**\n * release resources if no schemas are needed for this process.\n * for typescript, this will kill the tsserver process.\n * for performance reasons, this is not automatically run after \"extract\". otherwise, running extract on multiple\n * components will be very slow.\n */",
261
- "comment": "release resources if no schemas are needed for this process.\nfor typescript, this will kill the tsserver process.\nfor performance reasons, this is not automatically run after \"extract\". otherwise, running extract on multiple\ncomponents will be very slow."
262
- },
263
- "signature": "(method) SchemaExtractor.dispose(): void",
264
- "name": "dispose",
265
- "params": [],
266
- "returnType": {
267
- "__schema": "KeywordTypeSchema",
268
- "location": {
269
- "filePath": "schema-extractor.ts",
270
- "line": 16,
271
- "character": 14
272
- },
273
- "name": "void"
274
- },
275
- "modifiers": []
276
- }
277
- ],
278
- "extendsNodes": []
147
+ "modifiers": []
148
+ }
149
+ ],
150
+ "extendsNodes": []
151
+ }
279
152
  },
280
153
  {
281
- "__schema": "TypeSchema",
154
+ "__schema": "ExportSchema",
282
155
  "location": {
283
- "filePath": "schema-extractor.ts",
284
- "line": 19,
285
- "character": 1
156
+ "filePath": "index.ts",
157
+ "line": 4,
158
+ "character": 15
286
159
  },
287
- "signature": "type SchemaExtractorOptions = {\n formatter?: Formatter | undefined;\n tsserverPath?: string | undefined;\n contextPath?: string | undefined;\n skipInternals?: boolean | undefined;\n}",
288
- "name": "SchemaExtractorOptions",
289
- "type": {
290
- "__schema": "TypeLiteralSchema",
160
+ "name": "SchemaExtractor",
161
+ "exportNode": {
162
+ "__schema": "InterfaceSchema",
291
163
  "location": {
292
164
  "filePath": "schema-extractor.ts",
293
- "line": 19,
294
- "character": 38
165
+ "line": 5,
166
+ "character": 1
295
167
  },
168
+ "signature": "interface SchemaExtractor",
169
+ "name": "SchemaExtractor",
296
170
  "members": [
297
171
  {
298
- "__schema": "VariableLikeSchema",
299
- "location": {
300
- "filePath": "schema-extractor.ts",
301
- "line": 20,
302
- "character": 3
303
- },
304
- "signature": "(property) formatter?: Formatter | undefined",
305
- "name": "formatter",
306
- "type": {
307
- "__schema": "TypeRefSchema",
308
- "location": {
309
- "filePath": "schema-extractor.ts",
310
- "line": 20,
311
- "character": 15
312
- },
313
- "name": "Formatter",
314
- "componentId": {
315
- "scope": "teambit.defender",
316
- "name": "formatter"
317
- }
318
- },
319
- "isOptional": true
320
- },
321
- {
322
- "__schema": "VariableLikeSchema",
323
- "location": {
324
- "filePath": "schema-extractor.ts",
325
- "line": 21,
326
- "character": 3
327
- },
328
- "signature": "(property) tsserverPath?: string | undefined",
329
- "name": "tsserverPath",
330
- "type": {
331
- "__schema": "KeywordTypeSchema",
332
- "location": {
333
- "filePath": "schema-extractor.ts",
334
- "line": 21,
335
- "character": 18
336
- },
337
- "name": "string"
338
- },
339
- "isOptional": true
340
- },
341
- {
342
- "__schema": "VariableLikeSchema",
172
+ "__schema": "FunctionLikeSchema",
343
173
  "location": {
344
174
  "filePath": "schema-extractor.ts",
345
- "line": 22,
175
+ "line": 9,
346
176
  "character": 3
347
177
  },
348
- "signature": "(property) contextPath?: string | undefined",
349
- "name": "contextPath",
350
- "type": {
351
- "__schema": "KeywordTypeSchema",
178
+ "doc": {
179
+ "__schema": "DocSchema",
352
180
  "location": {
353
181
  "filePath": "schema-extractor.ts",
354
- "line": 22,
355
- "character": 17
182
+ "line": 6,
183
+ "character": 3
356
184
  },
357
- "name": "string"
358
- },
359
- "isOptional": true
360
- },
361
- {
362
- "__schema": "VariableLikeSchema",
363
- "location": {
364
- "filePath": "schema-extractor.ts",
365
- "line": 23,
366
- "character": 3
185
+ "raw": "/**\n * extract a semantic schema from a component.\n */",
186
+ "comment": "extract a semantic schema from a component."
367
187
  },
368
- "signature": "(property) skipInternals?: boolean | undefined",
369
- "name": "skipInternals",
370
- "type": {
188
+ "signature": "(method) SchemaExtractor.extract(component: Component, options?: SchemaExtractorOptions): Promise<APISchema>",
189
+ "name": "extract",
190
+ "params": [
191
+ {
192
+ "__schema": "ParameterSchema",
193
+ "location": {
194
+ "filePath": "schema-extractor.ts",
195
+ "line": 9,
196
+ "character": 11
197
+ },
198
+ "name": "component",
199
+ "type": {
200
+ "__schema": "TypeRefSchema",
201
+ "location": {
202
+ "filePath": "schema-extractor.ts",
203
+ "line": 9,
204
+ "character": 22
205
+ },
206
+ "name": "Component",
207
+ "componentId": {
208
+ "scope": "teambit.component",
209
+ "name": "component"
210
+ }
211
+ },
212
+ "isOptional": false,
213
+ "isSpread": false
214
+ },
215
+ {
216
+ "__schema": "ParameterSchema",
217
+ "location": {
218
+ "filePath": "schema-extractor.ts",
219
+ "line": 9,
220
+ "character": 33
221
+ },
222
+ "name": "options",
223
+ "type": {
224
+ "__schema": "TypeRefSchema",
225
+ "location": {
226
+ "filePath": "schema-extractor.ts",
227
+ "line": 9,
228
+ "character": 43
229
+ },
230
+ "name": "SchemaExtractorOptions"
231
+ },
232
+ "isOptional": true,
233
+ "isSpread": false
234
+ }
235
+ ],
236
+ "returnType": {
237
+ "__schema": "TypeRefSchema",
238
+ "location": {
239
+ "filePath": "schema-extractor.ts",
240
+ "line": 9,
241
+ "character": 68
242
+ },
243
+ "name": "Promise",
244
+ "typeArgs": [
245
+ {
246
+ "__schema": "TypeRefSchema",
247
+ "location": {
248
+ "filePath": "schema-extractor.ts",
249
+ "line": 9,
250
+ "character": 76
251
+ },
252
+ "name": "APISchema",
253
+ "componentId": {
254
+ "scope": "teambit.semantics",
255
+ "name": "entities/semantic-schema",
256
+ "version": "0.0.69"
257
+ }
258
+ }
259
+ ]
260
+ },
261
+ "modifiers": []
262
+ },
263
+ {
264
+ "__schema": "FunctionLikeSchema",
265
+ "location": {
266
+ "filePath": "schema-extractor.ts",
267
+ "line": 16,
268
+ "character": 3
269
+ },
270
+ "doc": {
271
+ "__schema": "DocSchema",
272
+ "location": {
273
+ "filePath": "schema-extractor.ts",
274
+ "line": 10,
275
+ "character": 3
276
+ },
277
+ "raw": "/**\n * release resources if no schemas are needed for this process.\n * for typescript, this will kill the tsserver process.\n * for performance reasons, this is not automatically run after \"extract\". otherwise, running extract on multiple\n * components will be very slow.\n */",
278
+ "comment": "release resources if no schemas are needed for this process.\nfor typescript, this will kill the tsserver process.\nfor performance reasons, this is not automatically run after \"extract\". otherwise, running extract on multiple\ncomponents will be very slow."
279
+ },
280
+ "signature": "(method) SchemaExtractor.dispose(): void",
281
+ "name": "dispose",
282
+ "params": [],
283
+ "returnType": {
371
284
  "__schema": "KeywordTypeSchema",
372
285
  "location": {
373
286
  "filePath": "schema-extractor.ts",
374
- "line": 23,
375
- "character": 19
287
+ "line": 16,
288
+ "character": 14
376
289
  },
377
- "name": "boolean"
290
+ "name": "void"
378
291
  },
379
- "isOptional": true
292
+ "modifiers": []
380
293
  }
381
- ]
294
+ ],
295
+ "extendsNodes": []
382
296
  }
383
297
  },
384
298
  {
385
- "__schema": "ClassSchema",
299
+ "__schema": "ExportSchema",
386
300
  "location": {
387
- "filePath": "schema.task.ts",
388
- "line": 22,
389
- "character": 1
301
+ "filePath": "index.ts",
302
+ "line": 5,
303
+ "character": 15
390
304
  },
391
- "doc": {
392
- "__schema": "DocSchema",
305
+ "name": "SchemaExtractorOptions",
306
+ "exportNode": {
307
+ "__schema": "TypeSchema",
393
308
  "location": {
394
- "filePath": "schema.task.ts",
309
+ "filePath": "schema-extractor.ts",
395
310
  "line": 19,
396
311
  "character": 1
397
312
  },
398
- "raw": "/**\n * extract and persist the component schema as a json file\n */",
399
- "comment": "extract and persist the component schema as a json file"
400
- },
401
- "signature": "class SchemaTask",
402
- "name": "SchemaTask",
403
- "members": [
404
- {
405
- "__schema": "VariableLikeSchema",
406
- "location": {
407
- "filePath": "schema.task.ts",
408
- "line": 23,
409
- "character": 3
410
- },
411
- "signature": "(property) SchemaTask.name: \"ExtractSchema\"",
412
- "name": "name",
413
- "type": {
414
- "__schema": "InferenceTypeSchema",
415
- "location": {
416
- "filePath": "schema.task.ts",
417
- "line": 23,
418
- "character": 3
419
- },
420
- "type": "\"ExtractSchema\""
421
- },
422
- "isOptional": true,
423
- "defaultValue": "SCHEMA_TASK_NAME"
424
- },
425
- {
426
- "__schema": "VariableLikeSchema",
427
- "location": {
428
- "filePath": "schema.task.ts",
429
- "line": 24,
430
- "character": 3
431
- },
432
- "signature": "(property) SchemaTask.location: TaskLocation",
433
- "name": "location",
434
- "type": {
435
- "__schema": "TypeRefSchema",
436
- "location": {
437
- "filePath": "schema.task.ts",
438
- "line": 24,
439
- "character": 3
440
- },
441
- "name": "TaskLocation",
442
- "componentId": {
443
- "scope": "teambit.pipelines",
444
- "name": "builder"
445
- }
446
- },
447
- "isOptional": true,
448
- "defaultValue": "'end'"
449
- },
450
- {
451
- "__schema": "VariableLikeSchema",
452
- "location": {
453
- "filePath": "schema.task.ts",
454
- "line": 25,
455
- "character": 3
456
- },
457
- "signature": "(property) SchemaTask.description: \"extract api schema for a set of components\"",
458
- "name": "description",
459
- "type": {
460
- "__schema": "InferenceTypeSchema",
461
- "location": {
462
- "filePath": "schema.task.ts",
463
- "line": 25,
464
- "character": 3
465
- },
466
- "type": "\"extract api schema for a set of components\""
467
- },
468
- "isOptional": true,
469
- "defaultValue": "'extract api schema for a set of components'"
470
- },
471
- {
472
- "__schema": "ConstructorSchema",
313
+ "signature": "type SchemaExtractorOptions = {\n formatter?: Formatter | undefined;\n tsserverPath?: string | undefined;\n contextPath?: string | undefined;\n skipInternals?: boolean | undefined;\n}",
314
+ "name": "SchemaExtractorOptions",
315
+ "type": {
316
+ "__schema": "TypeLiteralSchema",
473
317
  "location": {
474
- "filePath": "schema.task.ts",
475
- "line": 27,
476
- "character": 3
318
+ "filePath": "schema-extractor.ts",
319
+ "line": 19,
320
+ "character": 38
477
321
  },
478
- "signature": "constructor SchemaTask(aspectId: string, schema: SchemaMain, logger: Logger): SchemaTask",
479
- "name": "constructor",
480
- "params": [
322
+ "members": [
481
323
  {
482
- "__schema": "ParameterSchema",
324
+ "__schema": "VariableLikeSchema",
483
325
  "location": {
484
- "filePath": "schema.task.ts",
485
- "line": 27,
486
- "character": 15
326
+ "filePath": "schema-extractor.ts",
327
+ "line": 20,
328
+ "character": 3
487
329
  },
488
- "name": "aspectId",
330
+ "signature": "(property) formatter?: Formatter | undefined",
331
+ "name": "formatter",
489
332
  "type": {
490
- "__schema": "KeywordTypeSchema",
333
+ "__schema": "TypeRefSchema",
491
334
  "location": {
492
- "filePath": "schema.task.ts",
493
- "line": 27,
494
- "character": 34
335
+ "filePath": "schema-extractor.ts",
336
+ "line": 20,
337
+ "character": 15
495
338
  },
496
- "name": "string"
339
+ "name": "Formatter",
340
+ "componentId": {
341
+ "scope": "teambit.defender",
342
+ "name": "formatter"
343
+ }
497
344
  },
498
- "isOptional": false,
499
- "isSpread": false
345
+ "isOptional": true
500
346
  },
501
347
  {
502
- "__schema": "ParameterSchema",
348
+ "__schema": "VariableLikeSchema",
503
349
  "location": {
504
- "filePath": "schema.task.ts",
505
- "line": 27,
506
- "character": 42
350
+ "filePath": "schema-extractor.ts",
351
+ "line": 21,
352
+ "character": 3
507
353
  },
508
- "name": "schema",
354
+ "signature": "(property) tsserverPath?: string | undefined",
355
+ "name": "tsserverPath",
509
356
  "type": {
510
- "__schema": "TypeRefSchema",
357
+ "__schema": "KeywordTypeSchema",
511
358
  "location": {
512
- "filePath": "schema.task.ts",
513
- "line": 27,
514
- "character": 58
359
+ "filePath": "schema-extractor.ts",
360
+ "line": 21,
361
+ "character": 18
515
362
  },
516
- "name": "SchemaMain"
363
+ "name": "string"
517
364
  },
518
- "isOptional": false,
519
- "isSpread": false
365
+ "isOptional": true
520
366
  },
521
367
  {
522
- "__schema": "ParameterSchema",
368
+ "__schema": "VariableLikeSchema",
523
369
  "location": {
524
- "filePath": "schema.task.ts",
525
- "line": 27,
526
- "character": 70
370
+ "filePath": "schema-extractor.ts",
371
+ "line": 22,
372
+ "character": 3
527
373
  },
528
- "name": "logger",
374
+ "signature": "(property) contextPath?: string | undefined",
375
+ "name": "contextPath",
529
376
  "type": {
530
- "__schema": "TypeRefSchema",
377
+ "__schema": "KeywordTypeSchema",
531
378
  "location": {
532
- "filePath": "schema.task.ts",
533
- "line": 27,
534
- "character": 86
379
+ "filePath": "schema-extractor.ts",
380
+ "line": 22,
381
+ "character": 17
535
382
  },
536
- "name": "Logger",
537
- "componentId": {
538
- "scope": "teambit.harmony",
539
- "name": "logger"
540
- }
383
+ "name": "string"
541
384
  },
542
- "isOptional": false,
543
- "isSpread": false
544
- }
545
- ],
546
- "returnType": {
547
- "__schema": "ThisTypeSchema",
548
- "location": {
549
- "filePath": "schema.task.ts",
550
- "line": 22,
551
- "character": 1
385
+ "isOptional": true
552
386
  },
553
- "name": "SchemaTask"
554
- },
555
- "modifiers": []
556
- },
557
- {
558
- "__schema": "FunctionLikeSchema",
559
- "location": {
560
- "filePath": "schema.task.ts",
561
- "line": 29,
562
- "character": 3
563
- },
564
- "signature": "(method) SchemaTask.execute(context: BuildContext): Promise<BuiltTaskResult>",
565
- "name": "execute",
566
- "params": [
567
387
  {
568
- "__schema": "ParameterSchema",
388
+ "__schema": "VariableLikeSchema",
569
389
  "location": {
570
- "filePath": "schema.task.ts",
571
- "line": 29,
572
- "character": 17
390
+ "filePath": "schema-extractor.ts",
391
+ "line": 23,
392
+ "character": 3
573
393
  },
574
- "name": "context",
394
+ "signature": "(property) skipInternals?: boolean | undefined",
395
+ "name": "skipInternals",
575
396
  "type": {
576
- "__schema": "TypeRefSchema",
397
+ "__schema": "KeywordTypeSchema",
577
398
  "location": {
578
- "filePath": "schema.task.ts",
579
- "line": 29,
580
- "character": 26
399
+ "filePath": "schema-extractor.ts",
400
+ "line": 23,
401
+ "character": 19
581
402
  },
582
- "name": "BuildContext",
583
- "componentId": {
584
- "scope": "teambit.pipelines",
585
- "name": "builder"
586
- }
403
+ "name": "boolean"
587
404
  },
588
- "isOptional": false,
589
- "isSpread": false
405
+ "isOptional": true
590
406
  }
591
- ],
592
- "returnType": {
593
- "__schema": "TypeRefSchema",
594
- "location": {
595
- "filePath": "schema.task.ts",
596
- "line": 29,
597
- "character": 41
598
- },
599
- "name": "Promise",
600
- "typeArgs": [
601
- {
602
- "__schema": "TypeRefSchema",
603
- "location": {
604
- "filePath": "schema.task.ts",
605
- "line": 29,
606
- "character": 49
607
- },
608
- "name": "BuiltTaskResult",
609
- "componentId": {
610
- "scope": "teambit.pipelines",
611
- "name": "builder"
612
- }
613
- }
614
- ]
615
- },
616
- "modifiers": [
617
- "async"
618
407
  ]
619
408
  }
620
- ],
621
- "extendsNodes": [],
622
- "implementNodes": [
623
- {
624
- "__schema": "ExpressionWithTypeArgumentsSchema",
625
- "location": {
626
- "filePath": "schema.task.ts",
627
- "line": 22,
628
- "character": 36
629
- },
630
- "name": "implements BuildTask",
631
- "typeArgs": [],
632
- "expression": {
633
- "__schema": "TypeRefSchema",
634
- "location": {
635
- "filePath": "schema.task.ts",
636
- "line": 22,
637
- "character": 36
409
+ }
410
+ },
411
+ {
412
+ "__schema": "ExportSchema",
413
+ "location": {
414
+ "filePath": "index.ts",
415
+ "line": 7,
416
+ "character": 3
417
+ },
418
+ "name": "SchemaTask",
419
+ "exportNode": {
420
+ "__schema": "ClassSchema",
421
+ "location": {
422
+ "filePath": "schema.task.ts",
423
+ "line": 22,
424
+ "character": 1
425
+ },
426
+ "doc": {
427
+ "__schema": "DocSchema",
428
+ "location": {
429
+ "filePath": "schema.task.ts",
430
+ "line": 19,
431
+ "character": 1
432
+ },
433
+ "raw": "/**\n * extract and persist the component schema as a json file\n */",
434
+ "comment": "extract and persist the component schema as a json file"
435
+ },
436
+ "signature": "class SchemaTask",
437
+ "name": "SchemaTask",
438
+ "members": [
439
+ {
440
+ "__schema": "VariableLikeSchema",
441
+ "location": {
442
+ "filePath": "schema.task.ts",
443
+ "line": 23,
444
+ "character": 3
638
445
  },
639
- "name": "BuildTask",
640
- "componentId": {
641
- "_legacy": {
642
- "scope": "teambit.semantics",
446
+ "signature": "(property) SchemaTask.name: \"ExtractSchema\"",
447
+ "name": "name",
448
+ "type": {
449
+ "__schema": "InferenceTypeSchema",
450
+ "location": {
451
+ "filePath": "schema.task.ts",
452
+ "line": 23,
453
+ "character": 3
454
+ },
455
+ "type": "\"ExtractSchema\""
456
+ },
457
+ "isOptional": true,
458
+ "defaultValue": "SCHEMA_TASK_NAME"
459
+ },
460
+ {
461
+ "__schema": "VariableLikeSchema",
462
+ "location": {
463
+ "filePath": "schema.task.ts",
464
+ "line": 24,
465
+ "character": 3
466
+ },
467
+ "signature": "(property) SchemaTask.location: TaskLocation",
468
+ "name": "location",
469
+ "type": {
470
+ "__schema": "TypeRefSchema",
471
+ "location": {
472
+ "filePath": "schema.task.ts",
473
+ "line": 24,
474
+ "character": 3
475
+ },
476
+ "name": "TaskLocation",
477
+ "componentId": {
478
+ "scope": "teambit.pipelines",
479
+ "name": "builder"
480
+ }
481
+ },
482
+ "isOptional": true,
483
+ "defaultValue": "'end'"
484
+ },
485
+ {
486
+ "__schema": "VariableLikeSchema",
487
+ "location": {
488
+ "filePath": "schema.task.ts",
489
+ "line": 25,
490
+ "character": 3
491
+ },
492
+ "signature": "(property) SchemaTask.description: \"extract api schema for a set of components\"",
493
+ "name": "description",
494
+ "type": {
495
+ "__schema": "InferenceTypeSchema",
496
+ "location": {
497
+ "filePath": "schema.task.ts",
498
+ "line": 25,
499
+ "character": 3
500
+ },
501
+ "type": "\"extract api schema for a set of components\""
502
+ },
503
+ "isOptional": true,
504
+ "defaultValue": "'extract api schema for a set of components'"
505
+ },
506
+ {
507
+ "__schema": "ConstructorSchema",
508
+ "location": {
509
+ "filePath": "schema.task.ts",
510
+ "line": 27,
511
+ "character": 3
512
+ },
513
+ "signature": "constructor SchemaTask(aspectId: string, schema: SchemaMain, logger: Logger): SchemaTask",
514
+ "name": "constructor",
515
+ "params": [
516
+ {
517
+ "__schema": "ParameterSchema",
518
+ "location": {
519
+ "filePath": "schema.task.ts",
520
+ "line": 27,
521
+ "character": 15
522
+ },
523
+ "name": "aspectId",
524
+ "type": {
525
+ "__schema": "KeywordTypeSchema",
526
+ "location": {
527
+ "filePath": "schema.task.ts",
528
+ "line": 27,
529
+ "character": 34
530
+ },
531
+ "name": "string"
532
+ },
533
+ "isOptional": false,
534
+ "isSpread": false
535
+ },
536
+ {
537
+ "__schema": "ParameterSchema",
538
+ "location": {
539
+ "filePath": "schema.task.ts",
540
+ "line": 27,
541
+ "character": 42
542
+ },
643
543
  "name": "schema",
644
- "version": "1.0.257"
544
+ "type": {
545
+ "__schema": "TypeRefSchema",
546
+ "location": {
547
+ "filePath": "schema.task.ts",
548
+ "line": 27,
549
+ "character": 58
550
+ },
551
+ "name": "SchemaMain"
552
+ },
553
+ "isOptional": false,
554
+ "isSpread": false
645
555
  },
646
- "_scope": "teambit.semantics"
556
+ {
557
+ "__schema": "ParameterSchema",
558
+ "location": {
559
+ "filePath": "schema.task.ts",
560
+ "line": 27,
561
+ "character": 70
562
+ },
563
+ "name": "logger",
564
+ "type": {
565
+ "__schema": "TypeRefSchema",
566
+ "location": {
567
+ "filePath": "schema.task.ts",
568
+ "line": 27,
569
+ "character": 86
570
+ },
571
+ "name": "Logger",
572
+ "componentId": {
573
+ "scope": "teambit.harmony",
574
+ "name": "logger"
575
+ }
576
+ },
577
+ "isOptional": false,
578
+ "isSpread": false
579
+ }
580
+ ],
581
+ "returnType": {
582
+ "__schema": "ThisTypeSchema",
583
+ "location": {
584
+ "filePath": "schema.task.ts",
585
+ "line": 22,
586
+ "character": 1
587
+ },
588
+ "name": "SchemaTask"
589
+ },
590
+ "modifiers": []
591
+ },
592
+ {
593
+ "__schema": "FunctionLikeSchema",
594
+ "location": {
595
+ "filePath": "schema.task.ts",
596
+ "line": 29,
597
+ "character": 3
598
+ },
599
+ "signature": "(method) SchemaTask.execute(context: BuildContext): Promise<BuiltTaskResult>",
600
+ "name": "execute",
601
+ "params": [
602
+ {
603
+ "__schema": "ParameterSchema",
604
+ "location": {
605
+ "filePath": "schema.task.ts",
606
+ "line": 29,
607
+ "character": 17
608
+ },
609
+ "name": "context",
610
+ "type": {
611
+ "__schema": "TypeRefSchema",
612
+ "location": {
613
+ "filePath": "schema.task.ts",
614
+ "line": 29,
615
+ "character": 26
616
+ },
617
+ "name": "BuildContext",
618
+ "componentId": {
619
+ "scope": "teambit.pipelines",
620
+ "name": "builder"
621
+ }
622
+ },
623
+ "isOptional": false,
624
+ "isSpread": false
625
+ }
626
+ ],
627
+ "returnType": {
628
+ "__schema": "TypeRefSchema",
629
+ "location": {
630
+ "filePath": "schema.task.ts",
631
+ "line": 29,
632
+ "character": 41
633
+ },
634
+ "name": "Promise",
635
+ "typeArgs": [
636
+ {
637
+ "__schema": "TypeRefSchema",
638
+ "location": {
639
+ "filePath": "schema.task.ts",
640
+ "line": 29,
641
+ "character": 49
642
+ },
643
+ "name": "BuiltTaskResult",
644
+ "componentId": {
645
+ "scope": "teambit.pipelines",
646
+ "name": "builder"
647
+ }
648
+ }
649
+ ]
650
+ },
651
+ "modifiers": [
652
+ "async"
653
+ ]
654
+ }
655
+ ],
656
+ "extendsNodes": [],
657
+ "implementNodes": [
658
+ {
659
+ "__schema": "ExpressionWithTypeArgumentsSchema",
660
+ "location": {
661
+ "filePath": "schema.task.ts",
662
+ "line": 22,
663
+ "character": 36
664
+ },
665
+ "name": "implements BuildTask",
666
+ "typeArgs": [],
667
+ "expression": {
668
+ "__schema": "TypeRefSchema",
669
+ "location": {
670
+ "filePath": "schema.task.ts",
671
+ "line": 22,
672
+ "character": 36
673
+ },
674
+ "name": "BuildTask",
675
+ "componentId": {
676
+ "_legacy": {
677
+ "scope": "teambit.semantics",
678
+ "name": "schema",
679
+ "version": "1.0.259"
680
+ },
681
+ "_scope": "teambit.semantics"
682
+ }
647
683
  }
648
684
  }
649
- }
650
- ]
685
+ ]
686
+ }
651
687
  },
652
688
  {
653
- "__schema": "VariableLikeSchema",
689
+ "__schema": "ExportSchema",
654
690
  "location": {
655
- "filePath": "schema.task.ts",
656
- "line": 17,
657
- "character": 14
691
+ "filePath": "index.ts",
692
+ "line": 8,
693
+ "character": 3
658
694
  },
659
- "signature": "const SCHEMA_ARTIFACT_NAME: \"schema\"",
660
695
  "name": "SCHEMA_ARTIFACT_NAME",
661
- "type": {
662
- "__schema": "InferenceTypeSchema",
696
+ "exportNode": {
697
+ "__schema": "VariableLikeSchema",
663
698
  "location": {
664
699
  "filePath": "schema.task.ts",
665
700
  "line": 17,
666
701
  "character": 14
667
702
  },
668
- "type": "\"schema\""
669
- },
670
- "isOptional": false,
671
- "defaultValue": "'schema'"
703
+ "signature": "const SCHEMA_ARTIFACT_NAME: \"schema\"",
704
+ "name": "SCHEMA_ARTIFACT_NAME",
705
+ "type": {
706
+ "__schema": "InferenceTypeSchema",
707
+ "location": {
708
+ "filePath": "schema.task.ts",
709
+ "line": 17,
710
+ "character": 14
711
+ },
712
+ "type": "\"schema\""
713
+ },
714
+ "isOptional": false,
715
+ "defaultValue": "'schema'"
716
+ }
672
717
  },
673
718
  {
674
- "__schema": "VariableLikeSchema",
719
+ "__schema": "ExportSchema",
675
720
  "location": {
676
- "filePath": "schema.task.ts",
677
- "line": 16,
678
- "character": 14
721
+ "filePath": "index.ts",
722
+ "line": 9,
723
+ "character": 3
679
724
  },
680
- "signature": "const SCHEMA_TASK_NAME: \"ExtractSchema\"",
681
725
  "name": "SCHEMA_TASK_NAME",
682
- "type": {
683
- "__schema": "InferenceTypeSchema",
726
+ "exportNode": {
727
+ "__schema": "VariableLikeSchema",
684
728
  "location": {
685
729
  "filePath": "schema.task.ts",
686
730
  "line": 16,
687
731
  "character": 14
688
732
  },
689
- "type": "\"ExtractSchema\""
690
- },
691
- "isOptional": false,
692
- "defaultValue": "'ExtractSchema'"
733
+ "signature": "const SCHEMA_TASK_NAME: \"ExtractSchema\"",
734
+ "name": "SCHEMA_TASK_NAME",
735
+ "type": {
736
+ "__schema": "InferenceTypeSchema",
737
+ "location": {
738
+ "filePath": "schema.task.ts",
739
+ "line": 16,
740
+ "character": 14
741
+ },
742
+ "type": "\"ExtractSchema\""
743
+ },
744
+ "isOptional": false,
745
+ "defaultValue": "'ExtractSchema'"
746
+ }
693
747
  },
694
748
  {
695
- "__schema": "FunctionLikeSchema",
749
+ "__schema": "ExportSchema",
696
750
  "location": {
697
- "filePath": "schema.task.ts",
698
- "line": 73,
699
- "character": 1
751
+ "filePath": "index.ts",
752
+ "line": 10,
753
+ "character": 3
700
754
  },
701
- "signature": "function getSchemaArtifactDef(): ArtifactDefinition",
702
755
  "name": "getSchemaArtifactDef",
703
- "params": [],
704
- "returnType": {
705
- "__schema": "TypeRefSchema",
756
+ "exportNode": {
757
+ "__schema": "FunctionLikeSchema",
706
758
  "location": {
707
759
  "filePath": "schema.task.ts",
708
760
  "line": 73,
709
761
  "character": 1
710
762
  },
711
- "name": "ArtifactDefinition",
712
- "componentId": {
713
- "scope": "teambit.pipelines",
714
- "name": "builder"
715
- }
716
- },
717
- "modifiers": [
718
- "export"
719
- ]
763
+ "signature": "function getSchemaArtifactDef(): ArtifactDefinition",
764
+ "name": "getSchemaArtifactDef",
765
+ "params": [],
766
+ "returnType": {
767
+ "__schema": "TypeRefSchema",
768
+ "location": {
769
+ "filePath": "schema.task.ts",
770
+ "line": 73,
771
+ "character": 1
772
+ },
773
+ "name": "ArtifactDefinition",
774
+ "componentId": {
775
+ "scope": "teambit.pipelines",
776
+ "name": "builder"
777
+ }
778
+ },
779
+ "modifiers": [
780
+ "export"
781
+ ]
782
+ }
720
783
  },
721
784
  {
722
- "__schema": "FunctionLikeSchema",
785
+ "__schema": "ExportSchema",
723
786
  "location": {
724
- "filePath": "schema.task.ts",
725
- "line": 69,
726
- "character": 1
787
+ "filePath": "index.ts",
788
+ "line": 11,
789
+ "character": 3
727
790
  },
728
- "signature": "function getSchemaArtifactPath(): string",
729
791
  "name": "getSchemaArtifactPath",
730
- "params": [],
731
- "returnType": {
732
- "__schema": "InferenceTypeSchema",
792
+ "exportNode": {
793
+ "__schema": "FunctionLikeSchema",
733
794
  "location": {
734
795
  "filePath": "schema.task.ts",
735
796
  "line": 69,
736
797
  "character": 1
737
798
  },
738
- "type": "string"
739
- },
740
- "modifiers": [
741
- "export"
742
- ]
799
+ "signature": "function getSchemaArtifactPath(): string",
800
+ "name": "getSchemaArtifactPath",
801
+ "params": [],
802
+ "returnType": {
803
+ "__schema": "InferenceTypeSchema",
804
+ "location": {
805
+ "filePath": "schema.task.ts",
806
+ "line": 69,
807
+ "character": 1
808
+ },
809
+ "type": "string"
810
+ },
811
+ "modifiers": [
812
+ "export"
813
+ ]
814
+ }
743
815
  },
744
816
  {
745
- "__schema": "InterfaceSchema",
817
+ "__schema": "ExportSchema",
746
818
  "location": {
747
- "filePath": "schema-env.ts",
748
- "line": 8,
749
- "character": 1
819
+ "filePath": "index.ts",
820
+ "line": 13,
821
+ "character": 15
750
822
  },
751
- "doc": {
752
- "__schema": "DocSchema",
823
+ "name": "SchemaEnv",
824
+ "exportNode": {
825
+ "__schema": "InterfaceSchema",
753
826
  "location": {
754
827
  "filePath": "schema-env.ts",
755
- "line": 4,
828
+ "line": 8,
756
829
  "character": 1
757
830
  },
758
- "raw": "/**\n * define a schema extractor to extract type information\n * and docs for your components.\n */",
759
- "comment": "define a schema extractor to extract type information\nand docs for your components."
760
- },
761
- "signature": "interface SchemaEnv",
762
- "name": "SchemaEnv",
763
- "members": [
764
- {
765
- "__schema": "FunctionLikeSchema",
831
+ "doc": {
832
+ "__schema": "DocSchema",
766
833
  "location": {
767
834
  "filePath": "schema-env.ts",
768
- "line": 9,
769
- "character": 3
835
+ "line": 4,
836
+ "character": 1
770
837
  },
771
- "signature": "(method) SchemaEnv.schemaExtractor(): EnvHandler<SchemaExtractor>",
772
- "name": "schemaExtractor",
773
- "params": [],
774
- "returnType": {
775
- "__schema": "TypeRefSchema",
838
+ "raw": "/**\n * define a schema extractor to extract type information\n * and docs for your components.\n */",
839
+ "comment": "define a schema extractor to extract type information\nand docs for your components."
840
+ },
841
+ "signature": "interface SchemaEnv",
842
+ "name": "SchemaEnv",
843
+ "members": [
844
+ {
845
+ "__schema": "FunctionLikeSchema",
776
846
  "location": {
777
847
  "filePath": "schema-env.ts",
778
848
  "line": 9,
779
- "character": 22
849
+ "character": 3
780
850
  },
781
- "name": "EnvHandler",
782
- "componentId": {
783
- "scope": "teambit.envs",
784
- "name": "envs"
851
+ "signature": "(method) SchemaEnv.schemaExtractor(): EnvHandler<SchemaExtractor>",
852
+ "name": "schemaExtractor",
853
+ "params": [],
854
+ "returnType": {
855
+ "__schema": "TypeRefSchema",
856
+ "location": {
857
+ "filePath": "schema-env.ts",
858
+ "line": 9,
859
+ "character": 22
860
+ },
861
+ "name": "EnvHandler",
862
+ "componentId": {
863
+ "scope": "teambit.envs",
864
+ "name": "envs"
865
+ },
866
+ "typeArgs": [
867
+ {
868
+ "__schema": "TypeRefSchema",
869
+ "location": {
870
+ "filePath": "schema-env.ts",
871
+ "line": 9,
872
+ "character": 33
873
+ },
874
+ "name": "SchemaExtractor"
875
+ }
876
+ ]
785
877
  },
786
- "typeArgs": [
787
- {
788
- "__schema": "TypeRefSchema",
789
- "location": {
790
- "filePath": "schema-env.ts",
791
- "line": 9,
792
- "character": 33
793
- },
794
- "name": "SchemaExtractor"
795
- }
796
- ]
797
- },
798
- "modifiers": []
799
- }
800
- ],
801
- "extendsNodes": []
878
+ "modifiers": []
879
+ }
880
+ ],
881
+ "extendsNodes": []
882
+ }
802
883
  },
803
884
  {
804
- "__schema": "ClassSchema",
885
+ "__schema": "ExportSchema",
805
886
  "location": {
806
- "filePath": "schema.main.runtime.ts",
807
- "line": 44,
808
- "character": 1
887
+ "filePath": "index.ts",
888
+ "line": 14,
889
+ "character": 15
809
890
  },
810
- "doc": {
811
- "__schema": "DocSchema",
891
+ "name": "SchemaMain",
892
+ "exportNode": {
893
+ "__schema": "ClassSchema",
812
894
  "location": {
813
895
  "filePath": "schema.main.runtime.ts",
814
- "line": 41,
896
+ "line": 44,
815
897
  "character": 1
816
898
  },
817
- "raw": "/**\n * extension for extracting component schemas.\n */",
818
- "comment": "extension for extracting component schemas."
819
- },
820
- "signature": "class SchemaMain",
821
- "name": "SchemaMain",
822
- "members": [
823
- {
824
- "__schema": "ConstructorSchema",
899
+ "doc": {
900
+ "__schema": "DocSchema",
825
901
  "location": {
826
902
  "filePath": "schema.main.runtime.ts",
827
- "line": 45,
828
- "character": 3
903
+ "line": 41,
904
+ "character": 1
829
905
  },
830
- "signature": "constructor SchemaMain(parserSlot: ParserSlot, envs: EnvsMain, config: SchemaConfig, builder: BuilderMain, workspace: Workspace, logger: Logger): SchemaMain",
831
- "name": "constructor",
832
- "params": [
833
- {
834
- "__schema": "ParameterSchema",
835
- "location": {
836
- "filePath": "schema.main.runtime.ts",
837
- "line": 49,
838
- "character": 5
839
- },
840
- "name": "parserSlot",
841
- "type": {
842
- "__schema": "TypeRefSchema",
906
+ "raw": "/**\n * extension for extracting component schemas.\n */",
907
+ "comment": "extension for extracting component schemas."
908
+ },
909
+ "signature": "class SchemaMain",
910
+ "name": "SchemaMain",
911
+ "members": [
912
+ {
913
+ "__schema": "ConstructorSchema",
914
+ "location": {
915
+ "filePath": "schema.main.runtime.ts",
916
+ "line": 45,
917
+ "character": 3
918
+ },
919
+ "signature": "constructor SchemaMain(parserSlot: ParserSlot, envs: EnvsMain, config: SchemaConfig, builder: BuilderMain, workspace: Workspace, logger: Logger): SchemaMain",
920
+ "name": "constructor",
921
+ "params": [
922
+ {
923
+ "__schema": "ParameterSchema",
843
924
  "location": {
844
925
  "filePath": "schema.main.runtime.ts",
845
926
  "line": 49,
846
- "character": 25
927
+ "character": 5
847
928
  },
848
- "name": "ParserSlot",
849
- "internalFilePath": "schema.main.runtime.ts"
850
- },
851
- "isOptional": false,
852
- "isSpread": false
853
- },
854
- {
855
- "__schema": "ParameterSchema",
856
- "location": {
857
- "filePath": "schema.main.runtime.ts",
858
- "line": 51,
859
- "character": 5
929
+ "name": "parserSlot",
930
+ "type": {
931
+ "__schema": "TypeRefSchema",
932
+ "location": {
933
+ "filePath": "schema.main.runtime.ts",
934
+ "line": 49,
935
+ "character": 25
936
+ },
937
+ "name": "ParserSlot",
938
+ "internalFilePath": "schema.main.runtime.ts"
939
+ },
940
+ "isOptional": false,
941
+ "isSpread": false
860
942
  },
861
- "name": "envs",
862
- "type": {
863
- "__schema": "TypeRefSchema",
943
+ {
944
+ "__schema": "ParameterSchema",
864
945
  "location": {
865
946
  "filePath": "schema.main.runtime.ts",
866
947
  "line": 51,
867
- "character": 19
948
+ "character": 5
868
949
  },
869
- "name": "EnvsMain",
870
- "componentId": {
871
- "scope": "teambit.envs",
872
- "name": "envs"
873
- }
874
- },
875
- "isOptional": false,
876
- "isSpread": false
877
- },
878
- {
879
- "__schema": "ParameterSchema",
880
- "location": {
881
- "filePath": "schema.main.runtime.ts",
882
- "line": 53,
883
- "character": 5
950
+ "name": "envs",
951
+ "type": {
952
+ "__schema": "TypeRefSchema",
953
+ "location": {
954
+ "filePath": "schema.main.runtime.ts",
955
+ "line": 51,
956
+ "character": 19
957
+ },
958
+ "name": "EnvsMain",
959
+ "componentId": {
960
+ "scope": "teambit.envs",
961
+ "name": "envs"
962
+ }
963
+ },
964
+ "isOptional": false,
965
+ "isSpread": false
884
966
  },
885
- "name": "config",
886
- "type": {
887
- "__schema": "TypeRefSchema",
967
+ {
968
+ "__schema": "ParameterSchema",
888
969
  "location": {
889
970
  "filePath": "schema.main.runtime.ts",
890
971
  "line": 53,
891
- "character": 21
972
+ "character": 5
892
973
  },
893
- "name": "SchemaConfig",
894
- "internalFilePath": "schema.main.runtime.ts"
895
- },
896
- "isOptional": false,
897
- "isSpread": false
898
- },
899
- {
900
- "__schema": "ParameterSchema",
901
- "location": {
902
- "filePath": "schema.main.runtime.ts",
903
- "line": 55,
904
- "character": 5
974
+ "name": "config",
975
+ "type": {
976
+ "__schema": "TypeRefSchema",
977
+ "location": {
978
+ "filePath": "schema.main.runtime.ts",
979
+ "line": 53,
980
+ "character": 21
981
+ },
982
+ "name": "SchemaConfig",
983
+ "internalFilePath": "schema.main.runtime.ts"
984
+ },
985
+ "isOptional": false,
986
+ "isSpread": false
905
987
  },
906
- "name": "builder",
907
- "type": {
908
- "__schema": "TypeRefSchema",
988
+ {
989
+ "__schema": "ParameterSchema",
909
990
  "location": {
910
991
  "filePath": "schema.main.runtime.ts",
911
992
  "line": 55,
912
- "character": 22
993
+ "character": 5
913
994
  },
914
- "name": "BuilderMain",
915
- "componentId": {
916
- "scope": "teambit.pipelines",
917
- "name": "builder"
918
- }
919
- },
920
- "isOptional": false,
921
- "isSpread": false
922
- },
923
- {
924
- "__schema": "ParameterSchema",
925
- "location": {
926
- "filePath": "schema.main.runtime.ts",
927
- "line": 57,
928
- "character": 5
995
+ "name": "builder",
996
+ "type": {
997
+ "__schema": "TypeRefSchema",
998
+ "location": {
999
+ "filePath": "schema.main.runtime.ts",
1000
+ "line": 55,
1001
+ "character": 22
1002
+ },
1003
+ "name": "BuilderMain",
1004
+ "componentId": {
1005
+ "scope": "teambit.pipelines",
1006
+ "name": "builder"
1007
+ }
1008
+ },
1009
+ "isOptional": false,
1010
+ "isSpread": false
929
1011
  },
930
- "name": "workspace",
931
- "type": {
932
- "__schema": "TypeRefSchema",
1012
+ {
1013
+ "__schema": "ParameterSchema",
933
1014
  "location": {
934
1015
  "filePath": "schema.main.runtime.ts",
935
1016
  "line": 57,
936
- "character": 24
1017
+ "character": 5
1018
+ },
1019
+ "name": "workspace",
1020
+ "type": {
1021
+ "__schema": "TypeRefSchema",
1022
+ "location": {
1023
+ "filePath": "schema.main.runtime.ts",
1024
+ "line": 57,
1025
+ "character": 24
1026
+ },
1027
+ "name": "Workspace",
1028
+ "componentId": {
1029
+ "scope": "teambit.workspace",
1030
+ "name": "workspace"
1031
+ }
1032
+ },
1033
+ "isOptional": false,
1034
+ "isSpread": false
1035
+ },
1036
+ {
1037
+ "__schema": "ParameterSchema",
1038
+ "location": {
1039
+ "filePath": "schema.main.runtime.ts",
1040
+ "line": 59,
1041
+ "character": 5
1042
+ },
1043
+ "name": "logger",
1044
+ "type": {
1045
+ "__schema": "TypeRefSchema",
1046
+ "location": {
1047
+ "filePath": "schema.main.runtime.ts",
1048
+ "line": 59,
1049
+ "character": 21
1050
+ },
1051
+ "name": "Logger",
1052
+ "componentId": {
1053
+ "scope": "teambit.harmony",
1054
+ "name": "logger"
1055
+ }
937
1056
  },
938
- "name": "Workspace",
939
- "componentId": {
940
- "scope": "teambit.workspace",
941
- "name": "workspace"
942
- }
943
- },
944
- "isOptional": false,
945
- "isSpread": false
946
- },
947
- {
948
- "__schema": "ParameterSchema",
1057
+ "isOptional": false,
1058
+ "isSpread": false
1059
+ }
1060
+ ],
1061
+ "returnType": {
1062
+ "__schema": "ThisTypeSchema",
949
1063
  "location": {
950
1064
  "filePath": "schema.main.runtime.ts",
951
- "line": 59,
952
- "character": 5
953
- },
954
- "name": "logger",
955
- "type": {
956
- "__schema": "TypeRefSchema",
957
- "location": {
958
- "filePath": "schema.main.runtime.ts",
959
- "line": 59,
960
- "character": 21
961
- },
962
- "name": "Logger",
963
- "componentId": {
964
- "scope": "teambit.harmony",
965
- "name": "logger"
966
- }
1065
+ "line": 44,
1066
+ "character": 1
967
1067
  },
968
- "isOptional": false,
969
- "isSpread": false
970
- }
971
- ],
972
- "returnType": {
973
- "__schema": "ThisTypeSchema",
974
- "location": {
975
- "filePath": "schema.main.runtime.ts",
976
- "line": 44,
977
- "character": 1
1068
+ "name": "SchemaMain"
978
1069
  },
979
- "name": "SchemaMain"
980
- },
981
- "modifiers": []
982
- },
983
- {
984
- "__schema": "FunctionLikeSchema",
985
- "location": {
986
- "filePath": "schema.main.runtime.ts",
987
- "line": 65,
988
- "character": 3
1070
+ "modifiers": []
989
1071
  },
990
- "doc": {
991
- "__schema": "DocSchema",
1072
+ {
1073
+ "__schema": "FunctionLikeSchema",
992
1074
  "location": {
993
1075
  "filePath": "schema.main.runtime.ts",
994
- "line": 62,
1076
+ "line": 65,
995
1077
  "character": 3
996
1078
  },
997
- "raw": "/**\n * get the default parser.\n */",
998
- "comment": "get the default parser."
1079
+ "doc": {
1080
+ "__schema": "DocSchema",
1081
+ "location": {
1082
+ "filePath": "schema.main.runtime.ts",
1083
+ "line": 62,
1084
+ "character": 3
1085
+ },
1086
+ "raw": "/**\n * get the default parser.\n */",
1087
+ "comment": "get the default parser."
1088
+ },
1089
+ "signature": "(method) SchemaMain.getDefaultParser(): Parser",
1090
+ "name": "getDefaultParser",
1091
+ "params": [],
1092
+ "returnType": {
1093
+ "__schema": "TypeRefSchema",
1094
+ "location": {
1095
+ "filePath": "schema.main.runtime.ts",
1096
+ "line": 65,
1097
+ "character": 3
1098
+ },
1099
+ "name": "Parser"
1100
+ },
1101
+ "modifiers": []
999
1102
  },
1000
- "signature": "(method) SchemaMain.getDefaultParser(): Parser",
1001
- "name": "getDefaultParser",
1002
- "params": [],
1003
- "returnType": {
1004
- "__schema": "TypeRefSchema",
1103
+ {
1104
+ "__schema": "FunctionLikeSchema",
1005
1105
  "location": {
1006
1106
  "filePath": "schema.main.runtime.ts",
1007
- "line": 65,
1107
+ "line": 69,
1008
1108
  "character": 3
1009
1109
  },
1010
- "name": "Parser"
1011
- },
1012
- "modifiers": []
1013
- },
1014
- {
1015
- "__schema": "FunctionLikeSchema",
1016
- "location": {
1017
- "filePath": "schema.main.runtime.ts",
1018
- "line": 69,
1019
- "character": 3
1020
- },
1021
- "signature": "(method) SchemaMain.registerSchemaClass(schema: SchemaNodeConstructor): void",
1022
- "name": "registerSchemaClass",
1023
- "params": [
1024
- {
1025
- "__schema": "ParameterSchema",
1026
- "location": {
1027
- "filePath": "schema.main.runtime.ts",
1028
- "line": 69,
1029
- "character": 23
1030
- },
1031
- "name": "schema",
1032
- "type": {
1033
- "__schema": "TypeRefSchema",
1110
+ "signature": "(method) SchemaMain.registerSchemaClass(schema: SchemaNodeConstructor): void",
1111
+ "name": "registerSchemaClass",
1112
+ "params": [
1113
+ {
1114
+ "__schema": "ParameterSchema",
1034
1115
  "location": {
1035
1116
  "filePath": "schema.main.runtime.ts",
1036
1117
  "line": 69,
1037
- "character": 31
1118
+ "character": 23
1038
1119
  },
1039
- "name": "SchemaNodeConstructor",
1040
- "componentId": {
1041
- "scope": "teambit.semantics",
1042
- "name": "entities/semantic-schema",
1043
- "version": "0.0.68"
1044
- }
1120
+ "name": "schema",
1121
+ "type": {
1122
+ "__schema": "TypeRefSchema",
1123
+ "location": {
1124
+ "filePath": "schema.main.runtime.ts",
1125
+ "line": 69,
1126
+ "character": 31
1127
+ },
1128
+ "name": "SchemaNodeConstructor",
1129
+ "componentId": {
1130
+ "scope": "teambit.semantics",
1131
+ "name": "entities/semantic-schema",
1132
+ "version": "0.0.69"
1133
+ }
1134
+ },
1135
+ "isOptional": false,
1136
+ "isSpread": false
1137
+ }
1138
+ ],
1139
+ "returnType": {
1140
+ "__schema": "InferenceTypeSchema",
1141
+ "location": {
1142
+ "filePath": "schema.main.runtime.ts",
1143
+ "line": 69,
1144
+ "character": 3
1045
1145
  },
1046
- "isOptional": false,
1047
- "isSpread": false
1048
- }
1049
- ],
1050
- "returnType": {
1051
- "__schema": "InferenceTypeSchema",
1052
- "location": {
1053
- "filePath": "schema.main.runtime.ts",
1054
- "line": 69,
1055
- "character": 3
1146
+ "type": "void"
1056
1147
  },
1057
- "type": "void"
1058
- },
1059
- "modifiers": []
1060
- },
1061
- {
1062
- "__schema": "FunctionLikeSchema",
1063
- "location": {
1064
- "filePath": "schema.main.runtime.ts",
1065
- "line": 76,
1066
- "character": 3
1148
+ "modifiers": []
1067
1149
  },
1068
- "doc": {
1069
- "__schema": "DocSchema",
1150
+ {
1151
+ "__schema": "FunctionLikeSchema",
1070
1152
  "location": {
1071
1153
  "filePath": "schema.main.runtime.ts",
1072
- "line": 73,
1154
+ "line": 76,
1073
1155
  "character": 3
1074
1156
  },
1075
- "raw": "/**\n * parse a module into a component schema.\n */",
1076
- "comment": "parse a module into a component schema."
1077
- },
1078
- "signature": "(method) SchemaMain.parseModule(path: string, content?: string): Export[]",
1079
- "name": "parseModule",
1080
- "params": [
1081
- {
1082
- "__schema": "ParameterSchema",
1157
+ "doc": {
1158
+ "__schema": "DocSchema",
1083
1159
  "location": {
1084
1160
  "filePath": "schema.main.runtime.ts",
1085
- "line": 76,
1086
- "character": 15
1161
+ "line": 73,
1162
+ "character": 3
1087
1163
  },
1088
- "name": "path",
1089
- "type": {
1090
- "__schema": "KeywordTypeSchema",
1164
+ "raw": "/**\n * parse a module into a component schema.\n */",
1165
+ "comment": "parse a module into a component schema."
1166
+ },
1167
+ "signature": "(method) SchemaMain.parseModule(path: string, content?: string): Export[]",
1168
+ "name": "parseModule",
1169
+ "params": [
1170
+ {
1171
+ "__schema": "ParameterSchema",
1091
1172
  "location": {
1092
1173
  "filePath": "schema.main.runtime.ts",
1093
1174
  "line": 76,
1094
- "character": 21
1175
+ "character": 15
1095
1176
  },
1096
- "name": "string"
1097
- },
1098
- "isOptional": false,
1099
- "isSpread": false
1100
- },
1101
- {
1102
- "__schema": "ParameterSchema",
1103
- "location": {
1104
- "filePath": "schema.main.runtime.ts",
1105
- "line": 76,
1106
- "character": 29
1177
+ "name": "path",
1178
+ "type": {
1179
+ "__schema": "KeywordTypeSchema",
1180
+ "location": {
1181
+ "filePath": "schema.main.runtime.ts",
1182
+ "line": 76,
1183
+ "character": 21
1184
+ },
1185
+ "name": "string"
1186
+ },
1187
+ "isOptional": false,
1188
+ "isSpread": false
1107
1189
  },
1108
- "name": "content",
1109
- "type": {
1110
- "__schema": "KeywordTypeSchema",
1190
+ {
1191
+ "__schema": "ParameterSchema",
1111
1192
  "location": {
1112
1193
  "filePath": "schema.main.runtime.ts",
1113
1194
  "line": 76,
1114
- "character": 39
1195
+ "character": 29
1115
1196
  },
1116
- "name": "string"
1117
- },
1118
- "isOptional": true,
1119
- "isSpread": false
1120
- }
1121
- ],
1122
- "returnType": {
1123
- "__schema": "TypeArraySchema",
1124
- "location": {
1125
- "filePath": "schema.main.runtime.ts",
1126
- "line": 76,
1127
- "character": 48
1128
- },
1129
- "type": {
1130
- "__schema": "TypeRefSchema",
1197
+ "name": "content",
1198
+ "type": {
1199
+ "__schema": "KeywordTypeSchema",
1200
+ "location": {
1201
+ "filePath": "schema.main.runtime.ts",
1202
+ "line": 76,
1203
+ "character": 39
1204
+ },
1205
+ "name": "string"
1206
+ },
1207
+ "isOptional": true,
1208
+ "isSpread": false
1209
+ }
1210
+ ],
1211
+ "returnType": {
1212
+ "__schema": "TypeArraySchema",
1131
1213
  "location": {
1132
1214
  "filePath": "schema.main.runtime.ts",
1133
1215
  "line": 76,
1134
1216
  "character": 48
1135
1217
  },
1136
- "name": "Export",
1137
- "componentId": {
1138
- "scope": "teambit.semantics",
1139
- "name": "entities/semantic-schema",
1140
- "version": "0.0.68"
1141
- }
1142
- }
1143
- },
1144
- "modifiers": []
1145
- },
1146
- {
1147
- "__schema": "FunctionLikeSchema",
1148
- "location": {
1149
- "filePath": "schema.main.runtime.ts",
1150
- "line": 91,
1151
- "character": 3
1152
- },
1153
- "signature": "(method) SchemaMain.getSchemaExtractor(component: Component, tsserverPath?: string, contextPath?: string): SchemaExtractor",
1154
- "name": "getSchemaExtractor",
1155
- "params": [
1156
- {
1157
- "__schema": "ParameterSchema",
1158
- "location": {
1159
- "filePath": "schema.main.runtime.ts",
1160
- "line": 91,
1161
- "character": 22
1162
- },
1163
- "name": "component",
1164
1218
  "type": {
1165
1219
  "__schema": "TypeRefSchema",
1166
1220
  "location": {
1167
1221
  "filePath": "schema.main.runtime.ts",
1168
- "line": 91,
1169
- "character": 33
1222
+ "line": 76,
1223
+ "character": 48
1170
1224
  },
1171
- "name": "Component",
1225
+ "name": "Export",
1172
1226
  "componentId": {
1173
- "scope": "teambit.component",
1174
- "name": "component"
1227
+ "scope": "teambit.semantics",
1228
+ "name": "entities/semantic-schema",
1229
+ "version": "0.0.69"
1175
1230
  }
1176
- },
1177
- "isOptional": false,
1178
- "isSpread": false
1179
- },
1180
- {
1181
- "__schema": "ParameterSchema",
1182
- "location": {
1183
- "filePath": "schema.main.runtime.ts",
1184
- "line": 91,
1185
- "character": 44
1186
- },
1187
- "name": "tsserverPath",
1188
- "type": {
1189
- "__schema": "KeywordTypeSchema",
1190
- "location": {
1191
- "filePath": "schema.main.runtime.ts",
1192
- "line": 91,
1193
- "character": 59
1194
- },
1195
- "name": "string"
1196
- },
1197
- "isOptional": true,
1198
- "isSpread": false
1199
- },
1200
- {
1201
- "__schema": "ParameterSchema",
1202
- "location": {
1203
- "filePath": "schema.main.runtime.ts",
1204
- "line": 91,
1205
- "character": 67
1206
- },
1207
- "name": "contextPath",
1208
- "type": {
1209
- "__schema": "KeywordTypeSchema",
1210
- "location": {
1211
- "filePath": "schema.main.runtime.ts",
1212
- "line": 91,
1213
- "character": 81
1214
- },
1215
- "name": "string"
1216
- },
1217
- "isOptional": true,
1218
- "isSpread": false
1219
- }
1220
- ],
1221
- "returnType": {
1222
- "__schema": "TypeRefSchema",
1223
- "location": {
1224
- "filePath": "schema.main.runtime.ts",
1225
- "line": 91,
1226
- "character": 3
1227
- },
1228
- "name": "SchemaExtractor"
1229
- },
1230
- "modifiers": []
1231
- },
1232
- {
1233
- "__schema": "FunctionLikeSchema",
1234
- "location": {
1235
- "filePath": "schema.main.runtime.ts",
1236
- "line": 108,
1237
- "character": 3
1231
+ }
1232
+ },
1233
+ "modifiers": []
1238
1234
  },
1239
- "doc": {
1240
- "__schema": "DocSchema",
1235
+ {
1236
+ "__schema": "FunctionLikeSchema",
1241
1237
  "location": {
1242
1238
  "filePath": "schema.main.runtime.ts",
1243
- "line": 100,
1239
+ "line": 91,
1244
1240
  "character": 3
1245
1241
  },
1246
- "raw": "/**\n * get a schema of a component.\n * @param component target component.\n * @param shouldDisposeResourcesOnceDone for long-running processes, such as bit-start/bit-watch, this is not\n * relevant. for calling the API only to get a schema for one component, this is needed to ensure the ts-server is\n * not kept alive. otherwise, the process will never end.\n *\n */",
1247
- "comment": "get a schema of a component.",
1248
- "tags": [
1242
+ "signature": "(method) SchemaMain.getSchemaExtractor(component: Component, tsserverPath?: string, contextPath?: string): SchemaExtractor",
1243
+ "name": "getSchemaExtractor",
1244
+ "params": [
1249
1245
  {
1250
- "__schema": "PropertyLikeTagSchema",
1246
+ "__schema": "ParameterSchema",
1251
1247
  "location": {
1252
1248
  "filePath": "schema.main.runtime.ts",
1253
- "line": 102,
1254
- "character": 6
1249
+ "line": 91,
1250
+ "character": 22
1255
1251
  },
1256
1252
  "name": "component",
1257
- "tagName": "parameter",
1258
- "comment": "target component."
1253
+ "type": {
1254
+ "__schema": "TypeRefSchema",
1255
+ "location": {
1256
+ "filePath": "schema.main.runtime.ts",
1257
+ "line": 91,
1258
+ "character": 33
1259
+ },
1260
+ "name": "Component",
1261
+ "componentId": {
1262
+ "scope": "teambit.component",
1263
+ "name": "component"
1264
+ }
1265
+ },
1266
+ "isOptional": false,
1267
+ "isSpread": false
1259
1268
  },
1260
1269
  {
1261
- "__schema": "PropertyLikeTagSchema",
1270
+ "__schema": "ParameterSchema",
1262
1271
  "location": {
1263
1272
  "filePath": "schema.main.runtime.ts",
1264
- "line": 103,
1265
- "character": 6
1273
+ "line": 91,
1274
+ "character": 44
1266
1275
  },
1267
- "name": "shouldDisposeResourcesOnceDone",
1268
- "tagName": "parameter",
1269
- "comment": "for long-running processes, such as bit-start/bit-watch, this is not\nrelevant. for calling the API only to get a schema for one component, this is needed to ensure the ts-server is\nnot kept alive. otherwise, the process will never end."
1276
+ "name": "tsserverPath",
1277
+ "type": {
1278
+ "__schema": "KeywordTypeSchema",
1279
+ "location": {
1280
+ "filePath": "schema.main.runtime.ts",
1281
+ "line": 91,
1282
+ "character": 59
1283
+ },
1284
+ "name": "string"
1285
+ },
1286
+ "isOptional": true,
1287
+ "isSpread": false
1288
+ },
1289
+ {
1290
+ "__schema": "ParameterSchema",
1291
+ "location": {
1292
+ "filePath": "schema.main.runtime.ts",
1293
+ "line": 91,
1294
+ "character": 67
1295
+ },
1296
+ "name": "contextPath",
1297
+ "type": {
1298
+ "__schema": "KeywordTypeSchema",
1299
+ "location": {
1300
+ "filePath": "schema.main.runtime.ts",
1301
+ "line": 91,
1302
+ "character": 81
1303
+ },
1304
+ "name": "string"
1305
+ },
1306
+ "isOptional": true,
1307
+ "isSpread": false
1270
1308
  }
1271
- ]
1309
+ ],
1310
+ "returnType": {
1311
+ "__schema": "TypeRefSchema",
1312
+ "location": {
1313
+ "filePath": "schema.main.runtime.ts",
1314
+ "line": 91,
1315
+ "character": 3
1316
+ },
1317
+ "name": "SchemaExtractor"
1318
+ },
1319
+ "modifiers": []
1272
1320
  },
1273
- "signature": "(method) SchemaMain.getSchema(component: Component, shouldDisposeResourcesOnceDone?: boolean, alwaysRunExtractor?: boolean, tsserverPath?: string, contextPath?: string, skipInternals?: boolean, schemaTransformers?: SchemaTransformer[], apiTransformers?: SchemaNodeTransformer[]): Promise<APISchema>",
1274
- "name": "getSchema",
1275
- "params": [
1276
- {
1277
- "__schema": "ParameterSchema",
1321
+ {
1322
+ "__schema": "FunctionLikeSchema",
1323
+ "location": {
1324
+ "filePath": "schema.main.runtime.ts",
1325
+ "line": 108,
1326
+ "character": 3
1327
+ },
1328
+ "doc": {
1329
+ "__schema": "DocSchema",
1278
1330
  "location": {
1279
1331
  "filePath": "schema.main.runtime.ts",
1280
- "line": 109,
1281
- "character": 5
1332
+ "line": 100,
1333
+ "character": 3
1282
1334
  },
1283
- "name": "component",
1284
- "type": {
1285
- "__schema": "TypeRefSchema",
1335
+ "raw": "/**\n * get a schema of a component.\n * @param component target component.\n * @param shouldDisposeResourcesOnceDone for long-running processes, such as bit-start/bit-watch, this is not\n * relevant. for calling the API only to get a schema for one component, this is needed to ensure the ts-server is\n * not kept alive. otherwise, the process will never end.\n *\n */",
1336
+ "comment": "get a schema of a component.",
1337
+ "tags": [
1338
+ {
1339
+ "__schema": "PropertyLikeTagSchema",
1340
+ "location": {
1341
+ "filePath": "schema.main.runtime.ts",
1342
+ "line": 102,
1343
+ "character": 6
1344
+ },
1345
+ "name": "component",
1346
+ "tagName": "parameter",
1347
+ "comment": "target component."
1348
+ },
1349
+ {
1350
+ "__schema": "PropertyLikeTagSchema",
1351
+ "location": {
1352
+ "filePath": "schema.main.runtime.ts",
1353
+ "line": 103,
1354
+ "character": 6
1355
+ },
1356
+ "name": "shouldDisposeResourcesOnceDone",
1357
+ "tagName": "parameter",
1358
+ "comment": "for long-running processes, such as bit-start/bit-watch, this is not\nrelevant. for calling the API only to get a schema for one component, this is needed to ensure the ts-server is\nnot kept alive. otherwise, the process will never end."
1359
+ }
1360
+ ]
1361
+ },
1362
+ "signature": "(method) SchemaMain.getSchema(component: Component, shouldDisposeResourcesOnceDone?: boolean, alwaysRunExtractor?: boolean, tsserverPath?: string, contextPath?: string, skipInternals?: boolean, schemaTransformers?: SchemaTransformer[], apiTransformers?: SchemaNodeTransformer[]): Promise<APISchema>",
1363
+ "name": "getSchema",
1364
+ "params": [
1365
+ {
1366
+ "__schema": "ParameterSchema",
1286
1367
  "location": {
1287
1368
  "filePath": "schema.main.runtime.ts",
1288
1369
  "line": 109,
1289
- "character": 16
1370
+ "character": 5
1290
1371
  },
1291
- "name": "Component",
1292
- "componentId": {
1293
- "scope": "teambit.component",
1294
- "name": "component"
1295
- }
1296
- },
1297
- "isOptional": false,
1298
- "isSpread": false
1299
- },
1300
- {
1301
- "__schema": "ParameterSchema",
1302
- "location": {
1303
- "filePath": "schema.main.runtime.ts",
1304
- "line": 110,
1305
- "character": 5
1372
+ "name": "component",
1373
+ "type": {
1374
+ "__schema": "TypeRefSchema",
1375
+ "location": {
1376
+ "filePath": "schema.main.runtime.ts",
1377
+ "line": 109,
1378
+ "character": 16
1379
+ },
1380
+ "name": "Component",
1381
+ "componentId": {
1382
+ "scope": "teambit.component",
1383
+ "name": "component"
1384
+ }
1385
+ },
1386
+ "isOptional": false,
1387
+ "isSpread": false
1306
1388
  },
1307
- "name": "shouldDisposeResourcesOnceDone",
1308
- "type": {
1309
- "__schema": "InferenceTypeSchema",
1389
+ {
1390
+ "__schema": "ParameterSchema",
1310
1391
  "location": {
1311
1392
  "filePath": "schema.main.runtime.ts",
1312
1393
  "line": 110,
1313
1394
  "character": 5
1314
1395
  },
1315
- "type": "boolean"
1316
- },
1317
- "isOptional": true,
1318
- "defaultValue": "false",
1319
- "isSpread": false
1320
- },
1321
- {
1322
- "__schema": "ParameterSchema",
1323
- "location": {
1324
- "filePath": "schema.main.runtime.ts",
1325
- "line": 111,
1326
- "character": 5
1396
+ "name": "shouldDisposeResourcesOnceDone",
1397
+ "type": {
1398
+ "__schema": "InferenceTypeSchema",
1399
+ "location": {
1400
+ "filePath": "schema.main.runtime.ts",
1401
+ "line": 110,
1402
+ "character": 5
1403
+ },
1404
+ "type": "boolean"
1405
+ },
1406
+ "isOptional": true,
1407
+ "defaultValue": "false",
1408
+ "isSpread": false
1327
1409
  },
1328
- "name": "alwaysRunExtractor",
1329
- "type": {
1330
- "__schema": "InferenceTypeSchema",
1410
+ {
1411
+ "__schema": "ParameterSchema",
1331
1412
  "location": {
1332
1413
  "filePath": "schema.main.runtime.ts",
1333
1414
  "line": 111,
1334
1415
  "character": 5
1335
1416
  },
1336
- "type": "boolean"
1337
- },
1338
- "isOptional": true,
1339
- "defaultValue": "false",
1340
- "isSpread": false
1341
- },
1342
- {
1343
- "__schema": "ParameterSchema",
1344
- "location": {
1345
- "filePath": "schema.main.runtime.ts",
1346
- "line": 112,
1347
- "character": 5
1417
+ "name": "alwaysRunExtractor",
1418
+ "type": {
1419
+ "__schema": "InferenceTypeSchema",
1420
+ "location": {
1421
+ "filePath": "schema.main.runtime.ts",
1422
+ "line": 111,
1423
+ "character": 5
1424
+ },
1425
+ "type": "boolean"
1426
+ },
1427
+ "isOptional": true,
1428
+ "defaultValue": "false",
1429
+ "isSpread": false
1348
1430
  },
1349
- "name": "tsserverPath",
1350
- "type": {
1351
- "__schema": "KeywordTypeSchema",
1431
+ {
1432
+ "__schema": "ParameterSchema",
1352
1433
  "location": {
1353
1434
  "filePath": "schema.main.runtime.ts",
1354
1435
  "line": 112,
1355
- "character": 20
1436
+ "character": 5
1356
1437
  },
1357
- "name": "string"
1358
- },
1359
- "isOptional": true,
1360
- "isSpread": false
1361
- },
1362
- {
1363
- "__schema": "ParameterSchema",
1364
- "location": {
1365
- "filePath": "schema.main.runtime.ts",
1366
- "line": 113,
1367
- "character": 5
1438
+ "name": "tsserverPath",
1439
+ "type": {
1440
+ "__schema": "KeywordTypeSchema",
1441
+ "location": {
1442
+ "filePath": "schema.main.runtime.ts",
1443
+ "line": 112,
1444
+ "character": 20
1445
+ },
1446
+ "name": "string"
1447
+ },
1448
+ "isOptional": true,
1449
+ "isSpread": false
1368
1450
  },
1369
- "name": "contextPath",
1370
- "type": {
1371
- "__schema": "KeywordTypeSchema",
1451
+ {
1452
+ "__schema": "ParameterSchema",
1372
1453
  "location": {
1373
1454
  "filePath": "schema.main.runtime.ts",
1374
1455
  "line": 113,
1375
- "character": 19
1456
+ "character": 5
1376
1457
  },
1377
- "name": "string"
1378
- },
1379
- "isOptional": true,
1380
- "isSpread": false
1381
- },
1382
- {
1383
- "__schema": "ParameterSchema",
1384
- "location": {
1385
- "filePath": "schema.main.runtime.ts",
1386
- "line": 114,
1387
- "character": 5
1458
+ "name": "contextPath",
1459
+ "type": {
1460
+ "__schema": "KeywordTypeSchema",
1461
+ "location": {
1462
+ "filePath": "schema.main.runtime.ts",
1463
+ "line": 113,
1464
+ "character": 19
1465
+ },
1466
+ "name": "string"
1467
+ },
1468
+ "isOptional": true,
1469
+ "isSpread": false
1388
1470
  },
1389
- "name": "skipInternals",
1390
- "type": {
1391
- "__schema": "KeywordTypeSchema",
1471
+ {
1472
+ "__schema": "ParameterSchema",
1392
1473
  "location": {
1393
1474
  "filePath": "schema.main.runtime.ts",
1394
1475
  "line": 114,
1395
- "character": 21
1476
+ "character": 5
1396
1477
  },
1397
- "name": "boolean"
1398
- },
1399
- "isOptional": true,
1400
- "isSpread": false
1401
- },
1402
- {
1403
- "__schema": "ParameterSchema",
1404
- "location": {
1405
- "filePath": "schema.main.runtime.ts",
1406
- "line": 115,
1407
- "character": 5
1478
+ "name": "skipInternals",
1479
+ "type": {
1480
+ "__schema": "KeywordTypeSchema",
1481
+ "location": {
1482
+ "filePath": "schema.main.runtime.ts",
1483
+ "line": 114,
1484
+ "character": 21
1485
+ },
1486
+ "name": "boolean"
1487
+ },
1488
+ "isOptional": true,
1489
+ "isSpread": false
1408
1490
  },
1409
- "name": "schemaTransformers",
1410
- "type": {
1411
- "__schema": "TypeArraySchema",
1491
+ {
1492
+ "__schema": "ParameterSchema",
1412
1493
  "location": {
1413
1494
  "filePath": "schema.main.runtime.ts",
1414
1495
  "line": 115,
1415
- "character": 26
1496
+ "character": 5
1416
1497
  },
1498
+ "name": "schemaTransformers",
1417
1499
  "type": {
1418
- "__schema": "TypeRefSchema",
1500
+ "__schema": "TypeArraySchema",
1419
1501
  "location": {
1420
1502
  "filePath": "schema.main.runtime.ts",
1421
1503
  "line": 115,
1422
1504
  "character": 26
1423
1505
  },
1424
- "name": "SchemaTransformer",
1425
- "componentId": {
1426
- "scope": "teambit.typescript",
1427
- "name": "typescript"
1506
+ "type": {
1507
+ "__schema": "TypeRefSchema",
1508
+ "location": {
1509
+ "filePath": "schema.main.runtime.ts",
1510
+ "line": 115,
1511
+ "character": 26
1512
+ },
1513
+ "name": "SchemaTransformer",
1514
+ "componentId": {
1515
+ "scope": "teambit.typescript",
1516
+ "name": "typescript"
1517
+ }
1428
1518
  }
1429
- }
1430
- },
1431
- "isOptional": true,
1432
- "isSpread": false
1433
- },
1434
- {
1435
- "__schema": "ParameterSchema",
1436
- "location": {
1437
- "filePath": "schema.main.runtime.ts",
1438
- "line": 116,
1439
- "character": 5
1519
+ },
1520
+ "isOptional": true,
1521
+ "isSpread": false
1440
1522
  },
1441
- "name": "apiTransformers",
1442
- "type": {
1443
- "__schema": "TypeArraySchema",
1523
+ {
1524
+ "__schema": "ParameterSchema",
1444
1525
  "location": {
1445
1526
  "filePath": "schema.main.runtime.ts",
1446
1527
  "line": 116,
1447
- "character": 23
1528
+ "character": 5
1448
1529
  },
1530
+ "name": "apiTransformers",
1449
1531
  "type": {
1450
- "__schema": "TypeRefSchema",
1532
+ "__schema": "TypeArraySchema",
1451
1533
  "location": {
1452
1534
  "filePath": "schema.main.runtime.ts",
1453
1535
  "line": 116,
1454
1536
  "character": 23
1455
1537
  },
1456
- "name": "SchemaNodeTransformer",
1538
+ "type": {
1539
+ "__schema": "TypeRefSchema",
1540
+ "location": {
1541
+ "filePath": "schema.main.runtime.ts",
1542
+ "line": 116,
1543
+ "character": 23
1544
+ },
1545
+ "name": "SchemaNodeTransformer",
1546
+ "componentId": {
1547
+ "scope": "teambit.typescript",
1548
+ "name": "typescript"
1549
+ }
1550
+ }
1551
+ },
1552
+ "isOptional": true,
1553
+ "isSpread": false
1554
+ }
1555
+ ],
1556
+ "returnType": {
1557
+ "__schema": "TypeRefSchema",
1558
+ "location": {
1559
+ "filePath": "schema.main.runtime.ts",
1560
+ "line": 117,
1561
+ "character": 6
1562
+ },
1563
+ "name": "Promise",
1564
+ "typeArgs": [
1565
+ {
1566
+ "__schema": "TypeRefSchema",
1567
+ "location": {
1568
+ "filePath": "schema.main.runtime.ts",
1569
+ "line": 117,
1570
+ "character": 14
1571
+ },
1572
+ "name": "APISchema",
1457
1573
  "componentId": {
1458
- "scope": "teambit.typescript",
1459
- "name": "typescript"
1574
+ "scope": "teambit.semantics",
1575
+ "name": "entities/semantic-schema",
1576
+ "version": "0.0.69"
1460
1577
  }
1461
1578
  }
1462
- },
1463
- "isOptional": true,
1464
- "isSpread": false
1465
- }
1466
- ],
1467
- "returnType": {
1468
- "__schema": "TypeRefSchema",
1579
+ ]
1580
+ },
1581
+ "modifiers": [
1582
+ "async"
1583
+ ]
1584
+ },
1585
+ {
1586
+ "__schema": "FunctionLikeSchema",
1469
1587
  "location": {
1470
1588
  "filePath": "schema.main.runtime.ts",
1471
- "line": 117,
1472
- "character": 6
1589
+ "line": 180,
1590
+ "character": 3
1473
1591
  },
1474
- "name": "Promise",
1475
- "typeArgs": [
1592
+ "signature": "(method) SchemaMain.getSchemaFromObject(obj: Record<string, any>): APISchema",
1593
+ "name": "getSchemaFromObject",
1594
+ "params": [
1476
1595
  {
1477
- "__schema": "TypeRefSchema",
1596
+ "__schema": "ParameterSchema",
1478
1597
  "location": {
1479
1598
  "filePath": "schema.main.runtime.ts",
1480
- "line": 117,
1481
- "character": 14
1599
+ "line": 180,
1600
+ "character": 23
1482
1601
  },
1483
- "name": "APISchema",
1484
- "componentId": {
1485
- "scope": "teambit.semantics",
1486
- "name": "entities/semantic-schema",
1487
- "version": "0.0.68"
1488
- }
1602
+ "name": "obj",
1603
+ "type": {
1604
+ "__schema": "TypeRefSchema",
1605
+ "location": {
1606
+ "filePath": "schema.main.runtime.ts",
1607
+ "line": 180,
1608
+ "character": 28
1609
+ },
1610
+ "name": "Record",
1611
+ "typeArgs": [
1612
+ {
1613
+ "__schema": "KeywordTypeSchema",
1614
+ "location": {
1615
+ "filePath": "schema.main.runtime.ts",
1616
+ "line": 180,
1617
+ "character": 35
1618
+ },
1619
+ "name": "string"
1620
+ },
1621
+ {
1622
+ "__schema": "KeywordTypeSchema",
1623
+ "location": {
1624
+ "filePath": "schema.main.runtime.ts",
1625
+ "line": 180,
1626
+ "character": 43
1627
+ },
1628
+ "name": "any"
1629
+ }
1630
+ ]
1631
+ },
1632
+ "isOptional": false,
1633
+ "isSpread": false
1489
1634
  }
1490
- ]
1491
- },
1492
- "modifiers": [
1493
- "async"
1494
- ]
1495
- },
1496
- {
1497
- "__schema": "FunctionLikeSchema",
1498
- "location": {
1499
- "filePath": "schema.main.runtime.ts",
1500
- "line": 180,
1501
- "character": 3
1502
- },
1503
- "signature": "(method) SchemaMain.getSchemaFromObject(obj: Record<string, any>): APISchema",
1504
- "name": "getSchemaFromObject",
1505
- "params": [
1506
- {
1507
- "__schema": "ParameterSchema",
1635
+ ],
1636
+ "returnType": {
1637
+ "__schema": "TypeRefSchema",
1508
1638
  "location": {
1509
1639
  "filePath": "schema.main.runtime.ts",
1510
1640
  "line": 180,
1511
- "character": 23
1641
+ "character": 3
1512
1642
  },
1513
- "name": "obj",
1514
- "type": {
1515
- "__schema": "TypeRefSchema",
1643
+ "name": "APISchema",
1644
+ "componentId": {
1645
+ "scope": "teambit.semantics",
1646
+ "name": "entities/semantic-schema",
1647
+ "version": "0.0.69"
1648
+ }
1649
+ },
1650
+ "modifiers": []
1651
+ },
1652
+ {
1653
+ "__schema": "FunctionLikeSchema",
1654
+ "location": {
1655
+ "filePath": "schema.main.runtime.ts",
1656
+ "line": 187,
1657
+ "character": 3
1658
+ },
1659
+ "doc": {
1660
+ "__schema": "DocSchema",
1661
+ "location": {
1662
+ "filePath": "schema.main.runtime.ts",
1663
+ "line": 184,
1664
+ "character": 3
1665
+ },
1666
+ "raw": "/**\n * register a new parser.\n */",
1667
+ "comment": "register a new parser."
1668
+ },
1669
+ "signature": "(method) SchemaMain.registerParser(parser: Parser): SchemaMain",
1670
+ "name": "registerParser",
1671
+ "params": [
1672
+ {
1673
+ "__schema": "ParameterSchema",
1516
1674
  "location": {
1517
1675
  "filePath": "schema.main.runtime.ts",
1518
- "line": 180,
1519
- "character": 28
1676
+ "line": 187,
1677
+ "character": 18
1520
1678
  },
1521
- "name": "Record",
1522
- "typeArgs": [
1523
- {
1524
- "__schema": "KeywordTypeSchema",
1525
- "location": {
1526
- "filePath": "schema.main.runtime.ts",
1527
- "line": 180,
1528
- "character": 35
1529
- },
1530
- "name": "string"
1679
+ "name": "parser",
1680
+ "type": {
1681
+ "__schema": "TypeRefSchema",
1682
+ "location": {
1683
+ "filePath": "schema.main.runtime.ts",
1684
+ "line": 187,
1685
+ "character": 26
1531
1686
  },
1532
- {
1533
- "__schema": "KeywordTypeSchema",
1534
- "location": {
1535
- "filePath": "schema.main.runtime.ts",
1536
- "line": 180,
1537
- "character": 43
1538
- },
1539
- "name": "any"
1540
- }
1541
- ]
1687
+ "name": "Parser"
1688
+ },
1689
+ "isOptional": false,
1690
+ "isSpread": false
1691
+ }
1692
+ ],
1693
+ "returnType": {
1694
+ "__schema": "TypeRefSchema",
1695
+ "location": {
1696
+ "filePath": "schema.main.runtime.ts",
1697
+ "line": 187,
1698
+ "character": 3
1542
1699
  },
1543
- "isOptional": false,
1544
- "isSpread": false
1545
- }
1546
- ],
1547
- "returnType": {
1548
- "__schema": "TypeRefSchema",
1549
- "location": {
1550
- "filePath": "schema.main.runtime.ts",
1551
- "line": 180,
1552
- "character": 3
1700
+ "name": "SchemaMain"
1553
1701
  },
1554
- "name": "APISchema",
1555
- "componentId": {
1556
- "scope": "teambit.semantics",
1557
- "name": "entities/semantic-schema",
1558
- "version": "0.0.68"
1559
- }
1560
- },
1561
- "modifiers": []
1562
- },
1563
- {
1564
- "__schema": "FunctionLikeSchema",
1565
- "location": {
1566
- "filePath": "schema.main.runtime.ts",
1567
- "line": 187,
1568
- "character": 3
1702
+ "modifiers": []
1569
1703
  },
1570
- "doc": {
1571
- "__schema": "DocSchema",
1704
+ {
1705
+ "__schema": "FunctionLikeSchema",
1572
1706
  "location": {
1573
1707
  "filePath": "schema.main.runtime.ts",
1574
- "line": 184,
1708
+ "line": 192,
1575
1709
  "character": 3
1576
1710
  },
1577
- "raw": "/**\n * register a new parser.\n */",
1578
- "comment": "register a new parser."
1711
+ "signature": "(method) SchemaMain.calcSchemaData(): Promise<{\n disabled?: boolean;\n}>",
1712
+ "name": "calcSchemaData",
1713
+ "params": [],
1714
+ "returnType": {
1715
+ "__schema": "TypeRefSchema",
1716
+ "location": {
1717
+ "filePath": "schema.main.runtime.ts",
1718
+ "line": 192,
1719
+ "character": 27
1720
+ },
1721
+ "name": "Promise",
1722
+ "typeArgs": [
1723
+ {
1724
+ "__schema": "TypeLiteralSchema",
1725
+ "location": {
1726
+ "filePath": "schema.main.runtime.ts",
1727
+ "line": 192,
1728
+ "character": 35
1729
+ },
1730
+ "members": [
1731
+ {
1732
+ "__schema": "VariableLikeSchema",
1733
+ "location": {
1734
+ "filePath": "schema.main.runtime.ts",
1735
+ "line": 192,
1736
+ "character": 37
1737
+ },
1738
+ "signature": "(property) disabled?: boolean | undefined",
1739
+ "name": "disabled",
1740
+ "type": {
1741
+ "__schema": "KeywordTypeSchema",
1742
+ "location": {
1743
+ "filePath": "schema.main.runtime.ts",
1744
+ "line": 192,
1745
+ "character": 48
1746
+ },
1747
+ "name": "boolean"
1748
+ },
1749
+ "isOptional": true
1750
+ }
1751
+ ]
1752
+ }
1753
+ ]
1754
+ },
1755
+ "modifiers": [
1756
+ "async"
1757
+ ]
1579
1758
  },
1580
- "signature": "(method) SchemaMain.registerParser(parser: Parser): SchemaMain",
1581
- "name": "registerParser",
1582
- "params": [
1583
- {
1584
- "__schema": "ParameterSchema",
1585
- "location": {
1586
- "filePath": "schema.main.runtime.ts",
1587
- "line": 187,
1588
- "character": 18
1589
- },
1590
- "name": "parser",
1591
- "type": {
1592
- "__schema": "TypeRefSchema",
1593
- "location": {
1594
- "filePath": "schema.main.runtime.ts",
1595
- "line": 187,
1596
- "character": 26
1597
- },
1598
- "name": "Parser"
1599
- },
1600
- "isOptional": false,
1601
- "isSpread": false
1602
- }
1603
- ],
1604
- "returnType": {
1605
- "__schema": "TypeRefSchema",
1759
+ {
1760
+ "__schema": "FunctionLikeSchema",
1606
1761
  "location": {
1607
1762
  "filePath": "schema.main.runtime.ts",
1608
- "line": 187,
1763
+ "line": 198,
1609
1764
  "character": 3
1610
1765
  },
1611
- "name": "SchemaMain"
1612
- },
1613
- "modifiers": []
1614
- },
1615
- {
1616
- "__schema": "FunctionLikeSchema",
1617
- "location": {
1618
- "filePath": "schema.main.runtime.ts",
1619
- "line": 192,
1620
- "character": 3
1621
- },
1622
- "signature": "(method) SchemaMain.calcSchemaData(): Promise<{\n disabled?: boolean;\n}>",
1623
- "name": "calcSchemaData",
1624
- "params": [],
1625
- "returnType": {
1626
- "__schema": "TypeRefSchema",
1627
- "location": {
1628
- "filePath": "schema.main.runtime.ts",
1629
- "line": 192,
1630
- "character": 27
1631
- },
1632
- "name": "Promise",
1633
- "typeArgs": [
1766
+ "signature": "(method) SchemaMain.getSchemaData(component: Component): {\n [key: string]: any;\n} | undefined",
1767
+ "name": "getSchemaData",
1768
+ "params": [
1634
1769
  {
1635
- "__schema": "TypeLiteralSchema",
1770
+ "__schema": "ParameterSchema",
1636
1771
  "location": {
1637
1772
  "filePath": "schema.main.runtime.ts",
1638
- "line": 192,
1639
- "character": 35
1773
+ "line": 198,
1774
+ "character": 17
1640
1775
  },
1641
- "members": [
1642
- {
1643
- "__schema": "VariableLikeSchema",
1644
- "location": {
1645
- "filePath": "schema.main.runtime.ts",
1646
- "line": 192,
1647
- "character": 37
1648
- },
1649
- "signature": "(property) disabled?: boolean | undefined",
1650
- "name": "disabled",
1651
- "type": {
1652
- "__schema": "KeywordTypeSchema",
1653
- "location": {
1654
- "filePath": "schema.main.runtime.ts",
1655
- "line": 192,
1656
- "character": 48
1657
- },
1658
- "name": "boolean"
1659
- },
1660
- "isOptional": true
1776
+ "name": "component",
1777
+ "type": {
1778
+ "__schema": "TypeRefSchema",
1779
+ "location": {
1780
+ "filePath": "schema.main.runtime.ts",
1781
+ "line": 198,
1782
+ "character": 28
1783
+ },
1784
+ "name": "Component",
1785
+ "componentId": {
1786
+ "scope": "teambit.component",
1787
+ "name": "component"
1661
1788
  }
1662
- ]
1789
+ },
1790
+ "isOptional": false,
1791
+ "isSpread": false
1663
1792
  }
1664
- ]
1665
- },
1666
- "modifiers": [
1667
- "async"
1668
- ]
1669
- },
1670
- {
1671
- "__schema": "FunctionLikeSchema",
1672
- "location": {
1673
- "filePath": "schema.main.runtime.ts",
1674
- "line": 198,
1675
- "character": 3
1676
- },
1677
- "signature": "(method) SchemaMain.getSchemaData(component: Component): {\n [key: string]: any;\n} | undefined",
1678
- "name": "getSchemaData",
1679
- "params": [
1680
- {
1681
- "__schema": "ParameterSchema",
1793
+ ],
1794
+ "returnType": {
1795
+ "__schema": "InferenceTypeSchema",
1682
1796
  "location": {
1683
1797
  "filePath": "schema.main.runtime.ts",
1684
1798
  "line": 198,
1685
- "character": 17
1686
- },
1687
- "name": "component",
1688
- "type": {
1689
- "__schema": "TypeRefSchema",
1690
- "location": {
1691
- "filePath": "schema.main.runtime.ts",
1692
- "line": 198,
1693
- "character": 28
1694
- },
1695
- "name": "Component",
1696
- "componentId": {
1697
- "scope": "teambit.component",
1698
- "name": "component"
1699
- }
1799
+ "character": 3
1700
1800
  },
1701
- "isOptional": false,
1702
- "isSpread": false
1703
- }
1704
- ],
1705
- "returnType": {
1706
- "__schema": "InferenceTypeSchema",
1801
+ "type": "{\n [key: string]: any;\n} | undefined"
1802
+ },
1803
+ "modifiers": []
1804
+ },
1805
+ {
1806
+ "__schema": "FunctionLikeSchema",
1707
1807
  "location": {
1708
1808
  "filePath": "schema.main.runtime.ts",
1709
- "line": 198,
1809
+ "line": 202,
1710
1810
  "character": 3
1711
1811
  },
1712
- "type": "{\n [key: string]: any;\n} | undefined"
1713
- },
1714
- "modifiers": []
1715
- },
1716
- {
1717
- "__schema": "FunctionLikeSchema",
1718
- "location": {
1719
- "filePath": "schema.main.runtime.ts",
1720
- "line": 202,
1721
- "character": 3
1722
- },
1723
- "signature": "(method) SchemaMain.isSchemaTaskDisabled(component: Component): any",
1724
- "name": "isSchemaTaskDisabled",
1725
- "params": [
1726
- {
1727
- "__schema": "ParameterSchema",
1728
- "location": {
1729
- "filePath": "schema.main.runtime.ts",
1730
- "line": 202,
1731
- "character": 24
1732
- },
1733
- "name": "component",
1734
- "type": {
1735
- "__schema": "TypeRefSchema",
1812
+ "signature": "(method) SchemaMain.isSchemaTaskDisabled(component: Component): any",
1813
+ "name": "isSchemaTaskDisabled",
1814
+ "params": [
1815
+ {
1816
+ "__schema": "ParameterSchema",
1736
1817
  "location": {
1737
1818
  "filePath": "schema.main.runtime.ts",
1738
1819
  "line": 202,
1739
- "character": 35
1820
+ "character": 24
1740
1821
  },
1741
- "name": "Component",
1742
- "componentId": {
1743
- "scope": "teambit.component",
1744
- "name": "component"
1745
- }
1822
+ "name": "component",
1823
+ "type": {
1824
+ "__schema": "TypeRefSchema",
1825
+ "location": {
1826
+ "filePath": "schema.main.runtime.ts",
1827
+ "line": 202,
1828
+ "character": 35
1829
+ },
1830
+ "name": "Component",
1831
+ "componentId": {
1832
+ "scope": "teambit.component",
1833
+ "name": "component"
1834
+ }
1835
+ },
1836
+ "isOptional": false,
1837
+ "isSpread": false
1838
+ }
1839
+ ],
1840
+ "returnType": {
1841
+ "__schema": "InferenceTypeSchema",
1842
+ "location": {
1843
+ "filePath": "schema.main.runtime.ts",
1844
+ "line": 202,
1845
+ "character": 3
1746
1846
  },
1747
- "isOptional": false,
1748
- "isSpread": false
1749
- }
1750
- ],
1751
- "returnType": {
1752
- "__schema": "InferenceTypeSchema",
1753
- "location": {
1754
- "filePath": "schema.main.runtime.ts",
1755
- "line": 202,
1756
- "character": 3
1847
+ "type": "any"
1757
1848
  },
1758
- "type": "any"
1759
- },
1760
- "modifiers": []
1761
- },
1762
- {
1763
- "__schema": "VariableLikeSchema",
1764
- "location": {
1765
- "filePath": "schema.main.runtime.ts",
1766
- "line": 206,
1767
- "character": 3
1849
+ "modifiers": []
1768
1850
  },
1769
- "signature": "(property) SchemaMain.runtime: RuntimeDefinition",
1770
- "name": "runtime",
1771
- "type": {
1772
- "__schema": "InferenceTypeSchema",
1851
+ {
1852
+ "__schema": "VariableLikeSchema",
1773
1853
  "location": {
1774
1854
  "filePath": "schema.main.runtime.ts",
1775
1855
  "line": 206,
1776
1856
  "character": 3
1777
1857
  },
1778
- "type": "RuntimeDefinition"
1779
- },
1780
- "isOptional": true,
1781
- "defaultValue": "MainRuntime"
1782
- },
1783
- {
1784
- "__schema": "VariableLikeSchema",
1785
- "location": {
1786
- "filePath": "schema.main.runtime.ts",
1787
- "line": 207,
1788
- "character": 3
1858
+ "signature": "(property) SchemaMain.runtime: RuntimeDefinition",
1859
+ "name": "runtime",
1860
+ "type": {
1861
+ "__schema": "InferenceTypeSchema",
1862
+ "location": {
1863
+ "filePath": "schema.main.runtime.ts",
1864
+ "line": 206,
1865
+ "character": 3
1866
+ },
1867
+ "type": "RuntimeDefinition"
1868
+ },
1869
+ "isOptional": true,
1870
+ "defaultValue": "MainRuntime"
1789
1871
  },
1790
- "signature": "(property) SchemaMain.dependencies: Aspect[]",
1791
- "name": "dependencies",
1792
- "type": {
1793
- "__schema": "InferenceTypeSchema",
1872
+ {
1873
+ "__schema": "VariableLikeSchema",
1794
1874
  "location": {
1795
1875
  "filePath": "schema.main.runtime.ts",
1796
1876
  "line": 207,
1797
1877
  "character": 3
1798
1878
  },
1799
- "type": "Aspect[]"
1800
- },
1801
- "isOptional": true,
1802
- "defaultValue": "[\n EnvsAspect,\n CLIAspect,\n ComponentAspect,\n GraphqlAspect,\n LoggerAspect,\n BuilderAspect,\n WorkspaceAspect,\n ScopeAspect,\n ]"
1803
- },
1804
- {
1805
- "__schema": "VariableLikeSchema",
1806
- "location": {
1807
- "filePath": "schema.main.runtime.ts",
1808
- "line": 217,
1809
- "character": 3
1879
+ "signature": "(property) SchemaMain.dependencies: Aspect[]",
1880
+ "name": "dependencies",
1881
+ "type": {
1882
+ "__schema": "InferenceTypeSchema",
1883
+ "location": {
1884
+ "filePath": "schema.main.runtime.ts",
1885
+ "line": 207,
1886
+ "character": 3
1887
+ },
1888
+ "type": "Aspect[]"
1889
+ },
1890
+ "isOptional": true,
1891
+ "defaultValue": "[\n EnvsAspect,\n CLIAspect,\n ComponentAspect,\n GraphqlAspect,\n LoggerAspect,\n BuilderAspect,\n WorkspaceAspect,\n ScopeAspect,\n ]"
1810
1892
  },
1811
- "signature": "(property) SchemaMain.slots: ((registerFn: () => string) => SlotRegistry<Parser>)[]",
1812
- "name": "slots",
1813
- "type": {
1814
- "__schema": "InferenceTypeSchema",
1893
+ {
1894
+ "__schema": "VariableLikeSchema",
1815
1895
  "location": {
1816
1896
  "filePath": "schema.main.runtime.ts",
1817
1897
  "line": 217,
1818
1898
  "character": 3
1819
1899
  },
1820
- "type": "((registerFn: () => string) => SlotRegistry<Parser>)[]"
1821
- },
1822
- "isOptional": true,
1823
- "defaultValue": "[Slot.withType<Parser>()]"
1824
- },
1825
- {
1826
- "__schema": "VariableLikeSchema",
1827
- "location": {
1828
- "filePath": "schema.main.runtime.ts",
1829
- "line": 219,
1830
- "character": 3
1900
+ "signature": "(property) SchemaMain.slots: ((registerFn: () => string) => SlotRegistry<Parser>)[]",
1901
+ "name": "slots",
1902
+ "type": {
1903
+ "__schema": "InferenceTypeSchema",
1904
+ "location": {
1905
+ "filePath": "schema.main.runtime.ts",
1906
+ "line": 217,
1907
+ "character": 3
1908
+ },
1909
+ "type": "((registerFn: () => string) => SlotRegistry<Parser>)[]"
1910
+ },
1911
+ "isOptional": true,
1912
+ "defaultValue": "[Slot.withType<Parser>()]"
1831
1913
  },
1832
- "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n disabled: boolean;\n}",
1833
- "name": "defaultConfig",
1834
- "type": {
1835
- "__schema": "InferenceTypeSchema",
1914
+ {
1915
+ "__schema": "VariableLikeSchema",
1836
1916
  "location": {
1837
1917
  "filePath": "schema.main.runtime.ts",
1838
1918
  "line": 219,
1839
1919
  "character": 3
1840
1920
  },
1841
- "type": "{\n defaultParser: string;\n disabled: boolean;\n}"
1842
- },
1843
- "isOptional": true,
1844
- "defaultValue": "{\n defaultParser: 'teambit.typescript/typescript',\n disabled: false,\n }"
1845
- },
1846
- {
1847
- "__schema": "FunctionLikeSchema",
1848
- "location": {
1849
- "filePath": "schema.main.runtime.ts",
1850
- "line": 224,
1851
- "character": 3
1852
- },
1853
- "signature": "(method) SchemaMain.provider([envs, cli, component, graphql, loggerMain, builder, workspace, scope]: [\n EnvsMain,\n CLIMain,\n ComponentMain,\n GraphqlMain,\n LoggerMain,\n BuilderMain,\n Workspace,\n ScopeMain\n], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>",
1854
- "name": "provider",
1855
- "params": [
1856
- {
1857
- "__schema": "ParameterSchema",
1921
+ "signature": "(property) SchemaMain.defaultConfig: {\n defaultParser: string;\n disabled: boolean;\n}",
1922
+ "name": "defaultConfig",
1923
+ "type": {
1924
+ "__schema": "InferenceTypeSchema",
1858
1925
  "location": {
1859
1926
  "filePath": "schema.main.runtime.ts",
1860
- "line": 225,
1861
- "character": 5
1927
+ "line": 219,
1928
+ "character": 3
1862
1929
  },
1863
- "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace, scope ]",
1864
- "type": {
1865
- "__schema": "TupleTypeSchema",
1930
+ "type": "{\n defaultParser: string;\n disabled: boolean;\n}"
1931
+ },
1932
+ "isOptional": true,
1933
+ "defaultValue": "{\n defaultParser: 'teambit.typescript/typescript',\n disabled: false,\n }"
1934
+ },
1935
+ {
1936
+ "__schema": "FunctionLikeSchema",
1937
+ "location": {
1938
+ "filePath": "schema.main.runtime.ts",
1939
+ "line": 224,
1940
+ "character": 3
1941
+ },
1942
+ "signature": "(method) SchemaMain.provider([envs, cli, component, graphql, loggerMain, builder, workspace, scope]: [\n EnvsMain,\n CLIMain,\n ComponentMain,\n GraphqlMain,\n LoggerMain,\n BuilderMain,\n Workspace,\n ScopeMain\n], config: SchemaConfig, [parserSlot]: [ParserSlot]): Promise<SchemaMain>",
1943
+ "name": "provider",
1944
+ "params": [
1945
+ {
1946
+ "__schema": "ParameterSchema",
1866
1947
  "location": {
1867
1948
  "filePath": "schema.main.runtime.ts",
1868
1949
  "line": 225,
1869
- "character": 77
1950
+ "character": 5
1870
1951
  },
1871
- "elements": [
1872
- {
1873
- "__schema": "TypeRefSchema",
1874
- "location": {
1875
- "filePath": "schema.main.runtime.ts",
1876
- "line": 226,
1877
- "character": 7
1878
- },
1879
- "name": "EnvsMain",
1880
- "componentId": {
1881
- "scope": "teambit.envs",
1882
- "name": "envs"
1883
- }
1952
+ "name": "[ envs, cli, component, graphql, loggerMain, builder, workspace, scope ]",
1953
+ "type": {
1954
+ "__schema": "TupleTypeSchema",
1955
+ "location": {
1956
+ "filePath": "schema.main.runtime.ts",
1957
+ "line": 225,
1958
+ "character": 77
1884
1959
  },
1885
- {
1886
- "__schema": "TypeRefSchema",
1887
- "location": {
1888
- "filePath": "schema.main.runtime.ts",
1889
- "line": 227,
1890
- "character": 7
1960
+ "elements": [
1961
+ {
1962
+ "__schema": "TypeRefSchema",
1963
+ "location": {
1964
+ "filePath": "schema.main.runtime.ts",
1965
+ "line": 226,
1966
+ "character": 7
1967
+ },
1968
+ "name": "EnvsMain",
1969
+ "componentId": {
1970
+ "scope": "teambit.envs",
1971
+ "name": "envs"
1972
+ }
1891
1973
  },
1892
- "name": "CLIMain",
1893
- "componentId": {
1894
- "scope": "teambit.harmony",
1895
- "name": "cli"
1896
- }
1897
- },
1898
- {
1899
- "__schema": "TypeRefSchema",
1900
- "location": {
1901
- "filePath": "schema.main.runtime.ts",
1902
- "line": 228,
1903
- "character": 7
1974
+ {
1975
+ "__schema": "TypeRefSchema",
1976
+ "location": {
1977
+ "filePath": "schema.main.runtime.ts",
1978
+ "line": 227,
1979
+ "character": 7
1980
+ },
1981
+ "name": "CLIMain",
1982
+ "componentId": {
1983
+ "scope": "teambit.harmony",
1984
+ "name": "cli"
1985
+ }
1904
1986
  },
1905
- "name": "ComponentMain",
1906
- "componentId": {
1907
- "scope": "teambit.component",
1908
- "name": "component"
1909
- }
1910
- },
1911
- {
1912
- "__schema": "TypeRefSchema",
1913
- "location": {
1914
- "filePath": "schema.main.runtime.ts",
1915
- "line": 229,
1916
- "character": 7
1987
+ {
1988
+ "__schema": "TypeRefSchema",
1989
+ "location": {
1990
+ "filePath": "schema.main.runtime.ts",
1991
+ "line": 228,
1992
+ "character": 7
1993
+ },
1994
+ "name": "ComponentMain",
1995
+ "componentId": {
1996
+ "scope": "teambit.component",
1997
+ "name": "component"
1998
+ }
1917
1999
  },
1918
- "name": "GraphqlMain",
1919
- "componentId": {
1920
- "scope": "teambit.harmony",
1921
- "name": "graphql"
1922
- }
1923
- },
1924
- {
1925
- "__schema": "TypeRefSchema",
1926
- "location": {
1927
- "filePath": "schema.main.runtime.ts",
1928
- "line": 230,
1929
- "character": 7
2000
+ {
2001
+ "__schema": "TypeRefSchema",
2002
+ "location": {
2003
+ "filePath": "schema.main.runtime.ts",
2004
+ "line": 229,
2005
+ "character": 7
2006
+ },
2007
+ "name": "GraphqlMain",
2008
+ "componentId": {
2009
+ "scope": "teambit.harmony",
2010
+ "name": "graphql"
2011
+ }
1930
2012
  },
1931
- "name": "LoggerMain",
1932
- "componentId": {
1933
- "scope": "teambit.harmony",
1934
- "name": "logger"
1935
- }
1936
- },
1937
- {
1938
- "__schema": "TypeRefSchema",
1939
- "location": {
1940
- "filePath": "schema.main.runtime.ts",
1941
- "line": 231,
1942
- "character": 7
2013
+ {
2014
+ "__schema": "TypeRefSchema",
2015
+ "location": {
2016
+ "filePath": "schema.main.runtime.ts",
2017
+ "line": 230,
2018
+ "character": 7
2019
+ },
2020
+ "name": "LoggerMain",
2021
+ "componentId": {
2022
+ "scope": "teambit.harmony",
2023
+ "name": "logger"
2024
+ }
1943
2025
  },
1944
- "name": "BuilderMain",
1945
- "componentId": {
1946
- "scope": "teambit.pipelines",
1947
- "name": "builder"
1948
- }
1949
- },
1950
- {
1951
- "__schema": "TypeRefSchema",
1952
- "location": {
1953
- "filePath": "schema.main.runtime.ts",
1954
- "line": 232,
1955
- "character": 7
2026
+ {
2027
+ "__schema": "TypeRefSchema",
2028
+ "location": {
2029
+ "filePath": "schema.main.runtime.ts",
2030
+ "line": 231,
2031
+ "character": 7
2032
+ },
2033
+ "name": "BuilderMain",
2034
+ "componentId": {
2035
+ "scope": "teambit.pipelines",
2036
+ "name": "builder"
2037
+ }
1956
2038
  },
1957
- "name": "Workspace",
1958
- "componentId": {
1959
- "scope": "teambit.workspace",
1960
- "name": "workspace"
1961
- }
1962
- },
1963
- {
1964
- "__schema": "TypeRefSchema",
1965
- "location": {
1966
- "filePath": "schema.main.runtime.ts",
1967
- "line": 233,
1968
- "character": 7
2039
+ {
2040
+ "__schema": "TypeRefSchema",
2041
+ "location": {
2042
+ "filePath": "schema.main.runtime.ts",
2043
+ "line": 232,
2044
+ "character": 7
2045
+ },
2046
+ "name": "Workspace",
2047
+ "componentId": {
2048
+ "scope": "teambit.workspace",
2049
+ "name": "workspace"
2050
+ }
1969
2051
  },
1970
- "name": "ScopeMain",
1971
- "componentId": {
1972
- "scope": "teambit.scope",
1973
- "name": "scope"
2052
+ {
2053
+ "__schema": "TypeRefSchema",
2054
+ "location": {
2055
+ "filePath": "schema.main.runtime.ts",
2056
+ "line": 233,
2057
+ "character": 7
2058
+ },
2059
+ "name": "ScopeMain",
2060
+ "componentId": {
2061
+ "scope": "teambit.scope",
2062
+ "name": "scope"
2063
+ }
1974
2064
  }
1975
- }
1976
- ]
1977
- },
1978
- "isOptional": false,
1979
- "isSpread": false
1980
- },
1981
- {
1982
- "__schema": "ParameterSchema",
1983
- "location": {
1984
- "filePath": "schema.main.runtime.ts",
1985
- "line": 235,
1986
- "character": 5
2065
+ ]
2066
+ },
2067
+ "isOptional": false,
2068
+ "isSpread": false
1987
2069
  },
1988
- "name": "config",
1989
- "type": {
1990
- "__schema": "TypeRefSchema",
2070
+ {
2071
+ "__schema": "ParameterSchema",
1991
2072
  "location": {
1992
2073
  "filePath": "schema.main.runtime.ts",
1993
2074
  "line": 235,
1994
- "character": 13
2075
+ "character": 5
1995
2076
  },
1996
- "name": "SchemaConfig",
1997
- "internalFilePath": "schema.main.runtime.ts"
1998
- },
1999
- "isOptional": false,
2000
- "isSpread": false
2001
- },
2002
- {
2003
- "__schema": "ParameterSchema",
2004
- "location": {
2005
- "filePath": "schema.main.runtime.ts",
2006
- "line": 236,
2007
- "character": 5
2077
+ "name": "config",
2078
+ "type": {
2079
+ "__schema": "TypeRefSchema",
2080
+ "location": {
2081
+ "filePath": "schema.main.runtime.ts",
2082
+ "line": 235,
2083
+ "character": 13
2084
+ },
2085
+ "name": "SchemaConfig",
2086
+ "internalFilePath": "schema.main.runtime.ts"
2087
+ },
2088
+ "isOptional": false,
2089
+ "isSpread": false
2008
2090
  },
2009
- "name": "[ parserSlot ]",
2010
- "type": {
2011
- "__schema": "TupleTypeSchema",
2091
+ {
2092
+ "__schema": "ParameterSchema",
2012
2093
  "location": {
2013
2094
  "filePath": "schema.main.runtime.ts",
2014
2095
  "line": 236,
2015
- "character": 19
2096
+ "character": 5
2016
2097
  },
2017
- "elements": [
2018
- {
2019
- "__schema": "TypeRefSchema",
2020
- "location": {
2021
- "filePath": "schema.main.runtime.ts",
2022
- "line": 236,
2023
- "character": 20
2024
- },
2025
- "name": "ParserSlot",
2026
- "internalFilePath": "schema.main.runtime.ts"
2027
- }
2028
- ]
2098
+ "name": "[ parserSlot ]",
2099
+ "type": {
2100
+ "__schema": "TupleTypeSchema",
2101
+ "location": {
2102
+ "filePath": "schema.main.runtime.ts",
2103
+ "line": 236,
2104
+ "character": 19
2105
+ },
2106
+ "elements": [
2107
+ {
2108
+ "__schema": "TypeRefSchema",
2109
+ "location": {
2110
+ "filePath": "schema.main.runtime.ts",
2111
+ "line": 236,
2112
+ "character": 20
2113
+ },
2114
+ "name": "ParserSlot",
2115
+ "internalFilePath": "schema.main.runtime.ts"
2116
+ }
2117
+ ]
2118
+ },
2119
+ "isOptional": false,
2120
+ "isSpread": false
2121
+ }
2122
+ ],
2123
+ "returnType": {
2124
+ "__schema": "InferenceTypeSchema",
2125
+ "location": {
2126
+ "filePath": "schema.main.runtime.ts",
2127
+ "line": 224,
2128
+ "character": 3
2029
2129
  },
2030
- "isOptional": false,
2031
- "isSpread": false
2032
- }
2033
- ],
2034
- "returnType": {
2035
- "__schema": "InferenceTypeSchema",
2036
- "location": {
2037
- "filePath": "schema.main.runtime.ts",
2038
- "line": 224,
2039
- "character": 3
2130
+ "type": "Promise<SchemaMain>"
2040
2131
  },
2041
- "type": "Promise<SchemaMain>"
2042
- },
2043
- "modifiers": [
2044
- "static",
2045
- "async"
2046
- ]
2047
- }
2048
- ],
2049
- "extendsNodes": [],
2050
- "implementNodes": []
2132
+ "modifiers": [
2133
+ "static",
2134
+ "async"
2135
+ ]
2136
+ }
2137
+ ],
2138
+ "extendsNodes": [],
2139
+ "implementNodes": []
2140
+ }
2051
2141
  },
2052
2142
  {
2053
2143
  "__schema": "UnImplementedSchema",
@@ -2060,30 +2150,39 @@
2060
2150
  "type": "Identifier"
2061
2151
  },
2062
2152
  {
2063
- "__schema": "VariableLikeSchema",
2153
+ "__schema": "ExportSchema",
2064
2154
  "location": {
2065
- "filePath": "schema.aspect.ts",
2066
- "line": 3,
2067
- "character": 14
2155
+ "filePath": "index.ts",
2156
+ "line": 16,
2157
+ "character": 10
2068
2158
  },
2069
- "signature": "const SchemaAspect: Aspect",
2070
2159
  "name": "SchemaAspect",
2071
- "type": {
2072
- "__schema": "TypeRefSchema",
2160
+ "exportNode": {
2161
+ "__schema": "VariableLikeSchema",
2073
2162
  "location": {
2074
2163
  "filePath": "schema.aspect.ts",
2075
2164
  "line": 3,
2076
2165
  "character": 14
2077
2166
  },
2078
- "name": "Aspect",
2079
- "componentId": {
2080
- "scope": "teambit.harmony",
2081
- "name": "harmony",
2082
- "version": "0.4.6"
2083
- }
2084
- },
2085
- "isOptional": false,
2086
- "defaultValue": "Aspect.create({\n id: 'teambit.semantics/schema',\n})"
2167
+ "signature": "const SchemaAspect: Aspect",
2168
+ "name": "SchemaAspect",
2169
+ "type": {
2170
+ "__schema": "TypeRefSchema",
2171
+ "location": {
2172
+ "filePath": "schema.aspect.ts",
2173
+ "line": 3,
2174
+ "character": 14
2175
+ },
2176
+ "name": "Aspect",
2177
+ "componentId": {
2178
+ "scope": "teambit.harmony",
2179
+ "name": "harmony",
2180
+ "version": "0.4.6"
2181
+ }
2182
+ },
2183
+ "isOptional": false,
2184
+ "defaultValue": "Aspect.create({\n id: 'teambit.semantics/schema',\n})"
2185
+ }
2087
2186
  }
2088
2187
  ],
2089
2188
  "internals": []
@@ -2216,7 +2315,7 @@
2216
2315
  "componentId": {
2217
2316
  "scope": "teambit.semantics",
2218
2317
  "name": "entities/semantic-schema",
2219
- "version": "0.0.68"
2318
+ "version": "0.0.69"
2220
2319
  }
2221
2320
  }
2222
2321
  },
@@ -2331,7 +2430,7 @@
2331
2430
  "componentId": {
2332
2431
  "scope": "teambit.semantics",
2333
2432
  "name": "entities/semantic-schema",
2334
- "version": "0.0.68"
2433
+ "version": "0.0.69"
2335
2434
  }
2336
2435
  }
2337
2436
  ]
@@ -2789,7 +2888,7 @@
2789
2888
  "_legacy": {
2790
2889
  "scope": "teambit.semantics",
2791
2890
  "name": "schema",
2792
- "version": "1.0.257"
2891
+ "version": "1.0.259"
2793
2892
  },
2794
2893
  "_scope": "teambit.semantics"
2795
2894
  }
@@ -3283,7 +3382,7 @@
3283
3382
  "componentId": {
3284
3383
  "scope": "teambit.semantics",
3285
3384
  "name": "entities/semantic-schema",
3286
- "version": "0.0.68"
3385
+ "version": "0.0.69"
3287
3386
  }
3288
3387
  },
3289
3388
  "isOptional": false,
@@ -3380,7 +3479,7 @@
3380
3479
  "componentId": {
3381
3480
  "scope": "teambit.semantics",
3382
3481
  "name": "entities/semantic-schema",
3383
- "version": "0.0.68"
3482
+ "version": "0.0.69"
3384
3483
  }
3385
3484
  }
3386
3485
  },
@@ -3727,7 +3826,7 @@
3727
3826
  "componentId": {
3728
3827
  "scope": "teambit.semantics",
3729
3828
  "name": "entities/semantic-schema",
3730
- "version": "0.0.68"
3829
+ "version": "0.0.69"
3731
3830
  }
3732
3831
  }
3733
3832
  ]
@@ -3798,7 +3897,7 @@
3798
3897
  "componentId": {
3799
3898
  "scope": "teambit.semantics",
3800
3899
  "name": "entities/semantic-schema",
3801
- "version": "0.0.68"
3900
+ "version": "0.0.69"
3802
3901
  }
3803
3902
  },
3804
3903
  "modifiers": []
@@ -4357,7 +4456,7 @@
4357
4456
  "componentId": {
4358
4457
  "scope": "teambit.semantics",
4359
4458
  "name": "schema",
4360
- "version": "1.0.257"
4459
+ "version": "1.0.259"
4361
4460
  },
4362
4461
  "taggedModuleExports": []
4363
4462
  }