@teambit/api-server 1.0.158 → 1.0.160

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
- <testsuites>
3
- <testsuite name="teambit.harmony/api-server@1.0.158" tests="0" failures="0" errors="0" skipped="0"/>
2
+ <testsuites tests="0" failures="0" errors="0" skipped="0">
3
+ <testsuite name="teambit.harmony/api-server@1.0.160" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -0,0 +1,1078 @@
1
+ {
2
+ "__schema": "APISchema",
3
+ "location": {
4
+ "filePath": "index.ts",
5
+ "line": 1,
6
+ "character": 1
7
+ },
8
+ "module": {
9
+ "__schema": "ModuleSchema",
10
+ "location": {
11
+ "filePath": "index.ts",
12
+ "line": 1,
13
+ "character": 1
14
+ },
15
+ "exports": [
16
+ {
17
+ "__schema": "ClassSchema",
18
+ "location": {
19
+ "filePath": "api-server.main.runtime.ts",
20
+ "line": 25,
21
+ "character": 1
22
+ },
23
+ "signature": "class ApiServerMain",
24
+ "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",
46
+ "location": {
47
+ "filePath": "api-server.main.runtime.ts",
48
+ "line": 27,
49
+ "character": 24
50
+ },
51
+ "name": "Workspace"
52
+ },
53
+ "isOptional": false,
54
+ "isSpread": false
55
+ },
56
+ {
57
+ "__schema": "ParameterSchema",
58
+ "location": {
59
+ "filePath": "api-server.main.runtime.ts",
60
+ "line": 28,
61
+ "character": 5
62
+ },
63
+ "name": "logger",
64
+ "type": {
65
+ "__schema": "TypeRefSchema",
66
+ "location": {
67
+ "filePath": "api-server.main.runtime.ts",
68
+ "line": 28,
69
+ "character": 21
70
+ },
71
+ "name": "Logger"
72
+ },
73
+ "isOptional": false,
74
+ "isSpread": false
75
+ },
76
+ {
77
+ "__schema": "ParameterSchema",
78
+ "location": {
79
+ "filePath": "api-server.main.runtime.ts",
80
+ "line": 29,
81
+ "character": 5
82
+ },
83
+ "name": "express",
84
+ "type": {
85
+ "__schema": "TypeRefSchema",
86
+ "location": {
87
+ "filePath": "api-server.main.runtime.ts",
88
+ "line": 29,
89
+ "character": 22
90
+ },
91
+ "name": "ExpressMain"
92
+ },
93
+ "isOptional": false,
94
+ "isSpread": false
95
+ },
96
+ {
97
+ "__schema": "ParameterSchema",
98
+ "location": {
99
+ "filePath": "api-server.main.runtime.ts",
100
+ "line": 30,
101
+ "character": 5
102
+ },
103
+ "name": "watcher",
104
+ "type": {
105
+ "__schema": "TypeRefSchema",
106
+ "location": {
107
+ "filePath": "api-server.main.runtime.ts",
108
+ "line": 30,
109
+ "character": 22
110
+ },
111
+ "name": "WatcherMain"
112
+ },
113
+ "isOptional": false,
114
+ "isSpread": false
115
+ },
116
+ {
117
+ "__schema": "ParameterSchema",
118
+ "location": {
119
+ "filePath": "api-server.main.runtime.ts",
120
+ "line": 31,
121
+ "character": 5
122
+ },
123
+ "name": "installer",
124
+ "type": {
125
+ "__schema": "TypeRefSchema",
126
+ "location": {
127
+ "filePath": "api-server.main.runtime.ts",
128
+ "line": 31,
129
+ "character": 24
130
+ },
131
+ "name": "InstallMain"
132
+ },
133
+ "isOptional": false,
134
+ "isSpread": false
135
+ },
136
+ {
137
+ "__schema": "ParameterSchema",
138
+ "location": {
139
+ "filePath": "api-server.main.runtime.ts",
140
+ "line": 32,
141
+ "character": 5
142
+ },
143
+ "name": "importer",
144
+ "type": {
145
+ "__schema": "TypeRefSchema",
146
+ "location": {
147
+ "filePath": "api-server.main.runtime.ts",
148
+ "line": 32,
149
+ "character": 23
150
+ },
151
+ "name": "ImporterMain"
152
+ },
153
+ "isOptional": false,
154
+ "isSpread": false
155
+ }
156
+ ],
157
+ "returnType": {
158
+ "__schema": "ThisTypeSchema",
159
+ "location": {
160
+ "filePath": "api-server.main.runtime.ts",
161
+ "line": 25,
162
+ "character": 1
163
+ },
164
+ "name": "ApiServerMain"
165
+ },
166
+ "modifiers": []
167
+ },
168
+ {
169
+ "__schema": "FunctionLikeSchema",
170
+ "location": {
171
+ "filePath": "api-server.main.runtime.ts",
172
+ "line": 35,
173
+ "character": 3
174
+ },
175
+ "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
176
+ "name": "runApiServer",
177
+ "params": [
178
+ {
179
+ "__schema": "ParameterSchema",
180
+ "location": {
181
+ "filePath": "api-server.main.runtime.ts",
182
+ "line": 35,
183
+ "character": 22
184
+ },
185
+ "name": "options",
186
+ "type": {
187
+ "__schema": "TypeLiteralSchema",
188
+ "location": {
189
+ "filePath": "api-server.main.runtime.ts",
190
+ "line": 35,
191
+ "character": 31
192
+ },
193
+ "members": [
194
+ {
195
+ "__schema": "VariableLikeSchema",
196
+ "location": {
197
+ "filePath": "api-server.main.runtime.ts",
198
+ "line": 35,
199
+ "character": 33
200
+ },
201
+ "signature": "(property) port: number",
202
+ "name": "port",
203
+ "type": {
204
+ "__schema": "KeywordTypeSchema",
205
+ "location": {
206
+ "filePath": "api-server.main.runtime.ts",
207
+ "line": 35,
208
+ "character": 39
209
+ },
210
+ "name": "number"
211
+ },
212
+ "isOptional": false
213
+ },
214
+ {
215
+ "__schema": "VariableLikeSchema",
216
+ "location": {
217
+ "filePath": "api-server.main.runtime.ts",
218
+ "line": 35,
219
+ "character": 47
220
+ },
221
+ "signature": "(property) compile: boolean",
222
+ "name": "compile",
223
+ "type": {
224
+ "__schema": "KeywordTypeSchema",
225
+ "location": {
226
+ "filePath": "api-server.main.runtime.ts",
227
+ "line": 35,
228
+ "character": 56
229
+ },
230
+ "name": "boolean"
231
+ },
232
+ "isOptional": false
233
+ }
234
+ ]
235
+ },
236
+ "isOptional": false,
237
+ "isSpread": false
238
+ }
239
+ ],
240
+ "returnType": {
241
+ "__schema": "InferenceTypeSchema",
242
+ "location": {
243
+ "filePath": "api-server.main.runtime.ts",
244
+ "line": 35,
245
+ "character": 3
246
+ },
247
+ "type": "Promise<unknown>"
248
+ },
249
+ "modifiers": [
250
+ "async"
251
+ ]
252
+ },
253
+ {
254
+ "__schema": "VariableLikeSchema",
255
+ "location": {
256
+ "filePath": "api-server.main.runtime.ts",
257
+ "line": 99,
258
+ "character": 3
259
+ },
260
+ "signature": "(property) ApiServerMain.dependencies: Aspect[]",
261
+ "name": "dependencies",
262
+ "type": {
263
+ "__schema": "InferenceTypeSchema",
264
+ "location": {
265
+ "filePath": "api-server.main.runtime.ts",
266
+ "line": 99,
267
+ "character": 3
268
+ },
269
+ "type": "Aspect[]"
270
+ },
271
+ "isOptional": true,
272
+ "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 ]"
273
+ },
274
+ {
275
+ "__schema": "VariableLikeSchema",
276
+ "location": {
277
+ "filePath": "api-server.main.runtime.ts",
278
+ "line": 117,
279
+ "character": 3
280
+ },
281
+ "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
282
+ "name": "runtime",
283
+ "type": {
284
+ "__schema": "InferenceTypeSchema",
285
+ "location": {
286
+ "filePath": "api-server.main.runtime.ts",
287
+ "line": 117,
288
+ "character": 3
289
+ },
290
+ "type": "RuntimeDefinition"
291
+ },
292
+ "isOptional": true,
293
+ "defaultValue": "MainRuntime"
294
+ },
295
+ {
296
+ "__schema": "FunctionLikeSchema",
297
+ "location": {
298
+ "filePath": "api-server.main.runtime.ts",
299
+ "line": 118,
300
+ "character": 3
301
+ },
302
+ "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>",
303
+ "name": "provider",
304
+ "params": [
305
+ {
306
+ "__schema": "ParameterSchema",
307
+ "location": {
308
+ "filePath": "api-server.main.runtime.ts",
309
+ "line": 118,
310
+ "character": 25
311
+ },
312
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
313
+ "type": {
314
+ "__schema": "TupleTypeSchema",
315
+ "location": {
316
+ "filePath": "api-server.main.runtime.ts",
317
+ "line": 135,
318
+ "character": 6
319
+ },
320
+ "elements": [
321
+ {
322
+ "__schema": "TypeRefSchema",
323
+ "location": {
324
+ "filePath": "api-server.main.runtime.ts",
325
+ "line": 136,
326
+ "character": 5
327
+ },
328
+ "name": "CLIMain"
329
+ },
330
+ {
331
+ "__schema": "TypeRefSchema",
332
+ "location": {
333
+ "filePath": "api-server.main.runtime.ts",
334
+ "line": 137,
335
+ "character": 5
336
+ },
337
+ "name": "Workspace"
338
+ },
339
+ {
340
+ "__schema": "TypeRefSchema",
341
+ "location": {
342
+ "filePath": "api-server.main.runtime.ts",
343
+ "line": 138,
344
+ "character": 5
345
+ },
346
+ "name": "LoggerMain"
347
+ },
348
+ {
349
+ "__schema": "TypeRefSchema",
350
+ "location": {
351
+ "filePath": "api-server.main.runtime.ts",
352
+ "line": 139,
353
+ "character": 5
354
+ },
355
+ "name": "ExpressMain"
356
+ },
357
+ {
358
+ "__schema": "TypeRefSchema",
359
+ "location": {
360
+ "filePath": "api-server.main.runtime.ts",
361
+ "line": 140,
362
+ "character": 5
363
+ },
364
+ "name": "WatcherMain"
365
+ },
366
+ {
367
+ "__schema": "TypeRefSchema",
368
+ "location": {
369
+ "filePath": "api-server.main.runtime.ts",
370
+ "line": 141,
371
+ "character": 5
372
+ },
373
+ "name": "SnappingMain"
374
+ },
375
+ {
376
+ "__schema": "TypeRefSchema",
377
+ "location": {
378
+ "filePath": "api-server.main.runtime.ts",
379
+ "line": 142,
380
+ "character": 5
381
+ },
382
+ "name": "LanesMain"
383
+ },
384
+ {
385
+ "__schema": "TypeRefSchema",
386
+ "location": {
387
+ "filePath": "api-server.main.runtime.ts",
388
+ "line": 143,
389
+ "character": 5
390
+ },
391
+ "name": "InstallMain"
392
+ },
393
+ {
394
+ "__schema": "TypeRefSchema",
395
+ "location": {
396
+ "filePath": "api-server.main.runtime.ts",
397
+ "line": 144,
398
+ "character": 5
399
+ },
400
+ "name": "ExportMain"
401
+ },
402
+ {
403
+ "__schema": "TypeRefSchema",
404
+ "location": {
405
+ "filePath": "api-server.main.runtime.ts",
406
+ "line": 145,
407
+ "character": 5
408
+ },
409
+ "name": "CheckoutMain"
410
+ },
411
+ {
412
+ "__schema": "TypeRefSchema",
413
+ "location": {
414
+ "filePath": "api-server.main.runtime.ts",
415
+ "line": 146,
416
+ "character": 5
417
+ },
418
+ "name": "ComponentLogMain"
419
+ },
420
+ {
421
+ "__schema": "TypeRefSchema",
422
+ "location": {
423
+ "filePath": "api-server.main.runtime.ts",
424
+ "line": 147,
425
+ "character": 5
426
+ },
427
+ "name": "ImporterMain"
428
+ },
429
+ {
430
+ "__schema": "TypeRefSchema",
431
+ "location": {
432
+ "filePath": "api-server.main.runtime.ts",
433
+ "line": 148,
434
+ "character": 5
435
+ },
436
+ "name": "ComponentCompareMain"
437
+ },
438
+ {
439
+ "__schema": "TypeRefSchema",
440
+ "location": {
441
+ "filePath": "api-server.main.runtime.ts",
442
+ "line": 149,
443
+ "character": 5
444
+ },
445
+ "name": "GeneratorMain"
446
+ },
447
+ {
448
+ "__schema": "TypeRefSchema",
449
+ "location": {
450
+ "filePath": "api-server.main.runtime.ts",
451
+ "line": 150,
452
+ "character": 5
453
+ },
454
+ "name": "RemoveMain"
455
+ },
456
+ {
457
+ "__schema": "TypeRefSchema",
458
+ "location": {
459
+ "filePath": "api-server.main.runtime.ts",
460
+ "line": 151,
461
+ "character": 5
462
+ },
463
+ "name": "ConfigMain"
464
+ }
465
+ ]
466
+ },
467
+ "isOptional": false,
468
+ "isSpread": false
469
+ }
470
+ ],
471
+ "returnType": {
472
+ "__schema": "InferenceTypeSchema",
473
+ "location": {
474
+ "filePath": "api-server.main.runtime.ts",
475
+ "line": 118,
476
+ "character": 3
477
+ },
478
+ "type": "Promise<ApiServerMain>"
479
+ },
480
+ "modifiers": [
481
+ "static",
482
+ "async"
483
+ ]
484
+ }
485
+ ],
486
+ "extendsNodes": [],
487
+ "implementNodes": []
488
+ },
489
+ {
490
+ "__schema": "UnImplementedSchema",
491
+ "location": {
492
+ "filePath": "index.ts",
493
+ "line": 4,
494
+ "character": 16
495
+ },
496
+ "name": "ApiServerAspect",
497
+ "type": "Identifier"
498
+ },
499
+ {
500
+ "__schema": "VariableLikeSchema",
501
+ "location": {
502
+ "filePath": "api-server.aspect.ts",
503
+ "line": 3,
504
+ "character": 14
505
+ },
506
+ "signature": "const ApiServerAspect: Aspect",
507
+ "name": "ApiServerAspect",
508
+ "type": {
509
+ "__schema": "TypeRefSchema",
510
+ "location": {
511
+ "filePath": "api-server.aspect.ts",
512
+ "line": 3,
513
+ "character": 14
514
+ },
515
+ "name": "Aspect",
516
+ "componentId": {
517
+ "scope": "teambit.harmony",
518
+ "name": "harmony",
519
+ "version": "0.4.6"
520
+ }
521
+ },
522
+ "isOptional": false,
523
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
524
+ }
525
+ ],
526
+ "internals": []
527
+ },
528
+ "internals": [
529
+ {
530
+ "__schema": "ModuleSchema",
531
+ "location": {
532
+ "filePath": "api-server.main.runtime.ts",
533
+ "line": 1,
534
+ "character": 1
535
+ },
536
+ "exports": [
537
+ {
538
+ "__schema": "ClassSchema",
539
+ "location": {
540
+ "filePath": "api-server.main.runtime.ts",
541
+ "line": 25,
542
+ "character": 1
543
+ },
544
+ "signature": "class ApiServerMain",
545
+ "name": "ApiServerMain",
546
+ "members": [
547
+ {
548
+ "__schema": "ConstructorSchema",
549
+ "location": {
550
+ "filePath": "api-server.main.runtime.ts",
551
+ "line": 26,
552
+ "character": 3
553
+ },
554
+ "signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
555
+ "name": "constructor",
556
+ "params": [
557
+ {
558
+ "__schema": "ParameterSchema",
559
+ "location": {
560
+ "filePath": "api-server.main.runtime.ts",
561
+ "line": 27,
562
+ "character": 5
563
+ },
564
+ "name": "workspace",
565
+ "type": {
566
+ "__schema": "TypeRefSchema",
567
+ "location": {
568
+ "filePath": "api-server.main.runtime.ts",
569
+ "line": 27,
570
+ "character": 24
571
+ },
572
+ "name": "Workspace"
573
+ },
574
+ "isOptional": false,
575
+ "isSpread": false
576
+ },
577
+ {
578
+ "__schema": "ParameterSchema",
579
+ "location": {
580
+ "filePath": "api-server.main.runtime.ts",
581
+ "line": 28,
582
+ "character": 5
583
+ },
584
+ "name": "logger",
585
+ "type": {
586
+ "__schema": "TypeRefSchema",
587
+ "location": {
588
+ "filePath": "api-server.main.runtime.ts",
589
+ "line": 28,
590
+ "character": 21
591
+ },
592
+ "name": "Logger"
593
+ },
594
+ "isOptional": false,
595
+ "isSpread": false
596
+ },
597
+ {
598
+ "__schema": "ParameterSchema",
599
+ "location": {
600
+ "filePath": "api-server.main.runtime.ts",
601
+ "line": 29,
602
+ "character": 5
603
+ },
604
+ "name": "express",
605
+ "type": {
606
+ "__schema": "TypeRefSchema",
607
+ "location": {
608
+ "filePath": "api-server.main.runtime.ts",
609
+ "line": 29,
610
+ "character": 22
611
+ },
612
+ "name": "ExpressMain"
613
+ },
614
+ "isOptional": false,
615
+ "isSpread": false
616
+ },
617
+ {
618
+ "__schema": "ParameterSchema",
619
+ "location": {
620
+ "filePath": "api-server.main.runtime.ts",
621
+ "line": 30,
622
+ "character": 5
623
+ },
624
+ "name": "watcher",
625
+ "type": {
626
+ "__schema": "TypeRefSchema",
627
+ "location": {
628
+ "filePath": "api-server.main.runtime.ts",
629
+ "line": 30,
630
+ "character": 22
631
+ },
632
+ "name": "WatcherMain"
633
+ },
634
+ "isOptional": false,
635
+ "isSpread": false
636
+ },
637
+ {
638
+ "__schema": "ParameterSchema",
639
+ "location": {
640
+ "filePath": "api-server.main.runtime.ts",
641
+ "line": 31,
642
+ "character": 5
643
+ },
644
+ "name": "installer",
645
+ "type": {
646
+ "__schema": "TypeRefSchema",
647
+ "location": {
648
+ "filePath": "api-server.main.runtime.ts",
649
+ "line": 31,
650
+ "character": 24
651
+ },
652
+ "name": "InstallMain"
653
+ },
654
+ "isOptional": false,
655
+ "isSpread": false
656
+ },
657
+ {
658
+ "__schema": "ParameterSchema",
659
+ "location": {
660
+ "filePath": "api-server.main.runtime.ts",
661
+ "line": 32,
662
+ "character": 5
663
+ },
664
+ "name": "importer",
665
+ "type": {
666
+ "__schema": "TypeRefSchema",
667
+ "location": {
668
+ "filePath": "api-server.main.runtime.ts",
669
+ "line": 32,
670
+ "character": 23
671
+ },
672
+ "name": "ImporterMain"
673
+ },
674
+ "isOptional": false,
675
+ "isSpread": false
676
+ }
677
+ ],
678
+ "returnType": {
679
+ "__schema": "ThisTypeSchema",
680
+ "location": {
681
+ "filePath": "api-server.main.runtime.ts",
682
+ "line": 25,
683
+ "character": 1
684
+ },
685
+ "name": "ApiServerMain"
686
+ },
687
+ "modifiers": []
688
+ },
689
+ {
690
+ "__schema": "FunctionLikeSchema",
691
+ "location": {
692
+ "filePath": "api-server.main.runtime.ts",
693
+ "line": 35,
694
+ "character": 3
695
+ },
696
+ "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
697
+ "name": "runApiServer",
698
+ "params": [
699
+ {
700
+ "__schema": "ParameterSchema",
701
+ "location": {
702
+ "filePath": "api-server.main.runtime.ts",
703
+ "line": 35,
704
+ "character": 22
705
+ },
706
+ "name": "options",
707
+ "type": {
708
+ "__schema": "TypeLiteralSchema",
709
+ "location": {
710
+ "filePath": "api-server.main.runtime.ts",
711
+ "line": 35,
712
+ "character": 31
713
+ },
714
+ "members": [
715
+ {
716
+ "__schema": "VariableLikeSchema",
717
+ "location": {
718
+ "filePath": "api-server.main.runtime.ts",
719
+ "line": 35,
720
+ "character": 33
721
+ },
722
+ "signature": "(property) port: number",
723
+ "name": "port",
724
+ "type": {
725
+ "__schema": "KeywordTypeSchema",
726
+ "location": {
727
+ "filePath": "api-server.main.runtime.ts",
728
+ "line": 35,
729
+ "character": 39
730
+ },
731
+ "name": "number"
732
+ },
733
+ "isOptional": false
734
+ },
735
+ {
736
+ "__schema": "VariableLikeSchema",
737
+ "location": {
738
+ "filePath": "api-server.main.runtime.ts",
739
+ "line": 35,
740
+ "character": 47
741
+ },
742
+ "signature": "(property) compile: boolean",
743
+ "name": "compile",
744
+ "type": {
745
+ "__schema": "KeywordTypeSchema",
746
+ "location": {
747
+ "filePath": "api-server.main.runtime.ts",
748
+ "line": 35,
749
+ "character": 56
750
+ },
751
+ "name": "boolean"
752
+ },
753
+ "isOptional": false
754
+ }
755
+ ]
756
+ },
757
+ "isOptional": false,
758
+ "isSpread": false
759
+ }
760
+ ],
761
+ "returnType": {
762
+ "__schema": "InferenceTypeSchema",
763
+ "location": {
764
+ "filePath": "api-server.main.runtime.ts",
765
+ "line": 35,
766
+ "character": 3
767
+ },
768
+ "type": "Promise<unknown>"
769
+ },
770
+ "modifiers": [
771
+ "async"
772
+ ]
773
+ },
774
+ {
775
+ "__schema": "VariableLikeSchema",
776
+ "location": {
777
+ "filePath": "api-server.main.runtime.ts",
778
+ "line": 99,
779
+ "character": 3
780
+ },
781
+ "signature": "(property) ApiServerMain.dependencies: Aspect[]",
782
+ "name": "dependencies",
783
+ "type": {
784
+ "__schema": "InferenceTypeSchema",
785
+ "location": {
786
+ "filePath": "api-server.main.runtime.ts",
787
+ "line": 99,
788
+ "character": 3
789
+ },
790
+ "type": "Aspect[]"
791
+ },
792
+ "isOptional": true,
793
+ "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 ]"
794
+ },
795
+ {
796
+ "__schema": "VariableLikeSchema",
797
+ "location": {
798
+ "filePath": "api-server.main.runtime.ts",
799
+ "line": 117,
800
+ "character": 3
801
+ },
802
+ "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
803
+ "name": "runtime",
804
+ "type": {
805
+ "__schema": "InferenceTypeSchema",
806
+ "location": {
807
+ "filePath": "api-server.main.runtime.ts",
808
+ "line": 117,
809
+ "character": 3
810
+ },
811
+ "type": "RuntimeDefinition"
812
+ },
813
+ "isOptional": true,
814
+ "defaultValue": "MainRuntime"
815
+ },
816
+ {
817
+ "__schema": "FunctionLikeSchema",
818
+ "location": {
819
+ "filePath": "api-server.main.runtime.ts",
820
+ "line": 118,
821
+ "character": 3
822
+ },
823
+ "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>",
824
+ "name": "provider",
825
+ "params": [
826
+ {
827
+ "__schema": "ParameterSchema",
828
+ "location": {
829
+ "filePath": "api-server.main.runtime.ts",
830
+ "line": 118,
831
+ "character": 25
832
+ },
833
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config ]",
834
+ "type": {
835
+ "__schema": "TupleTypeSchema",
836
+ "location": {
837
+ "filePath": "api-server.main.runtime.ts",
838
+ "line": 135,
839
+ "character": 6
840
+ },
841
+ "elements": [
842
+ {
843
+ "__schema": "TypeRefSchema",
844
+ "location": {
845
+ "filePath": "api-server.main.runtime.ts",
846
+ "line": 136,
847
+ "character": 5
848
+ },
849
+ "name": "CLIMain"
850
+ },
851
+ {
852
+ "__schema": "TypeRefSchema",
853
+ "location": {
854
+ "filePath": "api-server.main.runtime.ts",
855
+ "line": 137,
856
+ "character": 5
857
+ },
858
+ "name": "Workspace"
859
+ },
860
+ {
861
+ "__schema": "TypeRefSchema",
862
+ "location": {
863
+ "filePath": "api-server.main.runtime.ts",
864
+ "line": 138,
865
+ "character": 5
866
+ },
867
+ "name": "LoggerMain"
868
+ },
869
+ {
870
+ "__schema": "TypeRefSchema",
871
+ "location": {
872
+ "filePath": "api-server.main.runtime.ts",
873
+ "line": 139,
874
+ "character": 5
875
+ },
876
+ "name": "ExpressMain"
877
+ },
878
+ {
879
+ "__schema": "TypeRefSchema",
880
+ "location": {
881
+ "filePath": "api-server.main.runtime.ts",
882
+ "line": 140,
883
+ "character": 5
884
+ },
885
+ "name": "WatcherMain"
886
+ },
887
+ {
888
+ "__schema": "TypeRefSchema",
889
+ "location": {
890
+ "filePath": "api-server.main.runtime.ts",
891
+ "line": 141,
892
+ "character": 5
893
+ },
894
+ "name": "SnappingMain"
895
+ },
896
+ {
897
+ "__schema": "TypeRefSchema",
898
+ "location": {
899
+ "filePath": "api-server.main.runtime.ts",
900
+ "line": 142,
901
+ "character": 5
902
+ },
903
+ "name": "LanesMain"
904
+ },
905
+ {
906
+ "__schema": "TypeRefSchema",
907
+ "location": {
908
+ "filePath": "api-server.main.runtime.ts",
909
+ "line": 143,
910
+ "character": 5
911
+ },
912
+ "name": "InstallMain"
913
+ },
914
+ {
915
+ "__schema": "TypeRefSchema",
916
+ "location": {
917
+ "filePath": "api-server.main.runtime.ts",
918
+ "line": 144,
919
+ "character": 5
920
+ },
921
+ "name": "ExportMain"
922
+ },
923
+ {
924
+ "__schema": "TypeRefSchema",
925
+ "location": {
926
+ "filePath": "api-server.main.runtime.ts",
927
+ "line": 145,
928
+ "character": 5
929
+ },
930
+ "name": "CheckoutMain"
931
+ },
932
+ {
933
+ "__schema": "TypeRefSchema",
934
+ "location": {
935
+ "filePath": "api-server.main.runtime.ts",
936
+ "line": 146,
937
+ "character": 5
938
+ },
939
+ "name": "ComponentLogMain"
940
+ },
941
+ {
942
+ "__schema": "TypeRefSchema",
943
+ "location": {
944
+ "filePath": "api-server.main.runtime.ts",
945
+ "line": 147,
946
+ "character": 5
947
+ },
948
+ "name": "ImporterMain"
949
+ },
950
+ {
951
+ "__schema": "TypeRefSchema",
952
+ "location": {
953
+ "filePath": "api-server.main.runtime.ts",
954
+ "line": 148,
955
+ "character": 5
956
+ },
957
+ "name": "ComponentCompareMain"
958
+ },
959
+ {
960
+ "__schema": "TypeRefSchema",
961
+ "location": {
962
+ "filePath": "api-server.main.runtime.ts",
963
+ "line": 149,
964
+ "character": 5
965
+ },
966
+ "name": "GeneratorMain"
967
+ },
968
+ {
969
+ "__schema": "TypeRefSchema",
970
+ "location": {
971
+ "filePath": "api-server.main.runtime.ts",
972
+ "line": 150,
973
+ "character": 5
974
+ },
975
+ "name": "RemoveMain"
976
+ },
977
+ {
978
+ "__schema": "TypeRefSchema",
979
+ "location": {
980
+ "filePath": "api-server.main.runtime.ts",
981
+ "line": 151,
982
+ "character": 5
983
+ },
984
+ "name": "ConfigMain"
985
+ }
986
+ ]
987
+ },
988
+ "isOptional": false,
989
+ "isSpread": false
990
+ }
991
+ ],
992
+ "returnType": {
993
+ "__schema": "InferenceTypeSchema",
994
+ "location": {
995
+ "filePath": "api-server.main.runtime.ts",
996
+ "line": 118,
997
+ "character": 3
998
+ },
999
+ "type": "Promise<ApiServerMain>"
1000
+ },
1001
+ "modifiers": [
1002
+ "static",
1003
+ "async"
1004
+ ]
1005
+ }
1006
+ ],
1007
+ "extendsNodes": [],
1008
+ "implementNodes": []
1009
+ },
1010
+ {
1011
+ "__schema": "UnImplementedSchema",
1012
+ "location": {
1013
+ "filePath": "api-server.main.runtime.ts",
1014
+ "line": 184,
1015
+ "character": 16
1016
+ },
1017
+ "name": "ApiServerMain",
1018
+ "type": "Identifier"
1019
+ }
1020
+ ],
1021
+ "internals": [
1022
+ {
1023
+ "__schema": "UnImplementedSchema",
1024
+ "location": {
1025
+ "filePath": "api-server.main.runtime.ts",
1026
+ "line": 182,
1027
+ "character": 1
1028
+ },
1029
+ "name": "ApiServerAspect.addRuntime(ApiServerMain);",
1030
+ "type": "ExpressionStatement"
1031
+ }
1032
+ ]
1033
+ },
1034
+ {
1035
+ "__schema": "ModuleSchema",
1036
+ "location": {
1037
+ "filePath": "api-server.aspect.ts",
1038
+ "line": 1,
1039
+ "character": 1
1040
+ },
1041
+ "exports": [
1042
+ {
1043
+ "__schema": "VariableLikeSchema",
1044
+ "location": {
1045
+ "filePath": "api-server.aspect.ts",
1046
+ "line": 3,
1047
+ "character": 14
1048
+ },
1049
+ "signature": "const ApiServerAspect: Aspect",
1050
+ "name": "ApiServerAspect",
1051
+ "type": {
1052
+ "__schema": "TypeRefSchema",
1053
+ "location": {
1054
+ "filePath": "api-server.aspect.ts",
1055
+ "line": 3,
1056
+ "character": 14
1057
+ },
1058
+ "name": "Aspect",
1059
+ "componentId": {
1060
+ "scope": "teambit.harmony",
1061
+ "name": "harmony",
1062
+ "version": "0.4.6"
1063
+ }
1064
+ },
1065
+ "isOptional": false,
1066
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
1067
+ }
1068
+ ],
1069
+ "internals": []
1070
+ }
1071
+ ],
1072
+ "componentId": {
1073
+ "scope": "teambit.harmony",
1074
+ "name": "api-server",
1075
+ "version": "1.0.160"
1076
+ },
1077
+ "taggedModuleExports": []
1078
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/api-server",
3
- "version": "1.0.158",
3
+ "version": "1.0.160",
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.158"
9
+ "version": "1.0.160"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -14,31 +14,31 @@
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.158",
18
- "@teambit/component-compare": "1.0.158",
19
- "@teambit/component-log": "1.0.158",
20
- "@teambit/config": "0.0.909",
21
- "@teambit/export": "1.0.158",
22
- "@teambit/generator": "1.0.159",
23
- "@teambit/install": "1.0.158",
24
- "@teambit/lanes": "1.0.158",
25
- "@teambit/merging": "1.0.158",
26
- "@teambit/remove": "1.0.158",
27
- "@teambit/snapping": "1.0.158",
28
- "@teambit/workspace": "1.0.158",
29
- "@teambit/cli": "0.0.850",
30
- "@teambit/component": "1.0.158",
31
- "@teambit/express": "0.0.949",
32
- "@teambit/importer": "1.0.158",
33
- "@teambit/logger": "0.0.943",
34
- "@teambit/watcher": "1.0.158"
17
+ "@teambit/checkout": "1.0.160",
18
+ "@teambit/component-compare": "1.0.160",
19
+ "@teambit/component-log": "1.0.160",
20
+ "@teambit/config": "0.0.911",
21
+ "@teambit/export": "1.0.160",
22
+ "@teambit/generator": "1.0.161",
23
+ "@teambit/install": "1.0.160",
24
+ "@teambit/lanes": "1.0.160",
25
+ "@teambit/merging": "1.0.160",
26
+ "@teambit/remove": "1.0.160",
27
+ "@teambit/snapping": "1.0.160",
28
+ "@teambit/workspace": "1.0.160",
29
+ "@teambit/cli": "0.0.851",
30
+ "@teambit/component": "1.0.160",
31
+ "@teambit/express": "0.0.950",
32
+ "@teambit/importer": "1.0.160",
33
+ "@teambit/logger": "0.0.944",
34
+ "@teambit/watcher": "1.0.160"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/fs-extra": "9.0.7",
38
38
  "@types/lodash": "4.14.165",
39
39
  "@types/mocha": "9.1.0",
40
40
  "chai": "4.3.0",
41
- "@teambit/harmony.envs.core-aspect-env": "0.0.24"
41
+ "@teambit/harmony.envs.core-aspect-env": "0.0.25"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@teambit/legacy": "1.0.624"