@teambit/api-server 1.0.257 → 1.0.259

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.harmony/api-server@1.0.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.harmony/api-server@1.0.259" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -14,565 +14,574 @@
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
+ "componentId": {
61
+ "scope": "teambit.workspace",
62
+ "name": "workspace"
63
+ }
64
+ },
65
+ "isOptional": false,
66
+ "isSpread": false
66
67
  },
67
- "name": "logger",
68
- "type": {
69
- "__schema": "TypeRefSchema",
68
+ {
69
+ "__schema": "ParameterSchema",
70
70
  "location": {
71
71
  "filePath": "api-server.main.runtime.ts",
72
72
  "line": 28,
73
- "character": 21
73
+ "character": 5
74
74
  },
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
75
+ "name": "logger",
76
+ "type": {
77
+ "__schema": "TypeRefSchema",
78
+ "location": {
79
+ "filePath": "api-server.main.runtime.ts",
80
+ "line": 28,
81
+ "character": 21
82
+ },
83
+ "name": "Logger",
84
+ "componentId": {
85
+ "scope": "teambit.harmony",
86
+ "name": "logger"
87
+ }
88
+ },
89
+ "isOptional": false,
90
+ "isSpread": false
90
91
  },
91
- "name": "express",
92
- "type": {
93
- "__schema": "TypeRefSchema",
92
+ {
93
+ "__schema": "ParameterSchema",
94
94
  "location": {
95
95
  "filePath": "api-server.main.runtime.ts",
96
96
  "line": 29,
97
- "character": 22
97
+ "character": 5
98
98
  },
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
99
+ "name": "express",
100
+ "type": {
101
+ "__schema": "TypeRefSchema",
102
+ "location": {
103
+ "filePath": "api-server.main.runtime.ts",
104
+ "line": 29,
105
+ "character": 22
106
+ },
107
+ "name": "ExpressMain",
108
+ "componentId": {
109
+ "scope": "teambit.harmony",
110
+ "name": "express"
111
+ }
112
+ },
113
+ "isOptional": false,
114
+ "isSpread": false
114
115
  },
115
- "name": "watcher",
116
- "type": {
117
- "__schema": "TypeRefSchema",
116
+ {
117
+ "__schema": "ParameterSchema",
118
118
  "location": {
119
119
  "filePath": "api-server.main.runtime.ts",
120
120
  "line": 30,
121
- "character": 22
121
+ "character": 5
122
122
  },
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
123
+ "name": "watcher",
124
+ "type": {
125
+ "__schema": "TypeRefSchema",
126
+ "location": {
127
+ "filePath": "api-server.main.runtime.ts",
128
+ "line": 30,
129
+ "character": 22
130
+ },
131
+ "name": "WatcherMain",
132
+ "componentId": {
133
+ "scope": "teambit.workspace",
134
+ "name": "watcher"
135
+ }
136
+ },
137
+ "isOptional": false,
138
+ "isSpread": false
138
139
  },
139
- "name": "installer",
140
- "type": {
141
- "__schema": "TypeRefSchema",
140
+ {
141
+ "__schema": "ParameterSchema",
142
142
  "location": {
143
143
  "filePath": "api-server.main.runtime.ts",
144
144
  "line": 31,
145
- "character": 24
145
+ "character": 5
146
146
  },
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
147
+ "name": "installer",
148
+ "type": {
149
+ "__schema": "TypeRefSchema",
150
+ "location": {
151
+ "filePath": "api-server.main.runtime.ts",
152
+ "line": 31,
153
+ "character": 24
154
+ },
155
+ "name": "InstallMain",
156
+ "componentId": {
157
+ "scope": "teambit.workspace",
158
+ "name": "install"
159
+ }
160
+ },
161
+ "isOptional": false,
162
+ "isSpread": false
162
163
  },
163
- "name": "importer",
164
- "type": {
165
- "__schema": "TypeRefSchema",
164
+ {
165
+ "__schema": "ParameterSchema",
166
166
  "location": {
167
167
  "filePath": "api-server.main.runtime.ts",
168
168
  "line": 32,
169
- "character": 23
169
+ "character": 5
170
+ },
171
+ "name": "importer",
172
+ "type": {
173
+ "__schema": "TypeRefSchema",
174
+ "location": {
175
+ "filePath": "api-server.main.runtime.ts",
176
+ "line": 32,
177
+ "character": 23
178
+ },
179
+ "name": "ImporterMain",
180
+ "componentId": {
181
+ "scope": "teambit.scope",
182
+ "name": "importer"
183
+ }
170
184
  },
171
- "name": "ImporterMain",
172
- "componentId": {
173
- "scope": "teambit.scope",
174
- "name": "importer"
175
- }
185
+ "isOptional": false,
186
+ "isSpread": false
187
+ }
188
+ ],
189
+ "returnType": {
190
+ "__schema": "ThisTypeSchema",
191
+ "location": {
192
+ "filePath": "api-server.main.runtime.ts",
193
+ "line": 25,
194
+ "character": 1
176
195
  },
177
- "isOptional": false,
178
- "isSpread": false
179
- }
180
- ],
181
- "returnType": {
182
- "__schema": "ThisTypeSchema",
196
+ "name": "ApiServerMain"
197
+ },
198
+ "modifiers": []
199
+ },
200
+ {
201
+ "__schema": "FunctionLikeSchema",
183
202
  "location": {
184
203
  "filePath": "api-server.main.runtime.ts",
185
- "line": 25,
186
- "character": 1
204
+ "line": 35,
205
+ "character": 3
187
206
  },
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",
207
+ "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
208
+ "name": "runApiServer",
209
+ "params": [
210
+ {
211
+ "__schema": "ParameterSchema",
212
212
  "location": {
213
213
  "filePath": "api-server.main.runtime.ts",
214
214
  "line": 35,
215
- "character": 31
215
+ "character": 22
216
216
  },
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",
217
+ "name": "options",
218
+ "type": {
219
+ "__schema": "TypeLiteralSchema",
220
+ "location": {
221
+ "filePath": "api-server.main.runtime.ts",
222
+ "line": 35,
223
+ "character": 31
224
+ },
225
+ "members": [
226
+ {
227
+ "__schema": "VariableLikeSchema",
229
228
  "location": {
230
229
  "filePath": "api-server.main.runtime.ts",
231
230
  "line": 35,
232
- "character": 39
231
+ "character": 33
233
232
  },
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
233
+ "signature": "(property) port: number",
234
+ "name": "port",
235
+ "type": {
236
+ "__schema": "KeywordTypeSchema",
237
+ "location": {
238
+ "filePath": "api-server.main.runtime.ts",
239
+ "line": 35,
240
+ "character": 39
241
+ },
242
+ "name": "number"
243
+ },
244
+ "isOptional": false
244
245
  },
245
- "signature": "(property) compile: boolean",
246
- "name": "compile",
247
- "type": {
248
- "__schema": "KeywordTypeSchema",
246
+ {
247
+ "__schema": "VariableLikeSchema",
249
248
  "location": {
250
249
  "filePath": "api-server.main.runtime.ts",
251
250
  "line": 35,
252
- "character": 56
251
+ "character": 47
253
252
  },
254
- "name": "boolean"
255
- },
256
- "isOptional": false
257
- }
258
- ]
253
+ "signature": "(property) compile: boolean",
254
+ "name": "compile",
255
+ "type": {
256
+ "__schema": "KeywordTypeSchema",
257
+ "location": {
258
+ "filePath": "api-server.main.runtime.ts",
259
+ "line": 35,
260
+ "character": 56
261
+ },
262
+ "name": "boolean"
263
+ },
264
+ "isOptional": false
265
+ }
266
+ ]
267
+ },
268
+ "isOptional": false,
269
+ "isSpread": false
270
+ }
271
+ ],
272
+ "returnType": {
273
+ "__schema": "InferenceTypeSchema",
274
+ "location": {
275
+ "filePath": "api-server.main.runtime.ts",
276
+ "line": 35,
277
+ "character": 3
259
278
  },
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
279
+ "type": "Promise<unknown>"
270
280
  },
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
281
+ "modifiers": [
282
+ "async"
283
+ ]
283
284
  },
