@teambit/compositions 1.0.257 → 1.0.258

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,2506 +14,2472 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "VariableLikeSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "compositions.aspect.ts",
19
+ "filePath": "index.ts",
20
20
  "line": 3,
21
- "character": 14
21
+ "character": 10
22
22
  },
23
- "signature": "const CompositionsAspect: Aspect",
24
23
  "name": "CompositionsAspect",
25
- "type": {
26
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "VariableLikeSchema",
27
26
  "location": {
28
27
  "filePath": "compositions.aspect.ts",
29
28
  "line": 3,
30
29
  "character": 14
31
30
  },
32
- "name": "Aspect",
33
- "componentId": {
34
- "scope": "teambit.harmony",
35
- "name": "harmony",
36
- "version": "0.4.6"
37
- }
38
- },
39
- "isOptional": false,
40
- "defaultValue": "Aspect.create({\n id: 'teambit.compositions/compositions',\n dependencies: [],\n defaultConfig: {},\n})"
31
+ "signature": "const CompositionsAspect: Aspect",
32
+ "name": "CompositionsAspect",
33
+ "type": {
34
+ "__schema": "TypeRefSchema",
35
+ "location": {
36
+ "filePath": "compositions.aspect.ts",
37
+ "line": 3,
38
+ "character": 14
39
+ },
40
+ "name": "Aspect",
41
+ "componentId": {
42
+ "scope": "teambit.harmony",
43
+ "name": "harmony",
44
+ "version": "0.4.6"
45
+ }
46
+ },
47
+ "isOptional": false,
48
+ "defaultValue": "Aspect.create({\n id: 'teambit.compositions/compositions',\n dependencies: [],\n defaultConfig: {},\n})"
49
+ }
41
50
  },
