@teambit/api-server 1.0.256 → 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,565 +14,486 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "api-server.main.runtime.ts",
20
- "line": 25,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class ApiServerMain",
24
23
  "name": "ApiServerMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "api-server.main.runtime.ts",
30
- "line": 26,
31
- "character": 3
32
- },
33
- "signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "api-server.main.runtime.ts",
40
- "line": 27,
41
- "character": 5
42
- },
43
- "name": "workspace",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "api-server.main.runtime.ts",
28
+ "line": 25,
29
+ "character": 1
30
+ },
31
+ "signature": "class ApiServerMain",
32
+ "name": "ApiServerMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "api-server.main.runtime.ts",
38
+ "line": 26,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "api-server.main.runtime.ts",
48
48
  "line": 27,
49
- "character": 24
49
+ "character": 5
50
50
  },
51
- "name": "Workspace",
52
- "componentId": {
53
- "scope": "teambit.workspace",
54
- "name": "workspace"
55
- }
56
- },
57
- "isOptional": false,
58
- "isSpread": false
59
- },
60
- {
61
- "__schema": "ParameterSchema",
62
- "location": {
63
- "filePath": "api-server.main.runtime.ts",
64
- "line": 28,
65
- "character": 5
51
+ "name": "workspace",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "api-server.main.runtime.ts",
56
+ "line": 27,
57
+ "character": 24
58
+ },
59
+ "name": "Workspace"
60
+ },
61
+ "isOptional": false,
62
+ "isSpread": false
66
63
  },