284
- "signature": "(property) ApiServerMain.dependencies: Aspect[]",
285
- "name": "dependencies",
286
- "type": {
287
- "__schema": "InferenceTypeSchema",
285
+ {
286
+ "__schema": "VariableLikeSchema",
288
287
  "location": {
289
288
  "filePath": "api-server.main.runtime.ts",
290
289
  "line": 99,
291
290
  "character": 3
292
291
  },
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
292
+ "signature": "(property) ApiServerMain.dependencies: Aspect[]",
293
+ "name": "dependencies",
294
+ "type": {
295
+ "__schema": "InferenceTypeSchema",
296
+ "location": {
297
+ "filePath": "api-server.main.runtime.ts",
298
+ "line": 99,
299
+ "character": 3
300
+ },
301
+ "type": "Aspect[]"
302
+ },
303
+ "isOptional": true,
304
+ "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
305
  },
305
- "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
306
- "name": "runtime",
307
- "type": {
308
- "__schema": "InferenceTypeSchema",
306
+ {
307
+ "__schema": "VariableLikeSchema",
309
308
  "location": {
310
309
  "filePath": "api-server.main.runtime.ts",
311
310
  "line": 117,
312
311
  "character": 3
313
312
  },
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",
313
+ "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
314
+ "name": "runtime",
315
+ "type": {
316
+ "__schema": "InferenceTypeSchema",
331
317
  "location": {
332
318
  "filePath": "api-server.main.runtime.ts",
333
- "line": 118,
334
- "character": 25
319
+ "line": 117,
320
+ "character": 3
335
321
  },
336
- "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
337
- "type": {
338
- "__schema": "TupleTypeSchema",
322
+ "type": "RuntimeDefinition"
323
+ },
324
+ "isOptional": true,
325
+ "defaultValue": "MainRuntime"
326
+ },
327
+ {
328
+ "__schema": "FunctionLikeSchema",
329
+ "location": {
330
+ "filePath": "api-server.main.runtime.ts",
331
+ "line": 118,
332
+ "character": 3
333
+ },
334
+ "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>",
335
+ "name": "provider",
336
+ "params": [
337
+ {
338
+ "__schema": "ParameterSchema",
339
339
  "location": {
340
340
  "filePath": "api-server.main.runtime.ts",
341
- "line": 135,
342
- "character": 6
341
+ "line": 118,
342
+ "character": 25
343
343
  },
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
- }
344
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
345
+ "type": {
346
+ "__schema": "TupleTypeSchema",
347
+ "location": {
348
+ "filePath": "api-server.main.runtime.ts",
349
+ "line": 135,
350
+ "character": 6
357
351
  },
358
- {
359
- "__schema": "TypeRefSchema",
360
- "location": {
361
- "filePath": "api-server.main.runtime.ts",
362
- "line": 137,
363
- "character": 5
352
+ "elements": [
353
+ {
354
+ "__schema": "TypeRefSchema",
355
+ "location": {
356
+ "filePath": "api-server.main.runtime.ts",
357
+ "line": 136,
358
+ "character": 5
359
+ },
360
+ "name": "CLIMain",
361
+ "componentId": {
362
+ "scope": "teambit.harmony",
363
+ "name": "cli"
364
+ }
364
365
  },
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
366
+ {
367
+ "__schema": "TypeRefSchema",
368
+ "location": {
369
+ "filePath": "api-server.main.runtime.ts",
370
+ "line": 137,
371
+ "character": 5
372
+ },
373
+ "name": "Workspace",
374
+ "componentId": {
375
+ "scope": "teambit.workspace",
376
+ "name": "workspace"
377
+ }
377
378
  },
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
379
+ {
380
+ "__schema": "TypeRefSchema",
381
+ "location": {
382
+ "filePath": "api-server.main.runtime.ts",
383
+ "line": 138,
384
+ "character": 5
385
+ },
386
+ "name": "LoggerMain",
387
+ "componentId": {
388
+ "scope": "teambit.harmony",
389
+ "name": "logger"
390
+ }
390
391
  },
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
392
+ {
393
+ "__schema": "TypeRefSchema",
394
+ "location": {
395
+ "filePath": "api-server.main.runtime.ts",
396
+ "line": 139,
397
+ "character": 5
398
+ },
399
+ "name": "ExpressMain",
400
+ "componentId": {
401
+ "scope": "teambit.harmony",
402
+ "name": "express"
403
+ }
403
404
  },
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
405
+ {
406
+ "__schema": "TypeRefSchema",
407
+ "location": {
408
+ "filePath": "api-server.main.runtime.ts",
409
+ "line": 140,
410
+ "character": 5
411
+ },
412
+ "name": "WatcherMain",
413
+ "componentId": {
414
+ "scope": "teambit.workspace",
415
+ "name": "watcher"
416
+ }
416
417
  },
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
418
+ {
419
+ "__schema": "TypeRefSchema",
420
+ "location": {
421
+ "filePath": "api-server.main.runtime.ts",
422
+ "line": 141,
423
+ "character": 5
424
+ },
425
+ "name": "SnappingMain",
426
+ "componentId": {
427
+ "scope": "teambit.component",
428
+ "name": "snapping"
429
+ }
429
430
  },
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
431
+ {
432
+ "__schema": "TypeRefSchema",
433
+ "location": {
434
+ "filePath": "api-server.main.runtime.ts",
435
+ "line": 142,
436
+ "character": 5
437
+ },
438
+ "name": "LanesMain",
439
+ "componentId": {
440
+ "scope": "teambit.lanes",
441
+ "name": "lanes"
442
+ }
442
443
  },
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
444
+ {
445
+ "__schema": "TypeRefSchema",
446
+ "location": {
447
+ "filePath": "api-server.main.runtime.ts",
448
+ "line": 143,
449
+ "character": 5
450
+ },
451
+ "name": "InstallMain",
452
+ "componentId": {
453
+ "scope": "teambit.workspace",
454
+ "name": "install"
455
+ }
455
456
  },
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
457
+ {
458
+ "__schema": "TypeRefSchema",
459
+ "location": {
460
+ "filePath": "api-server.main.runtime.ts",
461
+ "line": 144,
462
+ "character": 5
463
+ },
464
+ "name": "ExportMain",
465
+ "componentId": {
466
+ "scope": "teambit.scope",
467
+ "name": "export"
468
+ }
468
469
  },
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
470
+ {
471
+ "__schema": "TypeRefSchema",
472
+ "location": {
473
+ "filePath": "api-server.main.runtime.ts",
474
+ "line": 145,
475
+ "character": 5
476
+ },
477
+ "name": "CheckoutMain",
478
+ "componentId": {
479
+ "scope": "teambit.component",
480
+ "name": "checkout"
481
+ }
481
482
  },
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
483
+ {
484
+ "__schema": "TypeRefSchema",
485
+ "location": {
486
+ "filePath": "api-server.main.runtime.ts",
487
+ "line": 146,
488
+ "character": 5
489
+ },
490
+ "name": "ComponentLogMain",
491
+ "componentId": {
492
+ "scope": "teambit.component",
493
+ "name": "component-log"
494
+ }
494
495
  },
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
496
+ {
497
+ "__schema": "TypeRefSchema",
498
+ "location": {
499
+ "filePath": "api-server.main.runtime.ts",
500
+ "line": 147,
501
+ "character": 5
502
+ },
503
+ "name": "ImporterMain",
504
+ "componentId": {
505
+ "scope": "teambit.scope",
506
+ "name": "importer"
507
+ }
507
508
  },
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
509
+ {
510
+ "__schema": "TypeRefSchema",
511
+ "location": {
512
+ "filePath": "api-server.main.runtime.ts",
513
+ "line": 148,
514
+ "character": 5
515
+ },
516
+ "name": "ComponentCompareMain",
517
+ "componentId": {
518
+ "scope": "teambit.component",
519
+ "name": "component-compare"
520
+ }
520
521
  },
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
522
+ {
523
+ "__schema": "TypeRefSchema",
524
+ "location": {
525
+ "filePath": "api-server.main.runtime.ts",
526
+ "line": 149,
527
+ "character": 5
528
+ },
529
+ "name": "GeneratorMain",
530
+ "componentId": {
531
+ "scope": "teambit.generator",
532
+ "name": "generator"
533
+ }
533
534
  },
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
535
+ {
536
+ "__schema": "TypeRefSchema",
537
+ "location": {
538
+ "filePath": "api-server.main.runtime.ts",
539
+ "line": 150,
540
+ "character": 5
541
+ },
542
+ "name": "RemoveMain",
543
+ "componentId": {
544
+ "scope": "teambit.component",
545
+ "name": "remove"
546
+ }
546
547
  },
547
- "name": "ConfigMain",
548
- "componentId": {
549
- "scope": "teambit.harmony",
550
- "name": "config"
548
+ {
549
+ "__schema": "TypeRefSchema",
550
+ "location": {
551
+ "filePath": "api-server.main.runtime.ts",
552
+ "line": 151,
553
+ "character": 5
554
+ },
555
+ "name": "ConfigMain",
556
+ "componentId": {
557
+ "scope": "teambit.harmony",
558
+ "name": "config"
559
+ }
551
560
  }
552
- }
553
- ]
561
+ ]
562
+ },
563
+ "isOptional": false,
564
+ "isSpread": false
565
+ }
566
+ ],
567
+ "returnType": {
568
+ "__schema": "InferenceTypeSchema",
569
+ "location": {
570
+ "filePath": "api-server.main.runtime.ts",
571
+ "line": 118,
572
+ "character": 3
554
573
  },
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
574
+ "type": "Promise<ApiServerMain>"
565
575
  },
566
- "type": "Promise<ApiServerMain>"
567
- },
568
- "modifiers": [
569
- "static",
570
- "async"
571
- ]
572
- }
573
- ],
574
- "extendsNodes": [],
575
- "implementNodes": []
576
+ "modifiers": [
577
+ "static",
578
+ "async"
579
+ ]
580
+ }
581
+ ],
582
+ "extendsNodes": [],
583
+ "implementNodes": []
584
+ }
576
585
  },
