@teambit/api-server 1.0.387 → 1.0.389

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.
@@ -25,7 +25,7 @@
25
25
  "__schema": "ClassSchema",
26
26
  "location": {
27
27
  "filePath": "api-server.main.runtime.ts",
28
- "line": 32,
28
+ "line": 35,
29
29
  "character": 1
30
30
  },
31
31
  "signature": "class ApiServerMain",
@@ -35,7 +35,7 @@
35
35
  "__schema": "ConstructorSchema",
36
36
  "location": {
37
37
  "filePath": "api-server.main.runtime.ts",
38
- "line": 33,
38
+ "line": 36,
39
39
  "character": 3
40
40
  },
41
41
  "signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
@@ -45,7 +45,7 @@
45
45
  "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "api-server.main.runtime.ts",
48
- "line": 34,
48
+ "line": 37,
49
49
  "character": 5
50
50
  },
51
51
  "name": "workspace",
@@ -53,7 +53,7 @@
53
53
  "__schema": "TypeRefSchema",
54
54
  "location": {
55
55
  "filePath": "api-server.main.runtime.ts",
56
- "line": 34,
56
+ "line": 37,
57
57
  "character": 24
58
58
  },
59
59
  "name": "Workspace"
@@ -65,7 +65,7 @@
65
65
  "__schema": "ParameterSchema",
66
66
  "location": {
67
67
  "filePath": "api-server.main.runtime.ts",
68
- "line": 35,
68
+ "line": 38,
69
69
  "character": 5
70
70
  },
71
71
  "name": "logger",
@@ -73,7 +73,7 @@
73
73
  "__schema": "TypeRefSchema",
74
74
  "location": {
75
75
  "filePath": "api-server.main.runtime.ts",
76
- "line": 35,
76
+ "line": 38,
77
77
  "character": 21
78
78
  },
79
79
  "name": "Logger"
@@ -85,7 +85,7 @@
85
85
  "__schema": "ParameterSchema",
86
86
  "location": {
87
87
  "filePath": "api-server.main.runtime.ts",
88
- "line": 36,
88
+ "line": 39,
89
89
  "character": 5
90
90
  },
91
91
  "name": "express",
@@ -93,7 +93,7 @@
93
93
  "__schema": "TypeRefSchema",
94
94
  "location": {
95
95
  "filePath": "api-server.main.runtime.ts",
96
- "line": 36,
96
+ "line": 39,
97
97
  "character": 22
98
98
  },
99
99
  "name": "ExpressMain"
@@ -105,7 +105,7 @@
105
105
  "__schema": "ParameterSchema",
106
106
  "location": {
107
107
  "filePath": "api-server.main.runtime.ts",
108
- "line": 37,
108
+ "line": 40,
109
109
  "character": 5
110
110
  },
111
111
  "name": "watcher",
@@ -113,7 +113,7 @@
113
113
  "__schema": "TypeRefSchema",
114
114
  "location": {
115
115
  "filePath": "api-server.main.runtime.ts",
116
- "line": 37,
116
+ "line": 40,
117
117
  "character": 22
118
118
  },
119
119
  "name": "WatcherMain"
@@ -125,7 +125,7 @@
125
125
  "__schema": "ParameterSchema",
126
126
  "location": {
127
127
  "filePath": "api-server.main.runtime.ts",
128
- "line": 38,
128
+ "line": 41,
129
129
  "character": 5
130
130
  },
131
131
  "name": "installer",
@@ -133,7 +133,7 @@
133
133
  "__schema": "TypeRefSchema",
134
134
  "location": {
135
135
  "filePath": "api-server.main.runtime.ts",
136
- "line": 38,
136
+ "line": 41,
137
137
  "character": 24
138
138
  },
139
139
  "name": "InstallMain"
@@ -145,7 +145,7 @@
145
145
  "__schema": "ParameterSchema",
146
146
  "location": {
147
147
  "filePath": "api-server.main.runtime.ts",
148
- "line": 39,
148
+ "line": 42,
149
149
  "character": 5
150
150
  },
151
151
  "name": "importer",
@@ -153,7 +153,7 @@
153
153
  "__schema": "TypeRefSchema",
154
154
  "location": {
155
155
  "filePath": "api-server.main.runtime.ts",
156
- "line": 39,
156
+ "line": 42,
157
157
  "character": 23
158
158
  },
159
159
  "name": "ImporterMain"
@@ -166,7 +166,7 @@
166
166
  "__schema": "ThisTypeSchema",
167
167
  "location": {
168
168
  "filePath": "api-server.main.runtime.ts",
169
- "line": 32,
169
+ "line": 35,
170
170
  "character": 1
171
171
  },
172
172
  "name": "ApiServerMain"
@@ -177,7 +177,7 @@
177
177
  "__schema": "FunctionLikeSchema",
178
178
  "location": {
179
179
  "filePath": "api-server.main.runtime.ts",
180
- "line": 42,
180
+ "line": 45,
181
181
  "character": 3
182
182
  },
183
183
  "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
@@ -187,7 +187,7 @@
187
187
  "__schema": "ParameterSchema",
188
188
  "location": {
189
189
  "filePath": "api-server.main.runtime.ts",
190
- "line": 42,
190
+ "line": 45,
191
191
  "character": 22
192
192
  },