67
- "name": "logger",
68
- "type": {
69
- "__schema": "TypeRefSchema",
64
+ {
65
+ "__schema": "ParameterSchema",
70
66
  "location": {
71
67
  "filePath": "api-server.main.runtime.ts",
72
68
  "line": 28,
73
- "character": 21
69
+ "character": 5
74
70
  },
75
- "name": "Logger",
76
- "componentId": {
77
- "scope": "teambit.harmony",
78
- "name": "logger"
79
- }
80
- },
81
- "isOptional": false,
82
- "isSpread": false
83
- },
84
- {
85
- "__schema": "ParameterSchema",
86
- "location": {
87
- "filePath": "api-server.main.runtime.ts",
88
- "line": 29,
89
- "character": 5
71
+ "name": "logger",
72
+ "type": {
73
+ "__schema": "TypeRefSchema",
74
+ "location": {
75
+ "filePath": "api-server.main.runtime.ts",
76
+ "line": 28,
77
+ "character": 21
78
+ },
79
+ "name": "Logger"
80
+ },
81
+ "isOptional": false,
82
+ "isSpread": false
90
83
  },
91
- "name": "express",
92
- "type": {
93
- "__schema": "TypeRefSchema",
84
+ {
85
+ "__schema": "ParameterSchema",
94
86
  "location": {
95
87
  "filePath": "api-server.main.runtime.ts",
96
88
  "line": 29,
97
- "character": 22
89
+ "character": 5
98
90
  },
99
- "name": "ExpressMain",
100
- "componentId": {
101
- "scope": "teambit.harmony",
102
- "name": "express"
103
- }
104
- },
105
- "isOptional": false,
106
- "isSpread": false
107
- },
108
- {
109
- "__schema": "ParameterSchema",
110
- "location": {
111
- "filePath": "api-server.main.runtime.ts",
112
- "line": 30,
113
- "character": 5
91
+ "name": "express",
92
+ "type": {
93
+ "__schema": "TypeRefSchema",
94
+ "location": {
95
+ "filePath": "api-server.main.runtime.ts",
96
+ "line": 29,
97
+ "character": 22
98
+ },
99
+ "name": "ExpressMain"
100
+ },
101
+ "isOptional": false,
102
+ "isSpread": false
114
103
  },
115
- "name": "watcher",
116
- "type": {
117
- "__schema": "TypeRefSchema",
104
+ {
105
+ "__schema": "ParameterSchema",
118
106
  "location": {
119
107
  "filePath": "api-server.main.runtime.ts",
120
108
  "line": 30,
121
- "character": 22
109
+ "character": 5
122
110
  },
123
- "name": "WatcherMain",
124
- "componentId": {
125
- "scope": "teambit.workspace",
126
- "name": "watcher"
127
- }
128
- },
129
- "isOptional": false,
130
- "isSpread": false
131
- },
132
- {
133
- "__schema": "ParameterSchema",
134
- "location": {
135
- "filePath": "api-server.main.runtime.ts",
136
- "line": 31,
137
- "character": 5
111
+ "name": "watcher",
112
+ "type": {
113
+ "__schema": "TypeRefSchema",
114
+ "location": {
115
+ "filePath": "api-server.main.runtime.ts",
116
+ "line": 30,
117
+ "character": 22
118
+ },
119
+ "name": "WatcherMain"
120
+ },
121
+ "isOptional": false,
122
+ "isSpread": false
138
123
  },
139
- "name": "installer",
140
- "type": {
141
- "__schema": "TypeRefSchema",
124
+ {
125
+ "__schema": "ParameterSchema",
142
126
  "location": {
143
127
  "filePath": "api-server.main.runtime.ts",
144
128
  "line": 31,
145
- "character": 24
129
+ "character": 5
146
130
  },
147
- "name": "InstallMain",
148
- "componentId": {
149
- "scope": "teambit.workspace",
150
- "name": "install"
151
- }
152
- },
153
- "isOptional": false,
154
- "isSpread": false
155
- },
156
- {
157
- "__schema": "ParameterSchema",
158
- "location": {
159
- "filePath": "api-server.main.runtime.ts",
160
- "line": 32,
161
- "character": 5
131
+ "name": "installer",
132
+ "type": {
133
+ "__schema": "TypeRefSchema",
134
+ "location": {
135
+ "filePath": "api-server.main.runtime.ts",
136
+ "line": 31,
137
+ "character": 24
138
+ },
139
+ "name": "InstallMain"
140
+ },
141
+ "isOptional": false,
142
+ "isSpread": false
162
143
  },
163
- "name": "importer",
164
- "type": {
165
- "__schema": "TypeRefSchema",
144
+ {
145
+ "__schema": "ParameterSchema",
166
146
  "location": {
167
147
  "filePath": "api-server.main.runtime.ts",
168
148
  "line": 32,
169
- "character": 23
149
+ "character": 5
170
150
  },
171
- "name": "ImporterMain",
172
- "componentId": {
173
- "scope": "teambit.scope",
174
- "name": "importer"
175
- }
151
+ "name": "importer",
152
+ "type": {
153
+ "__schema": "TypeRefSchema",
154
+ "location": {
155
+ "filePath": "api-server.main.runtime.ts",
156
+ "line": 32,
157
+ "character": 23
158
+ },
159
+ "name": "ImporterMain"
160
+ },
161
+ "isOptional": false,
162
+ "isSpread": false
163
+ }
164
+ ],
165
+ "returnType": {
166
+ "__schema": "ThisTypeSchema",
167
+ "location": {
168
+ "filePath": "api-server.main.runtime.ts",
169
+ "line": 25,
170
+ "character": 1
176
171
  },
177
- "isOptional": false,
178
- "isSpread": false
179
- }
180
- ],
181
- "returnType": {
182
- "__schema": "ThisTypeSchema",
172
+ "name": "ApiServerMain"
173
+ },
174
+ "modifiers": []
175
+ },
176
+ {
177
+ "__schema": "FunctionLikeSchema",
183
178
  "location": {
184
179
  "filePath": "api-server.main.runtime.ts",
185
- "line": 25,
186
- "character": 1
180
+ "line": 35,
181
+ "character": 3
187
182
  },
188
- "name": "ApiServerMain"
189
- },
190
- "modifiers": []
191
- },
192
- {
193
- "__schema": "FunctionLikeSchema",
194
- "location": {
195
- "filePath": "api-server.main.runtime.ts",
196
- "line": 35,
197
- "character": 3
198
- },
199
- "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
200
- "name": "runApiServer",
201
- "params": [
202
- {
203
- "__schema": "ParameterSchema",
204
- "location": {
205
- "filePath": "api-server.main.runtime.ts",
206
- "line": 35,
207
- "character": 22
208
- },
209
- "name": "options",
210
- "type": {
211
- "__schema": "TypeLiteralSchema",
183
+ "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
184
+ "name": "runApiServer",
185
+ "params": [
186
+ {
187
+ "__schema": "ParameterSchema",
212
188
  "location": {
213
189
  "filePath": "api-server.main.runtime.ts",
214
190
  "line": 35,
215
- "character": 31
191
+ "character": 22
216
192
  },
217
- "members": [
218
- {
219
- "__schema": "VariableLikeSchema",
220
- "location": {
221
- "filePath": "api-server.main.runtime.ts",
222
- "line": 35,
223
- "character": 33
224
- },
225
- "signature": "(property) port: number",
226
- "name": "port",
227
- "type": {
228
- "__schema": "KeywordTypeSchema",
193
+ "name": "options",
194
+ "type": {
195
+ "__schema": "TypeLiteralSchema",
196
+ "location": {
197
+ "filePath": "api-server.main.runtime.ts",
198
+ "line": 35,
199
+ "character": 31
200
+ },
201
+ "members": [
202
+ {
203
+ "__schema": "VariableLikeSchema",
229
204
  "location": {
230
205
  "filePath": "api-server.main.runtime.ts",
231
206
  "line": 35,
232
- "character": 39
207
+ "character": 33
233
208
  },
234
- "name": "number"
235
- },
236
- "isOptional": false
237
- },
238
- {
239
- "__schema": "VariableLikeSchema",
240
- "location": {
241
- "filePath": "api-server.main.runtime.ts",
242
- "line": 35,
243
- "character": 47
209
+ "signature": "(property) port: number",
210
+ "name": "port",
211
+ "type": {
212
+ "__schema": "KeywordTypeSchema",
213
+ "location": {
214
+ "filePath": "api-server.main.runtime.ts",
215
+ "line": 35,
216
+ "character": 39
217
+ },
218
+ "name": "number"
219
+ },
220
+ "isOptional": false
244
221
  },
245
- "signature": "(property) compile: boolean",
246
- "name": "compile",
247
- "type": {
248
- "__schema": "KeywordTypeSchema",
222
+ {
223
+ "__schema": "VariableLikeSchema",
249
224
  "location": {
250
225
  "filePath": "api-server.main.runtime.ts",
251
226
  "line": 35,
252
- "character": 56
227
+ "character": 47
253
228
  },
254
- "name": "boolean"
255
- },
256
- "isOptional": false
257
- }
258
- ]
229
+ "signature": "(property) compile: boolean",
230
+ "name": "compile",
231
+ "type": {
232
+ "__schema": "KeywordTypeSchema",
233
+ "location": {
234
+ "filePath": "api-server.main.runtime.ts",
235
+ "line": 35,
236
+ "character": 56
237
+ },
238
+ "name": "boolean"
239
+ },
240
+ "isOptional": false
241
+ }
242
+ ]
243
+ },
244
+ "isOptional": false,
245
+ "isSpread": false
246
+ }
247
+ ],
248
+ "returnType": {
249
+ "__schema": "InferenceTypeSchema",
250
+ "location": {
251
+ "filePath": "api-server.main.runtime.ts",
252
+ "line": 35,
253
+ "character": 3
259
254
  },
260
- "isOptional": false,
261
- "isSpread": false
262
- }
263
- ],
264
- "returnType": {
265
- "__schema": "InferenceTypeSchema",
266
- "location": {
267
- "filePath": "api-server.main.runtime.ts",
268
- "line": 35,
269
- "character": 3
255
+ "type": "Promise<unknown>"
270
256
  },
271
- "type": "Promise<unknown>"
272
- },
273
- "modifiers": [
274
- "async"
275
- ]
276
- },
277
- {
278
- "__schema": "VariableLikeSchema",
279
- "location": {
280
- "filePath": "api-server.main.runtime.ts",
281
- "line": 99,
282
- "character": 3
257
+ "modifiers": [
258
+ "async"
259
+ ]
283
260
  },
284
- "signature": "(property) ApiServerMain.dependencies: Aspect[]",
285
- "name": "dependencies",
286
- "type": {
287
- "__schema": "InferenceTypeSchema",
261
+ {
262
+ "__schema": "VariableLikeSchema",
288
263
  "location": {
289
264
  "filePath": "api-server.main.runtime.ts",
290
265
  "line": 99,
291
266
  "character": 3
292
267
  },
293
- "type": "Aspect[]"
294
- },
295
- "isOptional": true,
296
- "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n LoggerAspect,\n ExpressAspect,\n WatcherAspect,\n SnappingAspect,\n LanesAspect,\n InstallAspect,\n ExportAspect,\n CheckoutAspect,\n ComponentLogAspect,\n ImporterAspect,\n ComponentCompareAspect,\n GeneratorAspect,\n RemoveAspect,\n ConfigAspect,\n ]"
297
- },
298
- {
299
- "__schema": "VariableLikeSchema",
300
- "location": {
301
- "filePath": "api-server.main.runtime.ts",
302
- "line": 117,
303
- "character": 3
268
+ "signature": "(property) ApiServerMain.dependencies: Aspect[]",
269
+ "name": "dependencies",
270
+ "type": {
271
+ "__schema": "InferenceTypeSchema",
272
+ "location": {
273
+ "filePath": "api-server.main.runtime.ts",
274
+ "line": 99,
275
+ "character": 3
276
+ },
277
+ "type": "Aspect[]"
278
+ },
279
+ "isOptional": true,
280
+ "defaultValue": "[\n CLIAspect,\n WorkspaceAspect,\n LoggerAspect,\n ExpressAspect,\n WatcherAspect,\n SnappingAspect,\n LanesAspect,\n InstallAspect,\n ExportAspect,\n CheckoutAspect,\n ComponentLogAspect,\n ImporterAspect,\n ComponentCompareAspect,\n GeneratorAspect,\n RemoveAspect,\n ConfigAspect,\n ]"
304
281
  },
305
- "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
306
- "name": "runtime",
307
- "type": {
308
- "__schema": "InferenceTypeSchema",
282
+ {
283
+ "__schema": "VariableLikeSchema",
309
284
  "location": {
310
285
  "filePath": "api-server.main.runtime.ts",
311
286
  "line": 117,
312
287
  "character": 3
313
288
  },
314
- "type": "RuntimeDefinition"
315
- },
316
- "isOptional": true,
317
- "defaultValue": "MainRuntime"
318
- },
319
- {
320
- "__schema": "FunctionLikeSchema",
321
- "location": {
322
- "filePath": "api-server.main.runtime.ts",
323
- "line": 118,
324
- "character": 3
325
- },
326
- "signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config,]: [\n CLIMain,\n Workspace,\n LoggerMain,\n ExpressMain,\n WatcherMain,\n SnappingMain,\n LanesMain,\n InstallMain,\n ExportMain,\n CheckoutMain,\n ComponentLogMain,\n ImporterMain,\n ComponentCompareMain,\n GeneratorMain,\n RemoveMain,\n ConfigMain\n]): Promise<ApiServerMain>",
327
- "name": "provider",
328
- "params": [
329
- {
330
- "__schema": "ParameterSchema",
289
+ "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
290
+ "name": "runtime",
291
+ "type": {
292
+ "__schema": "InferenceTypeSchema",
331
293
  "location": {
332
294
  "filePath": "api-server.main.runtime.ts",
333
- "line": 118,
334
- "character": 25
295
+ "line": 117,
296
+ "character": 3
335
297
  },
336
- "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
337
- "type": {
338
- "__schema": "TupleTypeSchema",
298
+ "type": "RuntimeDefinition"
299
+ },
300
+ "isOptional": true,
301
+ "defaultValue": "MainRuntime"
302
+ },
303
+ {
304
+ "__schema": "FunctionLikeSchema",
305
+ "location": {
306
+ "filePath": "api-server.main.runtime.ts",
307
+ "line": 118,
308
+ "character": 3
309
+ },
310
+ "signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config,]: [\n CLIMain,\n Workspace,\n LoggerMain,\n ExpressMain,\n WatcherMain,\n SnappingMain,\n LanesMain,\n InstallMain,\n ExportMain,\n CheckoutMain,\n ComponentLogMain,\n ImporterMain,\n ComponentCompareMain,\n GeneratorMain,\n RemoveMain,\n ConfigMain\n]): Promise<ApiServerMain>",
311
+ "name": "provider",
312
+ "params": [
313
+ {
314
+ "__schema": "ParameterSchema",
339
315
  "location": {
340
316
  "filePath": "api-server.main.runtime.ts",
341
- "line": 135,
342
- "character": 6
317
+ "line": 118,
318
+ "character": 25
343
319
  },
344
- "elements": [
345
- {
346
- "__schema": "TypeRefSchema",
347
- "location": {
348
- "filePath": "api-server.main.runtime.ts",
349
- "line": 136,
350
- "character": 5
351
- },
352
- "name": "CLIMain",
353
- "componentId": {
354
- "scope": "teambit.harmony",
355
- "name": "cli"
356
- }
320
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
321
+ "type": {
322
+ "__schema": "TupleTypeSchema",
323
+ "location": {
324
+ "filePath": "api-server.main.runtime.ts",
325
+ "line": 135,
326
+ "character": 6
357
327
  },
358
- {
359
- "__schema": "TypeRefSchema",
360
- "location": {
361
- "filePath": "api-server.main.runtime.ts",
362
- "line": 137,
363
- "character": 5
328
+ "elements": [
329
+ {
330
+ "__schema": "TypeRefSchema",
331
+ "location": {
332
+ "filePath": "api-server.main.runtime.ts",
333
+ "line": 136,
334
+ "character": 5
335
+ },
336
+ "name": "CLIMain"
364
337
  },
365
- "name": "Workspace",
366
- "componentId": {
367
- "scope": "teambit.workspace",
368
- "name": "workspace"
369
- }
370
- },
371
- {
372
- "__schema": "TypeRefSchema",
373
- "location": {
374
- "filePath": "api-server.main.runtime.ts",
375
- "line": 138,
376
- "character": 5
338
+ {
339
+ "__schema": "TypeRefSchema",
340
+ "location": {
341
+ "filePath": "api-server.main.runtime.ts",
342
+ "line": 137,
343
+ "character": 5
344
+ },
345
+ "name": "Workspace"
377
346
  },
378
- "name": "LoggerMain",
379
- "componentId": {
380
- "scope": "teambit.harmony",
381
- "name": "logger"
382
- }
383
- },
384
- {
385
- "__schema": "TypeRefSchema",
386
- "location": {
387
- "filePath": "api-server.main.runtime.ts",
388
- "line": 139,
389
- "character": 5
347
+ {
348
+ "__schema": "TypeRefSchema",
349
+ "location": {
350
+ "filePath": "api-server.main.runtime.ts",
351
+ "line": 138,
352
+ "character": 5
353
+ },
354
+ "name": "LoggerMain"
390
355
  },
391
- "name": "ExpressMain",
392
- "componentId": {
393
- "scope": "teambit.harmony",
394
- "name": "express"
395
- }
396
- },
397
- {
398
- "__schema": "TypeRefSchema",
399
- "location": {
400
- "filePath": "api-server.main.runtime.ts",
401
- "line": 140,
402
- "character": 5
356
+ {
357
+ "__schema": "TypeRefSchema",
358
+ "location": {
359
+ "filePath": "api-server.main.runtime.ts",
360
+ "line": 139,
361
+ "character": 5
362
+ },
363
+ "name": "ExpressMain"
403
364
  },
404
- "name": "WatcherMain",
405
- "componentId": {
406
- "scope": "teambit.workspace",
407
- "name": "watcher"
408
- }
409
- },
410
- {
411
- "__schema": "TypeRefSchema",
412
- "location": {
413
- "filePath": "api-server.main.runtime.ts",
414
- "line": 141,
415
- "character": 5
365
+ {
366
+ "__schema": "TypeRefSchema",
367
+ "location": {
368
+ "filePath": "api-server.main.runtime.ts",
369
+ "line": 140,
370
+ "character": 5
371
+ },
372
+ "name": "WatcherMain"
416
373
  },
417
- "name": "SnappingMain",
418
- "componentId": {
419
- "scope": "teambit.component",
420
- "name": "snapping"
421
- }
422
- },
423
- {
424
- "__schema": "TypeRefSchema",
425
- "location": {
426
- "filePath": "api-server.main.runtime.ts",
427
- "line": 142,
428
- "character": 5
374
+ {
375
+ "__schema": "TypeRefSchema",
376
+ "location": {
377
+ "filePath": "api-server.main.runtime.ts",
378
+ "line": 141,
379
+ "character": 5
380
+ },
381
+ "name": "SnappingMain"
429
382
  },
430
- "name": "LanesMain",
431
- "componentId": {
432
- "scope": "teambit.lanes",
433
- "name": "lanes"
434
- }
435
- },
436
- {
437
- "__schema": "TypeRefSchema",
438
- "location": {
439
- "filePath": "api-server.main.runtime.ts",
440
- "line": 143,
441
- "character": 5
383
+ {
384
+ "__schema": "TypeRefSchema",
385
+ "location": {
386
+ "filePath": "api-server.main.runtime.ts",
387
+ "line": 142,
388
+ "character": 5
389
+ },
390
+ "name": "LanesMain"
442
391
  },
443
- "name": "InstallMain",
444
- "componentId": {
445
- "scope": "teambit.workspace",
446
- "name": "install"
447
- }
448
- },
449
- {
450
- "__schema": "TypeRefSchema",
451
- "location": {
452
- "filePath": "api-server.main.runtime.ts",
453
- "line": 144,
454
- "character": 5
392
+ {
393
+ "__schema": "TypeRefSchema",
394
+ "location": {
395
+ "filePath": "api-server.main.runtime.ts",
396
+ "line": 143,
397
+ "character": 5
398
+ },
399
+ "name": "InstallMain"
455
400
  },
456
- "name": "ExportMain",
457
- "componentId": {
458
- "scope": "teambit.scope",
459
- "name": "export"
460
- }
461
- },
462
- {
463
- "__schema": "TypeRefSchema",
464
- "location": {
465
- "filePath": "api-server.main.runtime.ts",
466
- "line": 145,
467
- "character": 5
401
+ {
402
+ "__schema": "TypeRefSchema",
403
+ "location": {
404
+ "filePath": "api-server.main.runtime.ts",
405
+ "line": 144,
406
+ "character": 5
407
+ },
408
+ "name": "ExportMain"
468
409
  },
469
- "name": "CheckoutMain",
470
- "componentId": {
471
- "scope": "teambit.component",
472
- "name": "checkout"
473
- }
474
- },
475
- {
476
- "__schema": "TypeRefSchema",
477
- "location": {
478
- "filePath": "api-server.main.runtime.ts",
479
- "line": 146,
480
- "character": 5
410
+ {
411
+ "__schema": "TypeRefSchema",
412
+ "location": {
413
+ "filePath": "api-server.main.runtime.ts",
414
+ "line": 145,
415
+ "character": 5
416
+ },
417
+ "name": "CheckoutMain"
481
418
  },
482
- "name": "ComponentLogMain",
483
- "componentId": {
484
- "scope": "teambit.component",
485
- "name": "component-log"
486
- }
487
- },
488
- {
489
- "__schema": "TypeRefSchema",
490
- "location": {
491
- "filePath": "api-server.main.runtime.ts",
492
- "line": 147,
493
- "character": 5
419
+ {
420
+ "__schema": "TypeRefSchema",
421
+ "location": {
422
+ "filePath": "api-server.main.runtime.ts",
423
+ "line": 146,
424
+ "character": 5
425
+ },
426
+ "name": "ComponentLogMain"
494
427
  },
495
- "name": "ImporterMain",
496
- "componentId": {
497
- "scope": "teambit.scope",
498
- "name": "importer"
499
- }
500
- },
501
- {
502
- "__schema": "TypeRefSchema",
503
- "location": {
504
- "filePath": "api-server.main.runtime.ts",
505
- "line": 148,
506
- "character": 5
428
+ {
429
+ "__schema": "TypeRefSchema",
430
+ "location": {
431
+ "filePath": "api-server.main.runtime.ts",
432
+ "line": 147,
433
+ "character": 5
434
+ },
435
+ "name": "ImporterMain"
507
436
  },
508
- "name": "ComponentCompareMain",
509
- "componentId": {
510
- "scope": "teambit.component",
511
- "name": "component-compare"
512
- }
513
- },
514
- {
515
- "__schema": "TypeRefSchema",
516
- "location": {
517
- "filePath": "api-server.main.runtime.ts",
518
- "line": 149,
519
- "character": 5
437
+ {
438
+ "__schema": "TypeRefSchema",
439
+ "location": {
440
+ "filePath": "api-server.main.runtime.ts",
441
+ "line": 148,
442
+ "character": 5
443
+ },
444
+ "name": "ComponentCompareMain"
520
445
  },
521
- "name": "GeneratorMain",
522
- "componentId": {
523
- "scope": "teambit.generator",
524
- "name": "generator"
525
- }
526
- },
527
- {
528
- "__schema": "TypeRefSchema",
529
- "location": {
530
- "filePath": "api-server.main.runtime.ts",
531
- "line": 150,
532
- "character": 5
446
+ {
447
+ "__schema": "TypeRefSchema",
448
+ "location": {
449
+ "filePath": "api-server.main.runtime.ts",
450
+ "line": 149,
451
+ "character": 5
452
+ },
453
+ "name": "GeneratorMain"
533
454
  },
534
- "name": "RemoveMain",
535
- "componentId": {
536
- "scope": "teambit.component",
537
- "name": "remove"
538
- }
539
- },
540
- {
541
- "__schema": "TypeRefSchema",
542
- "location": {
543
- "filePath": "api-server.main.runtime.ts",
544
- "line": 151,
545
- "character": 5
455
+ {
456
+ "__schema": "TypeRefSchema",
457
+ "location": {
458
+ "filePath": "api-server.main.runtime.ts",
459
+ "line": 150,
460
+ "character": 5
461
+ },
462
+ "name": "RemoveMain"
546
463
  },
547
- "name": "ConfigMain",
548
- "componentId": {
549
- "scope": "teambit.harmony",
550
- "name": "config"
464
+ {
465
+ "__schema": "TypeRefSchema",
466
+ "location": {
467
+ "filePath": "api-server.main.runtime.ts",
468
+ "line": 151,
469
+ "character": 5
470
+ },
471
+ "name": "ConfigMain"
551
472
  }
552
- }
553
- ]
473
+ ]
474
+ },
475
+ "isOptional": false,
476
+ "isSpread": false
477
+ }
478
+ ],
479
+ "returnType": {
480
+ "__schema": "InferenceTypeSchema",
481
+ "location": {
482
+ "filePath": "api-server.main.runtime.ts",
483
+ "line": 118,
484
+ "character": 3
554
485
  },
555
- "isOptional": false,
556
- "isSpread": false
557
- }
558
- ],
559
- "returnType": {
560
- "__schema": "InferenceTypeSchema",
561
- "location": {
562
- "filePath": "api-server.main.runtime.ts",
563
- "line": 118,
564
- "character": 3
486
+ "type": "Promise<ApiServerMain>"
565
487
  },
566
- "type": "Promise<ApiServerMain>"
567
- },
568
- "modifiers": [
569
- "static",
570
- "async"
571
- ]
572
- }
573
- ],
574
- "extendsNodes": [],
575
- "implementNodes": []
488
+ "modifiers": [
489
+ "static",
490
+ "async"
491
+ ]
492
+ }
493
+ ],
494
+ "extendsNodes": [],
495
+ "implementNodes": []
496
+ }
576
497
  },
577
498
  {
578
499
  "__schema": "UnImplementedSchema",
@@ -585,30 +506,39 @@
585
506
  "type": "Identifier"
586
507
  },
587
508
  {
588
- "__schema": "VariableLikeSchema",
509
+ "__schema": "ExportSchema",
589
510
  "location": {
590
- "filePath": "api-server.aspect.ts",
591
- "line": 3,
592
- "character": 14
511
+ "filePath": "index.ts",
512
+ "line": 5,
513
+ "character": 10
593
514
  },
594
- "signature": "const ApiServerAspect: Aspect",
595
515
  "name": "ApiServerAspect",
596
- "type": {
597
- "__schema": "TypeRefSchema",
516
+ "exportNode": {
517
+ "__schema": "VariableLikeSchema",
598
518
  "location": {
599
519
  "filePath": "api-server.aspect.ts",
600
520
  "line": 3,
601
521
  "character": 14
602
522
  },
603
- "name": "Aspect",
604
- "componentId": {
605
- "scope": "teambit.harmony",
606
- "name": "harmony",
607
- "version": "0.4.6"
608
- }
609
- },
610
- "isOptional": false,
611
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
523
+ "signature": "const ApiServerAspect: Aspect",
524
+ "name": "ApiServerAspect",
525
+ "type": {
526
+ "__schema": "TypeRefSchema",
527
+ "location": {
528
+ "filePath": "api-server.aspect.ts",
529
+ "line": 3,
530
+ "character": 14
531
+ },
532
+ "name": "Aspect",
533
+ "componentId": {
534
+ "scope": "teambit.harmony",
535
+ "name": "harmony",
536
+ "version": "0.4.6"
537
+ }
538
+ },
539
+ "isOptional": false,
540
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
541
+ }
612
542
  }
613
543
  ],
614
544
  "internals": []
@@ -657,11 +587,7 @@
657
587
  "line": 27,
658
588
  "character": 24
659
589
  },
660
- "name": "Workspace",
661
- "componentId": {
662
- "scope": "teambit.workspace",
663
- "name": "workspace"
664
- }
590
+ "name": "Workspace"
665
591
  },
666
592
  "isOptional": false,
667
593
  "isSpread": false
@@ -681,11 +607,7 @@
681
607
  "line": 28,
682
608
  "character": 21
683
609
  },
684
- "name": "Logger",
685
- "componentId": {
686
- "scope": "teambit.harmony",
687
- "name": "logger"
688
- }
610
+ "name": "Logger"
689
611
  },
690
612
  "isOptional": false,
691
613
  "isSpread": false
@@ -705,11 +627,7 @@
705
627
  "line": 29,
706
628
  "character": 22
707
629
  },
708
- "name": "ExpressMain",
709
- "componentId": {
710
- "scope": "teambit.harmony",
711
- "name": "express"
712
- }
630
+ "name": "ExpressMain"
713
631
  },
714
632
  "isOptional": false,
715
633
  "isSpread": false
@@ -729,11 +647,7 @@
729
647
  "line": 30,
730
648
  "character": 22
731
649
  },
732
- "name": "WatcherMain",
733
- "componentId": {
734
- "scope": "teambit.workspace",
735
- "name": "watcher"
736
- }
650
+ "name": "WatcherMain"
737
651
  },
738
652
  "isOptional": false,
739
653
  "isSpread": false
@@ -753,11 +667,7 @@
753
667
  "line": 31,
754
668
  "character": 24
755
669
  },
756
- "name": "InstallMain",
757
- "componentId": {
758
- "scope": "teambit.workspace",
759
- "name": "install"
760
- }
670
+ "name": "InstallMain"
761
671
  },
762
672
  "isOptional": false,
763
673
  "isSpread": false
@@ -777,11 +687,7 @@
777
687
  "line": 32,
778
688
  "character": 23
779
689
  },
780
- "name": "ImporterMain",
781
- "componentId": {
782
- "scope": "teambit.scope",
783
- "name": "importer"
784
- }
690
+ "name": "ImporterMain"
785
691
  },
786
692
  "isOptional": false,
787
693
  "isSpread": false
@@ -958,11 +864,7 @@
958
864
  "line": 136,
959
865
  "character": 5
960
866
  },
961
- "name": "CLIMain",
962
- "componentId": {
963
- "scope": "teambit.harmony",
964
- "name": "cli"
965
- }
867
+ "name": "CLIMain"
966
868
  },
967
869
  {
968
870
  "__schema": "TypeRefSchema",
@@ -971,11 +873,7 @@
971
873
  "line": 137,
972
874
  "character": 5
973
875
  },
974
- "name": "Workspace",
975
- "componentId": {
976
- "scope": "teambit.workspace",
977
- "name": "workspace"
978
- }
876
+ "name": "Workspace"
979
877
  },
980
878
  {
981
879
  "__schema": "TypeRefSchema",
@@ -984,11 +882,7 @@
984
882
  "line": 138,
985
883
  "character": 5
986
884
  },
987
- "name": "LoggerMain",
988
- "componentId": {
989
- "scope": "teambit.harmony",
990
- "name": "logger"
991
- }
885
+ "name": "LoggerMain"
992
886
  },
993
887
  {
994
888
  "__schema": "TypeRefSchema",
@@ -997,11 +891,7 @@
997
891
  "line": 139,
998
892
  "character": 5
999
893
  },
1000
- "name": "ExpressMain",
1001
- "componentId": {
1002
- "scope": "teambit.harmony",
1003
- "name": "express"
1004
- }
894
+ "name": "ExpressMain"
1005
895
  },
1006
896
  {
1007
897
  "__schema": "TypeRefSchema",
@@ -1010,11 +900,7 @@
1010
900
  "line": 140,
1011
901
  "character": 5
1012
902
  },
1013
- "name": "WatcherMain",
1014
- "componentId": {
1015
- "scope": "teambit.workspace",
1016
- "name": "watcher"
1017
- }
903
+ "name": "WatcherMain"
1018
904
  },
1019
905
  {
1020
906
  "__schema": "TypeRefSchema",
@@ -1023,11 +909,7 @@
1023
909
  "line": 141,
1024
910
  "character": 5
1025
911
  },
1026
- "name": "SnappingMain",
1027
- "componentId": {
1028
- "scope": "teambit.component",
1029
- "name": "snapping"
1030
- }
912
+ "name": "SnappingMain"
1031
913
  },