577
586
  {
578
587
  "__schema": "UnImplementedSchema",
@@ -585,30 +594,39 @@
585
594
  "type": "Identifier"
586
595
  },
587
596
  {
588
- "__schema": "VariableLikeSchema",
597
+ "__schema": "ExportSchema",
589
598
  "location": {
590
- "filePath": "api-server.aspect.ts",
591
- "line": 3,
592
- "character": 14
599
+ "filePath": "index.ts",
600
+ "line": 5,
601
+ "character": 10
593
602
  },
594
- "signature": "const ApiServerAspect: Aspect",
595
603
  "name": "ApiServerAspect",
596
- "type": {
597
- "__schema": "TypeRefSchema",
604
+ "exportNode": {
605
+ "__schema": "VariableLikeSchema",
598
606
  "location": {
599
607
  "filePath": "api-server.aspect.ts",
600
608
  "line": 3,
601
609
  "character": 14
602
610
  },
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})"
611
+ "signature": "const ApiServerAspect: Aspect",
612
+ "name": "ApiServerAspect",
613
+ "type": {
614
+ "__schema": "TypeRefSchema",
615
+ "location": {
616
+ "filePath": "api-server.aspect.ts",
617
+ "line": 3,
618
+ "character": 14
619
+ },
620
+ "name": "Aspect",
621
+ "componentId": {
622
+ "scope": "teambit.harmony",
623
+ "name": "harmony",
624
+ "version": "0.4.6"
625
+ }
626
+ },
627
+ "isOptional": false,
628
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
629
+ }
612
630
  }