193
193
  "name": "options",
@@ -195,7 +195,7 @@
195
195
  "__schema": "TypeLiteralSchema",
196
196
  "location": {
197
197
  "filePath": "api-server.main.runtime.ts",
198
- "line": 42,
198
+ "line": 45,
199
199
  "character": 31
200
200
  },
201
201
  "members": [
@@ -203,7 +203,7 @@
203
203
  "__schema": "VariableLikeSchema",
204
204
  "location": {
205
205
  "filePath": "api-server.main.runtime.ts",
206
- "line": 42,
206
+ "line": 45,
207
207
  "character": 33
208
208
  },
209
209
  "signature": "(property) port: number",
@@ -212,7 +212,7 @@
212
212
  "__schema": "KeywordTypeSchema",
213
213
  "location": {
214
214
  "filePath": "api-server.main.runtime.ts",
215
- "line": 42,
215
+ "line": 45,
216
216
  "character": 39
217
217
  },
218
218
  "name": "number"
@@ -223,7 +223,7 @@
223
223
  "__schema": "VariableLikeSchema",
224
224
  "location": {
225
225
  "filePath": "api-server.main.runtime.ts",
226
- "line": 42,
226
+ "line": 45,
227
227
  "character": 47
228
228
  },
229
229
  "signature": "(property) compile: boolean",
@@ -232,7 +232,7 @@
232
232
  "__schema": "KeywordTypeSchema",
233
233
  "location": {
234
234
  "filePath": "api-server.main.runtime.ts",
235
- "line": 42,
235
+ "line": 45,
236
236
  "character": 56
237
237
  },
238
238
  "name": "boolean"
@@ -249,7 +249,7 @@
249
249
  "__schema": "InferenceTypeSchema",
250
250
  "location": {
251
251
  "filePath": "api-server.main.runtime.ts",
252
- "line": 42,
252
+ "line": 45,
253
253
  "character": 3
254
254
  },
255
255
  "type": "Promise<unknown>"
@@ -262,7 +262,7 @@
262
262
  "__schema": "FunctionLikeSchema",
263
263
  "location": {
264
264
  "filePath": "api-server.main.runtime.ts",
265
- "line": 143,
265
+ "line": 146,
266
266
  "character": 3
267
267
  },
268
268
  "signature": "(method) ApiServerMain.writeUsedPort(port: number): void",
@@ -272,7 +272,7 @@
272
272
  "__schema": "ParameterSchema",
273
273
  "location": {
274
274
  "filePath": "api-server.main.runtime.ts",
275
- "line": 143,
275
+ "line": 146,
276
276
  "character": 17
277
277
  },
278
278
  "name": "port",
@@ -280,7 +280,7 @@
280
280
  "__schema": "KeywordTypeSchema",
281
281
  "location": {
282
282
  "filePath": "api-server.main.runtime.ts",
283
- "line": 143,
283
+ "line": 146,
284
284
  "character": 23
285
285
  },
286
286
  "name": "number"
@@ -293,7 +293,7 @@
293
293
  "__schema": "InferenceTypeSchema",
294
294
  "location": {
295
295
  "filePath": "api-server.main.runtime.ts",
296
- "line": 143,
296
+ "line": 146,
297
297
  "character": 3
298
298
  },
299
299
  "type": "void"
@@ -304,7 +304,7 @@
304
304
  "__schema": "FunctionLikeSchema",
305
305
  "location": {
306
306
  "filePath": "api-server.main.runtime.ts",
307
- "line": 148,
307
+ "line": 151,
308
308
  "character": 3
309
309
  },
310
310
  "signature": "(method) ApiServerMain.getRandomPort(): Promise<number>",
@@ -314,7 +314,7 @@
314
314
  "__schema": "InferenceTypeSchema",
315
315
  "location": {
316
316
  "filePath": "api-server.main.runtime.ts",
317
- "line": 148,
317
+ "line": 151,
318
318
  "character": 3
319
319
  },
320
320
  "type": "Promise<number>"
@@ -327,7 +327,7 @@
327
327
  "__schema": "FunctionLikeSchema",
328
328
  "location": {
329
329
  "filePath": "api-server.main.runtime.ts",
330
- "line": 156,
330
+ "line": 159,
331
331
  "character": 3
332
332
  },
333
333
  "signature": "(method) ApiServerMain.getExistingUsedPort(): Promise<number | undefined>",
@@ -337,7 +337,7 @@
337
337
  "__schema": "TypeRefSchema",
338
338
  "location": {
339
339
  "filePath": "api-server.main.runtime.ts",
340
- "line": 156,
340
+ "line": 159,
341
341
  "character": 32
342
342
  },
343
343
  "name": "Promise",
@@ -346,7 +346,7 @@
346
346
  "__schema": "TypeUnionSchema",
347
347
  "location": {
348
348
  "filePath": "api-server.main.runtime.ts",
349
- "line": 156,
349
+ "line": 159,
350
350
  "character": 40
351
351
  },
352
352
  "types": [
@@ -354,7 +354,7 @@
354
354
  "__schema": "KeywordTypeSchema",
355
355
  "location": {
356
356
  "filePath": "api-server.main.runtime.ts",
357
- "line": 156,
357
+ "line": 159,
358
358
  "character": 40
359
359
  },
360
360
  "name": "number"
@@ -363,7 +363,7 @@
363
363
  "__schema": "KeywordTypeSchema",
364
364
  "location": {
365
365
  "filePath": "api-server.main.runtime.ts",
366
- "line": 156,
366
+ "line": 159,
367
367
  "character": 49
368
368
  },
369
369
  "name": "undefined"
@@ -380,7 +380,7 @@
380
380
  "__schema": "VariableLikeSchema",
381
381
  "location": {
382
382
  "filePath": "api-server.main.runtime.ts",
383
- "line": 173,
383
+ "line": 176,
384
384
  "character": 3
385
385
  },
386
386
  "signature": "(property) ApiServerMain.dependencies: Aspect[]",
@@ -389,19 +389,19 @@
389
389
  "__schema": "InferenceTypeSchema",
390
390
  "location": {
391
391
  "filePath": "api-server.main.runtime.ts",
392
- "line": 173,
392
+ "line": 176,
393
393
  "character": 3
394
394
  },
395
395
  "type": "Aspect[]"
396
396
  },
397
397
  "isOptional": true,
398
- "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 ]"
398
+ "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 ApplicationAspect,\n DeprecationAspect,\n EnvsAspect,\n ]"
399
399
  },