1032
914
  {
1033
915
  "__schema": "TypeRefSchema",
@@ -1036,11 +918,7 @@
1036
918
  "line": 142,
1037
919
  "character": 5
1038
920
  },
1039
- "name": "LanesMain",
1040
- "componentId": {
1041
- "scope": "teambit.lanes",
1042
- "name": "lanes"
1043
- }
921
+ "name": "LanesMain"
1044
922
  },
1045
923
  {
1046
924
  "__schema": "TypeRefSchema",
@@ -1049,11 +927,7 @@
1049
927
  "line": 143,
1050
928
  "character": 5
1051
929
  },
1052
- "name": "InstallMain",
1053
- "componentId": {
1054
- "scope": "teambit.workspace",
1055
- "name": "install"
1056
- }
930
+ "name": "InstallMain"
1057
931
  },
1058
932
  {
1059
933
  "__schema": "TypeRefSchema",
@@ -1062,11 +936,7 @@
1062
936
  "line": 144,
1063
937
  "character": 5
1064
938
  },
1065
- "name": "ExportMain",
1066
- "componentId": {
1067
- "scope": "teambit.scope",
1068
- "name": "export"
1069
- }
939
+ "name": "ExportMain"
1070
940
  },
1071
941
  {
1072
942
  "__schema": "TypeRefSchema",
@@ -1075,11 +945,7 @@
1075
945
  "line": 145,
1076
946
  "character": 5
1077
947
  },