613
631
  ],
614
632
  "internals": []
@@ -1248,7 +1266,7 @@
1248
1266
  "componentId": {
1249
1267
  "scope": "teambit.harmony",
1250
1268
  "name": "api-server",
1251
- "version": "1.0.257"
1269
+ "version": "1.0.259"
1252
1270
  },
1253
1271
  "taggedModuleExports": []
1254
1272
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/api-server",
3
- "version": "1.0.257",
3
+ "version": "1.0.259",
4
4
  "homepage": "https://bit.cloud/teambit/harmony/api-server",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.harmony",
8
8
  "name": "api-server",
9
- "version": "1.0.257"
9
+ "version": "1.0.259"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -14,24 +14,24 @@
14
14
  "p-map": "4.0.0",
15
15
  "pretty-time": "1.1.0",
16
16
  "@teambit/harmony": "0.4.6",
17
- "@teambit/checkout": "1.0.257",
18
- "@teambit/component-compare": "1.0.257",
19
- "@teambit/component-log": "1.0.257",
20
- "@teambit/config": "0.0.1008",
21
- "@teambit/export": "1.0.257",
22
- "@teambit/generator": "1.0.258",
23
- "@teambit/install": "1.0.257",
24
- "@teambit/lanes": "1.0.257",
25
- "@teambit/merging": "1.0.257",
26
- "@teambit/remove": "1.0.257",
27
- "@teambit/snapping": "1.0.257",
28
- "@teambit/workspace": "1.0.257",
29
- "@teambit/cli": "0.0.862",
30
- "@teambit/component": "1.0.257",
31
- "@teambit/express": "0.0.961",
32
- "@teambit/importer": "1.0.257",
33
- "@teambit/logger": "0.0.955",
34
- "@teambit/watcher": "1.0.257"
17
+ "@teambit/checkout": "1.0.259",
18
+ "@teambit/component-compare": "1.0.259",
19
+ "@teambit/component-log": "1.0.259",
20
+ "@teambit/config": "0.0.1010",
21
+ "@teambit/export": "1.0.259",
22
+ "@teambit/generator": "1.0.260",
23
+ "@teambit/install": "1.0.259",
24
+ "@teambit/lanes": "1.0.259",
25
+ "@teambit/merging": "1.0.259",
26
+ "@teambit/remove": "1.0.259",
27
+ "@teambit/snapping": "1.0.259",
28
+ "@teambit/workspace": "1.0.259",
29
+ "@teambit/cli": "0.0.863",
30
+ "@teambit/component": "1.0.259",
31
+ "@teambit/express": "0.0.962",
32
+ "@teambit/importer": "1.0.259",
33
+ "@teambit/logger": "0.0.956",
34
+ "@teambit/watcher": "1.0.259"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/fs-extra": "9.0.7",