400
400
  {
401
401
  "__schema": "VariableLikeSchema",
402
402
  "location": {
403
403
  "filePath": "api-server.main.runtime.ts",
404
- "line": 191,
404
+ "line": 197,
405
405
  "character": 3
406
406
  },
407
407
  "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
@@ -410,7 +410,7 @@
410
410
  "__schema": "InferenceTypeSchema",
411
411
  "location": {
412
412
  "filePath": "api-server.main.runtime.ts",
413
- "line": 191,
413
+ "line": 197,
414
414
  "character": 3
415
415
  },
416
416
  "type": "RuntimeDefinition"
@@ -422,25 +422,25 @@
422
422
  "__schema": "FunctionLikeSchema",
423
423
  "location": {
424
424
  "filePath": "api-server.main.runtime.ts",
425
- "line": 192,
425
+ "line": 198,
426
426
  "character": 3
427
427
  },
428
- "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>",
428
+ "signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs,]: [\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 ApplicationMain,\n DeprecationMain,\n EnvsMain\n]): Promise<ApiServerMain>",
429
429
  "name": "provider",
430
430
  "params": [
431
431
  {
432
432
  "__schema": "ParameterSchema",
433
433
  "location": {
434
434
  "filePath": "api-server.main.runtime.ts",
435
- "line": 192,
435
+ "line": 198,
436
436
  "character": 25
437
437
  },
438
- "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
438
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs ]",
439
439
  "type": {
440
440
  "__schema": "TupleTypeSchema",
441
441
  "location": {
442
442
  "filePath": "api-server.main.runtime.ts",
443
- "line": 209,
443
+ "line": 218,
444
444
  "character": 6
445
445
  },
446
446
  "elements": [
@@ -448,7 +448,7 @@
448
448
  "__schema": "TypeRefSchema",
449
449
  "location": {
450
450
  "filePath": "api-server.main.runtime.ts",
451
- "line": 210,
451
+ "line": 219,
452
452
  "character": 5
453
453
  },
454
454
  "name": "CLIMain"
@@ -457,7 +457,7 @@
457
457
  "__schema": "TypeRefSchema",
458
458
  "location": {
459
459
  "filePath": "api-server.main.runtime.ts",
460
- "line": 211,
460
+ "line": 220,
461
461
  "character": 5
462
462
  },
463
463
  "name": "Workspace"
@@ -466,7 +466,7 @@
466
466
  "__schema": "TypeRefSchema",
467
467
  "location": {
468
468
  "filePath": "api-server.main.runtime.ts",
469
- "line": 212,
469
+ "line": 221,
470
470
  "character": 5
471
471
  },
472
472
  "name": "LoggerMain"
@@ -475,7 +475,7 @@
475
475
  "__schema": "TypeRefSchema",
476
476
  "location": {
477
477
  "filePath": "api-server.main.runtime.ts",
478
- "line": 213,
478
+ "line": 222,
479
479
  "character": 5
480
480
  },
481
481
  "name": "ExpressMain"
@@ -484,7 +484,7 @@
484
484
  "__schema": "TypeRefSchema",
485
485
  "location": {
486
486
  "filePath": "api-server.main.runtime.ts",
487
- "line": 214,
487
+ "line": 223,
488
488
  "character": 5
489
489
  },
490
490
  "name": "WatcherMain"
@@ -493,7 +493,7 @@
493
493
  "__schema": "TypeRefSchema",
494
494
  "location": {
495
495
  "filePath": "api-server.main.runtime.ts",
496
- "line": 215,
496
+ "line": 224,
497
497
  "character": 5
498
498
  },
499
499
  "name": "SnappingMain"
@@ -502,7 +502,7 @@
502
502
  "__schema": "TypeRefSchema",
503
503
  "location": {
504
504
  "filePath": "api-server.main.runtime.ts",
505
- "line": 216,
505
+ "line": 225,
506
506
  "character": 5
507
507
  },
508
508
  "name": "LanesMain"
@@ -511,7 +511,7 @@
511
511
  "__schema": "TypeRefSchema",
512
512
  "location": {
513
513
  "filePath": "api-server.main.runtime.ts",
514
- "line": 217,
514
+ "line": 226,
515
515
  "character": 5
516
516
  },
517
517
  "name": "InstallMain"
@@ -520,7 +520,7 @@
520
520
  "__schema": "TypeRefSchema",
521
521
  "location": {
522
522
  "filePath": "api-server.main.runtime.ts",
523
- "line": 218,
523
+ "line": 227,
524
524
  "character": 5
525
525
  },
526
526
  "name": "ExportMain"
@@ -529,7 +529,7 @@
529
529
  "__schema": "TypeRefSchema",
530
530
  "location": {
531
531
  "filePath": "api-server.main.runtime.ts",
532
- "line": 219,
532
+ "line": 228,
533
533
  "character": 5
534
534
  },
535
535
  "name": "CheckoutMain"
@@ -538,7 +538,7 @@
538
538
  "__schema": "TypeRefSchema",
539
539
  "location": {
540
540
  "filePath": "api-server.main.runtime.ts",
541
- "line": 220,
541
+ "line": 229,
542
542
  "character": 5
543
543
  },
544
544
  "name": "ComponentLogMain"
@@ -547,7 +547,7 @@
547
547
  "__schema": "TypeRefSchema",
548
548
  "location": {
549
549
  "filePath": "api-server.main.runtime.ts",
550
- "line": 221,
550
+ "line": 230,
551
551
  "character": 5
552
552
  },
553
553
  "name": "ImporterMain"
@@ -556,7 +556,7 @@
556
556
  "__schema": "TypeRefSchema",
557
557
  "location": {
558
558
  "filePath": "api-server.main.runtime.ts",
559
- "line": 222,
559
+ "line": 231,
560
560
  "character": 5
561
561
  },
562
562
  "name": "ComponentCompareMain"
@@ -565,7 +565,7 @@
565
565
  "__schema": "TypeRefSchema",
566
566
  "location": {
567
567
  "filePath": "api-server.main.runtime.ts",
568
- "line": 223,
568
+ "line": 232,
569
569
  "character": 5
570
570
  },
571
571
  "name": "GeneratorMain"
@@ -574,7 +574,7 @@
574
574
  "__schema": "TypeRefSchema",
575
575
  "location": {
576
576
  "filePath": "api-server.main.runtime.ts",
577
- "line": 224,
577
+ "line": 233,
578
578
  "character": 5
579
579
  },
580
580
  "name": "RemoveMain"
@@ -583,10 +583,37 @@
583
583
  "__schema": "TypeRefSchema",
584
584
  "location": {
585
585
  "filePath": "api-server.main.runtime.ts",
586
- "line": 225,
586
+ "line": 234,
587
587
  "character": 5
588
588
  },
589
589
  "name": "ConfigMain"
590
+ },
591
+ {
592
+ "__schema": "TypeRefSchema",
593
+ "location": {
594
+ "filePath": "api-server.main.runtime.ts",
595
+ "line": 235,
596
+ "character": 5
597
+ },
598
+ "name": "ApplicationMain"
599
+ },
600
+ {
601
+ "__schema": "TypeRefSchema",
602
+ "location": {
603
+ "filePath": "api-server.main.runtime.ts",
604
+ "line": 236,
605
+ "character": 5
606
+ },
607
+ "name": "DeprecationMain"
608
+ },
609
+ {
610
+ "__schema": "TypeRefSchema",
611
+ "location": {
612
+ "filePath": "api-server.main.runtime.ts",
613
+ "line": 237,
614
+ "character": 5
615
+ },
616
+ "name": "EnvsMain"
590
617
  }
591
618
  ]
592
619
  },
@@ -598,7 +625,7 @@
598
625
  "__schema": "InferenceTypeSchema",
599
626
  "location": {
600
627
  "filePath": "api-server.main.runtime.ts",
601
- "line": 192,
628
+ "line": 198,
602
629
  "character": 3
603
630
  },
604
631
  "type": "Promise<ApiServerMain>"
@@ -674,7 +701,7 @@
674
701
  "__schema": "ClassSchema",
675
702
  "location": {
676
703
  "filePath": "api-server.main.runtime.ts",
677
- "line": 32,
704
+ "line": 35,
678
705
  "character": 1
679
706
  },
680
707
  "signature": "class ApiServerMain",
@@ -684,7 +711,7 @@
684
711
  "__schema": "ConstructorSchema",
685
712
  "location": {
686
713
  "filePath": "api-server.main.runtime.ts",
687
- "line": 33,
714
+ "line": 36,
688
715
  "character": 3
689
716
  },
690
717
  "signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
@@ -694,7 +721,7 @@
694
721
  "__schema": "ParameterSchema",
695
722
  "location": {
696
723
  "filePath": "api-server.main.runtime.ts",
697
- "line": 34,
724
+ "line": 37,
698
725
  "character": 5
699
726
  },
700
727
  "name": "workspace",
@@ -702,7 +729,7 @@
702
729
  "__schema": "TypeRefSchema",
703
730
  "location": {
704
731
  "filePath": "api-server.main.runtime.ts",
705
- "line": 34,
732
+ "line": 37,
706
733
  "character": 24
707
734
  },
708
735
  "name": "Workspace"
@@ -714,7 +741,7 @@
714
741
  "__schema": "ParameterSchema",
715
742
  "location": {
716
743
  "filePath": "api-server.main.runtime.ts",
717
- "line": 35,
744
+ "line": 38,
718
745
  "character": 5
719
746
  },
720
747
  "name": "logger",
@@ -722,7 +749,7 @@
722
749
  "__schema": "TypeRefSchema",
723
750
  "location": {
724
751
  "filePath": "api-server.main.runtime.ts",
725
- "line": 35,
752
+ "line": 38,
726
753
  "character": 21
727
754
  },
728
755
  "name": "Logger"
@@ -734,7 +761,7 @@
734
761
  "__schema": "ParameterSchema",
735
762
  "location": {
736
763
  "filePath": "api-server.main.runtime.ts",
737
- "line": 36,
764
+ "line": 39,
738
765
  "character": 5
739
766
  },
740
767
  "name": "express",
@@ -742,7 +769,7 @@
742
769
  "__schema": "TypeRefSchema",
743
770
  "location": {
744
771
  "filePath": "api-server.main.runtime.ts",
745
- "line": 36,
772
+ "line": 39,
746
773
  "character": 22
747
774
  },
748
775
  "name": "ExpressMain"
@@ -754,7 +781,7 @@
754
781
  "__schema": "ParameterSchema",
755
782
  "location": {
756
783
  "filePath": "api-server.main.runtime.ts",
757
- "line": 37,
784
+ "line": 40,
758
785
  "character": 5
759
786
  },
760
787
  "name": "watcher",
@@ -762,7 +789,7 @@
762
789
  "__schema": "TypeRefSchema",
763
790
  "location": {
764
791
  "filePath": "api-server.main.runtime.ts",
765
- "line": 37,
792
+ "line": 40,
766
793
  "character": 22
767
794
  },
768
795
  "name": "WatcherMain"
@@ -774,7 +801,7 @@
774
801
  "__schema": "ParameterSchema",
775
802
  "location": {
776
803
  "filePath": "api-server.main.runtime.ts",
777
- "line": 38,
804
+ "line": 41,
778
805
  "character": 5
779
806
  },
780
807
  "name": "installer",
@@ -782,7 +809,7 @@
782
809
  "__schema": "TypeRefSchema",
783
810
  "location": {
784
811
  "filePath": "api-server.main.runtime.ts",
785
- "line": 38,
812
+ "line": 41,
786
813
  "character": 24
787
814
  },
788
815
  "name": "InstallMain"
@@ -794,7 +821,7 @@
794
821
  "__schema": "ParameterSchema",
795
822
  "location": {
796
823
  "filePath": "api-server.main.runtime.ts",
797
- "line": 39,
824
+ "line": 42,
798
825
  "character": 5
799
826
  },
800
827
  "name": "importer",
@@ -802,7 +829,7 @@
802
829
  "__schema": "TypeRefSchema",
803
830
  "location": {
804
831
  "filePath": "api-server.main.runtime.ts",
805
- "line": 39,
832
+ "line": 42,
806
833
  "character": 23
807
834
  },
808
835
  "name": "ImporterMain"
@@ -815,7 +842,7 @@
815
842
  "__schema": "ThisTypeSchema",
816
843
  "location": {
817
844
  "filePath": "api-server.main.runtime.ts",
818
- "line": 32,
845
+ "line": 35,
819
846
  "character": 1
820
847
  },
821
848
  "name": "ApiServerMain"
@@ -826,7 +853,7 @@
826
853
  "__schema": "FunctionLikeSchema",
827
854
  "location": {
828
855
  "filePath": "api-server.main.runtime.ts",
829
- "line": 42,
856
+ "line": 45,
830
857
  "character": 3
831
858
  },
832
859
  "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
@@ -836,7 +863,7 @@
836
863
  "__schema": "ParameterSchema",
837
864
  "location": {
838
865
  "filePath": "api-server.main.runtime.ts",
839
- "line": 42,
866
+ "line": 45,
840
867
  "character": 22
841
868
  },
842
869
  "name": "options",
@@ -844,7 +871,7 @@
844
871
  "__schema": "TypeLiteralSchema",
845
872
  "location": {
846
873
  "filePath": "api-server.main.runtime.ts",
847
- "line": 42,
874
+ "line": 45,
848
875
  "character": 31
849
876
  },
850
877
  "members": [
@@ -852,7 +879,7 @@
852
879
  "__schema": "VariableLikeSchema",
853
880
  "location": {
854
881
  "filePath": "api-server.main.runtime.ts",
855
- "line": 42,
882
+ "line": 45,
856
883
  "character": 33
857
884
  },
858
885
  "signature": "(property) port: number",
@@ -861,7 +888,7 @@
861
888
  "__schema": "KeywordTypeSchema",
862
889
  "location": {
863
890
  "filePath": "api-server.main.runtime.ts",
864
- "line": 42,
891
+ "line": 45,
865
892
  "character": 39
866
893
  },
867
894
  "name": "number"
@@ -872,7 +899,7 @@
872
899
  "__schema": "VariableLikeSchema",
873
900
  "location": {
874
901
  "filePath": "api-server.main.runtime.ts",
875
- "line": 42,
902
+ "line": 45,
876
903
  "character": 47
877
904
  },
878
905
  "signature": "(property) compile: boolean",
@@ -881,7 +908,7 @@
881
908
  "__schema": "KeywordTypeSchema",
882
909
  "location": {
883
910
  "filePath": "api-server.main.runtime.ts",
884
- "line": 42,
911
+ "line": 45,
885
912
  "character": 56
886
913
  },
887
914
  "name": "boolean"
@@ -898,7 +925,7 @@
898
925
  "__schema": "InferenceTypeSchema",
899
926
  "location": {
900
927
  "filePath": "api-server.main.runtime.ts",
901
- "line": 42,
928
+ "line": 45,
902
929
  "character": 3
903
930
  },
904
931
  "type": "Promise<unknown>"
@@ -911,7 +938,7 @@
911
938
  "__schema": "FunctionLikeSchema",
912
939
  "location": {
913
940
  "filePath": "api-server.main.runtime.ts",
914
- "line": 143,
941
+ "line": 146,
915
942
  "character": 3
916
943
  },
917
944
  "signature": "(method) ApiServerMain.writeUsedPort(port: number): void",
@@ -921,7 +948,7 @@
921
948
  "__schema": "ParameterSchema",
922
949
  "location": {
923
950
  "filePath": "api-server.main.runtime.ts",
924
- "line": 143,
951
+ "line": 146,
925
952
  "character": 17
926
953
  },
927
954
  "name": "port",
@@ -929,7 +956,7 @@
929
956
  "__schema": "KeywordTypeSchema",
930
957
  "location": {
931
958
  "filePath": "api-server.main.runtime.ts",
932
- "line": 143,
959
+ "line": 146,
933
960
  "character": 23
934
961
  },
935
962
  "name": "number"
@@ -942,7 +969,7 @@
942
969
  "__schema": "InferenceTypeSchema",
943
970
  "location": {
944
971
  "filePath": "api-server.main.runtime.ts",
945
- "line": 143,
972
+ "line": 146,
946
973
  "character": 3
947
974
  },
948
975
  "type": "void"
@@ -953,7 +980,7 @@
953
980
  "__schema": "FunctionLikeSchema",
954
981
  "location": {
955
982
  "filePath": "api-server.main.runtime.ts",
956
- "line": 148,
983
+ "line": 151,
957
984
  "character": 3
958
985
  },
959
986
  "signature": "(method) ApiServerMain.getRandomPort(): Promise<number>",
@@ -963,7 +990,7 @@
963
990
  "__schema": "InferenceTypeSchema",
964
991
  "location": {
965
992
  "filePath": "api-server.main.runtime.ts",
966
- "line": 148,
993
+ "line": 151,
967
994
  "character": 3
968
995
  },
969
996
  "type": "Promise<number>"
@@ -976,7 +1003,7 @@
976
1003
  "__schema": "FunctionLikeSchema",
977
1004
  "location": {
978
1005
  "filePath": "api-server.main.runtime.ts",
979
- "line": 156,
1006
+ "line": 159,
980
1007
  "character": 3
981
1008
  },
982
1009
  "signature": "(method) ApiServerMain.getExistingUsedPort(): Promise<number | undefined>",
@@ -986,7 +1013,7 @@
986
1013
  "__schema": "TypeRefSchema",
987
1014
  "location": {
988
1015
  "filePath": "api-server.main.runtime.ts",
989
- "line": 156,
1016
+ "line": 159,
990
1017
  "character": 32
991
1018
  },
992
1019
  "name": "Promise",
@@ -995,7 +1022,7 @@
995
1022
  "__schema": "TypeUnionSchema",
996
1023
  "location": {
997
1024
  "filePath": "api-server.main.runtime.ts",
998
- "line": 156,
1025
+ "line": 159,
999
1026
  "character": 40
1000
1027
  },
1001
1028
  "types": [
@@ -1003,7 +1030,7 @@
1003
1030
  "__schema": "KeywordTypeSchema",
1004
1031
  "location": {
1005
1032
  "filePath": "api-server.main.runtime.ts",
1006
- "line": 156,
1033
+ "line": 159,
1007
1034
  "character": 40
1008
1035
  },
1009
1036
  "name": "number"
@@ -1012,7 +1039,7 @@
1012
1039
  "__schema": "KeywordTypeSchema",
1013
1040
  "location": {
1014
1041
  "filePath": "api-server.main.runtime.ts",
1015
- "line": 156,
1042
+ "line": 159,
1016
1043
  "character": 49
1017
1044
  },
1018
1045
  "name": "undefined"
@@ -1029,7 +1056,7 @@
1029
1056
  "__schema": "VariableLikeSchema",
1030
1057
  "location": {
1031
1058
  "filePath": "api-server.main.runtime.ts",
1032
- "line": 173,
1059
+ "line": 176,
1033
1060
  "character": 3
1034
1061
  },
1035
1062
  "signature": "(property) ApiServerMain.dependencies: Aspect[]",
@@ -1038,19 +1065,19 @@
1038
1065
  "__schema": "InferenceTypeSchema",
1039
1066
  "location": {
1040
1067
  "filePath": "api-server.main.runtime.ts",
1041
- "line": 173,
1068
+ "line": 176,
1042
1069
  "character": 3
1043
1070
  },
1044
1071
  "type": "Aspect[]"
1045
1072
  },
1046
1073
  "isOptional": true,
1047
- "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 ]"
1074
+ "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 ApplicationAspect,\n DeprecationAspect,\n EnvsAspect,\n ]"
1048
1075
  },
1049
1076
  {
1050
1077
  "__schema": "VariableLikeSchema",
1051
1078
  "location": {
1052
1079
  "filePath": "api-server.main.runtime.ts",
1053
- "line": 191,
1080
+ "line": 197,
1054
1081
  "character": 3
1055
1082
  },
1056
1083
  "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
@@ -1059,7 +1086,7 @@
1059
1086
  "__schema": "InferenceTypeSchema",
1060
1087
  "location": {
1061
1088
  "filePath": "api-server.main.runtime.ts",
1062
- "line": 191,
1089
+ "line": 197,
1063
1090
  "character": 3
1064
1091
  },
1065
1092
  "type": "RuntimeDefinition"
@@ -1071,25 +1098,25 @@
1071
1098
  "__schema": "FunctionLikeSchema",
1072
1099
  "location": {
1073
1100
  "filePath": "api-server.main.runtime.ts",
1074
- "line": 192,
1101
+ "line": 198,
1075
1102
  "character": 3
1076
1103
  },
1077
- "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>",
1104
+ "signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs,]: [\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 ApplicationMain,\n DeprecationMain,\n EnvsMain\n]): Promise<ApiServerMain>",
1078
1105
  "name": "provider",
1079
1106
  "params": [
1080
1107
  {
1081
1108
  "__schema": "ParameterSchema",
1082
1109
  "location": {
1083
1110
  "filePath": "api-server.main.runtime.ts",
1084
- "line": 192,
1111
+ "line": 198,
1085
1112
  "character": 25
1086
1113
  },
1087
- "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
1114
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs ]",
1088
1115
  "type": {
1089
1116
  "__schema": "TupleTypeSchema",
1090
1117
  "location": {
1091
1118
  "filePath": "api-server.main.runtime.ts",
1092
- "line": 209,
1119
+ "line": 218,
1093
1120
  "character": 6
1094
1121
  },
1095
1122
  "elements": [
@@ -1097,7 +1124,7 @@
1097
1124
  "__schema": "TypeRefSchema",
1098
1125
  "location": {
1099
1126
  "filePath": "api-server.main.runtime.ts",
1100
- "line": 210,
1127
+ "line": 219,
1101
1128
  "character": 5
1102
1129
  },
1103
1130
  "name": "CLIMain"
@@ -1106,7 +1133,7 @@
1106
1133
  "__schema": "TypeRefSchema",
1107
1134
  "location": {
1108
1135
  "filePath": "api-server.main.runtime.ts",
1109
- "line": 211,
1136
+ "line": 220,
1110
1137
  "character": 5
1111
1138
  },
1112
1139
  "name": "Workspace"
@@ -1115,7 +1142,7 @@
1115
1142
  "__schema": "TypeRefSchema",
1116
1143
  "location": {
1117
1144
  "filePath": "api-server.main.runtime.ts",
1118
- "line": 212,
1145
+ "line": 221,
1119
1146
  "character": 5
1120
1147
  },
1121
1148
  "name": "LoggerMain"
@@ -1124,7 +1151,7 @@
1124
1151
  "__schema": "TypeRefSchema",
1125
1152
  "location": {
1126
1153
  "filePath": "api-server.main.runtime.ts",
1127
- "line": 213,
1154
+ "line": 222,
1128
1155
  "character": 5
1129
1156
  },
1130
1157
  "name": "ExpressMain"
@@ -1133,7 +1160,7 @@
1133
1160
  "__schema": "TypeRefSchema",
1134
1161
  "location": {
1135
1162
  "filePath": "api-server.main.runtime.ts",
1136
- "line": 214,
1163
+ "line": 223,
1137
1164
  "character": 5
1138
1165
  },
1139
1166
  "name": "WatcherMain"
@@ -1142,7 +1169,7 @@
1142
1169
  "__schema": "TypeRefSchema",
1143
1170
  "location": {
1144
1171
  "filePath": "api-server.main.runtime.ts",
1145
- "line": 215,
1172
+ "line": 224,
1146
1173
  "character": 5
1147
1174
  },
1148
1175
  "name": "SnappingMain"
@@ -1151,7 +1178,7 @@
1151
1178
  "__schema": "TypeRefSchema",
1152
1179
  "location": {
1153
1180
  "filePath": "api-server.main.runtime.ts",
1154
- "line": 216,
1181
+ "line": 225,
1155
1182
  "character": 5
1156
1183
  },
1157
1184
  "name": "LanesMain"
@@ -1160,7 +1187,7 @@
1160
1187
  "__schema": "TypeRefSchema",
1161
1188
  "location": {
1162
1189
  "filePath": "api-server.main.runtime.ts",
1163
- "line": 217,
1190
+ "line": 226,
1164
1191
  "character": 5
1165
1192
  },
1166
1193
  "name": "InstallMain"
@@ -1169,7 +1196,7 @@
1169
1196
  "__schema": "TypeRefSchema",
1170
1197
  "location": {
1171
1198
  "filePath": "api-server.main.runtime.ts",
1172
- "line": 218,
1199
+ "line": 227,
1173
1200
  "character": 5
1174
1201
  },
1175
1202
  "name": "ExportMain"
@@ -1178,7 +1205,7 @@
1178
1205
  "__schema": "TypeRefSchema",
1179
1206
  "location": {
1180
1207
  "filePath": "api-server.main.runtime.ts",
1181
- "line": 219,
1208
+ "line": 228,
1182
1209
  "character": 5
1183
1210
  },
1184
1211
  "name": "CheckoutMain"
@@ -1187,7 +1214,7 @@
1187
1214
  "__schema": "TypeRefSchema",
1188
1215
  "location": {
1189
1216
  "filePath": "api-server.main.runtime.ts",
1190
- "line": 220,
1217
+ "line": 229,
1191
1218
  "character": 5
1192
1219
  },
1193
1220
  "name": "ComponentLogMain"
@@ -1196,7 +1223,7 @@
1196
1223
  "__schema": "TypeRefSchema",
1197
1224
  "location": {
1198
1225
  "filePath": "api-server.main.runtime.ts",
1199
- "line": 221,
1226
+ "line": 230,
1200
1227
  "character": 5
1201
1228
  },
1202
1229
  "name": "ImporterMain"
@@ -1205,7 +1232,7 @@
1205
1232
  "__schema": "TypeRefSchema",
1206
1233
  "location": {
1207
1234
  "filePath": "api-server.main.runtime.ts",
1208
- "line": 222,
1235
+ "line": 231,
1209
1236
  "character": 5
1210
1237
  },
1211
1238
  "name": "ComponentCompareMain"
@@ -1214,7 +1241,7 @@
1214
1241
  "__schema": "TypeRefSchema",
1215
1242
  "location": {
1216
1243
  "filePath": "api-server.main.runtime.ts",
1217
- "line": 223,
1244
+ "line": 232,
1218
1245
  "character": 5
1219
1246
  },
1220
1247
  "name": "GeneratorMain"
@@ -1223,7 +1250,7 @@
1223
1250
  "__schema": "TypeRefSchema",
1224
1251
  "location": {
1225
1252
  "filePath": "api-server.main.runtime.ts",
1226
- "line": 224,
1253
+ "line": 233,
1227
1254
  "character": 5
1228
1255
  },
1229
1256
  "name": "RemoveMain"
@@ -1232,10 +1259,37 @@
1232
1259
  "__schema": "TypeRefSchema",
1233
1260
  "location": {
1234
1261
  "filePath": "api-server.main.runtime.ts",
1235
- "line": 225,
1262
+ "line": 234,
1236
1263
  "character": 5
1237
1264
  },
1238
1265
  "name": "ConfigMain"
1266
+ },
1267
+ {
1268
+ "__schema": "TypeRefSchema",
1269
+ "location": {
1270
+ "filePath": "api-server.main.runtime.ts",
1271
+ "line": 235,
1272
+ "character": 5
1273
+ },
1274
+ "name": "ApplicationMain"
1275
+ },
1276
+ {
1277
+ "__schema": "TypeRefSchema",
1278
+ "location": {
1279
+ "filePath": "api-server.main.runtime.ts",
1280
+ "line": 236,
1281
+ "character": 5
1282
+ },
1283
+ "name": "DeprecationMain"
1284
+ },
1285
+ {
1286
+ "__schema": "TypeRefSchema",
1287
+ "location": {
1288
+ "filePath": "api-server.main.runtime.ts",
1289
+ "line": 237,
1290
+ "character": 5
1291
+ },
1292
+ "name": "EnvsMain"
1239
1293
  }
1240
1294
  ]
1241
1295
  },
@@ -1247,7 +1301,7 @@
1247
1301
  "__schema": "InferenceTypeSchema",
1248
1302
  "location": {
1249
1303
  "filePath": "api-server.main.runtime.ts",
1250
- "line": 192,
1304
+ "line": 198,
1251
1305
  "character": 3
1252
1306
  },
1253
1307
  "type": "Promise<ApiServerMain>"
@@ -1265,7 +1319,7 @@
1265
1319
  "__schema": "UnImplementedSchema",
1266
1320
  "location": {
1267
1321
  "filePath": "api-server.main.runtime.ts",
1268
- "line": 259,
1322
+ "line": 274,
1269
1323
  "character": 16
1270
1324
  },
1271
1325
  "name": "ApiServerMain",
@@ -1277,7 +1331,7 @@
1277
1331
  "__schema": "UnImplementedSchema",
1278
1332
  "location": {
1279
1333
  "filePath": "api-server.main.runtime.ts",
1280
- "line": 257,
1334
+ "line": 272,
1281
1335
  "character": 1
1282
1336
  },
1283
1337
  "name": "ApiServerAspect.addRuntime(ApiServerMain);",
@@ -1326,7 +1380,7 @@
1326
1380
  "componentId": {
1327
1381
  "scope": "teambit.harmony",
1328
1382
  "name": "api-server",
1329
- "version": "1.0.387"
1383
+ "version": "1.0.389"
1330
1384
  },
1331
1385
  "taggedModuleExports": []
1332
1386
  }