1078
- "name": "CheckoutMain",
1079
- "componentId": {
1080
- "scope": "teambit.component",
1081
- "name": "checkout"
1082
- }
948
+ "name": "CheckoutMain"
1083
949
  },
1084
950
  {
1085
951
  "__schema": "TypeRefSchema",
@@ -1088,11 +954,7 @@
1088
954
  "line": 146,
1089
955
  "character": 5
1090
956
  },
1091
- "name": "ComponentLogMain",
1092
- "componentId": {
1093
- "scope": "teambit.component",
1094
- "name": "component-log"
1095
- }
957
+ "name": "ComponentLogMain"
1096
958
  },
1097
959
  {
1098
960
  "__schema": "TypeRefSchema",
@@ -1101,11 +963,7 @@
1101
963
  "line": 147,
1102
964
  "character": 5
1103
965
  },
1104
- "name": "ImporterMain",
1105
- "componentId": {
1106
- "scope": "teambit.scope",
1107
- "name": "importer"
1108
- }
966
+ "name": "ImporterMain"
1109
967
  },
1110
968
  {
1111
969
  "__schema": "TypeRefSchema",
@@ -1114,11 +972,7 @@
1114
972
  "line": 148,
1115
973
  "character": 5
1116
974
  },
1117
- "name": "ComponentCompareMain",
1118
- "componentId": {
1119
- "scope": "teambit.component",
1120
- "name": "component-compare"
1121
- }
975
+ "name": "ComponentCompareMain"
1122
976
  },