42
51
  {
43
- "__schema": "ClassSchema",
52
+ "__schema": "ExportSchema",
44
53
  "location": {
45
- "filePath": "compositions.main.runtime.ts",
46
- "line": 35,
47
- "character": 1
54
+ "filePath": "index.ts",
55
+ "line": 4,
56
+ "character": 15
48
57
  },
49
- "doc": {
50
- "__schema": "DocSchema",
58
+ "name": "CompositionsMain",
59
+ "exportNode": {
60
+ "__schema": "ClassSchema",
51
61
  "location": {
52
62
  "filePath": "compositions.main.runtime.ts",
53
- "line": 32,
63
+ "line": 35,
54
64
  "character": 1
55
65
  },
56
- "raw": "/**\n * the component documentation extension.\n */",
57
- "comment": "the component documentation extension."
58
- },
59
- "signature": "class CompositionsMain",
60
- "name": "CompositionsMain",
61
- "members": [
62
- {
63
- "__schema": "ConstructorSchema",
66
+ "doc": {
67
+ "__schema": "DocSchema",
64
68
  "location": {
65
69
  "filePath": "compositions.main.runtime.ts",
66
- "line": 36,
67
- "character": 3
70
+ "line": 32,
71
+ "character": 1
68
72
  },
69
- "signature": "constructor CompositionsMain(compositionFilePattern: string[], previewFilePattern: string[], preview: PreviewMain, workspace: Workspace, schema: SchemaMain, devFiles: DevFilesMain, envs: EnvsMain): CompositionsMain",
70
- "name": "constructor",
71
- "params": [
72
- {
73
- "__schema": "ParameterSchema",
74
- "location": {
75
- "filePath": "compositions.main.runtime.ts",
76
- "line": 40,
77
- "character": 5
78
- },
79
- "name": "compositionFilePattern",
80
- "type": {
81
- "__schema": "TypeArraySchema",
73
+ "raw": "/**\n * the component documentation extension.\n */",
74
+ "comment": "the component documentation extension."
75
+ },
76
+ "signature": "class CompositionsMain",
77
+ "name": "CompositionsMain",
78
+ "members": [
79
+ {
80
+ "__schema": "ConstructorSchema",
81
+ "location": {
82
+ "filePath": "compositions.main.runtime.ts",
83
+ "line": 36,
84
+ "character": 3
85
+ },
86
+ "signature": "constructor CompositionsMain(compositionFilePattern: string[], previewFilePattern: string[], preview: PreviewMain, workspace: Workspace, schema: SchemaMain, devFiles: DevFilesMain, envs: EnvsMain): CompositionsMain",
87
+ "name": "constructor",
88
+ "params": [
89
+ {
90
+ "__schema": "ParameterSchema",
82
91
  "location": {
83
92
  "filePath": "compositions.main.runtime.ts",
84
93
  "line": 40,
85
- "character": 37
94
+ "character": 5
86
95
  },
96
+ "name": "compositionFilePattern",
87
97
  "type": {
88
- "__schema": "KeywordTypeSchema",
98
+ "__schema": "TypeArraySchema",
89
99
  "location": {
90
100
  "filePath": "compositions.main.runtime.ts",
91
101
  "line": 40,
92
102
  "character": 37
93
103
  },
94
- "name": "string"
95
- }
96
- },
97
- "isOptional": false,
98
- "isSpread": false
99
- },
100
- {
101
- "__schema": "ParameterSchema",
102
- "location": {
103
- "filePath": "compositions.main.runtime.ts",
104
- "line": 45,
105
- "character": 5
104
+ "type": {
105
+ "__schema": "KeywordTypeSchema",
106
+ "location": {
107
+ "filePath": "compositions.main.runtime.ts",
108
+ "line": 40,
109
+ "character": 37
110
+ },
111
+ "name": "string"
112
+ }
113
+ },
114
+ "isOptional": false,
115
+ "isSpread": false
106
116
  },
107
- "name": "previewFilePattern",
108
- "type": {
109
- "__schema": "TypeArraySchema",
117
+ {
118
+ "__schema": "ParameterSchema",
110
119
  "location": {
111
120
  "filePath": "compositions.main.runtime.ts",
112
121
  "line": 45,
113
- "character": 33
122
+ "character": 5
114
123
  },
124
+ "name": "previewFilePattern",
115
125
  "type": {
116
- "__schema": "KeywordTypeSchema",
126
+ "__schema": "TypeArraySchema",
117
127
  "location": {
118
128
  "filePath": "compositions.main.runtime.ts",
119
129
  "line": 45,
120
130
  "character": 33
121
131
  },
122
- "name": "string"
123
- }
124
- },
125
- "isOptional": false,
126
- "isSpread": false
127
- },
128
- {
129
- "__schema": "ParameterSchema",
130
- "location": {
131
- "filePath": "compositions.main.runtime.ts",
132
- "line": 50,
133
- "character": 5
132
+ "type": {
133
+ "__schema": "KeywordTypeSchema",
134
+ "location": {
135
+ "filePath": "compositions.main.runtime.ts",
136
+ "line": 45,
137
+ "character": 33
138
+ },
139
+ "name": "string"
140
+ }
141
+ },
142
+ "isOptional": false,
143
+ "isSpread": false
134
144
  },
135
- "name": "preview",
136
- "type": {
137
- "__schema": "TypeRefSchema",
145
+ {
146
+ "__schema": "ParameterSchema",
138
147
  "location": {
139
148
  "filePath": "compositions.main.runtime.ts",
140
149
  "line": 50,
141
- "character": 22
150
+ "character": 5
142
151
  },
143
- "name": "PreviewMain",
144
- "componentId": {
145
- "scope": "teambit.preview",
146
- "name": "preview"
147
- }
148
- },
149
- "isOptional": false,
150
- "isSpread": false
151
- },
152
- {
153
- "__schema": "ParameterSchema",
154
- "location": {
155
- "filePath": "compositions.main.runtime.ts",
156
- "line": 55,
157
- "character": 5
152
+ "name": "preview",
153
+ "type": {
154
+ "__schema": "TypeRefSchema",
155
+ "location": {
156
+ "filePath": "compositions.main.runtime.ts",
157
+ "line": 50,
158
+ "character": 22
159
+ },
160
+ "name": "PreviewMain"
161
+ },
162
+ "isOptional": false,
163
+ "isSpread": false
158
164
  },
159
- "name": "workspace",
160
- "type": {
161
- "__schema": "TypeRefSchema",
165
+ {
166
+ "__schema": "ParameterSchema",
162
167
  "location": {
163
168
  "filePath": "compositions.main.runtime.ts",
164
169
  "line": 55,
165
- "character": 24
170
+ "character": 5
166
171
  },
167
- "name": "Workspace",
168
- "componentId": {
169
- "scope": "teambit.workspace",
170
- "name": "workspace"
171
- }
172
- },
173
- "isOptional": false,
174
- "isSpread": false
175
- },
176
- {
177
- "__schema": "ParameterSchema",
178
- "location": {
179
- "filePath": "compositions.main.runtime.ts",
180
- "line": 60,
181
- "character": 5
172
+ "name": "workspace",
173
+ "type": {
174
+ "__schema": "TypeRefSchema",
175
+ "location": {
176
+ "filePath": "compositions.main.runtime.ts",
177
+ "line": 55,
178
+ "character": 24
179
+ },
180
+ "name": "Workspace"
181
+ },
182
+ "isOptional": false,
183
+ "isSpread": false
182
184
  },
183
- "name": "schema",
184
- "type": {
185
- "__schema": "TypeRefSchema",
185
+ {
186
+ "__schema": "ParameterSchema",
186
187
  "location": {
187
188
  "filePath": "compositions.main.runtime.ts",
188
189
  "line": 60,
189
- "character": 21
190
+ "character": 5
190
191
  },
191
- "name": "SchemaMain",
192
- "componentId": {
193
- "scope": "teambit.semantics",
194
- "name": "schema"
195
- }
196
- },
197
- "isOptional": false,
198
- "isSpread": false
199
- },
200
- {
201
- "__schema": "ParameterSchema",
202
- "location": {
203
- "filePath": "compositions.main.runtime.ts",
204
- "line": 62,
205
- "character": 5
192
+ "name": "schema",
193
+ "type": {
194
+ "__schema": "TypeRefSchema",
195
+ "location": {
196
+ "filePath": "compositions.main.runtime.ts",
197
+ "line": 60,
198
+ "character": 21
199
+ },
200
+ "name": "SchemaMain"
201
+ },
202
+ "isOptional": false,
203
+ "isSpread": false
206
204
  },
207
- "name": "devFiles",
208
- "type": {
209
- "__schema": "TypeRefSchema",
205
+ {
206
+ "__schema": "ParameterSchema",
210
207
  "location": {
211
208
  "filePath": "compositions.main.runtime.ts",
212
209
  "line": 62,
213
- "character": 23
210
+ "character": 5
214
211
  },
215
- "name": "DevFilesMain",
216
- "componentId": {
217
- "scope": "teambit.component",
218
- "name": "dev-files"
219
- }
220
- },
221
- "isOptional": false,
222
- "isSpread": false
223
- },
224
- {
225
- "__schema": "ParameterSchema",
226
- "location": {
227
- "filePath": "compositions.main.runtime.ts",
228
- "line": 64,
229
- "character": 5
212
+ "name": "devFiles",
213
+ "type": {
214
+ "__schema": "TypeRefSchema",
215
+ "location": {
216
+ "filePath": "compositions.main.runtime.ts",
217
+ "line": 62,
218
+ "character": 23
219
+ },
220
+ "name": "DevFilesMain"
221
+ },
222
+ "isOptional": false,
223
+ "isSpread": false
230
224
  },
231
- "name": "envs",
232
- "type": {
233
- "__schema": "TypeRefSchema",
225
+ {
226
+ "__schema": "ParameterSchema",
234
227
  "location": {
235
228
  "filePath": "compositions.main.runtime.ts",
236
229
  "line": 64,
237
- "character": 19
230
+ "character": 5
238
231
  },
239
- "name": "EnvsMain",
240
- "componentId": {
241
- "scope": "teambit.envs",
242
- "name": "envs"
243
- }
232
+ "name": "envs",
233
+ "type": {
234
+ "__schema": "TypeRefSchema",
235
+ "location": {
236
+ "filePath": "compositions.main.runtime.ts",
237
+ "line": 64,
238
+ "character": 19
239
+ },
240
+ "name": "EnvsMain"
241
+ },
242
+ "isOptional": false,
243
+ "isSpread": false
244
+ }
245
+ ],
246
+ "returnType": {
247
+ "__schema": "ThisTypeSchema",
248
+ "location": {
249
+ "filePath": "compositions.main.runtime.ts",
250
+ "line": 35,
251
+ "character": 1
244
252
  },
245
- "isOptional": false,
246
- "isSpread": false
247
- }
248
- ],
249
- "returnType": {
250
- "__schema": "ThisTypeSchema",
251
- "location": {
252
- "filePath": "compositions.main.runtime.ts",
253
- "line": 35,
254
- "character": 1
253
+ "name": "CompositionsMain"
255
254
  },
256
- "name": "CompositionsMain"
257
- },
258
- "modifiers": []
259
- },
260
- {
261
- "__schema": "FunctionLikeSchema",
262
- "location": {
263
- "filePath": "compositions.main.runtime.ts",
264
- "line": 70,
265
- "character": 3
255
+ "modifiers": []
266
256
  },
267
- "doc": {
268
- "__schema": "DocSchema",
257
+ {
258
+ "__schema": "FunctionLikeSchema",
269
259
  "location": {
270
260
  "filePath": "compositions.main.runtime.ts",
271
- "line": 67,
261
+ "line": 70,
272
262
  "character": 3
273
263
  },
274
- "raw": "/**\n * returns an array of doc file paths for a set of components.\n */",
275
- "comment": "returns an array of doc file paths for a set of components."
276
- },
277
- "signature": "(method) CompositionsMain.getPreviewFiles(components: Component[]): ComponentMap<AbstractVinyl[]>",
278
- "name": "getPreviewFiles",
279
- "params": [
280
- {
281
- "__schema": "ParameterSchema",
264
+ "doc": {
265
+ "__schema": "DocSchema",
282
266
  "location": {
283
267
  "filePath": "compositions.main.runtime.ts",
284
- "line": 70,
285
- "character": 19
268
+ "line": 67,
269
+ "character": 3
286
270
  },
287
- "name": "components",
288
- "type": {
289
- "__schema": "TypeArraySchema",
271
+ "raw": "/**\n * returns an array of doc file paths for a set of components.\n */",
272
+ "comment": "returns an array of doc file paths for a set of components."
273
+ },
274
+ "signature": "(method) CompositionsMain.getPreviewFiles(components: Component[]): ComponentMap<AbstractVinyl[]>",
275
+ "name": "getPreviewFiles",
276
+ "params": [
277
+ {
278
+ "__schema": "ParameterSchema",
290
279
  "location": {
291
280
  "filePath": "compositions.main.runtime.ts",
292
281
  "line": 70,
293
- "character": 31
282
+ "character": 19
294
283
  },
284
+ "name": "components",
295
285
  "type": {
296
- "__schema": "TypeRefSchema",
286
+ "__schema": "TypeArraySchema",
297
287
  "location": {
298
288
  "filePath": "compositions.main.runtime.ts",
299
289
  "line": 70,
300
290
  "character": 31
301
291
  },
302
- "name": "Component",
303
- "componentId": {
304
- "scope": "teambit.component",
305
- "name": "component"
292
+ "type": {
293
+ "__schema": "TypeRefSchema",
294
+ "location": {
295
+ "filePath": "compositions.main.runtime.ts",
296
+ "line": 70,
297
+ "character": 31
298
+ },
299
+ "name": "Component"
306
300
  }
307
- }
308
- },
309
- "isOptional": false,
310
- "isSpread": false
311
- }
312
- ],
313
- "returnType": {
314
- "__schema": "TypeRefSchema",
315
- "location": {
316
- "filePath": "compositions.main.runtime.ts",
317
- "line": 70,
318
- "character": 45
319
- },
320
- "name": "ComponentMap",
321
- "componentId": {
322
- "scope": "teambit.component",
323
- "name": "component"
324
- },
325
- "typeArgs": [
326
- {
327
- "__schema": "TypeArraySchema",
328
- "location": {
329
- "filePath": "compositions.main.runtime.ts",
330
- "line": 70,
331
- "character": 58
332
301
  },
333
- "type": {
334
- "__schema": "TypeRefSchema",
302
+ "isOptional": false,
303
+ "isSpread": false
304
+ }
305
+ ],
306
+ "returnType": {
307
+ "__schema": "TypeRefSchema",
308
+ "location": {
309
+ "filePath": "compositions.main.runtime.ts",
310
+ "line": 70,
311
+ "character": 45
312
+ },
313
+ "name": "ComponentMap",
314
+ "typeArgs": [
315
+ {
316
+ "__schema": "TypeArraySchema",
335
317
  "location": {
336
318
  "filePath": "compositions.main.runtime.ts",
337
319
  "line": 70,
338
320
  "character": 58
339
321
  },
340
- "name": "AbstractVinyl",
341
- "packageName": "@teambit/legacy/dist/consumer/component/sources"
322
+ "type": {
323
+ "__schema": "TypeRefSchema",
324
+ "location": {
325
+ "filePath": "compositions.main.runtime.ts",
326
+ "line": 70,
327
+ "character": 58
328
+ },
329
+ "name": "AbstractVinyl"
330
+ }
342
331
  }
343
- }
344
- ]
345
- },
346
- "modifiers": []
347
- },
348
- {
349
- "__schema": "FunctionLikeSchema",
350
- "location": {
351
- "filePath": "compositions.main.runtime.ts",
352
- "line": 88,
353
- "character": 3
332
+ ]
333
+ },
334
+ "modifiers": []
354
335
  },
355
- "doc": {
356
- "__schema": "DocSchema",
336
+ {
337
+ "__schema": "FunctionLikeSchema",
357
338
  "location": {
358
339
  "filePath": "compositions.main.runtime.ts",
359
- "line": 85,
340
+ "line": 88,
360
341
  "character": 3
361
342
  },
362
- "raw": "/**\n * checks if a file matches the composition file pattern.\n */",
363
- "comment": "checks if a file matches the composition file pattern."
364
- },
365
- "signature": "(method) CompositionsMain.isCompositionFile(filePath: string): boolean",
366
- "name": "isCompositionFile",
367
- "params": [
368
- {
369
- "__schema": "ParameterSchema",
343
+ "doc": {
344
+ "__schema": "DocSchema",
370
345
  "location": {
371
346
  "filePath": "compositions.main.runtime.ts",
372
- "line": 88,
373
- "character": 21
347
+ "line": 85,
348
+ "character": 3
374
349
  },
375
- "name": "filePath",
376
- "type": {
377
- "__schema": "KeywordTypeSchema",
350
+ "raw": "/**\n * checks if a file matches the composition file pattern.\n */",
351
+ "comment": "checks if a file matches the composition file pattern."
352
+ },
353
+ "signature": "(method) CompositionsMain.isCompositionFile(filePath: string): boolean",
354
+ "name": "isCompositionFile",
355
+ "params": [
356
+ {
357
+ "__schema": "ParameterSchema",
378
358
  "location": {
379
359
  "filePath": "compositions.main.runtime.ts",
380
360
  "line": 88,
381
- "character": 31
361
+ "character": 21
382
362
  },
383
- "name": "string"
363
+ "name": "filePath",
364
+ "type": {
365
+ "__schema": "KeywordTypeSchema",
366
+ "location": {
367
+ "filePath": "compositions.main.runtime.ts",
368
+ "line": 88,
369
+ "character": 31
370
+ },
371
+ "name": "string"
372
+ },
373
+ "isOptional": false,
374
+ "isSpread": false
375
+ }
376
+ ],
377
+ "returnType": {
378
+ "__schema": "KeywordTypeSchema",
379
+ "location": {
380
+ "filePath": "compositions.main.runtime.ts",
381
+ "line": 88,
382
+ "character": 40
384
383
  },
385
- "isOptional": false,
386
- "isSpread": false
387
- }
388
- ],
389
- "returnType": {
390
- "__schema": "KeywordTypeSchema",
391
- "location": {
392
- "filePath": "compositions.main.runtime.ts",
393
- "line": 88,
394
- "character": 40
384
+ "name": "boolean"
395
385
  },
396
- "name": "boolean"
397
- },
398
- "modifiers": []
399
- },
400
- {
401
- "__schema": "FunctionLikeSchema",
402
- "location": {
403
- "filePath": "compositions.main.runtime.ts",
404
- "line": 96,
405
- "character": 3
386
+ "modifiers": []
406
387
  },
407
- "doc": {
408
- "__schema": "DocSchema",
388
+ {
389
+ "__schema": "FunctionLikeSchema",
409
390
  "location": {
410
391
  "filePath": "compositions.main.runtime.ts",
411
- "line": 93,
392
+ "line": 96,
412
393
  "character": 3
413
394
  },
414
- "raw": "/**\n * get component compositions.\n */",
415
- "comment": "get component compositions."
416
- },
417
- "signature": "(method) CompositionsMain.getCompositions(component: IComponent): Composition[]",
418
- "name": "getCompositions",
419
- "params": [
420
- {
421
- "__schema": "ParameterSchema",
395
+ "doc": {
396
+ "__schema": "DocSchema",
422
397
  "location": {
423
398
  "filePath": "compositions.main.runtime.ts",
424
- "line": 96,
425
- "character": 19
399
+ "line": 93,
400
+ "character": 3
426
401
  },
427
- "name": "component",
428
- "type": {
429
- "__schema": "TypeRefSchema",
402
+ "raw": "/**\n * get component compositions.\n */",
403
+ "comment": "get component compositions."
404
+ },
405
+ "signature": "(method) CompositionsMain.getCompositions(component: IComponent): Composition[]",
406
+ "name": "getCompositions",
407
+ "params": [
408
+ {
409
+ "__schema": "ParameterSchema",
430
410
  "location": {
431
411
  "filePath": "compositions.main.runtime.ts",
432
412
  "line": 96,
433
- "character": 30
413
+ "character": 19
434
414
  },
435
- "name": "IComponent",
436
- "componentId": {
437
- "scope": "teambit.component",
438
- "name": "component"
439
- }
440
- },
441
- "isOptional": false,
442
- "isSpread": false
443
- }
444
- ],
445
- "returnType": {
446
- "__schema": "TypeArraySchema",
447
- "location": {
448
- "filePath": "compositions.main.runtime.ts",
449
- "line": 96,
450
- "character": 43
451
- },
452
- "type": {
453
- "__schema": "TypeRefSchema",
415
+ "name": "component",
416
+ "type": {
417
+ "__schema": "TypeRefSchema",
418
+ "location": {
419
+ "filePath": "compositions.main.runtime.ts",
420
+ "line": 96,
421
+ "character": 30
422
+ },
423
+ "name": "IComponent"
424
+ },
425
+ "isOptional": false,
426
+ "isSpread": false
427
+ }
428
+ ],
429
+ "returnType": {
430
+ "__schema": "TypeArraySchema",
454
431
  "location": {
455
432
  "filePath": "compositions.main.runtime.ts",
456
433
  "line": 96,
457
434
  "character": 43
458
435
  },
459
- "name": "Composition"
460
- }
461
- },
462
- "modifiers": []
463
- },
464
- {
465
- "__schema": "FunctionLikeSchema",
466
- "location": {
467
- "filePath": "compositions.main.runtime.ts",
468
- "line": 108,
469
- "character": 3
436
+ "type": {
437
+ "__schema": "TypeRefSchema",
438
+ "location": {
439
+ "filePath": "compositions.main.runtime.ts",
440
+ "line": 96,
441
+ "character": 43
442
+ },
443
+ "name": "Composition"
444
+ }
445
+ },
446
+ "modifiers": []
470
447
  },
471
- "doc": {
472
- "__schema": "DocSchema",
448
+ {
449
+ "__schema": "FunctionLikeSchema",
473
450
  "location": {
474
451
  "filePath": "compositions.main.runtime.ts",
475
- "line": 105,
452
+ "line": 108,
476
453
  "character": 3
477
454
  },
478
- "raw": "/**\n * read composition from the component source code.\n */",
479
- "comment": "read composition from the component source code."
480
- },
481
- "signature": "(method) CompositionsMain.readCompositions(component: Component): Composition[]",
482
- "name": "readCompositions",
483
- "params": [
484
- {
485
- "__schema": "ParameterSchema",
455
+ "doc": {
456
+ "__schema": "DocSchema",
457
+ "location": {
458
+ "filePath": "compositions.main.runtime.ts",
459
+ "line": 105,
460
+ "character": 3
461
+ },
462
+ "raw": "/**\n * read composition from the component source code.\n */",
463
+ "comment": "read composition from the component source code."
464
+ },
465
+ "signature": "(method) CompositionsMain.readCompositions(component: Component): Composition[]",
466
+ "name": "readCompositions",
467
+ "params": [
468
+ {
469
+ "__schema": "ParameterSchema",
470
+ "location": {
471
+ "filePath": "compositions.main.runtime.ts",
472
+ "line": 108,
473
+ "character": 20
474
+ },
475
+ "name": "component",
476
+ "type": {
477
+ "__schema": "TypeRefSchema",
478
+ "location": {
479
+ "filePath": "compositions.main.runtime.ts",
480
+ "line": 108,
481
+ "character": 31
482
+ },
483
+ "name": "Component"
484
+ },
485
+ "isOptional": false,
486
+ "isSpread": false
487
+ }
488
+ ],
489
+ "returnType": {
490
+ "__schema": "TypeArraySchema",
486
491
  "location": {
487
492
  "filePath": "compositions.main.runtime.ts",
488
493
  "line": 108,
489
- "character": 20
494
+ "character": 43
490
495
  },
491
- "name": "component",
492
496
  "type": {
493
497
  "__schema": "TypeRefSchema",
494
498
  "location": {
495
499
  "filePath": "compositions.main.runtime.ts",
496
500
  "line": 108,
497
- "character": 31
501
+ "character": 43
498
502
  },
499
- "name": "Component",
500
- "componentId": {
501
- "scope": "teambit.component",
502
- "name": "component"
503
- }
504
- },
505
- "isOptional": false,
506
- "isSpread": false
507
- }
508
- ],
509
- "returnType": {
510
- "__schema": "TypeArraySchema",
503
+ "name": "Composition"
504
+ }
505
+ },
506
+ "modifiers": []
507
+ },
508
+ {
509
+ "__schema": "FunctionLikeSchema",
511
510
  "location": {
512
511
  "filePath": "compositions.main.runtime.ts",
513
- "line": 108,
514
- "character": 43
512
+ "line": 116,
513
+ "character": 3
515
514
  },
516
- "type": {
517
- "__schema": "TypeRefSchema",
515
+ "signature": "(method) CompositionsMain.getCompositionFilePattern(): string[]",
516
+ "name": "getCompositionFilePattern",
517
+ "params": [],
518
+ "returnType": {
519
+ "__schema": "InferenceTypeSchema",
518
520
  "location": {
519
521
  "filePath": "compositions.main.runtime.ts",
520
- "line": 108,
521
- "character": 43
522
+ "line": 116,
523
+ "character": 3
522
524
  },
523
- "name": "Composition"
524
- }
525
- },
526
- "modifiers": []
527
- },
528
- {
529
- "__schema": "FunctionLikeSchema",
530
- "location": {
531
- "filePath": "compositions.main.runtime.ts",
532
- "line": 116,
533
- "character": 3
525
+ "type": "string[]"
526
+ },
527
+ "modifiers": []
534
528
  },
535
- "signature": "(method) CompositionsMain.getCompositionFilePattern(): string[]",
536
- "name": "getCompositionFilePattern",
537
- "params": [],
538
- "returnType": {
539
- "__schema": "InferenceTypeSchema",
529
+ {
530
+ "__schema": "FunctionLikeSchema",
540
531
  "location": {
541
532
  "filePath": "compositions.main.runtime.ts",
542
- "line": 116,
533
+ "line": 120,
543
534
  "character": 3
544
535
  },
545
- "type": "string[]"
546
- },
547
- "modifiers": []
548
- },
549
- {
550
- "__schema": "FunctionLikeSchema",
551
- "location": {
552
- "filePath": "compositions.main.runtime.ts",
553
- "line": 120,
554
- "character": 3
555
- },
556
- "signature": "(method) CompositionsMain.getComponentDevPatterns(component: Component): {\n name: string;\n pattern: string[];\n}",
557
- "name": "getComponentDevPatterns",
558
- "params": [
559
- {
560
- "__schema": "ParameterSchema",
561
- "location": {
562
- "filePath": "compositions.main.runtime.ts",
563
- "line": 120,
564
- "character": 27
565
- },
566
- "name": "component",
567
- "type": {
568
- "__schema": "TypeRefSchema",
536
+ "signature": "(method) CompositionsMain.getComponentDevPatterns(component: Component): {\n name: string;\n pattern: string[];\n}",
537
+ "name": "getComponentDevPatterns",
538
+ "params": [
539
+ {
540
+ "__schema": "ParameterSchema",
569
541
  "location": {
570
542
  "filePath": "compositions.main.runtime.ts",
571
543
  "line": 120,
572
- "character": 38
544
+ "character": 27
573
545
  },
574
- "name": "Component",
575
- "componentId": {
576
- "scope": "teambit.component",
577
- "name": "component"
578
- }
546
+ "name": "component",
547
+ "type": {
548
+ "__schema": "TypeRefSchema",
549
+ "location": {
550
+ "filePath": "compositions.main.runtime.ts",
551
+ "line": 120,
552
+ "character": 38
553
+ },
554
+ "name": "Component"
555
+ },
556
+ "isOptional": false,
557
+ "isSpread": false
558
+ }
559
+ ],
560
+ "returnType": {
561
+ "__schema": "InferenceTypeSchema",
562
+ "location": {
563
+ "filePath": "compositions.main.runtime.ts",
564
+ "line": 120,
565
+ "character": 3
579
566
  },
580
- "isOptional": false,
581
- "isSpread": false
582
- }
583
- ],
584
- "returnType": {
585
- "__schema": "InferenceTypeSchema",
586
- "location": {
587
- "filePath": "compositions.main.runtime.ts",
588
- "line": 120,
589
- "character": 3
567
+ "type": "{\n name: string;\n pattern: string[];\n}"
590
568
  },
591
- "type": "{\n name: string;\n pattern: string[];\n}"
592
- },
593
- "modifiers": []
594
- },
595
- {
596
- "__schema": "FunctionLikeSchema",
597
- "location": {
598
- "filePath": "compositions.main.runtime.ts",
599
- "line": 129,
600
- "character": 3
569
+ "modifiers": []
601
570
  },
602
- "signature": "(method) CompositionsMain.getDevPatternToRegister(): (component: Component) => {\n name: string;\n pattern: string[];\n}",
603
- "name": "getDevPatternToRegister",
604
- "params": [],
605
- "returnType": {
606
- "__schema": "InferenceTypeSchema",
571
+ {
572
+ "__schema": "FunctionLikeSchema",
607
573
  "location": {
608
574
  "filePath": "compositions.main.runtime.ts",
609
575
  "line": 129,
610
576
  "character": 3
611
577
  },
612
- "type": "(component: Component) => {\n name: string;\n pattern: string[];\n}"
613
- },
614
- "modifiers": []
615
- },
616
- {
617
- "__schema": "FunctionLikeSchema",
618
- "location": {
619
- "filePath": "compositions.main.runtime.ts",
620
- "line": 133,
621
- "character": 3
622
- },
623
- "signature": "(method) CompositionsMain.onComponentLoad(component: Component, loadOpts?: ComponentLoadOptions): Promise<AspectData | undefined>",
624
- "name": "onComponentLoad",
625
- "params": [
626
- {
627
- "__schema": "ParameterSchema",
578
+ "signature": "(method) CompositionsMain.getDevPatternToRegister(): (component: Component) => {\n name: string;\n pattern: string[];\n}",
579
+ "name": "getDevPatternToRegister",
580
+ "params": [],
581
+ "returnType": {
582
+ "__schema": "InferenceTypeSchema",
628
583
  "location": {
629
584
  "filePath": "compositions.main.runtime.ts",
630
- "line": 133,
631
- "character": 25
632
- },
633
- "name": "component",
634
- "type": {
635
- "__schema": "TypeRefSchema",
636
- "location": {
637
- "filePath": "compositions.main.runtime.ts",
638
- "line": 133,
639
- "character": 36
640
- },
641
- "name": "Component",
642
- "componentId": {
643
- "scope": "teambit.component",
644
- "name": "component"
645
- }
585
+ "line": 129,
586
+ "character": 3
646
587
  },
647
- "isOptional": false,
648
- "isSpread": false
588
+ "type": "(component: Component) => {\n name: string;\n pattern: string[];\n}"
649
589
  },
650
- {
651
- "__schema": "ParameterSchema",
652
- "location": {
653
- "filePath": "compositions.main.runtime.ts",
654
- "line": 133,
655
- "character": 47
656
- },
657
- "name": "loadOpts",
658
- "type": {
659
- "__schema": "TypeRefSchema",
590
+ "modifiers": []
591
+ },
592
+ {
593
+ "__schema": "FunctionLikeSchema",
594
+ "location": {
595
+ "filePath": "compositions.main.runtime.ts",
596
+ "line": 133,
597
+ "character": 3
598
+ },
599
+ "signature": "(method) CompositionsMain.onComponentLoad(component: Component, loadOpts?: ComponentLoadOptions): Promise<AspectData | undefined>",
600
+ "name": "onComponentLoad",
601
+ "params": [
602
+ {
603
+ "__schema": "ParameterSchema",
660
604
  "location": {
661
605
  "filePath": "compositions.main.runtime.ts",
662
606
  "line": 133,
663
- "character": 58
607
+ "character": 25
608
+ },
609
+ "name": "component",
610
+ "type": {
611
+ "__schema": "TypeRefSchema",
612
+ "location": {
613
+ "filePath": "compositions.main.runtime.ts",
614
+ "line": 133,
615
+ "character": 36
616
+ },
617
+ "name": "Component"
664
618
  },
665
- "name": "ComponentLoadOptions",
666
- "packageName": "@teambit/legacy/dist/consumer/component/component-loader"
619
+ "isOptional": false,
620
+ "isSpread": false
667
621
  },
668
- "isOptional": true,
669
- "isSpread": false
670
- }
671
- ],
672
- "returnType": {
673
- "__schema": "TypeRefSchema",
674
- "location": {
675
- "filePath": "compositions.main.runtime.ts",
676
- "line": 133,
677
- "character": 81
678
- },
679
- "name": "Promise",
680
- "typeArgs": [
681
622
  {
682
- "__schema": "TypeUnionSchema",
623
+ "__schema": "ParameterSchema",
683
624
  "location": {
684
625
  "filePath": "compositions.main.runtime.ts",
685
626
  "line": 133,
686
- "character": 89
627
+ "character": 47
687
628
  },
688
- "types": [
689
- {
690
- "__schema": "TypeRefSchema",
691
- "location": {
692
- "filePath": "compositions.main.runtime.ts",
693
- "line": 133,
694
- "character": 89
695
- },
696
- "name": "AspectData",
697
- "componentId": {
698
- "scope": "teambit.component",
699
- "name": "component"
700
- }
629
+ "name": "loadOpts",
630
+ "type": {
631
+ "__schema": "TypeRefSchema",
632
+ "location": {
633
+ "filePath": "compositions.main.runtime.ts",
634
+ "line": 133,
635
+ "character": 58
701
636
  },
702
- {
703
- "__schema": "KeywordTypeSchema",
704
- "location": {
705
- "filePath": "compositions.main.runtime.ts",
706
- "line": 133,
707
- "character": 102
708
- },
709
- "name": "undefined"
710
- }
711
- ]
637
+ "name": "ComponentLoadOptions"
638
+ },
639
+ "isOptional": true,
640
+ "isSpread": false
712
641
  }
642
+ ],
643
+ "returnType": {
644
+ "__schema": "TypeRefSchema",
645
+ "location": {
646
+ "filePath": "compositions.main.runtime.ts",
647
+ "line": 133,
648
+ "character": 81
649
+ },
650
+ "name": "Promise",
651
+ "typeArgs": [
652
+ {
653
+ "__schema": "TypeUnionSchema",
654
+ "location": {
655
+ "filePath": "compositions.main.runtime.ts",
656
+ "line": 133,
657
+ "character": 89
658
+ },
659
+ "types": [
660
+ {
661
+ "__schema": "TypeRefSchema",
662
+ "location": {
663
+ "filePath": "compositions.main.runtime.ts",
664
+ "line": 133,
665
+ "character": 89
666
+ },
667
+ "name": "AspectData"
668
+ },
669
+ {
670
+ "__schema": "KeywordTypeSchema",
671
+ "location": {
672
+ "filePath": "compositions.main.runtime.ts",
673
+ "line": 133,
674
+ "character": 102
675
+ },
676
+ "name": "undefined"
677
+ }
678
+ ]
679
+ }
680
+ ]
681
+ },
682
+ "modifiers": [
683
+ "async"
713
684
  ]
714
685
  },
715
- "modifiers": [
716
- "async"
717
- ]
718
- },
719
- {
720
- "__schema": "VariableLikeSchema",
721
- "location": {
722
- "filePath": "compositions.main.runtime.ts",
723
- "line": 159,
724
- "character": 3
725
- },
726
- "signature": "(property) CompositionsMain.defaultConfig: CompositionsConfig",
727
- "name": "defaultConfig",
728
- "type": {
729
- "__schema": "TypeRefSchema",
686
+ {
687
+ "__schema": "VariableLikeSchema",
730
688
  "location": {
731
689
  "filePath": "compositions.main.runtime.ts",
732
690
  "line": 159,
733
691
  "character": 3
734
692
  },
735
- "name": "CompositionsConfig",
736
- "internalFilePath": "compositions.main.runtime.ts"
737
- },
738
- "isOptional": true,
739
- "defaultValue": "{\n compositionFilePattern: ['**/*.composition?(s).*'],\n compositionPreviewFilePattern: ['**/*.{t,j}s?(x)'],\n }"
740
- },
741
- {
742
- "__schema": "VariableLikeSchema",
743
- "location": {
744
- "filePath": "compositions.main.runtime.ts",
745
- "line": 164,
746
- "character": 3
693
+ "signature": "(property) CompositionsMain.defaultConfig: CompositionsConfig",
694
+ "name": "defaultConfig",
695
+ "type": {
696
+ "__schema": "TypeRefSchema",
697
+ "location": {
698
+ "filePath": "compositions.main.runtime.ts",
699
+ "line": 159,
700
+ "character": 3
701
+ },
702
+ "name": "CompositionsConfig",
703
+ "internalFilePath": "compositions.main.runtime.ts"
704
+ },
705
+ "isOptional": true,
706
+ "defaultValue": "{\n compositionFilePattern: ['**/*.composition?(s).*'],\n compositionPreviewFilePattern: ['**/*.{t,j}s?(x)'],\n }"
747
707
  },
748
- "signature": "(property) CompositionsMain.runtime: RuntimeDefinition",
749
- "name": "runtime",
750
- "type": {
751
- "__schema": "InferenceTypeSchema",
708
+ {
709
+ "__schema": "VariableLikeSchema",
752
710
  "location": {
753
711
  "filePath": "compositions.main.runtime.ts",
754
712
  "line": 164,
755
713
  "character": 3
756
714
  },
757
- "type": "RuntimeDefinition"
758
- },
759
- "isOptional": true,
760
- "defaultValue": "MainRuntime"
761
- },
762
- {
763
- "__schema": "VariableLikeSchema",
764
- "location": {
765
- "filePath": "compositions.main.runtime.ts",
766
- "line": 165,
767
- "character": 3
768
- },
769
- "signature": "(property) CompositionsMain.dependencies: Aspect[]",
770
- "name": "dependencies",
771
- "type": {
772
- "__schema": "InferenceTypeSchema",
773
- "location": {
774
- "filePath": "compositions.main.runtime.ts",
775
- "line": 165,
776
- "character": 3
715
+ "signature": "(property) CompositionsMain.runtime: RuntimeDefinition",
716
+ "name": "runtime",
717
+ "type": {
718
+ "__schema": "InferenceTypeSchema",
719
+ "location": {
720
+ "filePath": "compositions.main.runtime.ts",
721
+ "line": 164,
722
+ "character": 3
723
+ },
724
+ "type": "RuntimeDefinition"
777
725
  },
778
- "type": "Aspect[]"
779
- },
780
- "isOptional": true,
781
- "defaultValue": "[\n PreviewAspect,\n GraphqlAspect,\n WorkspaceAspect,\n SchemaAspect,\n DevFilesAspect,\n EnvsAspect,\n ScopeAspect,\n ]"
782
- },
783
- {
784
- "__schema": "FunctionLikeSchema",
785
- "location": {
786
- "filePath": "compositions.main.runtime.ts",
787
- "line": 175,
788
- "character": 3
726
+ "isOptional": true,
727
+ "defaultValue": "MainRuntime"
789
728
  },
790
- "signature": "(method) CompositionsMain.provider([preview, graphql, workspace, schema, devFiles, envs, scope]: [\n PreviewMain,\n GraphqlMain,\n Workspace,\n SchemaMain,\n DevFilesMain,\n EnvsMain,\n ScopeMain\n], config: CompositionsConfig): Promise<CompositionsMain>",
791
- "name": "provider",
792
- "params": [
793
- {
794
- "__schema": "ParameterSchema",
729
+ {
730
+ "__schema": "VariableLikeSchema",
731
+ "location": {
732
+ "filePath": "compositions.main.runtime.ts",
733
+ "line": 165,
734
+ "character": 3
735
+ },
736
+ "signature": "(property) CompositionsMain.dependencies: Aspect[]",
737
+ "name": "dependencies",
738
+ "type": {
739
+ "__schema": "InferenceTypeSchema",
795
740
  "location": {
796
741
  "filePath": "compositions.main.runtime.ts",
797
- "line": 176,
798
- "character": 5
742
+ "line": 165,
743
+ "character": 3
799
744
  },
800
- "name": "[ preview, graphql, workspace, schema, devFiles, envs, scope ]",
801
- "type": {
802
- "__schema": "TupleTypeSchema",
745
+ "type": "Aspect[]"
746
+ },
747
+ "isOptional": true,
748
+ "defaultValue": "[\n PreviewAspect,\n GraphqlAspect,\n WorkspaceAspect,\n SchemaAspect,\n DevFilesAspect,\n EnvsAspect,\n ScopeAspect,\n ]"
749
+ },
750
+ {
751
+ "__schema": "FunctionLikeSchema",
752
+ "location": {
753
+ "filePath": "compositions.main.runtime.ts",
754
+ "line": 175,
755
+ "character": 3
756
+ },
757
+ "signature": "(method) CompositionsMain.provider([preview, graphql, workspace, schema, devFiles, envs, scope]: [\n PreviewMain,\n GraphqlMain,\n Workspace,\n SchemaMain,\n DevFilesMain,\n EnvsMain,\n ScopeMain\n], config: CompositionsConfig): Promise<CompositionsMain>",
758
+ "name": "provider",
759
+ "params": [
760
+ {
761
+ "__schema": "ParameterSchema",
803
762
  "location": {
804
763
  "filePath": "compositions.main.runtime.ts",
805
764
  "line": 176,
806
- "character": 67
765
+ "character": 5
807
766
  },
808
- "elements": [
809
- {
810
- "__schema": "TypeRefSchema",
811
- "location": {
812
- "filePath": "compositions.main.runtime.ts",
813
- "line": 177,
814
- "character": 7
815
- },
816
- "name": "PreviewMain",
817
- "componentId": {
818
- "scope": "teambit.preview",
819
- "name": "preview"
820
- }
767
+ "name": "[ preview, graphql, workspace, schema, devFiles, envs, scope ]",
768
+ "type": {
769
+ "__schema": "TupleTypeSchema",
770
+ "location": {
771
+ "filePath": "compositions.main.runtime.ts",
772
+ "line": 176,
773
+ "character": 67
821
774
  },
822
- {
823
- "__schema": "TypeRefSchema",
824
- "location": {
825
- "filePath": "compositions.main.runtime.ts",
826
- "line": 178,
827
- "character": 7
775
+ "elements": [
776
+ {
777
+ "__schema": "TypeRefSchema",
778
+ "location": {
779
+ "filePath": "compositions.main.runtime.ts",
780
+ "line": 177,
781
+ "character": 7
782
+ },
783
+ "name": "PreviewMain"
828
784
  },
829
- "name": "GraphqlMain",
830
- "componentId": {
831
- "scope": "teambit.harmony",
832
- "name": "graphql"
833
- }
834
- },
835
- {
836
- "__schema": "TypeRefSchema",
837
- "location": {
838
- "filePath": "compositions.main.runtime.ts",
839
- "line": 179,
840
- "character": 7
785
+ {
786
+ "__schema": "TypeRefSchema",
787
+ "location": {
788
+ "filePath": "compositions.main.runtime.ts",
789
+ "line": 178,
790
+ "character": 7
791
+ },
792
+ "name": "GraphqlMain"
841
793
  },
842
- "name": "Workspace",
843
- "componentId": {
844
- "scope": "teambit.workspace",
845
- "name": "workspace"
846
- }
847
- },
848
- {
849
- "__schema": "TypeRefSchema",
850
- "location": {
851
- "filePath": "compositions.main.runtime.ts",
852
- "line": 180,
853
- "character": 7
794
+ {
795
+ "__schema": "TypeRefSchema",
796
+ "location": {
797
+ "filePath": "compositions.main.runtime.ts",
798
+ "line": 179,
799
+ "character": 7
800
+ },
801
+ "name": "Workspace"
854
802
  },
855
- "name": "SchemaMain",
856
- "componentId": {
857
- "scope": "teambit.semantics",
858
- "name": "schema"
859
- }
860
- },
861
- {
862
- "__schema": "TypeRefSchema",
863
- "location": {
864
- "filePath": "compositions.main.runtime.ts",
865
- "line": 181,
866
- "character": 7
803
+ {
804
+ "__schema": "TypeRefSchema",
805
+ "location": {
806
+ "filePath": "compositions.main.runtime.ts",
807
+ "line": 180,
808
+ "character": 7
809
+ },
810
+ "name": "SchemaMain"
867
811
  },
868
- "name": "DevFilesMain",
869
- "componentId": {
870
- "scope": "teambit.component",
871
- "name": "dev-files"
872
- }
873
- },
874
- {
875
- "__schema": "TypeRefSchema",
876
- "location": {
877
- "filePath": "compositions.main.runtime.ts",
878
- "line": 182,
879
- "character": 7
812
+ {
813
+ "__schema": "TypeRefSchema",
814
+ "location": {
815
+ "filePath": "compositions.main.runtime.ts",
816
+ "line": 181,
817
+ "character": 7
818
+ },
819
+ "name": "DevFilesMain"
880
820
  },
881
- "name": "EnvsMain",
882
- "componentId": {
883
- "scope": "teambit.envs",
884
- "name": "envs"
885
- }
886
- },
887
- {
888
- "__schema": "TypeRefSchema",
889
- "location": {
890
- "filePath": "compositions.main.runtime.ts",
891
- "line": 183,
892
- "character": 7
821
+ {
822
+ "__schema": "TypeRefSchema",
823
+ "location": {
824
+ "filePath": "compositions.main.runtime.ts",
825
+ "line": 182,
826
+ "character": 7
827
+ },
828
+ "name": "EnvsMain"
893
829
  },
894
- "name": "ScopeMain",
895
- "componentId": {
896
- "scope": "teambit.scope",
897
- "name": "scope"
830
+ {
831
+ "__schema": "TypeRefSchema",
832
+ "location": {
833
+ "filePath": "compositions.main.runtime.ts",
834
+ "line": 183,
835
+ "character": 7
836
+ },
837
+ "name": "ScopeMain"
898
838
  }
899
- }
900
- ]
901
- },
902
- "isOptional": false,
903
- "isSpread": false
904
- },
905
- {
906
- "__schema": "ParameterSchema",
907
- "location": {
908
- "filePath": "compositions.main.runtime.ts",
909
- "line": 185,
910
- "character": 5
839
+ ]
840
+ },
841
+ "isOptional": false,
842
+ "isSpread": false
911
843
  },
912
- "name": "config",
913
- "type": {
914
- "__schema": "TypeRefSchema",
844
+ {
845
+ "__schema": "ParameterSchema",
915
846
  "location": {
916
847
  "filePath": "compositions.main.runtime.ts",
917
848
  "line": 185,
918
- "character": 13
849
+ "character": 5
850
+ },
851
+ "name": "config",
852
+ "type": {
853
+ "__schema": "TypeRefSchema",
854
+ "location": {
855
+ "filePath": "compositions.main.runtime.ts",
856
+ "line": 185,
857
+ "character": 13
858
+ },
859
+ "name": "CompositionsConfig"
919
860
  },
920
- "name": "CompositionsConfig",
921
- "internalFilePath": "compositions.main.runtime.ts"
861
+ "isOptional": false,
862
+ "isSpread": false
863
+ }
864
+ ],
865
+ "returnType": {
866
+ "__schema": "InferenceTypeSchema",
867
+ "location": {
868
+ "filePath": "compositions.main.runtime.ts",
869
+ "line": 175,
870
+ "character": 3
922
871
  },
923
- "isOptional": false,
924
- "isSpread": false
925
- }
926
- ],
927
- "returnType": {
928
- "__schema": "InferenceTypeSchema",
929
- "location": {
930
- "filePath": "compositions.main.runtime.ts",
931
- "line": 175,
932
- "character": 3
872
+ "type": "Promise<CompositionsMain>"
933
873
  },
934
- "type": "Promise<CompositionsMain>"
935
- },
936
- "modifiers": [
937
- "static",
938
- "async"
939
- ]
940
- }
941
- ],
942
- "extendsNodes": [],
943
- "implementNodes": []
874
+ "modifiers": [
875
+ "static",
876
+ "async"
877
+ ]
878
+ }
879
+ ],
880
+ "extendsNodes": [],
881
+ "implementNodes": []
882
+ }
944
883
  },
945
884
  {
946
- "__schema": "ClassSchema",
885
+ "__schema": "ExportSchema",
947
886
  "location": {
948
- "filePath": "compositions.ui.runtime.tsx",
949
- "line": 16,
950
- "character": 1
887
+ "filePath": "index.ts",
888
+ "line": 5,
889
+ "character": 15
951
890
  },
952
- "signature": "class CompositionsUI",
953
891
  "name": "CompositionsUI",
954
- "members": [
955
- {
956
- "__schema": "ConstructorSchema",
957
- "location": {
958
- "filePath": "compositions.ui.runtime.tsx",
959
- "line": 17,
960
- "character": 3
961
- },
962
- "signature": "constructor CompositionsUI(menuBarWidgetSlot: CompositionsMenuSlot, emptyStateSlot: EmptyStateSlot): CompositionsUI",
963
- "name": "constructor",
964
- "params": [
965
- {
966
- "__schema": "ParameterSchema",
967
- "location": {
968
- "filePath": "compositions.ui.runtime.tsx",
969
- "line": 17,
970
- "character": 15
971
- },
972
- "name": "menuBarWidgetSlot",
973
- "type": {
974
- "__schema": "TypeRefSchema",
892
+ "exportNode": {
893
+ "__schema": "ClassSchema",
894
+ "location": {
895
+ "filePath": "compositions.ui.runtime.tsx",
896
+ "line": 16,
897
+ "character": 1
898
+ },
899
+ "signature": "class CompositionsUI",
900
+ "name": "CompositionsUI",
901
+ "members": [
902
+ {
903
+ "__schema": "ConstructorSchema",
904
+ "location": {
905
+ "filePath": "compositions.ui.runtime.tsx",
906
+ "line": 17,
907
+ "character": 3
908
+ },
909
+ "signature": "constructor CompositionsUI(menuBarWidgetSlot: CompositionsMenuSlot, emptyStateSlot: EmptyStateSlot): CompositionsUI",
910
+ "name": "constructor",
911
+ "params": [
912
+ {
913
+ "__schema": "ParameterSchema",
975
914
  "location": {
976
915
  "filePath": "compositions.ui.runtime.tsx",
977
916
  "line": 17,
978
- "character": 42
917
+ "character": 15
979
918
  },
980
- "name": "CompositionsMenuSlot"
981
- },
982
- "isOptional": false,
983
- "isSpread": false
984
- },
985
- {
986
- "__schema": "ParameterSchema",
987
- "location": {
988
- "filePath": "compositions.ui.runtime.tsx",
989
- "line": 17,
990
- "character": 64
919
+ "name": "menuBarWidgetSlot",
920
+ "type": {
921
+ "__schema": "TypeRefSchema",
922
+ "location": {
923
+ "filePath": "compositions.ui.runtime.tsx",
924
+ "line": 17,
925
+ "character": 42
926
+ },
927
+ "name": "CompositionsMenuSlot"
928
+ },
929
+ "isOptional": false,
930
+ "isSpread": false
991
931
  },
992
- "name": "emptyStateSlot",
993
- "type": {
994
- "__schema": "TypeRefSchema",
932
+ {
933
+ "__schema": "ParameterSchema",
995
934
  "location": {
996
935
  "filePath": "compositions.ui.runtime.tsx",
997
936
  "line": 17,
998
- "character": 88
937
+ "character": 64
999
938
  },
1000
- "name": "EmptyStateSlot"
939
+ "name": "emptyStateSlot",
940
+ "type": {
941
+ "__schema": "TypeRefSchema",
942
+ "location": {
943
+ "filePath": "compositions.ui.runtime.tsx",
944
+ "line": 17,
945
+ "character": 88
946
+ },
947
+ "name": "EmptyStateSlot"
948
+ },
949
+ "isOptional": false,
950
+ "isSpread": false
951
+ }
952
+ ],
953
+ "returnType": {
954
+ "__schema": "ThisTypeSchema",
955
+ "location": {
956
+ "filePath": "compositions.ui.runtime.tsx",
957
+ "line": 16,
958
+ "character": 1
1001
959
  },
1002
- "isOptional": false,
1003
- "isSpread": false
1004
- }
1005
- ],
1006
- "returnType": {
1007
- "__schema": "ThisTypeSchema",
1008
- "location": {
1009
- "filePath": "compositions.ui.runtime.tsx",
1010
- "line": 16,
1011
- "character": 1
960
+ "name": "CompositionsUI"
1012
961
  },
1013
- "name": "CompositionsUI"
1014
- },
1015
- "modifiers": []
1016
- },
1017
- {
1018
- "__schema": "FunctionLikeSchema",
1019
- "location": {
1020
- "filePath": "compositions.ui.runtime.tsx",
1021
- "line": 21,
1022
- "character": 3
962
+ "modifiers": []
1023
963
  },
1024
- "doc": {
1025
- "__schema": "DocSchema",
964
+ {
965
+ "__schema": "FunctionLikeSchema",
1026
966
  "location": {
1027
967
  "filePath": "compositions.ui.runtime.tsx",
1028
- "line": 18,
968
+ "line": 21,
1029
969
  "character": 3
1030
970
  },
1031
- "raw": "/**\n * register a new tester empty state. this allows to register a different empty state from each environment for example.\n */",
1032
- "comment": "register a new tester empty state. this allows to register a different empty state from each environment for example."
1033
- },
1034
- "signature": "(method) CompositionsUI.registerEmptyState(emptyStateComponent: ComponentType): this",
1035
- "name": "registerEmptyState",
1036
- "params": [
1037
- {
1038
- "__schema": "ParameterSchema",
971
+ "doc": {
972
+ "__schema": "DocSchema",
1039
973
  "location": {
1040
974
  "filePath": "compositions.ui.runtime.tsx",
1041
- "line": 21,
1042
- "character": 22
975
+ "line": 18,
976
+ "character": 3
1043
977
  },
1044
- "name": "emptyStateComponent",
1045
- "type": {
1046
- "__schema": "TypeRefSchema",
978
+ "raw": "/**\n * register a new tester empty state. this allows to register a different empty state from each environment for example.\n */",
979
+ "comment": "register a new tester empty state. this allows to register a different empty state from each environment for example."
980
+ },
981
+ "signature": "(method) CompositionsUI.registerEmptyState(emptyStateComponent: ComponentType): this",
982
+ "name": "registerEmptyState",
983
+ "params": [
984
+ {
985
+ "__schema": "ParameterSchema",
1047
986
  "location": {
1048
987
  "filePath": "compositions.ui.runtime.tsx",
1049
988
  "line": 21,
1050
- "character": 43
989
+ "character": 22
990
+ },
991
+ "name": "emptyStateComponent",
992
+ "type": {
993
+ "__schema": "TypeRefSchema",
994
+ "location": {
995
+ "filePath": "compositions.ui.runtime.tsx",
996
+ "line": 21,
997
+ "character": 43
998
+ },
999
+ "name": "ComponentType"
1051
1000
  },
1052
- "name": "ComponentType",
1053
- "packageName": "react"
1001
+ "isOptional": false,
1002
+ "isSpread": false
1003
+ }
1004
+ ],
1005
+ "returnType": {
1006
+ "__schema": "TypeRefSchema",
1007
+ "location": {
1008
+ "filePath": "compositions.ui.runtime.tsx",
1009
+ "line": 21,
1010
+ "character": 3
1054
1011
  },
1055
- "isOptional": false,
1056
- "isSpread": false
1057
- }
1058
- ],
1059
- "returnType": {
1060
- "__schema": "TypeRefSchema",
1012
+ "name": "CompositionsUI"
1013
+ },
1014
+ "modifiers": []
1015
+ },
1016
+ {
1017
+ "__schema": "FunctionLikeSchema",
1061
1018
  "location": {
1062
1019
  "filePath": "compositions.ui.runtime.tsx",
1063
- "line": 21,
1020
+ "line": 26,
1064
1021
  "character": 3
1065
1022
  },
1066
- "name": "CompositionsUI"
1067
- },
1068
- "modifiers": []
1069
- },
1070
- {
1071
- "__schema": "FunctionLikeSchema",
1072
- "location": {
1073
- "filePath": "compositions.ui.runtime.tsx",
1074
- "line": 26,
1075
- "character": 3
1076
- },
1077
- "signature": "(method) CompositionsUI.registerMenuWidget(...widget: MenuBarWidget[]): void",
1078
- "name": "registerMenuWidget",
1079
- "params": [
1080
- {
1081
- "__schema": "ParameterSchema",
1082
- "location": {
1083
- "filePath": "compositions.ui.runtime.tsx",
1084
- "line": 26,
1085
- "character": 22
1086
- },
1087
- "name": "widget",
1088
- "type": {
1089
- "__schema": "TypeArraySchema",
1023
+ "signature": "(method) CompositionsUI.registerMenuWidget(...widget: MenuBarWidget[]): void",
1024
+ "name": "registerMenuWidget",
1025
+ "params": [
1026
+ {
1027
+ "__schema": "ParameterSchema",
1090
1028
  "location": {
1091
1029
  "filePath": "compositions.ui.runtime.tsx",
1092
1030
  "line": 26,
1093
- "character": 33
1031
+ "character": 22
1094
1032
  },
1033
+ "name": "widget",
1095
1034
  "type": {
1096
- "__schema": "TypeRefSchema",
1035
+ "__schema": "TypeArraySchema",
1097
1036
  "location": {
1098
1037
  "filePath": "compositions.ui.runtime.tsx",
1099
1038
  "line": 26,
1100
1039
  "character": 33
1101
1040
  },
1102
- "name": "MenuBarWidget",
1103
- "internalFilePath": "compositions.tsx"
1104
- }
1041
+ "type": {
1042
+ "__schema": "TypeRefSchema",
1043
+ "location": {
1044
+ "filePath": "compositions.ui.runtime.tsx",
1045
+ "line": 26,
1046
+ "character": 33
1047
+ },
1048
+ "name": "MenuBarWidget"
1049
+ }
1050
+ },
1051
+ "isOptional": false,
1052
+ "isSpread": true
1053
+ }
1054
+ ],
1055
+ "returnType": {
1056
+ "__schema": "InferenceTypeSchema",
1057
+ "location": {
1058
+ "filePath": "compositions.ui.runtime.tsx",
1059
+ "line": 26,
1060
+ "character": 3
1105
1061
  },
1106
- "isOptional": false,
1107
- "isSpread": true
1108
- }
1109
- ],
1110
- "returnType": {
1111
- "__schema": "InferenceTypeSchema",
1112
- "location": {
1113
- "filePath": "compositions.ui.runtime.tsx",
1114
- "line": 26,
1115
- "character": 3
1062
+ "type": "void"
1116
1063
  },
1117
- "type": "void"
1118
- },
1119
- "modifiers": []
1120
- },
1121
- {
1122
- "__schema": "VariableLikeSchema",
1123
- "location": {
1124
- "filePath": "compositions.ui.runtime.tsx",
1125
- "line": 30,
1126
- "character": 3
1064
+ "modifiers": []
1127
1065
  },
1128
- "signature": "(property) CompositionsUI.getCompositionsCompare: () => React.JSX.Element",
1129
- "name": "getCompositionsCompare",
1130
- "type": {
1131
- "__schema": "InferenceTypeSchema",
1066
+ {
1067
+ "__schema": "VariableLikeSchema",
1132
1068
  "location": {
1133
1069
  "filePath": "compositions.ui.runtime.tsx",
1134
1070
  "line": 30,
1135
1071
  "character": 3
1136
1072
  },
1137
- "type": "() => React.JSX.Element"
1138
- },
1139
- "isOptional": true,
1140
- "defaultValue": "() => {\n return <CompositionCompare emptyState={this.emptyStateSlot} />;\n }"
1141
- },
1142
- {
1143
- "__schema": "VariableLikeSchema",
1144
- "location": {
1145
- "filePath": "compositions.ui.runtime.tsx",
1146
- "line": 34,
1147
- "character": 3
1073
+ "signature": "(property) CompositionsUI.getCompositionsCompare: () => React.JSX.Element",
1074
+ "name": "getCompositionsCompare",
1075
+ "type": {
1076
+ "__schema": "InferenceTypeSchema",
1077
+ "location": {
1078
+ "filePath": "compositions.ui.runtime.tsx",
1079
+ "line": 30,
1080
+ "character": 3
1081
+ },
1082
+ "type": "() => React.JSX.Element"
1083
+ },
1084
+ "isOptional": true,
1085
+ "defaultValue": "() => {\n return <CompositionCompare emptyState={this.emptyStateSlot} />;\n }"
1148
1086
  },
1149
- "signature": "(property) CompositionsUI.dependencies: Aspect[]",
1150
- "name": "dependencies",
1151
- "type": {
1152
- "__schema": "InferenceTypeSchema",
1087
+ {
1088
+ "__schema": "VariableLikeSchema",
1153
1089
  "location": {
1154
1090
  "filePath": "compositions.ui.runtime.tsx",
1155
1091
  "line": 34,
1156
1092
  "character": 3
1157
1093
  },
1158
- "type": "Aspect[]"
1159
- },
1160
- "isOptional": true,
1161
- "defaultValue": "[ComponentAspect, ComponentCompareAspect]"
1162
- },
1163
- {
1164
- "__schema": "VariableLikeSchema",
1165
- "location": {
1166
- "filePath": "compositions.ui.runtime.tsx",
1167
- "line": 35,
1168
- "character": 3
1094
+ "signature": "(property) CompositionsUI.dependencies: Aspect[]",
1095
+ "name": "dependencies",
1096
+ "type": {
1097
+ "__schema": "InferenceTypeSchema",
1098
+ "location": {
1099
+ "filePath": "compositions.ui.runtime.tsx",
1100
+ "line": 34,
1101
+ "character": 3
1102
+ },
1103
+ "type": "Aspect[]"
1104
+ },
1105
+ "isOptional": true,
1106
+ "defaultValue": "[ComponentAspect, ComponentCompareAspect]"
1169
1107
  },
1170
- "signature": "(property) CompositionsUI.runtime: RuntimeDefinition",
1171
- "name": "runtime",
1172
- "type": {
1173
- "__schema": "InferenceTypeSchema",
1108
+ {
1109
+ "__schema": "VariableLikeSchema",
1174
1110
  "location": {
1175
1111
  "filePath": "compositions.ui.runtime.tsx",
1176
1112
  "line": 35,
1177
1113
  "character": 3
1178
1114
  },
1179
- "type": "RuntimeDefinition"
1115
+ "signature": "(property) CompositionsUI.runtime: RuntimeDefinition",
1116
+ "name": "runtime",
1117
+ "type": {
1118
+ "__schema": "InferenceTypeSchema",
1119
+ "location": {
1120
+ "filePath": "compositions.ui.runtime.tsx",
1121
+ "line": 35,
1122
+ "character": 3
1123
+ },
1124
+ "type": "RuntimeDefinition"
1125
+ },
1126
+ "isOptional": true,
1127
+ "defaultValue": "UIRuntime"
1180
1128
  },
1181
- "isOptional": true,
1182
- "defaultValue": "UIRuntime"
1183
- },
1184
- {
1185
- "__schema": "VariableLikeSchema",
1186
- "location": {
1187
- "filePath": "compositions.ui.runtime.tsx",
1188
- "line": 36,
1189
- "character": 3
1129
+ {
1130
+ "__schema": "VariableLikeSchema",
1131
+ "location": {
1132
+ "filePath": "compositions.ui.runtime.tsx",
1133
+ "line": 36,
1134
+ "character": 3
1135
+ },
1136
+ "signature": "(property) CompositionsUI.slots: ((registerFn: () => string) => SlotRegistry<ReactNode>)[]",
1137
+ "name": "slots",
1138
+ "type": {
1139
+ "__schema": "InferenceTypeSchema",
1140
+ "location": {
1141
+ "filePath": "compositions.ui.runtime.tsx",
1142
+ "line": 36,
1143
+ "character": 3
1144
+ },
1145
+ "type": "((registerFn: () => string) => SlotRegistry<ReactNode>)[]"
1146
+ },
1147
+ "isOptional": true,
1148
+ "defaultValue": "[Slot.withType<ReactNode>(), Slot.withType<ComponentType>()]"
1190
1149
  },
1191
- "signature": "(property) CompositionsUI.slots: ((registerFn: () => string) => SlotRegistry<ReactNode>)[]",
1192
- "name": "slots",
1193
- "type": {
1194
- "__schema": "InferenceTypeSchema",
1150
+ {
1151
+ "__schema": "FunctionLikeSchema",
1195
1152
  "location": {
1196
1153
  "filePath": "compositions.ui.runtime.tsx",
1197
- "line": 36,
1154
+ "line": 38,
1198
1155
  "character": 3
1199
1156
  },
1200
- "type": "((registerFn: () => string) => SlotRegistry<ReactNode>)[]"
1201
- },
1202
- "isOptional": true,
1203
- "defaultValue": "[Slot.withType<ReactNode>(), Slot.withType<ComponentType>()]"
1204
- },
1205
- {
1206
- "__schema": "FunctionLikeSchema",
1207
- "location": {
1208
- "filePath": "compositions.ui.runtime.tsx",
1209
- "line": 38,
1210
- "character": 3
1211
- },
1212
- "signature": "(method) CompositionsUI.provider([component, componentCompare]: [ComponentUI, ComponentCompareUI], config: {}, [compositionMenuSlot, emptyStateSlot]: [CompositionsMenuSlot, EmptyStateSlot]): Promise<CompositionsUI>",
1213
- "name": "provider",
1214
- "params": [
1215
- {
1216
- "__schema": "ParameterSchema",
1217
- "location": {
1218
- "filePath": "compositions.ui.runtime.tsx",
1219
- "line": 39,
1220
- "character": 5
1221
- },
1222
- "name": "[ component, componentCompare ]",
1223
- "type": {
1224
- "__schema": "TupleTypeSchema",
1157
+ "signature": "(method) CompositionsUI.provider([component, componentCompare]: [ComponentUI, ComponentCompareUI], config: {}, [compositionMenuSlot, emptyStateSlot]: [CompositionsMenuSlot, EmptyStateSlot]): Promise<CompositionsUI>",
1158
+ "name": "provider",
1159
+ "params": [
1160
+ {
1161
+ "__schema": "ParameterSchema",
1225
1162
  "location": {
1226
1163
  "filePath": "compositions.ui.runtime.tsx",
1227
1164
  "line": 39,
1228
- "character": 36
1165
+ "character": 5
1229
1166
  },
1230
- "elements": [
1231
- {
1232
- "__schema": "TypeRefSchema",
1233
- "location": {
1234
- "filePath": "compositions.ui.runtime.tsx",
1235
- "line": 39,
1236
- "character": 37
1237
- },
1238
- "name": "ComponentUI",
1239
- "componentId": {
1240
- "scope": "teambit.component",
1241
- "name": "component"
1242
- }
1167
+ "name": "[ component, componentCompare ]",
1168
+ "type": {
1169
+ "__schema": "TupleTypeSchema",
1170
+ "location": {
1171
+ "filePath": "compositions.ui.runtime.tsx",
1172
+ "line": 39,
1173
+ "character": 36
1243
1174
  },
1244
- {
1245
- "__schema": "TypeRefSchema",
1246
- "location": {
1247
- "filePath": "compositions.ui.runtime.tsx",
1248
- "line": 39,
1249
- "character": 50
1175
+ "elements": [
1176
+ {
1177
+ "__schema": "TypeRefSchema",
1178
+ "location": {
1179
+ "filePath": "compositions.ui.runtime.tsx",
1180
+ "line": 39,
1181
+ "character": 37
1182
+ },
1183
+ "name": "ComponentUI"
1250
1184
  },
1251
- "name": "ComponentCompareUI",
1252
- "componentId": {
1253
- "scope": "teambit.component",
1254
- "name": "component-compare"
1185
+ {
1186
+ "__schema": "TypeRefSchema",
1187
+ "location": {
1188
+ "filePath": "compositions.ui.runtime.tsx",
1189
+ "line": 39,
1190
+ "character": 50
1191
+ },
1192
+ "name": "ComponentCompareUI"
1255
1193
  }
1256
- }
1257
- ]
1258
- },
1259
- "isOptional": false,
1260
- "isSpread": false
1261
- },
1262
- {
1263
- "__schema": "ParameterSchema",
1264
- "location": {
1265
- "filePath": "compositions.ui.runtime.tsx",
1266
- "line": 40,
1267
- "character": 5
1194
+ ]
1195
+ },
1196
+ "isOptional": false,
1197
+ "isSpread": false
1268
1198
  },
1269
- "name": "config",
1270
- "type": {
1271
- "__schema": "TypeLiteralSchema",
1199
+ {
1200
+ "__schema": "ParameterSchema",
1272
1201
  "location": {
1273
1202
  "filePath": "compositions.ui.runtime.tsx",
1274
1203
  "line": 40,
1275
- "character": 13
1204
+ "character": 5
1276
1205
  },
1277
- "members": []
1278
- },
1279
- "isOptional": false,
1280
- "isSpread": false
1281
- },
1282
- {
1283
- "__schema": "ParameterSchema",
1284
- "location": {
1285
- "filePath": "compositions.ui.runtime.tsx",
1286
- "line": 41,
1287
- "character": 5
1206
+ "name": "config",
1207
+ "type": {
1208
+ "__schema": "TypeLiteralSchema",
1209
+ "location": {
1210
+ "filePath": "compositions.ui.runtime.tsx",
1211
+ "line": 40,
1212
+ "character": 13
1213
+ },
1214
+ "members": []
1215
+ },
1216
+ "isOptional": false,
1217
+ "isSpread": false
1288
1218
  },
1289
- "name": "[ compositionMenuSlot, emptyStateSlot ]",
1290
- "type": {
1291
- "__schema": "TupleTypeSchema",
1219
+ {
1220
+ "__schema": "ParameterSchema",
1292
1221
  "location": {
1293
1222
  "filePath": "compositions.ui.runtime.tsx",
1294
1223
  "line": 41,
1295
- "character": 44
1224
+ "character": 5
1296
1225
  },
1297
- "elements": [
1298
- {
1299
- "__schema": "TypeRefSchema",
1300
- "location": {
1301
- "filePath": "compositions.ui.runtime.tsx",
1302
- "line": 41,
1303
- "character": 45
1304
- },
1305
- "name": "CompositionsMenuSlot"
1226
+ "name": "[ compositionMenuSlot, emptyStateSlot ]",
1227
+ "type": {
1228
+ "__schema": "TupleTypeSchema",
1229
+ "location": {
1230
+ "filePath": "compositions.ui.runtime.tsx",
1231
+ "line": 41,
1232
+ "character": 44
1306
1233
  },
1307
- {
1308
- "__schema": "TypeRefSchema",
1309
- "location": {
1310
- "filePath": "compositions.ui.runtime.tsx",
1311
- "line": 41,
1312
- "character": 67
1234
+ "elements": [
1235
+ {
1236
+ "__schema": "TypeRefSchema",
1237
+ "location": {
1238
+ "filePath": "compositions.ui.runtime.tsx",
1239
+ "line": 41,
1240
+ "character": 45
1241
+ },
1242
+ "name": "CompositionsMenuSlot"
1313
1243
  },
1314
- "name": "EmptyStateSlot"
1315
- }
1316
- ]
1317
- },
1318
- "isOptional": false,
1319
- "isSpread": false
1320
- }
1321
- ],
1322
- "returnType": {
1323
- "__schema": "InferenceTypeSchema",
1324
- "location": {
1325
- "filePath": "compositions.ui.runtime.tsx",
1326
- "line": 38,
1327
- "character": 3
1328
- },
1329
- "type": "Promise<CompositionsUI>"
1330
- },
1331
- "modifiers": [
1332
- "static",
1333
- "async"
1334
- ]
1335
- }
1336
- ],
1337
- "extendsNodes": [],
1338
- "implementNodes": []
1339
- },
1340
- {
1341
- "__schema": "TypeSchema",
1342
- "location": {
1343
- "filePath": "compositions.ui.runtime.tsx",
1344
- "line": 13,
1345
- "character": 1
1346
- },
1347
- "signature": "type CompositionsMenuSlot = SlotRegistry<MenuBarWidget[]>",
1348
- "name": "CompositionsMenuSlot",
1349
- "type": {
1350
- "__schema": "TypeRefSchema",
1351
- "location": {
1352
- "filePath": "compositions.ui.runtime.tsx",
1353
- "line": 13,
1354
- "character": 36
1355
- },
1356
- "name": "SlotRegistry",
1357
- "componentId": {
1358
- "scope": "teambit.harmony",
1359
- "name": "harmony",
1360
- "version": "0.4.6"
1361
- },
1362
- "typeArgs": [
1363
- {
1364
- "__schema": "TypeArraySchema",
1365
- "location": {
1366
- "filePath": "compositions.ui.runtime.tsx",
1367
- "line": 13,
1368
- "character": 49
1369
- },
1370
- "type": {
1371
- "__schema": "TypeRefSchema",
1244
+ {
1245
+ "__schema": "TypeRefSchema",
1246
+ "location": {
1247
+ "filePath": "compositions.ui.runtime.tsx",
1248
+ "line": 41,
1249
+ "character": 67
1250
+ },
1251
+ "name": "EmptyStateSlot"
1252
+ }
1253
+ ]
1254
+ },
1255
+ "isOptional": false,
1256
+ "isSpread": false
1257
+ }
1258
+ ],
1259
+ "returnType": {
1260
+ "__schema": "InferenceTypeSchema",
1372
1261
  "location": {
1373
1262
  "filePath": "compositions.ui.runtime.tsx",
1374
- "line": 13,
1375
- "character": 49
1263
+ "line": 38,
1264
+ "character": 3
1376
1265
  },
1377
- "name": "MenuBarWidget",
1378
- "internalFilePath": "compositions.tsx"
1379
- }
1380
- }
1381
- ]
1382
- }
1383
- },
1384
- {
1385
- "__schema": "TypeSchema",
1386
- "location": {
1387
- "filePath": "compositions.ui.runtime.tsx",
1388
- "line": 14,
1389
- "character": 1
1390
- },
1391
- "signature": "type EmptyStateSlot = SlotRegistry<React.ComponentType>",
1392
- "name": "EmptyStateSlot",
1393
- "type": {
1394
- "__schema": "TypeRefSchema",
1395
- "location": {
1396
- "filePath": "compositions.ui.runtime.tsx",
1397
- "line": 14,
1398
- "character": 30
1399
- },
1400
- "name": "SlotRegistry",
1401
- "componentId": {
1402
- "scope": "teambit.harmony",
1403
- "name": "harmony",
1404
- "version": "0.4.6"
1405
- },
1406
- "typeArgs": [
1407
- {
1408
- "__schema": "TypeRefSchema",
1409
- "location": {
1410
- "filePath": "compositions.ui.runtime.tsx",
1411
- "line": 14,
1412
- "character": 43
1266
+ "type": "Promise<CompositionsUI>"
1413
1267
  },
1414
- "name": "ComponentType",
1415
- "packageName": "react"
1268
+ "modifiers": [
1269
+ "static",
1270
+ "async"
1271
+ ]
1416
1272
  }
1417
- ]
1273
+ ],
1274
+ "extendsNodes": [],
1275
+ "implementNodes": []
1418
1276
  }
1419
1277
  },
1420
1278
  {
1421
- "__schema": "TypeSchema",
1279
+ "__schema": "ExportSchema",
1422
1280
  "location": {
1423
- "filePath": "composition.ts",
1424
- "line": 3,
1425
- "character": 1
1281
+ "filePath": "index.ts",
1282
+ "line": 5,
1283
+ "character": 31
1426
1284
  },
1427
- "signature": "type CompositionProps = {\n identifier: string;\n filepath?: string | undefined;\n displayName?: string | undefined;\n}",
1428
- "name": "CompositionProps",
1429
- "type": {
1430
- "__schema": "TypeLiteralSchema",
1285
+ "name": "CompositionsMenuSlot",
1286
+ "exportNode": {
1287
+ "__schema": "TypeSchema",
1431
1288
  "location": {
1432
- "filePath": "composition.ts",
1433
- "line": 3,
1434
- "character": 32
1289
+ "filePath": "compositions.ui.runtime.tsx",
1290
+ "line": 13,
1291
+ "character": 1
1435
1292
  },
1436
- "members": [
1437
- {
1438
- "__schema": "VariableLikeSchema",
1439
- "location": {
1440
- "filePath": "composition.ts",
1441
- "line": 4,
1442
- "character": 3
1443
- },
1444
- "signature": "(property) identifier: string",
1445
- "name": "identifier",
1446
- "type": {
1447
- "__schema": "KeywordTypeSchema",
1448
- "location": {
1449
- "filePath": "composition.ts",
1450
- "line": 4,
1451
- "character": 15
1452
- },
1453
- "name": "string"
1454
- },
1455
- "isOptional": false
1293
+ "signature": "type CompositionsMenuSlot = SlotRegistry<MenuBarWidget[]>",
1294
+ "name": "CompositionsMenuSlot",
1295
+ "type": {
1296
+ "__schema": "TypeRefSchema",
1297
+ "location": {
1298
+ "filePath": "compositions.ui.runtime.tsx",
1299
+ "line": 13,
1300
+ "character": 36
1456
1301
  },
1457
- {
1458
- "__schema": "VariableLikeSchema",
1459
- "location": {
1460
- "filePath": "composition.ts",
1461
- "line": 5,
1462
- "character": 3
1463
- },
1464
- "signature": "(property) filepath?: string | undefined",
1465
- "name": "filepath",
1466
- "type": {
1467
- "__schema": "KeywordTypeSchema",
1302
+ "name": "SlotRegistry",
1303
+ "typeArgs": [
1304
+ {
1305
+ "__schema": "TypeArraySchema",
1468
1306
  "location": {
1469
- "filePath": "composition.ts",
1470
- "line": 5,
1471
- "character": 14
1307
+ "filePath": "compositions.ui.runtime.tsx",
1308
+ "line": 13,
1309
+ "character": 49
1472
1310
  },
1473
- "name": "string"
1474
- },
1475
- "isOptional": true
1311
+ "type": {
1312
+ "__schema": "TypeRefSchema",
1313
+ "location": {
1314
+ "filePath": "compositions.ui.runtime.tsx",
1315
+ "line": 13,
1316
+ "character": 49
1317
+ },
1318
+ "name": "MenuBarWidget"
1319
+ }
1320
+ }
1321
+ ]
1322
+ }
1323
+ }
1324
+ },
1325
+ {
1326
+ "__schema": "ExportSchema",
1327
+ "location": {
1328
+ "filePath": "index.ts",
1329
+ "line": 5,
1330
+ "character": 53
1331
+ },
1332
+ "name": "EmptyStateSlot",
1333
+ "exportNode": {
1334
+ "__schema": "TypeSchema",
1335
+ "location": {
1336
+ "filePath": "compositions.ui.runtime.tsx",
1337
+ "line": 14,
1338
+ "character": 1
1339
+ },
1340
+ "signature": "type EmptyStateSlot = SlotRegistry<React.ComponentType>",
1341
+ "name": "EmptyStateSlot",
1342
+ "type": {
1343
+ "__schema": "TypeRefSchema",
1344
+ "location": {
1345
+ "filePath": "compositions.ui.runtime.tsx",
1346
+ "line": 14,
1347
+ "character": 30
1476
1348
  },
1477
- {
1478
- "__schema": "VariableLikeSchema",
1479
- "location": {
1480
- "filePath": "composition.ts",
1481
- "line": 6,
1482
- "character": 3
1483
- },
1484
- "signature": "(property) displayName?: string | undefined",
1485
- "name": "displayName",
1486
- "type": {
1487
- "__schema": "KeywordTypeSchema",
1349
+ "name": "SlotRegistry",
1350
+ "typeArgs": [
1351
+ {
1352
+ "__schema": "TypeRefSchema",
1488
1353
  "location": {
1489
- "filePath": "composition.ts",
1490
- "line": 6,
1491
- "character": 17
1354
+ "filePath": "compositions.ui.runtime.tsx",
1355
+ "line": 14,
1356
+ "character": 43
1492
1357
  },
1493
- "name": "string"
1494
- },
1495
- "isOptional": true
1496
- }
1497
- ]
1358
+ "name": "ComponentType"
1359
+ }
1360
+ ]
1361
+ }
1498
1362
  }
1499
1363
  },
1500
1364
  {
1501
- "__schema": "ClassSchema",
1365
+ "__schema": "ExportSchema",
1502
1366
  "location": {
1503
- "filePath": "composition.ts",
1504
- "line": 18,
1505
- "character": 1
1367
+ "filePath": "index.ts",
1368
+ "line": 6,
1369
+ "character": 15
1506
1370
  },
1507
- "signature": "class Composition",
1508
- "name": "Composition",
1509
- "members": [
1510
- {
1511
- "__schema": "ConstructorSchema",
1371
+ "name": "CompositionProps",
1372
+ "exportNode": {
1373
+ "__schema": "TypeSchema",
1374
+ "location": {
1375
+ "filePath": "composition.ts",
1376
+ "line": 3,
1377
+ "character": 1
1378
+ },
1379
+ "signature": "type CompositionProps = {\n identifier: string;\n filepath?: string | undefined;\n displayName?: string | undefined;\n}",
1380
+ "name": "CompositionProps",
1381
+ "type": {
1382
+ "__schema": "TypeLiteralSchema",
1512
1383
  "location": {
1513
1384
  "filePath": "composition.ts",
1514
- "line": 19,
1515
- "character": 3
1385
+ "line": 3,
1386
+ "character": 32
1516
1387
  },
1517
- "signature": "constructor Composition(identifier: string, filepath?: string, _displayName?: string): Composition",
1518
- "name": "constructor",
1519
- "params": [
1388
+ "members": [
1520
1389
  {
1521
- "__schema": "ParameterSchema",
1390
+ "__schema": "VariableLikeSchema",
1522
1391
  "location": {
1523
1392
  "filePath": "composition.ts",
1524
- "line": 23,
1525
- "character": 5
1393
+ "line": 4,
1394
+ "character": 3
1526
1395
  },
1396
+ "signature": "(property) identifier: string",
1527
1397
  "name": "identifier",
1528
1398
  "type": {
1529
1399
  "__schema": "KeywordTypeSchema",
1530
1400
  "location": {
1531
1401
  "filePath": "composition.ts",
1532
- "line": 23,
1533
- "character": 26
1402
+ "line": 4,
1403
+ "character": 15
1534
1404
  },
1535
1405
  "name": "string"
1536
1406
  },
1537
- "isOptional": false,
1538
- "isSpread": false
1407
+ "isOptional": false
1539
1408
  },
1540
1409
  {
1541
- "__schema": "ParameterSchema",
1410
+ "__schema": "VariableLikeSchema",
1542
1411
  "location": {
1543
1412
  "filePath": "composition.ts",
1544
- "line": 28,
1545
- "character": 5
1413
+ "line": 5,
1414
+ "character": 3
1546
1415
  },
1416
+ "signature": "(property) filepath?: string | undefined",
1547
1417
  "name": "filepath",
1548
1418
  "type": {
1549
1419
  "__schema": "KeywordTypeSchema",
1550
1420
  "location": {
1551
1421
  "filePath": "composition.ts",
1552
- "line": 28,
1553
- "character": 25
1422
+ "line": 5,
1423
+ "character": 14
1554
1424
  },
1555
1425
  "name": "string"
1556
1426
  },
1557
- "isOptional": true,
1558
- "isSpread": false
1427
+ "isOptional": true
1559
1428
  },
1560
1429
  {
1561
- "__schema": "ParameterSchema",
1430
+ "__schema": "VariableLikeSchema",
1562
1431
  "location": {
1563
1432
  "filePath": "composition.ts",
1564
- "line": 33,
1565
- "character": 5
1433
+ "line": 6,
1434
+ "character": 3
1566
1435
  },
1567
- "name": "_displayName",
1436
+ "signature": "(property) displayName?: string | undefined",
1437
+ "name": "displayName",
1568
1438
  "type": {
1569
1439
  "__schema": "KeywordTypeSchema",
1570
1440
  "location": {
1571
1441
  "filePath": "composition.ts",
1572
- "line": 33,
1573
- "character": 28
1442
+ "line": 6,
1443
+ "character": 17
1574
1444
  },
1575
1445
  "name": "string"
1576
1446
  },
1577
- "isOptional": true,
1578
- "isSpread": false
1447
+ "isOptional": true
1579
1448
  }
1580
- ],
1581
- "returnType": {
1582
- "__schema": "ThisTypeSchema",
1449
+ ]
1450
+ }
1451
+ }
1452
+ },
1453
+ {
1454
+ "__schema": "ExportSchema",
1455
+ "location": {
1456
+ "filePath": "index.ts",
1457
+ "line": 7,
1458
+ "character": 10
1459
+ },
1460
+ "name": "Composition",
1461
+ "exportNode": {
1462
+ "__schema": "ClassSchema",
1463
+ "location": {
1464
+ "filePath": "composition.ts",
1465
+ "line": 18,
1466
+ "character": 1
1467
+ },
1468
+ "signature": "class Composition",
1469
+ "name": "Composition",
1470
+ "members": [
1471
+ {
1472
+ "__schema": "ConstructorSchema",
1583
1473
  "location": {
1584
1474
  "filePath": "composition.ts",
1585
- "line": 18,
1586
- "character": 1
1475
+ "line": 19,
1476
+ "character": 3
1587
1477
  },
1588
- "name": "Composition"
1589
- },
1590
- "modifiers": []
1591
- },
1592
- {
1593
- "__schema": "GetAccessorSchema",
1594
- "location": {
1595
- "filePath": "composition.ts",
1596
- "line": 36,
1597
- "character": 3
1478
+ "signature": "constructor Composition(identifier: string, filepath?: string, _displayName?: string): Composition",
1479
+ "name": "constructor",
1480
+ "params": [
1481
+ {
1482
+ "__schema": "ParameterSchema",
1483
+ "location": {
1484
+ "filePath": "composition.ts",
1485
+ "line": 23,
1486
+ "character": 5
1487
+ },
1488
+ "name": "identifier",
1489
+ "type": {
1490
+ "__schema": "KeywordTypeSchema",
1491
+ "location": {
1492
+ "filePath": "composition.ts",
1493
+ "line": 23,
1494
+ "character": 26
1495
+ },
1496
+ "name": "string"
1497
+ },
1498
+ "isOptional": false,
1499
+ "isSpread": false
1500
+ },
1501
+ {
1502
+ "__schema": "ParameterSchema",
1503
+ "location": {
1504
+ "filePath": "composition.ts",
1505
+ "line": 28,
1506
+ "character": 5
1507
+ },
1508
+ "name": "filepath",
1509
+ "type": {
1510
+ "__schema": "KeywordTypeSchema",
1511
+ "location": {
1512
+ "filePath": "composition.ts",
1513
+ "line": 28,
1514
+ "character": 25
1515
+ },
1516
+ "name": "string"
1517
+ },
1518
+ "isOptional": true,
1519
+ "isSpread": false
1520
+ },
1521
+ {
1522
+ "__schema": "ParameterSchema",
1523
+ "location": {
1524
+ "filePath": "composition.ts",
1525
+ "line": 33,
1526
+ "character": 5
1527
+ },
1528
+ "name": "_displayName",
1529
+ "type": {
1530
+ "__schema": "KeywordTypeSchema",
1531
+ "location": {
1532
+ "filePath": "composition.ts",
1533
+ "line": 33,
1534
+ "character": 28
1535
+ },
1536
+ "name": "string"
1537
+ },
1538
+ "isOptional": true,
1539
+ "isSpread": false
1540
+ }
1541
+ ],
1542
+ "returnType": {
1543
+ "__schema": "ThisTypeSchema",
1544
+ "location": {
1545
+ "filePath": "composition.ts",
1546
+ "line": 18,
1547
+ "character": 1
1548
+ },
1549
+ "name": "Composition"
1550
+ },
1551
+ "modifiers": []
1598
1552
  },
1599
- "signature": "(getter) Composition.displayName: string",
1600
- "name": "displayName",
1601
- "type": {
1602
- "__schema": "InferenceTypeSchema",
1553
+ {
1554
+ "__schema": "GetAccessorSchema",
1603
1555
  "location": {
1604
1556
  "filePath": "composition.ts",
1605
1557
  "line": 36,
1606
1558
  "character": 3
1607
1559
  },
1608
- "type": "string"
1609
- }
1610
- },
1611
- {
1612
- "__schema": "FunctionLikeSchema",
1613
- "location": {
1614
- "filePath": "composition.ts",
1615
- "line": 40,
1616
- "character": 3
1560
+ "signature": "(getter) Composition.displayName: string",
1561
+ "name": "displayName",
1562
+ "type": {
1563
+ "__schema": "InferenceTypeSchema",
1564
+ "location": {
1565
+ "filePath": "composition.ts",
1566
+ "line": 36,
1567
+ "character": 3
1568
+ },
1569
+ "type": "string"
1570
+ }
1617
1571
  },
1618
- "signature": "(method) Composition.toObject(): {\n identifier: string;\n filepath: string | undefined;\n displayName: string | undefined;\n}",
1619
- "name": "toObject",
1620
- "params": [],
1621
- "returnType": {
1622
- "__schema": "InferenceTypeSchema",
1572
+ {
1573
+ "__schema": "FunctionLikeSchema",
1623
1574
  "location": {
1624
1575
  "filePath": "composition.ts",
1625
1576
  "line": 40,
1626
1577
  "character": 3
1627
1578
  },
1628
- "type": "{\n identifier: string;\n filepath: string | undefined;\n displayName: string | undefined;\n}"
1629
- },
1630
- "modifiers": []
1631
- },
1632
- {
1633
- "__schema": "FunctionLikeSchema",
1634
- "location": {
1635
- "filePath": "composition.ts",
1636
- "line": 48,
1637
- "character": 3
1579
+ "signature": "(method) Composition.toObject(): {\n identifier: string;\n filepath: string | undefined;\n displayName: string | undefined;\n}",
1580
+ "name": "toObject",
1581
+ "params": [],
1582
+ "returnType": {
1583
+ "__schema": "InferenceTypeSchema",
1584
+ "location": {
1585
+ "filePath": "composition.ts",
1586
+ "line": 40,
1587
+ "character": 3
1588
+ },
1589
+ "type": "{\n identifier: string;\n filepath: string | undefined;\n displayName: string | undefined;\n}"
1590
+ },
1591
+ "modifiers": []
1638
1592
  },
1639
- "signature": "(method) Composition.toBrowserMetaDataObject(): CompositionBrowserMetadata",
1640
- "name": "toBrowserMetaDataObject",
1641
- "params": [],
1642
- "returnType": {
1643
- "__schema": "TypeRefSchema",
1593
+ {
1594
+ "__schema": "FunctionLikeSchema",
1644
1595
  "location": {
1645
1596
  "filePath": "composition.ts",
1646
1597
  "line": 48,
1647
1598
  "character": 3
1648
1599
  },
1649
- "name": "CompositionBrowserMetadata",
1650
- "internalFilePath": "composition.ts"
1651
- },
1652
- "modifiers": []
1653
- },
1654
- {
1655
- "__schema": "FunctionLikeSchema",
1656
- "location": {
1657
- "filePath": "composition.ts",
1658
- "line": 55,
1659
- "character": 3
1660
- },
1661
- "signature": "(method) Composition.fromArray(compositions: CompositionProps[]): Composition[]",
1662
- "name": "fromArray",
1663
- "params": [
1664
- {
1665
- "__schema": "ParameterSchema",
1600
+ "signature": "(method) Composition.toBrowserMetaDataObject(): CompositionBrowserMetadata",
1601
+ "name": "toBrowserMetaDataObject",
1602
+ "params": [],
1603
+ "returnType": {
1604
+ "__schema": "TypeRefSchema",
1666
1605
  "location": {
1667
1606
  "filePath": "composition.ts",
1668
- "line": 55,
1669
- "character": 20
1607
+ "line": 48,
1608
+ "character": 3
1670
1609
  },
1671
- "name": "compositions",
1672
- "type": {
1673
- "__schema": "TypeArraySchema",
1610
+ "name": "CompositionBrowserMetadata",
1611
+ "internalFilePath": "composition.ts"
1612
+ },
1613
+ "modifiers": []
1614
+ },
1615
+ {
1616
+ "__schema": "FunctionLikeSchema",
1617
+ "location": {
1618
+ "filePath": "composition.ts",
1619
+ "line": 55,
1620
+ "character": 3
1621
+ },
1622
+ "signature": "(method) Composition.fromArray(compositions: CompositionProps[]): Composition[]",
1623
+ "name": "fromArray",
1624
+ "params": [
1625
+ {
1626
+ "__schema": "ParameterSchema",
1674
1627
  "location": {
1675
1628
  "filePath": "composition.ts",
1676
1629
  "line": 55,
1677
- "character": 34
1630
+ "character": 20
1678
1631
  },
1632
+ "name": "compositions",
1679
1633
  "type": {
1680
- "__schema": "TypeRefSchema",
1634
+ "__schema": "TypeArraySchema",
1681
1635
  "location": {
1682
1636
  "filePath": "composition.ts",
1683
1637
  "line": 55,
1684
1638
  "character": 34
1685
1639
  },
1686
- "name": "CompositionProps"
1687
- }
1688
- },
1689
- "isOptional": false,
1690
- "isSpread": false
1691
- }
1692
- ],
1693
- "returnType": {
1694
- "__schema": "TypeArraySchema",
1695
- "location": {
1696
- "filePath": "composition.ts",
1697
- "line": 55,
1698
- "character": 55
1699
- },
1700
- "type": {
1701
- "__schema": "TypeRefSchema",
1640
+ "type": {
1641
+ "__schema": "TypeRefSchema",
1642
+ "location": {
1643
+ "filePath": "composition.ts",
1644
+ "line": 55,
1645
+ "character": 34
1646
+ },
1647
+ "name": "CompositionProps"
1648
+ }
1649
+ },
1650
+ "isOptional": false,
1651
+ "isSpread": false
1652
+ }
1653
+ ],
1654
+ "returnType": {
1655
+ "__schema": "TypeArraySchema",
1702
1656
  "location": {
1703
1657
  "filePath": "composition.ts",
1704
1658
  "line": 55,
1705
1659
  "character": 55
1706
1660
  },
1707
- "name": "Composition"
1708
- }
1709
- },
1710
- "modifiers": [
1711
- "static"
1712
- ]
1713
- }
1714
- ],
1715
- "extendsNodes": [],
1716
- "implementNodes": []
1661
+ "type": {
1662
+ "__schema": "TypeRefSchema",
1663
+ "location": {
1664
+ "filePath": "composition.ts",
1665
+ "line": 55,
1666
+ "character": 55
1667
+ },
1668
+ "name": "Composition"
1669
+ }
1670
+ },
1671
+ "modifiers": [
1672
+ "static"
1673
+ ]
1674
+ }
1675
+ ],
1676
+ "extendsNodes": [],
1677
+ "implementNodes": []
1678
+ }
1717
1679
  },
1718
1680
  {
1719
- "__schema": "TypeSchema",
1681
+ "__schema": "ExportSchema",
1720
1682
  "location": {
1721
- "filePath": "compositions.tsx",
1722
- "line": 158,
1723
- "character": 1
1683
+ "filePath": "index.ts",
1684
+ "line": 8,
1685
+ "character": 15
1724
1686
  },
1725
- "signature": "type CompositionContentProps = {\n component: ComponentModel;\n selected?: Composition | undefined;\n queryParams?: string | string[] | undefined;\n emptyState?: EmptyStateSlot | undefined;\n} & {\n composition?: Composition | undefined;\n} & ComponentPreviewProps",
1726
1687
  "name": "CompositionContentProps",
1727
- "type": {
1728
- "__schema": "TypeIntersectionSchema",
1688
+ "exportNode": {
1689
+ "__schema": "TypeSchema",
1729
1690
  "location": {
1730
1691
  "filePath": "compositions.tsx",
1731
1692
  "line": 158,
1732
- "character": 39
1693
+ "character": 1
1733
1694
  },
1734
- "types": [
1735
- {
1736
- "__schema": "TypeLiteralSchema",
1737
- "location": {
1738
- "filePath": "compositions.tsx",
1739
- "line": 158,
1740
- "character": 39
1741
- },
1742
- "members": [
1743
- {
1744
- "__schema": "VariableLikeSchema",
1745
- "location": {
1746
- "filePath": "compositions.tsx",
1747
- "line": 159,
1748
- "character": 3
1749
- },
1750
- "signature": "(property) component: ComponentModel",
1751
- "name": "component",
1752
- "type": {
1753
- "__schema": "TypeRefSchema",
1695
+ "signature": "type CompositionContentProps = {\n component: ComponentModel;\n selected?: Composition | undefined;\n queryParams?: string | string[] | undefined;\n emptyState?: EmptyStateSlot | undefined;\n} & {\n composition?: Composition | undefined;\n} & ComponentPreviewProps",
1696
+ "name": "CompositionContentProps",
1697
+ "type": {
1698
+ "__schema": "TypeIntersectionSchema",
1699
+ "location": {
1700
+ "filePath": "compositions.tsx",
1701
+ "line": 158,
1702
+ "character": 39
1703
+ },
1704
+ "types": [
1705
+ {
1706
+ "__schema": "TypeLiteralSchema",
1707
+ "location": {
1708
+ "filePath": "compositions.tsx",
1709
+ "line": 158,
1710
+ "character": 39
1711
+ },
1712
+ "members": [
1713
+ {
1714
+ "__schema": "VariableLikeSchema",
1754
1715
  "location": {
1755
1716
  "filePath": "compositions.tsx",
1756
1717
  "line": 159,
1757
1718
  "character": 3
1758
1719
  },
1759
- "name": "ComponentModel",
1760
- "componentId": {
1761
- "scope": "teambit.component",
1762
- "name": "component"
1763
- }
1764
- },
1765
- "isOptional": false
1766
- },
1767
- {
1768
- "__schema": "VariableLikeSchema",
1769
- "location": {
1770
- "filePath": "compositions.tsx",
1771
- "line": 160,
1772
- "character": 3
1720
+ "signature": "(property) component: ComponentModel",
1721
+ "name": "component",
1722
+ "type": {
1723
+ "__schema": "TypeRefSchema",
1724
+ "location": {
1725
+ "filePath": "compositions.tsx",
1726
+ "line": 159,
1727
+ "character": 3
1728
+ },
1729
+ "name": "ComponentModel",
1730
+ "componentId": {
1731
+ "scope": "teambit.component",
1732
+ "name": "component"
1733
+ }
1734
+ },
1735
+ "isOptional": false
1773
1736
  },
1774
- "signature": "(property) selected?: Composition | undefined",
1775
- "name": "selected",
1776
- "type": {
1777
- "__schema": "TypeRefSchema",
1737
+ {
1738
+ "__schema": "VariableLikeSchema",
1778
1739
  "location": {
1779
1740
  "filePath": "compositions.tsx",
1780
1741
  "line": 160,
1781
- "character": 14
1742
+ "character": 3
1782
1743
  },
1783
- "name": "Composition"
1784
- },
1785
- "isOptional": true
1786
- },
1787
- {
1788
- "__schema": "VariableLikeSchema",
1789
- "location": {
1790
- "filePath": "compositions.tsx",
1791
- "line": 161,
1792
- "character": 3
1744
+ "signature": "(property) selected?: Composition | undefined",
1745
+ "name": "selected",
1746
+ "type": {
1747
+ "__schema": "TypeRefSchema",
1748
+ "location": {
1749
+ "filePath": "compositions.tsx",
1750
+ "line": 160,
1751
+ "character": 14
1752
+ },
1753
+ "name": "Composition"
1754
+ },
1755
+ "isOptional": true
1793
1756
  },
1794
- "signature": "(property) queryParams?: string | string[] | undefined",
1795
- "name": "queryParams",
1796
- "type": {
1797
- "__schema": "TypeUnionSchema",
1757
+ {
1758
+ "__schema": "VariableLikeSchema",
1798
1759
  "location": {
1799
1760
  "filePath": "compositions.tsx",
1800
1761
  "line": 161,
1801
- "character": 17
1762
+ "character": 3
1802
1763
  },
1803
- "types": [
1804
- {
1805
- "__schema": "KeywordTypeSchema",
1806
- "location": {
1807
- "filePath": "compositions.tsx",
1808
- "line": 161,
1809
- "character": 17
1810
- },
1811
- "name": "string"
1764
+ "signature": "(property) queryParams?: string | string[] | undefined",
1765
+ "name": "queryParams",
1766
+ "type": {
1767
+ "__schema": "TypeUnionSchema",
1768
+ "location": {
1769
+ "filePath": "compositions.tsx",
1770
+ "line": 161,
1771
+ "character": 17
1812
1772
  },
1813
- {
1814
- "__schema": "TypeArraySchema",
1815
- "location": {
1816
- "filePath": "compositions.tsx",
1817
- "line": 161,
1818
- "character": 26
1819
- },
1820
- "type": {
1773
+ "types": [
1774
+ {
1821
1775
  "__schema": "KeywordTypeSchema",
1822
1776
  "location": {
1823
1777
  "filePath": "compositions.tsx",
1824
1778
  "line": 161,
1825
- "character": 26
1779
+ "character": 17
1826
1780
  },
1827
1781
  "name": "string"
1782
+ },
1783
+ {
1784
+ "__schema": "TypeArraySchema",
1785
+ "location": {
1786
+ "filePath": "compositions.tsx",
1787
+ "line": 161,
1788
+ "character": 26
1789
+ },
1790
+ "type": {
1791
+ "__schema": "KeywordTypeSchema",
1792
+ "location": {
1793
+ "filePath": "compositions.tsx",
1794
+ "line": 161,
1795
+ "character": 26
1796
+ },
1797
+ "name": "string"
1798
+ }
1828
1799
  }
1829
- }
1830
- ]
1831
- },
1832
- "isOptional": true
1833
- },
1834
- {
1835
- "__schema": "VariableLikeSchema",
1836
- "location": {
1837
- "filePath": "compositions.tsx",
1838
- "line": 162,
1839
- "character": 3
1800
+ ]
1801
+ },
1802
+ "isOptional": true
1840
1803
  },
1841
- "signature": "(property) emptyState?: EmptyStateSlot | undefined",
1842
- "name": "emptyState",
1843
- "type": {
1844
- "__schema": "TypeRefSchema",
1804
+ {
1805
+ "__schema": "VariableLikeSchema",
1845
1806
  "location": {
1846
1807
  "filePath": "compositions.tsx",
1847
1808
  "line": 162,
1848
- "character": 16
1809
+ "character": 3
1849
1810
  },
1850
- "name": "EmptyStateSlot"
1851
- },
1852
- "isOptional": true
1853
- }
1854
- ]
1855
- },
1856
- {
1857
- "__schema": "TypeRefSchema",
1858
- "location": {
1859
- "filePath": "compositions.tsx",
1860
- "line": 163,
1861
- "character": 5
1862
- },
1863
- "name": "ComponentCompositionProps",
1864
- "internalFilePath": "ui/composition-preview.tsx"
1865
- }
1866
- ]
1811
+ "signature": "(property) emptyState?: EmptyStateSlot | undefined",
1812
+ "name": "emptyState",
1813
+ "type": {
1814
+ "__schema": "TypeRefSchema",
1815
+ "location": {
1816
+ "filePath": "compositions.tsx",
1817
+ "line": 162,
1818
+ "character": 16
1819
+ },
1820
+ "name": "EmptyStateSlot"
1821
+ },
1822
+ "isOptional": true
1823
+ }
1824
+ ]
1825
+ },
1826
+ {
1827
+ "__schema": "TypeRefSchema",
1828
+ "location": {
1829
+ "filePath": "compositions.tsx",
1830
+ "line": 163,
1831
+ "character": 5
1832
+ },
1833
+ "name": "ComponentCompositionProps"
1834
+ }
1835
+ ]
1836
+ }
1867
1837
  }
1868
1838
  },
1869
1839
  {
1870
- "__schema": "ReactSchema",
1840
+ "__schema": "ExportSchema",
1871
1841
  "location": {
1872
- "filePath": "compositions.tsx",
1873
- "line": 165,
1874
- "character": 1
1842
+ "filePath": "index.ts",
1843
+ "line": 9,
1844
+ "character": 10
1875
1845
  },
1876
- "signature": "function CompositionContent({ component, selected, queryParams, emptyState, ...componentCompositionProps }: CompositionContentProps): React.JSX.Element",
1877
1846
  "name": "CompositionContent",
1878
- "props": {
1879
- "__schema": "ParameterSchema",
1847
+ "exportNode": {
1848
+ "__schema": "ReactSchema",
1880
1849
  "location": {
1881
1850
  "filePath": "compositions.tsx",
1882
1851
  "line": 165,
1883
- "character": 36
1852
+ "character": 1
1884
1853
  },
1885
- "name": "{ component, selected, queryParams, emptyState, ...componentCompositionProps }",
1886
- "type": {
1887
- "__schema": "TypeRefSchema",
1854
+ "signature": "function CompositionContent({ component, selected, queryParams, emptyState, ...componentCompositionProps }: CompositionContentProps): React.JSX.Element",
1855
+ "name": "CompositionContent",
1856
+ "props": {
1857
+ "__schema": "ParameterSchema",
1888
1858
  "location": {
1889
1859
  "filePath": "compositions.tsx",
1890
- "line": 171,
1891
- "character": 4
1860
+ "line": 165,
1861
+ "character": 36
1892
1862
  },
1893
- "name": "CompositionContentProps"
1894
- },
1895
- "isOptional": false,
1896
- "objectBindingNodes": [
1897
- {
1898
- "__schema": "InferenceTypeSchema",
1863
+ "name": "{ component, selected, queryParams, emptyState, ...componentCompositionProps }",
1864
+ "type": {
1865
+ "__schema": "TypeRefSchema",
1899
1866
  "location": {
1900
1867
  "filePath": "compositions.tsx",
1901
- "line": 166,
1902
- "character": 3
1868
+ "line": 171,
1869
+ "character": 4
1903
1870
  },
1904
- "name": "component",
1905
- "type": "ComponentModel",
1906
- "isSpread": false
1871
+ "name": "CompositionContentProps"
1907
1872
  },
1908
- {
1909
- "__schema": "InferenceTypeSchema",
1910
- "location": {
1911
- "filePath": "compositions.tsx",
1912
- "line": 167,
1913
- "character": 3
1873
+ "isOptional": false,
1874
+ "objectBindingNodes": [
1875
+ {
1876
+ "__schema": "InferenceTypeSchema",
1877
+ "location": {
1878
+ "filePath": "compositions.tsx",
1879
+ "line": 166,
1880
+ "character": 3
1881
+ },
1882
+ "name": "component",
1883
+ "type": "ComponentModel",
1884
+ "isSpread": false
1914
1885
  },
1915
- "name": "selected",
1916
- "type": "Composition | undefined",
1917
- "isSpread": false
1918
- },
1919
- {
1920
- "__schema": "InferenceTypeSchema",
1921
- "location": {
1922
- "filePath": "compositions.tsx",
1923
- "line": 168,
1924
- "character": 3
1886
+ {
1887
+ "__schema": "InferenceTypeSchema",
1888
+ "location": {
1889
+ "filePath": "compositions.tsx",
1890
+ "line": 167,
1891
+ "character": 3
1892
+ },
1893
+ "name": "selected",
1894
+ "type": "Composition | undefined",
1895
+ "isSpread": false
1925
1896
  },
1926
- "name": "queryParams",
1927
- "type": "string | string[] | undefined",
1928
- "isSpread": false
1929
- },
1930
- {
1931
- "__schema": "InferenceTypeSchema",
1932
- "location": {
1933
- "filePath": "compositions.tsx",
1934
- "line": 169,
1935
- "character": 3
1897
+ {
1898
+ "__schema": "InferenceTypeSchema",
1899
+ "location": {
1900
+ "filePath": "compositions.tsx",
1901
+ "line": 168,
1902
+ "character": 3
1903
+ },
1904
+ "name": "queryParams",
1905
+ "type": "string | string[] | undefined",
1906
+ "isSpread": false
1936
1907
  },
1937
- "name": "emptyState",
1938
- "type": "EmptyStateSlot | undefined",
1939
- "isSpread": false
1940
- },
1941
- {
1942
- "__schema": "InferenceTypeSchema",
1943
- "location": {
1944
- "filePath": "compositions.tsx",
1945
- "line": 170,
1946
- "character": 6
1908
+ {
1909
+ "__schema": "InferenceTypeSchema",
1910
+ "location": {
1911
+ "filePath": "compositions.tsx",
1912
+ "line": 169,
1913
+ "character": 3
1914
+ },
1915
+ "name": "emptyState",
1916
+ "type": "EmptyStateSlot | undefined",
1917
+ "isSpread": false
1947
1918
  },
1948
- "name": "componentCompositionProps",
1949
- "type": "{\n composition?: Composition | undefined;\n previewName?: string | undefined;\n innerBottomPadding?: number | undefined;\n onLoad?: ((event?: any, props?: OnPreviewLoadProps | undefined) => void) | undefined;\n ... 278 more ...;\n width?: string | ... 1 more ... | undefined;\n}",
1950
- "isSpread": true
1951
- }
1952
- ],
1953
- "isSpread": false
1954
- },
1955
- "returnType": {
1956
- "__schema": "TypeRefSchema",
1957
- "location": {
1958
- "filePath": "compositions.tsx",
1959
- "line": 165,
1960
- "character": 1
1919
+ {
1920
+ "__schema": "InferenceTypeSchema",
1921
+ "location": {
1922
+ "filePath": "compositions.tsx",
1923
+ "line": 170,
1924
+ "character": 6
1925
+ },
1926
+ "name": "componentCompositionProps",
1927
+ "type": "{\n composition?: Composition | undefined;\n previewName?: string | undefined;\n innerBottomPadding?: number | undefined;\n onLoad?: ((event?: any, props?: OnPreviewLoadProps | undefined) => void) | undefined;\n ... 278 more ...;\n width?: string | ... 1 more ... | undefined;\n}",
1928
+ "isSpread": true
1929
+ }
1930
+ ],
1931
+ "isSpread": false
1961
1932
  },
1962
- "name": "React.JSX.Element",
1963
- "packageName": "react"
1964
- },
1965
- "modifiers": [
1966
- "export"
1967
- ]
1933
+ "returnType": {
1934
+ "__schema": "TypeRefSchema",
1935
+ "location": {
1936
+ "filePath": "compositions.tsx",
1937
+ "line": 165,
1938
+ "character": 1
1939
+ },
1940
+ "name": "React.JSX.Element",
1941
+ "packageName": "react"
1942
+ },
1943
+ "modifiers": [
1944
+ "export"
1945
+ ]
1946
+ }
1968
1947
  },
1969
1948
  {
1970
- "__schema": "ClassSchema",
1949
+ "__schema": "ExportSchema",
1971
1950
  "location": {
1972
- "filePath": "compositions.preview.runtime.ts",
1973
- "line": 15,
1974
- "character": 1
1951
+ "filePath": "index.ts",
1952
+ "line": 10,
1953
+ "character": 15
1975
1954
  },
1976
- "signature": "class CompositionsPreview",
1977
1955
  "name": "CompositionsPreview",
1978
- "members": [
1979
- {
1980
- "__schema": "ConstructorSchema",
1981
- "location": {
1982
- "filePath": "compositions.preview.runtime.ts",
1983
- "line": 16,
1984
- "character": 3
1985
- },
1986
- "signature": "constructor CompositionsPreview(preview: PreviewPreview): CompositionsPreview",
1987
- "name": "constructor",
1988
- "params": [
1989
- {
1990
- "__schema": "ParameterSchema",
1991
- "location": {
1992
- "filePath": "compositions.preview.runtime.ts",
1993
- "line": 20,
1994
- "character": 5
1995
- },
1996
- "name": "preview",
1997
- "type": {
1998
- "__schema": "TypeRefSchema",
1956
+ "exportNode": {
1957
+ "__schema": "ClassSchema",
1958
+ "location": {
1959
+ "filePath": "compositions.preview.runtime.ts",
1960
+ "line": 15,
1961
+ "character": 1
1962
+ },
1963
+ "signature": "class CompositionsPreview",
1964
+ "name": "CompositionsPreview",
1965
+ "members": [
1966
+ {
1967
+ "__schema": "ConstructorSchema",
1968
+ "location": {
1969
+ "filePath": "compositions.preview.runtime.ts",
1970
+ "line": 16,
1971
+ "character": 3
1972
+ },
1973
+ "signature": "constructor CompositionsPreview(preview: PreviewPreview): CompositionsPreview",
1974
+ "name": "constructor",
1975
+ "params": [
1976
+ {
1977
+ "__schema": "ParameterSchema",
1999
1978
  "location": {
2000
1979
  "filePath": "compositions.preview.runtime.ts",
2001
1980
  "line": 20,
2002
- "character": 22
1981
+ "character": 5
2003
1982
  },
2004
- "name": "PreviewPreview",
2005
- "componentId": {
2006
- "scope": "teambit.preview",
2007
- "name": "preview"
2008
- }
1983
+ "name": "preview",
1984
+ "type": {
1985
+ "__schema": "TypeRefSchema",
1986
+ "location": {
1987
+ "filePath": "compositions.preview.runtime.ts",
1988
+ "line": 20,
1989
+ "character": 22
1990
+ },
1991
+ "name": "PreviewPreview"
1992
+ },
1993
+ "isOptional": false,
1994
+ "isSpread": false
1995
+ }
1996
+ ],
1997
+ "returnType": {
1998
+ "__schema": "ThisTypeSchema",
1999
+ "location": {
2000
+ "filePath": "compositions.preview.runtime.ts",
2001
+ "line": 15,
2002
+ "character": 1
2009
2003
  },
2010
- "isOptional": false,
2011
- "isSpread": false
2012
- }
2013
- ],
2014
- "returnType": {
2015
- "__schema": "ThisTypeSchema",
2004
+ "name": "CompositionsPreview"
2005
+ },
2006
+ "modifiers": []
2007
+ },
2008
+ {
2009
+ "__schema": "FunctionLikeSchema",
2016
2010
  "location": {
2017
2011
  "filePath": "compositions.preview.runtime.ts",
2018
- "line": 15,
2019
- "character": 1
2012
+ "line": 23,
2013
+ "character": 3
2020
2014
  },
2021
- "name": "CompositionsPreview"
2022
- },
2023
- "modifiers": []
2024
- },
2025
- {
2026
- "__schema": "FunctionLikeSchema",
2027
- "location": {
2028
- "filePath": "compositions.preview.runtime.ts",
2029
- "line": 23,
2030
- "character": 3
2031
- },
2032
- "signature": "(method) CompositionsPreview.render(componentId: ComponentID, envId: string, modules: PreviewModule, otherPreviewDefs: any, context: RenderingContext): void",
2033
- "name": "render",
2034
- "params": [
2035
- {
2036
- "__schema": "ParameterSchema",
2037
- "location": {
2038
- "filePath": "compositions.preview.runtime.ts",
2039
- "line": 23,
2040
- "character": 10
2041
- },
2042
- "name": "componentId",
2043
- "type": {
2044
- "__schema": "TypeRefSchema",
2015
+ "signature": "(method) CompositionsPreview.render(componentId: ComponentID, envId: string, modules: PreviewModule, otherPreviewDefs: any, context: RenderingContext): void",
2016
+ "name": "render",
2017
+ "params": [
2018
+ {
2019
+ "__schema": "ParameterSchema",
2045
2020
  "location": {
2046
2021
  "filePath": "compositions.preview.runtime.ts",
2047
2022
  "line": 23,
2048
- "character": 23
2023
+ "character": 10
2049
2024
  },
2050
- "name": "ComponentID",
2051
- "componentId": {
2052
- "scope": "teambit.component",
2053
- "name": "component-id",
2054
- "version": "1.2.0"
2055
- }
2056
- },
2057
- "isOptional": false,
2058
- "isSpread": false
2059
- },
2060
- {
2061
- "__schema": "ParameterSchema",
2062
- "location": {
2063
- "filePath": "compositions.preview.runtime.ts",
2064
- "line": 23,
2065
- "character": 36
2025
+ "name": "componentId",
2026
+ "type": {
2027
+ "__schema": "TypeRefSchema",
2028
+ "location": {
2029
+ "filePath": "compositions.preview.runtime.ts",
2030
+ "line": 23,
2031
+ "character": 23
2032
+ },
2033
+ "name": "ComponentID"
2034
+ },
2035
+ "isOptional": false,
2036
+ "isSpread": false
2066
2037
  },
2067
- "name": "envId",
2068
- "type": {
2069
- "__schema": "KeywordTypeSchema",
2038
+ {
2039
+ "__schema": "ParameterSchema",
2070
2040
  "location": {
2071
2041
  "filePath": "compositions.preview.runtime.ts",
2072
2042
  "line": 23,
2073
- "character": 43
2043
+ "character": 36
2074
2044
  },
2075
- "name": "string"
2076
- },
2077
- "isOptional": false,
2078
- "isSpread": false
2079
- },
2080
- {
2081
- "__schema": "ParameterSchema",
2082
- "location": {
2083
- "filePath": "compositions.preview.runtime.ts",
2084
- "line": 23,
2085
- "character": 51
2086
- },
2087
- "name": "modules",
2088
- "type": {
2089
- "__schema": "TypeRefSchema",
2045
+ "name": "envId",
2046
+ "type": {
2047
+ "__schema": "KeywordTypeSchema",
2048
+ "location": {
2049
+ "filePath": "compositions.preview.runtime.ts",
2050
+ "line": 23,
2051
+ "character": 43
2052
+ },
2053
+ "name": "string"
2054
+ },
2055
+ "isOptional": false,
2056
+ "isSpread": false
2057
+ },
2058
+ {
2059
+ "__schema": "ParameterSchema",
2090
2060
  "location": {
2091
2061
  "filePath": "compositions.preview.runtime.ts",
2092
2062
  "line": 23,
2093
- "character": 60
2063
+ "character": 51
2094
2064
  },
2095
- "name": "PreviewModule",
2096
- "componentId": {
2097
- "scope": "teambit.preview",
2098
- "name": "preview"
2099
- }
2100
- },
2101
- "isOptional": false,
2102
- "isSpread": false
2103
- },
2104
- {
2105
- "__schema": "ParameterSchema",
2106
- "location": {
2107
- "filePath": "compositions.preview.runtime.ts",
2108
- "line": 23,
2109
- "character": 75
2065
+ "name": "modules",
2066
+ "type": {
2067
+ "__schema": "TypeRefSchema",
2068
+ "location": {
2069
+ "filePath": "compositions.preview.runtime.ts",
2070
+ "line": 23,
2071
+ "character": 60
2072
+ },
2073
+ "name": "PreviewModule"
2074
+ },
2075
+ "isOptional": false,
2076
+ "isSpread": false
2110
2077
  },
2111
- "name": "otherPreviewDefs",
2112
- "type": {
2113
- "__schema": "InferenceTypeSchema",
2078
+ {
2079
+ "__schema": "ParameterSchema",
2114
2080
  "location": {
2115
2081
  "filePath": "compositions.preview.runtime.ts",
2116
2082
  "line": 23,
2117
2083
  "character": 75
2118
2084
  },
2119
- "type": "any"
2120
- },
2121
- "isOptional": false,
2122
- "isSpread": false
2123
- },
2124
- {
2125
- "__schema": "ParameterSchema",
2126
- "location": {
2127
- "filePath": "compositions.preview.runtime.ts",
2128
- "line": 23,
2129
- "character": 93
2085
+ "name": "otherPreviewDefs",
2086
+ "type": {
2087
+ "__schema": "InferenceTypeSchema",
2088
+ "location": {
2089
+ "filePath": "compositions.preview.runtime.ts",
2090
+ "line": 23,
2091
+ "character": 75
2092
+ },
2093
+ "type": "any"
2094
+ },
2095
+ "isOptional": false,
2096
+ "isSpread": false
2130
2097
  },
2131
- "name": "context",
2132
- "type": {
2133
- "__schema": "TypeRefSchema",
2098
+ {
2099
+ "__schema": "ParameterSchema",
2134
2100
  "location": {
2135
2101
  "filePath": "compositions.preview.runtime.ts",
2136
2102
  "line": 23,
2137
- "character": 102
2103
+ "character": 93
2138
2104
  },
2139
- "name": "RenderingContext",
2140
- "componentId": {
2141
- "scope": "teambit.preview",
2142
- "name": "preview"
2143
- }
2105
+ "name": "context",
2106
+ "type": {
2107
+ "__schema": "TypeRefSchema",
2108
+ "location": {
2109
+ "filePath": "compositions.preview.runtime.ts",
2110
+ "line": 23,
2111
+ "character": 102
2112
+ },
2113
+ "name": "RenderingContext"
2114
+ },
2115
+ "isOptional": false,
2116
+ "isSpread": false
2117
+ }
2118
+ ],
2119
+ "returnType": {
2120
+ "__schema": "InferenceTypeSchema",
2121
+ "location": {
2122
+ "filePath": "compositions.preview.runtime.ts",
2123
+ "line": 23,
2124
+ "character": 3
2144
2125
  },
2145
- "isOptional": false,
2146
- "isSpread": false
2147
- }
2148
- ],
2149
- "returnType": {
2150
- "__schema": "InferenceTypeSchema",
2151
- "location": {
2152
- "filePath": "compositions.preview.runtime.ts",
2153
- "line": 23,
2154
- "character": 3
2126
+ "type": "void"
2155
2127
  },
2156
- "type": "void"
2157
- },
2158
- "modifiers": []
2159
- },
2160
- {
2161
- "__schema": "FunctionLikeSchema",
2162
- "location": {
2163
- "filePath": "compositions.preview.runtime.ts",
2164
- "line": 42,
2165
- "character": 3
2128
+ "modifiers": []
2166
2129
  },
2167
- "doc": {
2168
- "__schema": "DocSchema",
2130
+ {
2131
+ "__schema": "FunctionLikeSchema",
2169
2132
  "location": {
2170
2133
  "filePath": "compositions.preview.runtime.ts",
2171
- "line": 41,
2134
+ "line": 42,
2172
2135
  "character": 3
2173
2136
  },
2174
- "raw": "/** gets relevant information for this preview to render */",
2175
- "comment": "gets relevant information for this preview to render"
2176
- },
2177
- "signature": "(method) CompositionsPreview.selectPreviewModel(componentFullName: string, previewModule: PreviewModule): any",
2178
- "name": "selectPreviewModel",
2179
- "params": [
2180
- {
2181
- "__schema": "ParameterSchema",
2137
+ "doc": {
2138
+ "__schema": "DocSchema",
2182
2139
  "location": {
2183
2140
  "filePath": "compositions.preview.runtime.ts",
2184
- "line": 42,
2185
- "character": 22
2141
+ "line": 41,
2142
+ "character": 3
2186
2143
  },
2187
- "name": "componentFullName",
2188
- "type": {
2189
- "__schema": "KeywordTypeSchema",
2144
+ "raw": "/** gets relevant information for this preview to render */",
2145
+ "comment": "gets relevant information for this preview to render"
2146
+ },
2147
+ "signature": "(method) CompositionsPreview.selectPreviewModel(componentFullName: string, previewModule: PreviewModule): any",
2148
+ "name": "selectPreviewModel",
2149
+ "params": [
2150
+ {
2151
+ "__schema": "ParameterSchema",
2190
2152
  "location": {
2191
2153
  "filePath": "compositions.preview.runtime.ts",
2192
2154
  "line": 42,
2193
- "character": 41
2155
+ "character": 22
2194
2156
  },
2195
- "name": "string"
2196
- },
2197
- "isOptional": false,
2198
- "isSpread": false
2199
- },
2200
- {
2201
- "__schema": "ParameterSchema",
2202
- "location": {
2203
- "filePath": "compositions.preview.runtime.ts",
2204
- "line": 42,
2205
- "character": 49
2157
+ "name": "componentFullName",
2158
+ "type": {
2159
+ "__schema": "KeywordTypeSchema",
2160
+ "location": {
2161
+ "filePath": "compositions.preview.runtime.ts",
2162
+ "line": 42,
2163
+ "character": 41
2164
+ },
2165
+ "name": "string"
2166
+ },
2167
+ "isOptional": false,
2168
+ "isSpread": false
2206
2169
  },
2207
- "name": "previewModule",
2208
- "type": {
2209
- "__schema": "TypeRefSchema",
2170
+ {
2171
+ "__schema": "ParameterSchema",
2210
2172
  "location": {
2211
2173
  "filePath": "compositions.preview.runtime.ts",
2212
2174
  "line": 42,
2213
- "character": 64
2175
+ "character": 49
2214
2176
  },
2215
- "name": "PreviewModule",
2216
- "componentId": {
2217
- "scope": "teambit.preview",
2218
- "name": "preview"
2219
- }
2220
- },
2221
- "isOptional": false,
2222
- "isSpread": false
2223
- }
2224
- ],
2225
- "returnType": {
2226
- "__schema": "InferenceTypeSchema",
2227
- "location": {
2228
- "filePath": "compositions.preview.runtime.ts",
2229
- "line": 42,
2230
- "character": 3
2231
- },
2232
- "type": "any"
2233
- },
2234
- "modifiers": []
2235
- },
2236
- {
2237
- "__schema": "FunctionLikeSchema",
2238
- "location": {
2239
- "filePath": "compositions.preview.runtime.ts",
2240
- "line": 50,
2241
- "character": 3
2242
- },
2243
- "signature": "(method) CompositionsPreview.getMetadata(componentFullName: string, previewModule: PreviewModule): CompositionBrowserMetadataObject | undefined",
2244
- "name": "getMetadata",
2245
- "params": [
2246
- {
2247
- "__schema": "ParameterSchema",
2248
- "location": {
2249
- "filePath": "compositions.preview.runtime.ts",
2250
- "line": 50,
2251
- "character": 15
2252
- },
2253
- "name": "componentFullName",
2254
- "type": {
2255
- "__schema": "KeywordTypeSchema",
2256
- "location": {
2257
- "filePath": "compositions.preview.runtime.ts",
2258
- "line": 50,
2259
- "character": 34
2177
+ "name": "previewModule",
2178
+ "type": {
2179
+ "__schema": "TypeRefSchema",
2180
+ "location": {
2181
+ "filePath": "compositions.preview.runtime.ts",
2182
+ "line": 42,
2183
+ "character": 64
2184
+ },
2185
+ "name": "PreviewModule"
2260
2186
  },
2261
- "name": "string"
2262
- },
2263
- "isOptional": false,
2264
- "isSpread": false
2265
- },
2266
- {
2267
- "__schema": "ParameterSchema",
2187
+ "isOptional": false,
2188
+ "isSpread": false
2189
+ }
2190
+ ],
2191
+ "returnType": {
2192
+ "__schema": "InferenceTypeSchema",
2268
2193
  "location": {
2269
2194
  "filePath": "compositions.preview.runtime.ts",
2270
- "line": 50,
2271
- "character": 42
2272
- },
2273
- "name": "previewModule",
2274
- "type": {
2275
- "__schema": "TypeRefSchema",
2276
- "location": {
2277
- "filePath": "compositions.preview.runtime.ts",
2278
- "line": 50,
2279
- "character": 57
2280
- },
2281
- "name": "PreviewModule",
2282
- "componentId": {
2283
- "scope": "teambit.preview",
2284
- "name": "preview"
2285
- }
2195
+ "line": 42,
2196
+ "character": 3
2286
2197
  },
2287
- "isOptional": false,
2288
- "isSpread": false
2289
- }
2290
- ],
2291
- "returnType": {
2292
- "__schema": "TypeUnionSchema",
2198
+ "type": "any"
2199
+ },
2200
+ "modifiers": []
2201
+ },
2202
+ {
2203
+ "__schema": "FunctionLikeSchema",
2293
2204
  "location": {
2294
2205
  "filePath": "compositions.preview.runtime.ts",
2295
2206
  "line": 50,
2296
- "character": 73
2207
+ "character": 3
2297
2208
  },
2298
- "types": [
2209
+ "signature": "(method) CompositionsPreview.getMetadata(componentFullName: string, previewModule: PreviewModule): CompositionBrowserMetadataObject | undefined",
2210
+ "name": "getMetadata",
2211
+ "params": [
2299
2212
  {
2300
- "__schema": "TypeRefSchema",
2213
+ "__schema": "ParameterSchema",
2301
2214
  "location": {
2302
2215
  "filePath": "compositions.preview.runtime.ts",
2303
2216
  "line": 50,
2304
- "character": 73
2217
+ "character": 15
2218
+ },
2219
+ "name": "componentFullName",
2220
+ "type": {
2221
+ "__schema": "KeywordTypeSchema",
2222
+ "location": {
2223
+ "filePath": "compositions.preview.runtime.ts",
2224
+ "line": 50,
2225
+ "character": 34
2226
+ },
2227
+ "name": "string"
2305
2228
  },
2306
- "name": "CompositionBrowserMetadataObject",
2307
- "internalFilePath": "composition.ts"
2229
+ "isOptional": false,
2230
+ "isSpread": false
2308
2231
  },
2309
2232
  {
2310
- "__schema": "KeywordTypeSchema",
2233
+ "__schema": "ParameterSchema",
2311
2234
  "location": {
2312
2235
  "filePath": "compositions.preview.runtime.ts",
2313
2236
  "line": 50,
2314
- "character": 108
2237
+ "character": 42
2238
+ },
2239
+ "name": "previewModule",
2240
+ "type": {
2241
+ "__schema": "TypeRefSchema",
2242
+ "location": {
2243
+ "filePath": "compositions.preview.runtime.ts",
2244
+ "line": 50,
2245
+ "character": 57
2246
+ },
2247
+ "name": "PreviewModule"
2315
2248
  },
2316
- "name": "undefined"
2249
+ "isOptional": false,
2250
+ "isSpread": false
2317
2251
  }
2318
- ]
2319
- },
2320
- "modifiers": []
2321
- },
2322
- {
2323
- "__schema": "VariableLikeSchema",
2324
- "location": {
2325
- "filePath": "compositions.preview.runtime.ts",
2326
- "line": 81,
2327
- "character": 3
2252
+ ],
2253
+ "returnType": {
2254
+ "__schema": "TypeUnionSchema",
2255
+ "location": {
2256
+ "filePath": "compositions.preview.runtime.ts",
2257
+ "line": 50,
2258
+ "character": 73
2259
+ },
2260
+ "types": [
2261
+ {
2262
+ "__schema": "TypeRefSchema",
2263
+ "location": {
2264
+ "filePath": "compositions.preview.runtime.ts",
2265
+ "line": 50,
2266
+ "character": 73
2267
+ },
2268
+ "name": "CompositionBrowserMetadataObject"
2269
+ },
2270
+ {
2271
+ "__schema": "KeywordTypeSchema",
2272
+ "location": {
2273
+ "filePath": "compositions.preview.runtime.ts",
2274
+ "line": 50,
2275
+ "character": 108
2276
+ },
2277
+ "name": "undefined"
2278
+ }
2279
+ ]
2280
+ },
2281
+ "modifiers": []
2328
2282
  },
2329
- "signature": "(property) CompositionsPreview.runtime: RuntimeDefinition",
2330
- "name": "runtime",
2331
- "type": {
2332
- "__schema": "InferenceTypeSchema",
2283
+ {
2284
+ "__schema": "VariableLikeSchema",
2333
2285
  "location": {
2334
2286
  "filePath": "compositions.preview.runtime.ts",
2335
2287
  "line": 81,
2336
2288
  "character": 3
2337
2289
  },
2338
- "type": "RuntimeDefinition"
2339
- },
2340
- "isOptional": true,
2341
- "defaultValue": "PreviewRuntime"
2342
- },
2343
- {
2344
- "__schema": "VariableLikeSchema",
2345
- "location": {
2346
- "filePath": "compositions.preview.runtime.ts",
2347
- "line": 83,
2348
- "character": 3
2290
+ "signature": "(property) CompositionsPreview.runtime: RuntimeDefinition",
2291
+ "name": "runtime",
2292
+ "type": {
2293
+ "__schema": "InferenceTypeSchema",
2294
+ "location": {
2295
+ "filePath": "compositions.preview.runtime.ts",
2296
+ "line": 81,
2297
+ "character": 3
2298
+ },
2299
+ "type": "RuntimeDefinition"
2300
+ },
2301
+ "isOptional": true,
2302
+ "defaultValue": "PreviewRuntime"
2349
2303
  },
2350
- "signature": "(property) CompositionsPreview.dependencies: Aspect[]",
2351
- "name": "dependencies",
2352
- "type": {
2353
- "__schema": "InferenceTypeSchema",
2304
+ {
2305
+ "__schema": "VariableLikeSchema",
2354
2306
  "location": {
2355
2307
  "filePath": "compositions.preview.runtime.ts",
2356
2308
  "line": 83,
2357
2309
  "character": 3
2358
2310
  },
2359
- "type": "Aspect[]"
2360
- },
2361
- "isOptional": true,
2362
- "defaultValue": "[PreviewAspect]"
2363
- },
2364
- {
2365
- "__schema": "FunctionLikeSchema",
2366
- "location": {
2367
- "filePath": "compositions.preview.runtime.ts",
2368
- "line": 85,
2369
- "character": 3
2370
- },
2371
- "signature": "(method) CompositionsPreview.provider([preview]: [PreviewPreview]): Promise<CompositionsPreview>",
2372
- "name": "provider",
2373
- "params": [
2374
- {
2375
- "__schema": "ParameterSchema",
2311
+ "signature": "(property) CompositionsPreview.dependencies: Aspect[]",
2312
+ "name": "dependencies",
2313
+ "type": {
2314
+ "__schema": "InferenceTypeSchema",
2376
2315
  "location": {
2377
2316
  "filePath": "compositions.preview.runtime.ts",
2378
- "line": 85,
2379
- "character": 25
2317
+ "line": 83,
2318
+ "character": 3
2380
2319
  },
2381
- "name": "[ preview ]",
2382
- "type": {
2383
- "__schema": "TupleTypeSchema",
2320
+ "type": "Aspect[]"
2321
+ },
2322
+ "isOptional": true,
2323
+ "defaultValue": "[PreviewAspect]"
2324
+ },
2325
+ {
2326
+ "__schema": "FunctionLikeSchema",
2327
+ "location": {
2328
+ "filePath": "compositions.preview.runtime.ts",
2329
+ "line": 85,
2330
+ "character": 3
2331
+ },
2332
+ "signature": "(method) CompositionsPreview.provider([preview]: [PreviewPreview]): Promise<CompositionsPreview>",
2333
+ "name": "provider",
2334
+ "params": [
2335
+ {
2336
+ "__schema": "ParameterSchema",
2384
2337
  "location": {
2385
2338
  "filePath": "compositions.preview.runtime.ts",
2386
2339
  "line": 85,
2387
- "character": 36
2340
+ "character": 25
2388
2341
  },
2389
- "elements": [
2390
- {
2391
- "__schema": "TypeRefSchema",
2392
- "location": {
2393
- "filePath": "compositions.preview.runtime.ts",
2394
- "line": 85,
2395
- "character": 37
2396
- },
2397
- "name": "PreviewPreview",
2398
- "componentId": {
2399
- "scope": "teambit.preview",
2400
- "name": "preview"
2342
+ "name": "[ preview ]",
2343
+ "type": {
2344
+ "__schema": "TupleTypeSchema",
2345
+ "location": {
2346
+ "filePath": "compositions.preview.runtime.ts",
2347
+ "line": 85,
2348
+ "character": 36
2349
+ },
2350
+ "elements": [
2351
+ {
2352
+ "__schema": "TypeRefSchema",
2353
+ "location": {
2354
+ "filePath": "compositions.preview.runtime.ts",
2355
+ "line": 85,
2356
+ "character": 37
2357
+ },
2358
+ "name": "PreviewPreview"
2401
2359
  }
2402
- }
2403
- ]
2360
+ ]
2361
+ },
2362
+ "isOptional": false,
2363
+ "isSpread": false
2364
+ }
2365
+ ],
2366
+ "returnType": {
2367
+ "__schema": "InferenceTypeSchema",
2368
+ "location": {
2369
+ "filePath": "compositions.preview.runtime.ts",
2370
+ "line": 85,
2371
+ "character": 3
2404
2372
  },
2405
- "isOptional": false,
2406
- "isSpread": false
2407
- }
2408
- ],
2409
- "returnType": {
2410
- "__schema": "InferenceTypeSchema",
2411
- "location": {
2412
- "filePath": "compositions.preview.runtime.ts",
2413
- "line": 85,
2414
- "character": 3
2373
+ "type": "Promise<CompositionsPreview>"
2415
2374
  },
2416
- "type": "Promise<CompositionsPreview>"
2417
- },
2418
- "modifiers": [
2419
- "static",
2420
- "async"
2421
- ]
2422
- }
2423
- ],
2424
- "extendsNodes": [],
2425
- "implementNodes": []
2375
+ "modifiers": [
2376
+ "static",
2377
+ "async"
2378
+ ]
2379
+ }
2380
+ ],
2381
+ "extendsNodes": [],
2382
+ "implementNodes": []
2383
+ }
2426
2384
  },
2427
2385
  {
2428
- "__schema": "ReactSchema",
2386
+ "__schema": "ExportSchema",
2429
2387
  "location": {
2430
- "filePath": "ui/composition-preview.tsx",
2431
- "line": 13,
2432
- "character": 1
2388
+ "filePath": "index.ts",
2389
+ "line": 11,
2390
+ "character": 10
2433
2391
  },
2434
- "signature": "function ComponentComposition({ composition, component, queryParams, ...rest }: ComponentCompositionProps): React.JSX.Element",
2435
2392
  "name": "ComponentComposition",
2436
- "props": {
2437
- "__schema": "ParameterSchema",
2393
+ "exportNode": {
2394
+ "__schema": "ReactSchema",
2438
2395
  "location": {
2439
2396
  "filePath": "ui/composition-preview.tsx",
2440
2397
  "line": 13,
2441
- "character": 38
2398
+ "character": 1
2442
2399
  },
2443
- "name": "{ composition, component, queryParams = [], ...rest }",
2444
- "type": {
2445
- "__schema": "TypeRefSchema",
2400
+ "signature": "function ComponentComposition({ composition, component, queryParams, ...rest }: ComponentCompositionProps): React.JSX.Element",
2401
+ "name": "ComponentComposition",
2402
+ "props": {
2403
+ "__schema": "ParameterSchema",
2446
2404
  "location": {
2447
2405
  "filePath": "ui/composition-preview.tsx",
2448
2406
  "line": 13,
2449
- "character": 93
2407
+ "character": 38
2450
2408
  },
2451
- "name": "ComponentCompositionProps",
2452
- "internalFilePath": "ui/composition-preview.tsx"
2453
- },
2454
- "isOptional": false,
2455
- "objectBindingNodes": [
2456
- {
2457
- "__schema": "InferenceTypeSchema",
2409
+ "name": "{ composition, component, queryParams = [], ...rest }",
2410
+ "type": {
2411
+ "__schema": "TypeRefSchema",
2458
2412
  "location": {
2459
2413
  "filePath": "ui/composition-preview.tsx",
2460
2414
  "line": 13,
2461
- "character": 40
2415
+ "character": 93
2462
2416
  },
2463
- "name": "composition",
2464
- "type": "Composition | undefined",
2465
- "isSpread": false
2417
+ "name": "ComponentCompositionProps"
2466
2418
  },
2467
- {
2468
- "__schema": "InferenceTypeSchema",
2469
- "location": {
2470
- "filePath": "ui/composition-preview.tsx",
2471
- "line": 13,
2472
- "character": 53
2419
+ "isOptional": false,
2420
+ "objectBindingNodes": [
2421
+ {
2422
+ "__schema": "InferenceTypeSchema",
2423
+ "location": {
2424
+ "filePath": "ui/composition-preview.tsx",
2425
+ "line": 13,
2426
+ "character": 40
2427
+ },
2428
+ "name": "composition",
2429
+ "type": "Composition | undefined",
2430
+ "isSpread": false
2473
2431
  },
2474
- "name": "component",
2475
- "type": "ComponentModel",
2476
- "isSpread": false
2477
- },
2478
- {
2479
- "__schema": "InferenceTypeSchema",
2480
- "location": {
2481
- "filePath": "ui/composition-preview.tsx",
2482
- "line": 13,
2483
- "character": 64
2432
+ {
2433
+ "__schema": "InferenceTypeSchema",
2434
+ "location": {
2435
+ "filePath": "ui/composition-preview.tsx",
2436
+ "line": 13,
2437
+ "character": 53
2438
+ },
2439
+ "name": "component",
2440
+ "type": "ComponentModel",
2441
+ "isSpread": false
2484
2442
  },
2485
- "name": "queryParams",
2486
- "type": "string | string[]",
2487
- "defaultValue": "[]",
2488
- "isSpread": false
2489
- },
2490
- {
2491
- "__schema": "InferenceTypeSchema",
2492
- "location": {
2493
- "filePath": "ui/composition-preview.tsx",
2494
- "line": 13,
2495
- "character": 85
2443
+ {
2444
+ "__schema": "InferenceTypeSchema",
2445
+ "location": {
2446
+ "filePath": "ui/composition-preview.tsx",
2447
+ "line": 13,
2448
+ "character": 64
2449
+ },
2450
+ "name": "queryParams",
2451
+ "type": "string | string[]",
2452
+ "defaultValue": "[]",
2453
+ "isSpread": false
2496
2454
  },
2497
- "name": "rest",
2498
- "type": "{\n previewName?: string | undefined;\n innerBottomPadding?: number | undefined;\n onLoad?: ((event?: any, props?: OnPreviewLoadProps | undefined) => void) | undefined;\n ... 278 more ...;\n width?: string | ... 1 more ... | undefined;\n}",
2499
- "isSpread": true
2500
- }
2501
- ],
2502
- "isSpread": false
2503
- },
2504
- "returnType": {
2505
- "__schema": "TypeRefSchema",
2506
- "location": {
2507
- "filePath": "ui/composition-preview.tsx",
2508
- "line": 13,
2509
- "character": 1
2455
+ {
2456
+ "__schema": "InferenceTypeSchema",
2457
+ "location": {
2458
+ "filePath": "ui/composition-preview.tsx",
2459
+ "line": 13,
2460
+ "character": 85
2461
+ },
2462
+ "name": "rest",
2463
+ "type": "{\n previewName?: string | undefined;\n innerBottomPadding?: number | undefined;\n onLoad?: ((event?: any, props?: OnPreviewLoadProps | undefined) => void) | undefined;\n ... 278 more ...;\n width?: string | ... 1 more ... | undefined;\n}",
2464
+ "isSpread": true
2465
+ }
2466
+ ],
2467
+ "isSpread": false
2510
2468
  },
2511
- "name": "React.JSX.Element",
2512
- "packageName": "react"
2513
- },
2514
- "modifiers": [
2515
- "export"
2516
- ]
2469
+ "returnType": {
2470
+ "__schema": "TypeRefSchema",
2471
+ "location": {
2472
+ "filePath": "ui/composition-preview.tsx",
2473
+ "line": 13,
2474
+ "character": 1
2475
+ },
2476
+ "name": "React.JSX.Element",
2477
+ "packageName": "react"
2478
+ },
2479
+ "modifiers": [
2480
+ "export"
2481
+ ]
2482
+ }
2517
2483
  },
2518
2484
  {
2519
2485
  "__schema": "UnImplementedSchema",
@@ -2805,11 +2771,7 @@
2805
2771
  "line": 50,
2806
2772
  "character": 22
2807
2773
  },
2808
- "name": "PreviewMain",
2809
- "componentId": {
2810
- "scope": "teambit.preview",
2811
- "name": "preview"
2812
- }
2774
+ "name": "PreviewMain"
2813
2775
  },
2814
2776
  "isOptional": false,
2815
2777
  "isSpread": false
@@ -2829,11 +2791,7 @@
2829
2791
  "line": 55,
2830
2792
  "character": 24
2831
2793
  },
2832
- "name": "Workspace",
2833
- "componentId": {
2834
- "scope": "teambit.workspace",
2835
- "name": "workspace"
2836
- }
2794
+ "name": "Workspace"
2837
2795
  },
2838
2796
  "isOptional": false,
2839
2797
  "isSpread": false
@@ -2853,11 +2811,7 @@
2853
2811
  "line": 60,
2854
2812
  "character": 21
2855
2813
  },
2856
- "name": "SchemaMain",
2857
- "componentId": {
2858
- "scope": "teambit.semantics",
2859
- "name": "schema"
2860
- }
2814
+ "name": "SchemaMain"
2861
2815
  },
2862
2816
  "isOptional": false,
2863
2817
  "isSpread": false
@@ -2877,11 +2831,7 @@
2877
2831
  "line": 62,
2878
2832
  "character": 23
2879
2833
  },
2880
- "name": "DevFilesMain",
2881
- "componentId": {
2882
- "scope": "teambit.component",
2883
- "name": "dev-files"
2884
- }
2834
+ "name": "DevFilesMain"
2885
2835
  },
2886
2836
  "isOptional": false,
2887
2837
  "isSpread": false
@@ -2901,11 +2851,7 @@
2901
2851
  "line": 64,
2902
2852
  "character": 19
2903
2853
  },
2904
- "name": "EnvsMain",
2905
- "componentId": {
2906
- "scope": "teambit.envs",
2907
- "name": "envs"
2908
- }
2854
+ "name": "EnvsMain"
2909
2855
  },
2910
2856
  "isOptional": false,
2911
2857
  "isSpread": false
@@ -2964,11 +2910,7 @@
2964
2910
  "line": 70,
2965
2911
  "character": 31
2966
2912
  },
2967
- "name": "Component",
2968
- "componentId": {
2969
- "scope": "teambit.component",
2970
- "name": "component"
2971
- }
2913
+ "name": "Component"
2972
2914
  }
2973
2915
  },
2974
2916
  "isOptional": false,
@@ -2983,10 +2925,6 @@
2983
2925
  "character": 45
2984
2926
  },
2985
2927
  "name": "ComponentMap",
2986
- "componentId": {
2987
- "scope": "teambit.component",
2988
- "name": "component"
2989
- },
2990
2928
  "typeArgs": [
2991
2929
  {
2992
2930
  "__schema": "TypeArraySchema",
@@ -3002,8 +2940,7 @@
3002
2940
  "line": 70,
3003
2941
  "character": 58
3004
2942
  },
3005
- "name": "AbstractVinyl",
3006
- "packageName": "@teambit/legacy/dist/consumer/component/sources"
2943
+ "name": "AbstractVinyl"
3007
2944
  }
3008
2945
  }
3009
2946
  ]
@@ -3097,11 +3034,7 @@
3097
3034
  "line": 96,
3098
3035
  "character": 30
3099
3036
  },
3100
- "name": "IComponent",
3101
- "componentId": {
3102
- "scope": "teambit.component",
3103
- "name": "component"
3104
- }
3037
+ "name": "IComponent"
3105
3038
  },
3106
3039
  "isOptional": false,
3107
3040
  "isSpread": false
@@ -3161,11 +3094,7 @@
3161
3094
  "line": 108,
3162
3095
  "character": 31
3163
3096
  },
3164
- "name": "Component",
3165
- "componentId": {
3166
- "scope": "teambit.component",
3167
- "name": "component"
3168
- }
3097
+ "name": "Component"
3169
3098
  },
3170
3099
  "isOptional": false,
3171
3100
  "isSpread": false
@@ -3236,11 +3165,7 @@
3236
3165
  "line": 120,
3237
3166
  "character": 38
3238
3167
  },
3239
- "name": "Component",
3240
- "componentId": {
3241
- "scope": "teambit.component",
3242
- "name": "component"
3243
- }
3168
+ "name": "Component"
3244
3169
  },
3245
3170
  "isOptional": false,
3246
3171
  "isSpread": false
@@ -3303,11 +3228,7 @@
3303
3228
  "line": 133,
3304
3229
  "character": 36
3305
3230
  },
3306
- "name": "Component",
3307
- "componentId": {
3308
- "scope": "teambit.component",
3309
- "name": "component"
3310
- }
3231
+ "name": "Component"
3311
3232
  },
3312
3233
  "isOptional": false,
3313
3234
  "isSpread": false
@@ -3327,8 +3248,7 @@
3327
3248
  "line": 133,
3328
3249
  "character": 58
3329
3250
  },
3330
- "name": "ComponentLoadOptions",
3331
- "packageName": "@teambit/legacy/dist/consumer/component/component-loader"
3251
+ "name": "ComponentLoadOptions"
3332
3252
  },
3333
3253
  "isOptional": true,
3334
3254
  "isSpread": false
@@ -3358,11 +3278,7 @@
3358
3278
  "line": 133,
3359
3279
  "character": 89
3360
3280
  },
3361
- "name": "AspectData",
3362
- "componentId": {
3363
- "scope": "teambit.component",
3364
- "name": "component"
3365
- }
3281
+ "name": "AspectData"
3366
3282
  },
3367
3283
  {
3368
3284
  "__schema": "KeywordTypeSchema",
@@ -3478,11 +3394,7 @@
3478
3394
  "line": 177,
3479
3395
  "character": 7
3480
3396
  },
3481
- "name": "PreviewMain",
3482
- "componentId": {
3483
- "scope": "teambit.preview",
3484
- "name": "preview"
3485
- }
3397
+ "name": "PreviewMain"
3486
3398
  },
3487
3399
  {
3488
3400
  "__schema": "TypeRefSchema",
@@ -3491,11 +3403,7 @@
3491
3403
  "line": 178,
3492
3404
  "character": 7
3493
3405
  },
3494
- "name": "GraphqlMain",
3495
- "componentId": {
3496
- "scope": "teambit.harmony",
3497
- "name": "graphql"
3498
- }
3406
+ "name": "GraphqlMain"
3499
3407
  },
3500
3408
  {
3501
3409
  "__schema": "TypeRefSchema",
@@ -3504,11 +3412,7 @@
3504
3412
  "line": 179,
3505
3413
  "character": 7
3506
3414
  },
3507
- "name": "Workspace",
3508
- "componentId": {
3509
- "scope": "teambit.workspace",
3510
- "name": "workspace"
3511
- }
3415
+ "name": "Workspace"
3512
3416
  },
3513
3417
  {
3514
3418
  "__schema": "TypeRefSchema",
@@ -3517,11 +3421,7 @@
3517
3421
  "line": 180,
3518
3422
  "character": 7
3519
3423
  },
3520
- "name": "SchemaMain",
3521
- "componentId": {
3522
- "scope": "teambit.semantics",
3523
- "name": "schema"
3524
- }
3424
+ "name": "SchemaMain"
3525
3425
  },
3526
3426
  {
3527
3427
  "__schema": "TypeRefSchema",
@@ -3530,11 +3430,7 @@
3530
3430
  "line": 181,
3531
3431
  "character": 7
3532
3432
  },
3533
- "name": "DevFilesMain",
3534
- "componentId": {
3535
- "scope": "teambit.component",
3536
- "name": "dev-files"
3537
- }
3433
+ "name": "DevFilesMain"
3538
3434
  },
3539
3435
  {
3540
3436
  "__schema": "TypeRefSchema",
@@ -3543,11 +3439,7 @@
3543
3439
  "line": 182,
3544
3440
  "character": 7
3545
3441
  },
3546
- "name": "EnvsMain",
3547
- "componentId": {
3548
- "scope": "teambit.envs",
3549
- "name": "envs"
3550
- }
3442
+ "name": "EnvsMain"
3551
3443
  },
3552
3444
  {
3553
3445
  "__schema": "TypeRefSchema",
@@ -3556,11 +3448,7 @@
3556
3448
  "line": 183,
3557
3449
  "character": 7
3558
3450
  },
3559
- "name": "ScopeMain",
3560
- "componentId": {
3561
- "scope": "teambit.scope",
3562
- "name": "scope"
3563
- }
3451
+ "name": "ScopeMain"
3564
3452
  }
3565
3453
  ]
3566
3454
  },
@@ -3582,8 +3470,7 @@
3582
3470
  "line": 185,
3583
3471
  "character": 13
3584
3472
  },
3585
- "name": "CompositionsConfig",
3586
- "internalFilePath": "compositions.main.runtime.ts"
3473
+ "name": "CompositionsConfig"
3587
3474
  },
3588
3475
  "isOptional": false,
3589
3476
  "isSpread": false
@@ -3646,11 +3533,6 @@
3646
3533
  "character": 36
3647
3534
  },
3648
3535
  "name": "SlotRegistry",
3649
- "componentId": {
3650
- "scope": "teambit.harmony",
3651
- "name": "harmony",
3652
- "version": "0.4.6"
3653
- },
3654
3536
  "typeArgs": [
3655
3537
  {
3656
3538
  "__schema": "TypeArraySchema",
@@ -3666,8 +3548,7 @@
3666
3548
  "line": 13,
3667
3549
  "character": 49
3668
3550
  },
3669
- "name": "MenuBarWidget",
3670
- "internalFilePath": "compositions.tsx"
3551
+ "name": "MenuBarWidget"
3671
3552
  }
3672
3553
  }
3673
3554
  ]
@@ -3690,11 +3571,6 @@
3690
3571
  "character": 30
3691
3572
  },
3692
3573
  "name": "SlotRegistry",
3693
- "componentId": {
3694
- "scope": "teambit.harmony",
3695
- "name": "harmony",
3696
- "version": "0.4.6"
3697
- },
3698
3574
  "typeArgs": [
3699
3575
  {
3700
3576
  "__schema": "TypeRefSchema",
@@ -3703,8 +3579,7 @@
3703
3579
  "line": 14,
3704
3580
  "character": 43
3705
3581
  },
3706
- "name": "ComponentType",
3707
- "packageName": "react"
3582
+ "name": "ComponentType"
3708
3583
  }
3709
3584
  ]
3710
3585
  }
@@ -3816,8 +3691,7 @@
3816
3691
  "line": 21,
3817
3692
  "character": 43
3818
3693
  },
3819
- "name": "ComponentType",
3820
- "packageName": "react"
3694
+ "name": "ComponentType"
3821
3695
  },
3822
3696
  "isOptional": false,
3823
3697
  "isSpread": false
@@ -3866,8 +3740,7 @@
3866
3740
  "line": 26,
3867
3741
  "character": 33
3868
3742
  },
3869
- "name": "MenuBarWidget",
3870
- "internalFilePath": "compositions.tsx"
3743
+ "name": "MenuBarWidget"
3871
3744
  }
3872
3745
  },
3873
3746
  "isOptional": false,
@@ -4002,11 +3875,7 @@
4002
3875
  "line": 39,
4003
3876
  "character": 37
4004
3877
  },
4005
- "name": "ComponentUI",
4006
- "componentId": {
4007
- "scope": "teambit.component",
4008
- "name": "component"
4009
- }
3878
+ "name": "ComponentUI"
4010
3879
  },
4011
3880
  {
4012
3881
  "__schema": "TypeRefSchema",
@@ -4015,11 +3884,7 @@
4015
3884
  "line": 39,
4016
3885
  "character": 50
4017
3886
  },
4018
- "name": "ComponentCompareUI",
4019
- "componentId": {
4020
- "scope": "teambit.component",
4021
- "name": "component-compare"
4022
- }
3887
+ "name": "ComponentCompareUI"
4023
3888
  }
4024
3889
  ]
4025
3890
  },
@@ -4316,8 +4181,7 @@
4316
4181
  "line": 15,
4317
4182
  "character": 17
4318
4183
  },
4319
- "name": "CompositionBrowserMetadata",
4320
- "internalFilePath": "composition.ts"
4184
+ "name": "CompositionBrowserMetadata"
4321
4185
  }
4322
4186
  },
4323
4187
  "isOptional": false
@@ -4626,8 +4490,7 @@
4626
4490
  "line": 38,
4627
4491
  "character": 12
4628
4492
  },
4629
- "name": "ReactNode",
4630
- "packageName": "react"
4493
+ "name": "ReactNode"
4631
4494
  },
4632
4495
  "isOptional": false
4633
4496
  }
@@ -4718,8 +4581,7 @@
4718
4581
  "line": 42,
4719
4582
  "character": 62
4720
4583
  },
4721
- "name": "CompositionsProp",
4722
- "internalFilePath": "compositions.tsx"
4584
+ "name": "CompositionsProp"
4723
4585
  },
4724
4586
  "isOptional": false,
4725
4587
  "objectBindingNodes": [
@@ -4907,8 +4769,7 @@
4907
4769
  "line": 163,
4908
4770
  "character": 5
4909
4771
  },
4910
- "name": "ComponentCompositionProps",
4911
- "internalFilePath": "ui/composition-preview.tsx"
4772
+ "name": "ComponentCompositionProps"
4912
4773
  }
4913
4774
  ]
4914
4775
  }
@@ -5092,11 +4953,7 @@
5092
4953
  "line": 20,
5093
4954
  "character": 22
5094
4955
  },
5095
- "name": "PreviewPreview",
5096
- "componentId": {
5097
- "scope": "teambit.preview",
5098
- "name": "preview"
5099
- }
4956
+ "name": "PreviewPreview"
5100
4957
  },
5101
4958
  "isOptional": false,
5102
4959
  "isSpread": false
@@ -5138,12 +4995,7 @@
5138
4995
  "line": 23,
5139
4996
  "character": 23
5140
4997
  },
5141
- "name": "ComponentID",
5142
- "componentId": {
5143
- "scope": "teambit.component",
5144
- "name": "component-id",
5145
- "version": "1.2.0"
5146
- }
4998
+ "name": "ComponentID"
5147
4999
  },
5148
5000
  "isOptional": false,
5149
5001
  "isSpread": false
@@ -5183,11 +5035,7 @@
5183
5035
  "line": 23,
5184
5036
  "character": 60
5185
5037
  },
5186
- "name": "PreviewModule",
5187
- "componentId": {
5188
- "scope": "teambit.preview",
5189
- "name": "preview"
5190
- }
5038
+ "name": "PreviewModule"
5191
5039
  },
5192
5040
  "isOptional": false,
5193
5041
  "isSpread": false
@@ -5227,11 +5075,7 @@
5227
5075
  "line": 23,
5228
5076
  "character": 102
5229
5077
  },
5230
- "name": "RenderingContext",
5231
- "componentId": {
5232
- "scope": "teambit.preview",
5233
- "name": "preview"
5234
- }
5078
+ "name": "RenderingContext"
5235
5079
  },
5236
5080
  "isOptional": false,
5237
5081
  "isSpread": false
@@ -5303,11 +5147,7 @@
5303
5147
  "line": 42,
5304
5148
  "character": 64
5305
5149
  },
5306
- "name": "PreviewModule",
5307
- "componentId": {
5308
- "scope": "teambit.preview",
5309
- "name": "preview"
5310
- }
5150
+ "name": "PreviewModule"
5311
5151
  },
5312
5152
  "isOptional": false,
5313
5153
  "isSpread": false
@@ -5369,11 +5209,7 @@
5369
5209
  "line": 50,
5370
5210
  "character": 57
5371
5211
  },
5372
- "name": "PreviewModule",
5373
- "componentId": {
5374
- "scope": "teambit.preview",
5375
- "name": "preview"
5376
- }
5212
+ "name": "PreviewModule"
5377
5213
  },
5378
5214
  "isOptional": false,
5379
5215
  "isSpread": false
@@ -5394,8 +5230,7 @@
5394
5230
  "line": 50,
5395
5231
  "character": 73
5396
5232
  },
5397
- "name": "CompositionBrowserMetadataObject",
5398
- "internalFilePath": "composition.ts"
5233
+ "name": "CompositionBrowserMetadataObject"
5399
5234
  },
5400
5235
  {
5401
5236
  "__schema": "KeywordTypeSchema",
@@ -5485,11 +5320,7 @@
5485
5320
  "line": 85,
5486
5321
  "character": 37
5487
5322
  },
5488
- "name": "PreviewPreview",
5489
- "componentId": {
5490
- "scope": "teambit.preview",
5491
- "name": "preview"
5492
- }
5323
+ "name": "PreviewPreview"
5493
5324
  }
5494
5325
  ]
5495
5326
  },
@@ -5601,12 +5432,7 @@
5601
5432
  "line": 11,
5602
5433
  "character": 5
5603
5434
  },
5604
- "name": "ComponentPreviewProps",
5605
- "componentId": {
5606
- "scope": "teambit.preview",
5607
- "name": "ui/component-preview",
5608
- "version": "1.0.12"
5609
- }
5435
+ "name": "ComponentPreviewProps"
5610
5436
  }
5611
5437
  ]
5612
5438
  }
@@ -5635,8 +5461,7 @@
5635
5461
  "line": 13,
5636
5462
  "character": 93
5637
5463
  },
5638
- "name": "ComponentCompositionProps",
5639
- "internalFilePath": "ui/composition-preview.tsx"
5464
+ "name": "ComponentCompositionProps"
5640
5465
  },
5641
5466
  "isOptional": false,
5642
5467
  "objectBindingNodes": [
@@ -5709,7 +5534,7 @@
5709
5534
  "componentId": {
5710
5535
  "scope": "teambit.compositions",
5711
5536
  "name": "compositions",
5712
- "version": "1.0.257"
5537
+ "version": "1.0.258"
5713
5538
  },
5714
5539
  "taggedModuleExports": []
5715
5540
  }