1123
977
  {
1124
978
  "__schema": "TypeRefSchema",
@@ -1127,11 +981,7 @@
1127
981
  "line": 149,
1128
982
  "character": 5
1129
983
  },
1130
- "name": "GeneratorMain",
1131
- "componentId": {
1132
- "scope": "teambit.generator",
1133
- "name": "generator"
1134
- }
984
+ "name": "GeneratorMain"
1135
985
  },
1136
986
  {
1137
987
  "__schema": "TypeRefSchema",
@@ -1140,11 +990,7 @@
1140
990
  "line": 150,
1141
991
  "character": 5
1142
992
  },
1143
- "name": "RemoveMain",
1144
- "componentId": {
1145
- "scope": "teambit.component",
1146
- "name": "remove"
1147
- }
993
+ "name": "RemoveMain"
1148
994
  },
1149
995
  {
1150
996
  "__schema": "TypeRefSchema",
@@ -1153,11 +999,7 @@
1153
999
  "line": 151,
1154
1000
  "character": 5
1155
1001
  },
1156
- "name": "ConfigMain",
1157
- "componentId": {
1158
- "scope": "teambit.harmony",
1159
- "name": "config"
1160
- }
1002
+ "name": "ConfigMain"
1161
1003
  }
1162
1004
  ]
1163
1005
  },
@@ -1248,7 +1090,7 @@
1248
1090
  "componentId": {
1249
1091
  "scope": "teambit.harmony",
1250
1092
  "name": "api-server",
1251
- "version": "1.0.256"
1093
+ "version": "1.0.258"
1252
1094
  },
1253
1095
  "taggedModuleExports": []
1254
1096
  }