@teambit/api-server 1.0.512 → 1.0.514

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.
@@ -0,0 +1,1588 @@
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": "ExportSchema",
18
+ "location": {
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
+ },
23
+ "signature": "class ApiServerMain",
24
+ "name": "ApiServerMain",
25
+ "exportNode": {
26
+ "__schema": "ClassSchema",
27
+ "location": {
28
+ "filePath": "api-server.main.runtime.ts",
29
+ "line": 37,
30
+ "character": 1
31
+ },
32
+ "signature": "class ApiServerMain",
33
+ "name": "ApiServerMain",
34
+ "members": [
35
+ {
36
+ "__schema": "ConstructorSchema",
37
+ "location": {
38
+ "filePath": "api-server.main.runtime.ts",
39
+ "line": 38,
40
+ "character": 3
41
+ },
42
+ "signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
43
+ "name": "constructor",
44
+ "params": [
45
+ {
46
+ "__schema": "ParameterSchema",
47
+ "location": {
48
+ "filePath": "api-server.main.runtime.ts",
49
+ "line": 39,
50
+ "character": 5
51
+ },
52
+ "name": "workspace",
53
+ "type": {
54
+ "__schema": "TypeRefSchema",
55
+ "location": {
56
+ "filePath": "api-server.main.runtime.ts",
57
+ "line": 39,
58
+ "character": 24
59
+ },
60
+ "name": "Workspace",
61
+ "componentId": {
62
+ "scope": "teambit.workspace",
63
+ "name": "workspace"
64
+ }
65
+ },
66
+ "isOptional": false,
67
+ "isSpread": false
68
+ },
69
+ {
70
+ "__schema": "ParameterSchema",
71
+ "location": {
72
+ "filePath": "api-server.main.runtime.ts",
73
+ "line": 40,
74
+ "character": 5
75
+ },
76
+ "name": "logger",
77
+ "type": {
78
+ "__schema": "TypeRefSchema",
79
+ "location": {
80
+ "filePath": "api-server.main.runtime.ts",
81
+ "line": 40,
82
+ "character": 21
83
+ },
84
+ "name": "Logger",
85
+ "componentId": {
86
+ "scope": "teambit.harmony",
87
+ "name": "logger"
88
+ }
89
+ },
90
+ "isOptional": false,
91
+ "isSpread": false
92
+ },
93
+ {
94
+ "__schema": "ParameterSchema",
95
+ "location": {
96
+ "filePath": "api-server.main.runtime.ts",
97
+ "line": 41,
98
+ "character": 5
99
+ },
100
+ "name": "express",
101
+ "type": {
102
+ "__schema": "TypeRefSchema",
103
+ "location": {
104
+ "filePath": "api-server.main.runtime.ts",
105
+ "line": 41,
106
+ "character": 22
107
+ },
108
+ "name": "ExpressMain",
109
+ "componentId": {
110
+ "scope": "teambit.harmony",
111
+ "name": "express"
112
+ }
113
+ },
114
+ "isOptional": false,
115
+ "isSpread": false
116
+ },
117
+ {
118
+ "__schema": "ParameterSchema",
119
+ "location": {
120
+ "filePath": "api-server.main.runtime.ts",
121
+ "line": 42,
122
+ "character": 5
123
+ },
124
+ "name": "watcher",
125
+ "type": {
126
+ "__schema": "TypeRefSchema",
127
+ "location": {
128
+ "filePath": "api-server.main.runtime.ts",
129
+ "line": 42,
130
+ "character": 22
131
+ },
132
+ "name": "WatcherMain",
133
+ "componentId": {
134
+ "scope": "teambit.workspace",
135
+ "name": "watcher"
136
+ }
137
+ },
138
+ "isOptional": false,
139
+ "isSpread": false
140
+ },
141
+ {
142
+ "__schema": "ParameterSchema",
143
+ "location": {
144
+ "filePath": "api-server.main.runtime.ts",
145
+ "line": 43,
146
+ "character": 5
147
+ },
148
+ "name": "installer",
149
+ "type": {
150
+ "__schema": "TypeRefSchema",
151
+ "location": {
152
+ "filePath": "api-server.main.runtime.ts",
153
+ "line": 43,
154
+ "character": 24
155
+ },
156
+ "name": "InstallMain",
157
+ "componentId": {
158
+ "scope": "teambit.workspace",
159
+ "name": "install"
160
+ }
161
+ },
162
+ "isOptional": false,
163
+ "isSpread": false
164
+ },
165
+ {
166
+ "__schema": "ParameterSchema",
167
+ "location": {
168
+ "filePath": "api-server.main.runtime.ts",
169
+ "line": 44,
170
+ "character": 5
171
+ },
172
+ "name": "importer",
173
+ "type": {
174
+ "__schema": "TypeRefSchema",
175
+ "location": {
176
+ "filePath": "api-server.main.runtime.ts",
177
+ "line": 44,
178
+ "character": 23
179
+ },
180
+ "name": "ImporterMain",
181
+ "componentId": {
182
+ "scope": "teambit.scope",
183
+ "name": "importer"
184
+ }
185
+ },
186
+ "isOptional": false,
187
+ "isSpread": false
188
+ }
189
+ ],
190
+ "returnType": {
191
+ "__schema": "ThisTypeSchema",
192
+ "location": {
193
+ "filePath": "api-server.main.runtime.ts",
194
+ "line": 37,
195
+ "character": 1
196
+ },
197
+ "name": "ApiServerMain"
198
+ },
199
+ "modifiers": []
200
+ },
201
+ {
202
+ "__schema": "FunctionLikeSchema",
203
+ "location": {
204
+ "filePath": "api-server.main.runtime.ts",
205
+ "line": 47,
206
+ "character": 3
207
+ },
208
+ "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
209
+ "name": "runApiServer",
210
+ "params": [
211
+ {
212
+ "__schema": "ParameterSchema",
213
+ "location": {
214
+ "filePath": "api-server.main.runtime.ts",
215
+ "line": 47,
216
+ "character": 22
217
+ },
218
+ "name": "options",
219
+ "type": {
220
+ "__schema": "TypeLiteralSchema",
221
+ "location": {
222
+ "filePath": "api-server.main.runtime.ts",
223
+ "line": 47,
224
+ "character": 31
225
+ },
226
+ "members": [
227
+ {
228
+ "__schema": "VariableLikeSchema",
229
+ "location": {
230
+ "filePath": "api-server.main.runtime.ts",
231
+ "line": 47,
232
+ "character": 33
233
+ },
234
+ "signature": "(property) port: number",
235
+ "name": "port",
236
+ "type": {
237
+ "__schema": "KeywordTypeSchema",
238
+ "location": {
239
+ "filePath": "api-server.main.runtime.ts",
240
+ "line": 47,
241
+ "character": 39
242
+ },
243
+ "name": "number"
244
+ },
245
+ "isOptional": false
246
+ },
247
+ {
248
+ "__schema": "VariableLikeSchema",
249
+ "location": {
250
+ "filePath": "api-server.main.runtime.ts",
251
+ "line": 47,
252
+ "character": 47
253
+ },
254
+ "signature": "(property) compile: boolean",
255
+ "name": "compile",
256
+ "type": {
257
+ "__schema": "KeywordTypeSchema",
258
+ "location": {
259
+ "filePath": "api-server.main.runtime.ts",
260
+ "line": 47,
261
+ "character": 56
262
+ },
263
+ "name": "boolean"
264
+ },
265
+ "isOptional": false
266
+ }
267
+ ]
268
+ },
269
+ "isOptional": false,
270
+ "isSpread": false
271
+ }
272
+ ],
273
+ "returnType": {
274
+ "__schema": "InferenceTypeSchema",
275
+ "location": {
276
+ "filePath": "api-server.main.runtime.ts",
277
+ "line": 47,
278
+ "character": 3
279
+ },
280
+ "type": "Promise<unknown>"
281
+ },
282
+ "modifiers": [
283
+ "async"
284
+ ]
285
+ },
286
+ {
287
+ "__schema": "FunctionLikeSchema",
288
+ "location": {
289
+ "filePath": "api-server.main.runtime.ts",
290
+ "line": 179,
291
+ "character": 3
292
+ },
293
+ "signature": "(method) ApiServerMain.writeUsedPort(port: number): void",
294
+ "name": "writeUsedPort",
295
+ "params": [
296
+ {
297
+ "__schema": "ParameterSchema",
298
+ "location": {
299
+ "filePath": "api-server.main.runtime.ts",
300
+ "line": 179,
301
+ "character": 17
302
+ },
303
+ "name": "port",
304
+ "type": {
305
+ "__schema": "KeywordTypeSchema",
306
+ "location": {
307
+ "filePath": "api-server.main.runtime.ts",
308
+ "line": 179,
309
+ "character": 23
310
+ },
311
+ "name": "number"
312
+ },
313
+ "isOptional": false,
314
+ "isSpread": false
315
+ }
316
+ ],
317
+ "returnType": {
318
+ "__schema": "InferenceTypeSchema",
319
+ "location": {
320
+ "filePath": "api-server.main.runtime.ts",
321
+ "line": 179,
322
+ "character": 3
323
+ },
324
+ "type": "void"
325
+ },
326
+ "modifiers": []
327
+ },
328
+ {
329
+ "__schema": "FunctionLikeSchema",
330
+ "location": {
331
+ "filePath": "api-server.main.runtime.ts",
332
+ "line": 184,
333
+ "character": 3
334
+ },
335
+ "signature": "(method) ApiServerMain.getRandomPort(): Promise<number>",
336
+ "name": "getRandomPort",
337
+ "params": [],
338
+ "returnType": {
339
+ "__schema": "InferenceTypeSchema",
340
+ "location": {
341
+ "filePath": "api-server.main.runtime.ts",
342
+ "line": 184,
343
+ "character": 3
344
+ },
345
+ "type": "Promise<number>"
346
+ },
347
+ "modifiers": [
348
+ "async"
349
+ ]
350
+ },
351
+ {
352
+ "__schema": "FunctionLikeSchema",
353
+ "location": {
354
+ "filePath": "api-server.main.runtime.ts",
355
+ "line": 192,
356
+ "character": 3
357
+ },
358
+ "signature": "(method) ApiServerMain.getExistingUsedPort(): Promise<number | undefined>",
359
+ "name": "getExistingUsedPort",
360
+ "params": [],
361
+ "returnType": {
362
+ "__schema": "TypeRefSchema",
363
+ "location": {
364
+ "filePath": "api-server.main.runtime.ts",
365
+ "line": 192,
366
+ "character": 32
367
+ },
368
+ "name": "Promise",
369
+ "typeArgs": [
370
+ {
371
+ "__schema": "TypeUnionSchema",
372
+ "location": {
373
+ "filePath": "api-server.main.runtime.ts",
374
+ "line": 192,
375
+ "character": 40
376
+ },
377
+ "types": [
378
+ {
379
+ "__schema": "KeywordTypeSchema",
380
+ "location": {
381
+ "filePath": "api-server.main.runtime.ts",
382
+ "line": 192,
383
+ "character": 40
384
+ },
385
+ "name": "number"
386
+ },
387
+ {
388
+ "__schema": "KeywordTypeSchema",
389
+ "location": {
390
+ "filePath": "api-server.main.runtime.ts",
391
+ "line": 192,
392
+ "character": 49
393
+ },
394
+ "name": "undefined"
395
+ }
396
+ ]
397
+ }
398
+ ]
399
+ },
400
+ "modifiers": [
401
+ "async"
402
+ ]
403
+ },
404
+ {
405
+ "__schema": "VariableLikeSchema",
406
+ "location": {
407
+ "filePath": "api-server.main.runtime.ts",
408
+ "line": 209,
409
+ "character": 3
410
+ },
411
+ "signature": "(property) ApiServerMain.dependencies: Aspect[]",
412
+ "name": "dependencies",
413
+ "type": {
414
+ "__schema": "InferenceTypeSchema",
415
+ "location": {
416
+ "filePath": "api-server.main.runtime.ts",
417
+ "line": 209,
418
+ "character": 3
419
+ },
420
+ "type": "Aspect[]"
421
+ },
422
+ "isOptional": true,
423
+ "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 ]"
424
+ },
425
+ {
426
+ "__schema": "VariableLikeSchema",
427
+ "location": {
428
+ "filePath": "api-server.main.runtime.ts",
429
+ "line": 230,
430
+ "character": 3
431
+ },
432
+ "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
433
+ "name": "runtime",
434
+ "type": {
435
+ "__schema": "InferenceTypeSchema",
436
+ "location": {
437
+ "filePath": "api-server.main.runtime.ts",
438
+ "line": 230,
439
+ "character": 3
440
+ },
441
+ "type": "RuntimeDefinition"
442
+ },
443
+ "isOptional": true,
444
+ "defaultValue": "MainRuntime"
445
+ },
446
+ {
447
+ "__schema": "FunctionLikeSchema",
448
+ "location": {
449
+ "filePath": "api-server.main.runtime.ts",
450
+ "line": 231,
451
+ "character": 3
452
+ },
453
+ "signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs,]: [CLIMain, Workspace, LoggerMain, ExpressMain, WatcherMain, SnappingMain, LanesMain, InstallMain, ExportMain, CheckoutMain, ComponentLogMain, ImporterMain, ComponentCompareMain, GeneratorMain, RemoveMain, ConfigMain, ApplicationMain, DeprecationMain, EnvsMain]): Promise<...>",
454
+ "name": "provider",
455
+ "params": [
456
+ {
457
+ "__schema": "ParameterSchema",
458
+ "location": {
459
+ "filePath": "api-server.main.runtime.ts",
460
+ "line": 231,
461
+ "character": 25
462
+ },
463
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs ]",
464
+ "type": {
465
+ "__schema": "TupleTypeSchema",
466
+ "location": {
467
+ "filePath": "api-server.main.runtime.ts",
468
+ "line": 251,
469
+ "character": 6
470
+ },
471
+ "elements": [
472
+ {
473
+ "__schema": "TypeRefSchema",
474
+ "location": {
475
+ "filePath": "api-server.main.runtime.ts",
476
+ "line": 252,
477
+ "character": 5
478
+ },
479
+ "name": "CLIMain",
480
+ "componentId": {
481
+ "scope": "teambit.harmony",
482
+ "name": "cli"
483
+ }
484
+ },
485
+ {
486
+ "__schema": "TypeRefSchema",
487
+ "location": {
488
+ "filePath": "api-server.main.runtime.ts",
489
+ "line": 253,
490
+ "character": 5
491
+ },
492
+ "name": "Workspace",
493
+ "componentId": {
494
+ "scope": "teambit.workspace",
495
+ "name": "workspace"
496
+ }
497
+ },
498
+ {
499
+ "__schema": "TypeRefSchema",
500
+ "location": {
501
+ "filePath": "api-server.main.runtime.ts",
502
+ "line": 254,
503
+ "character": 5
504
+ },
505
+ "name": "LoggerMain",
506
+ "componentId": {
507
+ "scope": "teambit.harmony",
508
+ "name": "logger"
509
+ }
510
+ },
511
+ {
512
+ "__schema": "TypeRefSchema",
513
+ "location": {
514
+ "filePath": "api-server.main.runtime.ts",
515
+ "line": 255,
516
+ "character": 5
517
+ },
518
+ "name": "ExpressMain",
519
+ "componentId": {
520
+ "scope": "teambit.harmony",
521
+ "name": "express"
522
+ }
523
+ },
524
+ {
525
+ "__schema": "TypeRefSchema",
526
+ "location": {
527
+ "filePath": "api-server.main.runtime.ts",
528
+ "line": 256,
529
+ "character": 5
530
+ },
531
+ "name": "WatcherMain",
532
+ "componentId": {
533
+ "scope": "teambit.workspace",
534
+ "name": "watcher"
535
+ }
536
+ },
537
+ {
538
+ "__schema": "TypeRefSchema",
539
+ "location": {
540
+ "filePath": "api-server.main.runtime.ts",
541
+ "line": 257,
542
+ "character": 5
543
+ },
544
+ "name": "SnappingMain",
545
+ "componentId": {
546
+ "scope": "teambit.component",
547
+ "name": "snapping"
548
+ }
549
+ },
550
+ {
551
+ "__schema": "TypeRefSchema",
552
+ "location": {
553
+ "filePath": "api-server.main.runtime.ts",
554
+ "line": 258,
555
+ "character": 5
556
+ },
557
+ "name": "LanesMain",
558
+ "componentId": {
559
+ "scope": "teambit.lanes",
560
+ "name": "lanes"
561
+ }
562
+ },
563
+ {
564
+ "__schema": "TypeRefSchema",
565
+ "location": {
566
+ "filePath": "api-server.main.runtime.ts",
567
+ "line": 259,
568
+ "character": 5
569
+ },
570
+ "name": "InstallMain",
571
+ "componentId": {
572
+ "scope": "teambit.workspace",
573
+ "name": "install"
574
+ }
575
+ },
576
+ {
577
+ "__schema": "TypeRefSchema",
578
+ "location": {
579
+ "filePath": "api-server.main.runtime.ts",
580
+ "line": 260,
581
+ "character": 5
582
+ },
583
+ "name": "ExportMain",
584
+ "componentId": {
585
+ "scope": "teambit.scope",
586
+ "name": "export"
587
+ }
588
+ },
589
+ {
590
+ "__schema": "TypeRefSchema",
591
+ "location": {
592
+ "filePath": "api-server.main.runtime.ts",
593
+ "line": 261,
594
+ "character": 5
595
+ },
596
+ "name": "CheckoutMain",
597
+ "componentId": {
598
+ "scope": "teambit.component",
599
+ "name": "checkout"
600
+ }
601
+ },
602
+ {
603
+ "__schema": "TypeRefSchema",
604
+ "location": {
605
+ "filePath": "api-server.main.runtime.ts",
606
+ "line": 262,
607
+ "character": 5
608
+ },
609
+ "name": "ComponentLogMain",
610
+ "componentId": {
611
+ "scope": "teambit.component",
612
+ "name": "component-log"
613
+ }
614
+ },
615
+ {
616
+ "__schema": "TypeRefSchema",
617
+ "location": {
618
+ "filePath": "api-server.main.runtime.ts",
619
+ "line": 263,
620
+ "character": 5
621
+ },
622
+ "name": "ImporterMain",
623
+ "componentId": {
624
+ "scope": "teambit.scope",
625
+ "name": "importer"
626
+ }
627
+ },
628
+ {
629
+ "__schema": "TypeRefSchema",
630
+ "location": {
631
+ "filePath": "api-server.main.runtime.ts",
632
+ "line": 264,
633
+ "character": 5
634
+ },
635
+ "name": "ComponentCompareMain",
636
+ "componentId": {
637
+ "scope": "teambit.component",
638
+ "name": "component-compare"
639
+ }
640
+ },
641
+ {
642
+ "__schema": "TypeRefSchema",
643
+ "location": {
644
+ "filePath": "api-server.main.runtime.ts",
645
+ "line": 265,
646
+ "character": 5
647
+ },
648
+ "name": "GeneratorMain",
649
+ "componentId": {
650
+ "scope": "teambit.generator",
651
+ "name": "generator"
652
+ }
653
+ },
654
+ {
655
+ "__schema": "TypeRefSchema",
656
+ "location": {
657
+ "filePath": "api-server.main.runtime.ts",
658
+ "line": 266,
659
+ "character": 5
660
+ },
661
+ "name": "RemoveMain",
662
+ "componentId": {
663
+ "scope": "teambit.component",
664
+ "name": "remove"
665
+ }
666
+ },
667
+ {
668
+ "__schema": "TypeRefSchema",
669
+ "location": {
670
+ "filePath": "api-server.main.runtime.ts",
671
+ "line": 267,
672
+ "character": 5
673
+ },
674
+ "name": "ConfigMain",
675
+ "componentId": {
676
+ "scope": "teambit.harmony",
677
+ "name": "config"
678
+ }
679
+ },
680
+ {
681
+ "__schema": "TypeRefSchema",
682
+ "location": {
683
+ "filePath": "api-server.main.runtime.ts",
684
+ "line": 268,
685
+ "character": 5
686
+ },
687
+ "name": "ApplicationMain",
688
+ "componentId": {
689
+ "scope": "teambit.harmony",
690
+ "name": "application"
691
+ }
692
+ },
693
+ {
694
+ "__schema": "TypeRefSchema",
695
+ "location": {
696
+ "filePath": "api-server.main.runtime.ts",
697
+ "line": 269,
698
+ "character": 5
699
+ },
700
+ "name": "DeprecationMain",
701
+ "componentId": {
702
+ "scope": "teambit.component",
703
+ "name": "deprecation"
704
+ }
705
+ },
706
+ {
707
+ "__schema": "TypeRefSchema",
708
+ "location": {
709
+ "filePath": "api-server.main.runtime.ts",
710
+ "line": 270,
711
+ "character": 5
712
+ },
713
+ "name": "EnvsMain",
714
+ "componentId": {
715
+ "scope": "teambit.envs",
716
+ "name": "envs"
717
+ }
718
+ }
719
+ ]
720
+ },
721
+ "isOptional": false,
722
+ "isSpread": false
723
+ }
724
+ ],
725
+ "returnType": {
726
+ "__schema": "InferenceTypeSchema",
727
+ "location": {
728
+ "filePath": "api-server.main.runtime.ts",
729
+ "line": 231,
730
+ "character": 3
731
+ },
732
+ "type": "Promise<...>"
733
+ },
734
+ "modifiers": [
735
+ "static",
736
+ "async"
737
+ ]
738
+ }
739
+ ],
740
+ "extendsNodes": [],
741
+ "implementNodes": []
742
+ }
743
+ },
744
+ {
745
+ "__schema": "UnImplementedSchema",
746
+ "location": {
747
+ "filePath": "index.ts",
748
+ "line": 4,
749
+ "character": 16
750
+ },
751
+ "name": "ApiServerAspect",
752
+ "type": "Identifier"
753
+ },
754
+ {
755
+ "__schema": "ExportSchema",
756
+ "location": {
757
+ "filePath": "index.ts",
758
+ "line": 5,
759
+ "character": 10
760
+ },
761
+ "signature": "const ApiServerAspect: Aspect",
762
+ "name": "ApiServerAspect",
763
+ "exportNode": {
764
+ "__schema": "VariableLikeSchema",
765
+ "location": {
766
+ "filePath": "api-server.aspect.ts",
767
+ "line": 3,
768
+ "character": 14
769
+ },
770
+ "signature": "const ApiServerAspect: Aspect",
771
+ "name": "ApiServerAspect",
772
+ "type": {
773
+ "__schema": "TypeRefSchema",
774
+ "location": {
775
+ "filePath": "api-server.aspect.ts",
776
+ "line": 3,
777
+ "character": 14
778
+ },
779
+ "name": "Aspect",
780
+ "componentId": {
781
+ "scope": "teambit.harmony",
782
+ "name": "harmony",
783
+ "version": "0.4.6"
784
+ }
785
+ },
786
+ "isOptional": false,
787
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
788
+ }
789
+ }
790
+ ],
791
+ "internals": []
792
+ },
793
+ "internals": [
794
+ {
795
+ "__schema": "ModuleSchema",
796
+ "location": {
797
+ "filePath": "api-server.main.runtime.ts",
798
+ "line": 1,
799
+ "character": 1
800
+ },
801
+ "exports": [
802
+ {
803
+ "__schema": "ClassSchema",
804
+ "location": {
805
+ "filePath": "api-server.main.runtime.ts",
806
+ "line": 37,
807
+ "character": 1
808
+ },
809
+ "signature": "class ApiServerMain",
810
+ "name": "ApiServerMain",
811
+ "members": [
812
+ {
813
+ "__schema": "ConstructorSchema",
814
+ "location": {
815
+ "filePath": "api-server.main.runtime.ts",
816
+ "line": 38,
817
+ "character": 3
818
+ },
819
+ "signature": "constructor ApiServerMain(workspace: Workspace, logger: Logger, express: ExpressMain, watcher: WatcherMain, installer: InstallMain, importer: ImporterMain): ApiServerMain",
820
+ "name": "constructor",
821
+ "params": [
822
+ {
823
+ "__schema": "ParameterSchema",
824
+ "location": {
825
+ "filePath": "api-server.main.runtime.ts",
826
+ "line": 39,
827
+ "character": 5
828
+ },
829
+ "name": "workspace",
830
+ "type": {
831
+ "__schema": "TypeRefSchema",
832
+ "location": {
833
+ "filePath": "api-server.main.runtime.ts",
834
+ "line": 39,
835
+ "character": 24
836
+ },
837
+ "name": "Workspace",
838
+ "componentId": {
839
+ "scope": "teambit.workspace",
840
+ "name": "workspace"
841
+ }
842
+ },
843
+ "isOptional": false,
844
+ "isSpread": false
845
+ },
846
+ {
847
+ "__schema": "ParameterSchema",
848
+ "location": {
849
+ "filePath": "api-server.main.runtime.ts",
850
+ "line": 40,
851
+ "character": 5
852
+ },
853
+ "name": "logger",
854
+ "type": {
855
+ "__schema": "TypeRefSchema",
856
+ "location": {
857
+ "filePath": "api-server.main.runtime.ts",
858
+ "line": 40,
859
+ "character": 21
860
+ },
861
+ "name": "Logger",
862
+ "componentId": {
863
+ "scope": "teambit.harmony",
864
+ "name": "logger"
865
+ }
866
+ },
867
+ "isOptional": false,
868
+ "isSpread": false
869
+ },
870
+ {
871
+ "__schema": "ParameterSchema",
872
+ "location": {
873
+ "filePath": "api-server.main.runtime.ts",
874
+ "line": 41,
875
+ "character": 5
876
+ },
877
+ "name": "express",
878
+ "type": {
879
+ "__schema": "TypeRefSchema",
880
+ "location": {
881
+ "filePath": "api-server.main.runtime.ts",
882
+ "line": 41,
883
+ "character": 22
884
+ },
885
+ "name": "ExpressMain",
886
+ "componentId": {
887
+ "scope": "teambit.harmony",
888
+ "name": "express"
889
+ }
890
+ },
891
+ "isOptional": false,
892
+ "isSpread": false
893
+ },
894
+ {
895
+ "__schema": "ParameterSchema",
896
+ "location": {
897
+ "filePath": "api-server.main.runtime.ts",
898
+ "line": 42,
899
+ "character": 5
900
+ },
901
+ "name": "watcher",
902
+ "type": {
903
+ "__schema": "TypeRefSchema",
904
+ "location": {
905
+ "filePath": "api-server.main.runtime.ts",
906
+ "line": 42,
907
+ "character": 22
908
+ },
909
+ "name": "WatcherMain",
910
+ "componentId": {
911
+ "scope": "teambit.workspace",
912
+ "name": "watcher"
913
+ }
914
+ },
915
+ "isOptional": false,
916
+ "isSpread": false
917
+ },
918
+ {
919
+ "__schema": "ParameterSchema",
920
+ "location": {
921
+ "filePath": "api-server.main.runtime.ts",
922
+ "line": 43,
923
+ "character": 5
924
+ },
925
+ "name": "installer",
926
+ "type": {
927
+ "__schema": "TypeRefSchema",
928
+ "location": {
929
+ "filePath": "api-server.main.runtime.ts",
930
+ "line": 43,
931
+ "character": 24
932
+ },
933
+ "name": "InstallMain",
934
+ "componentId": {
935
+ "scope": "teambit.workspace",
936
+ "name": "install"
937
+ }
938
+ },
939
+ "isOptional": false,
940
+ "isSpread": false
941
+ },
942
+ {
943
+ "__schema": "ParameterSchema",
944
+ "location": {
945
+ "filePath": "api-server.main.runtime.ts",
946
+ "line": 44,
947
+ "character": 5
948
+ },
949
+ "name": "importer",
950
+ "type": {
951
+ "__schema": "TypeRefSchema",
952
+ "location": {
953
+ "filePath": "api-server.main.runtime.ts",
954
+ "line": 44,
955
+ "character": 23
956
+ },
957
+ "name": "ImporterMain",
958
+ "componentId": {
959
+ "scope": "teambit.scope",
960
+ "name": "importer"
961
+ }
962
+ },
963
+ "isOptional": false,
964
+ "isSpread": false
965
+ }
966
+ ],
967
+ "returnType": {
968
+ "__schema": "ThisTypeSchema",
969
+ "location": {
970
+ "filePath": "api-server.main.runtime.ts",
971
+ "line": 37,
972
+ "character": 1
973
+ },
974
+ "name": "ApiServerMain"
975
+ },
976
+ "modifiers": []
977
+ },
978
+ {
979
+ "__schema": "FunctionLikeSchema",
980
+ "location": {
981
+ "filePath": "api-server.main.runtime.ts",
982
+ "line": 47,
983
+ "character": 3
984
+ },
985
+ "signature": "(method) ApiServerMain.runApiServer(options: {\n port: number;\n compile: boolean;\n}): Promise<unknown>",
986
+ "name": "runApiServer",
987
+ "params": [
988
+ {
989
+ "__schema": "ParameterSchema",
990
+ "location": {
991
+ "filePath": "api-server.main.runtime.ts",
992
+ "line": 47,
993
+ "character": 22
994
+ },
995
+ "name": "options",
996
+ "type": {
997
+ "__schema": "TypeLiteralSchema",
998
+ "location": {
999
+ "filePath": "api-server.main.runtime.ts",
1000
+ "line": 47,
1001
+ "character": 31
1002
+ },
1003
+ "members": [
1004
+ {
1005
+ "__schema": "VariableLikeSchema",
1006
+ "location": {
1007
+ "filePath": "api-server.main.runtime.ts",
1008
+ "line": 47,
1009
+ "character": 33
1010
+ },
1011
+ "signature": "(property) port: number",
1012
+ "name": "port",
1013
+ "type": {
1014
+ "__schema": "KeywordTypeSchema",
1015
+ "location": {
1016
+ "filePath": "api-server.main.runtime.ts",
1017
+ "line": 47,
1018
+ "character": 39
1019
+ },
1020
+ "name": "number"
1021
+ },
1022
+ "isOptional": false
1023
+ },
1024
+ {
1025
+ "__schema": "VariableLikeSchema",
1026
+ "location": {
1027
+ "filePath": "api-server.main.runtime.ts",
1028
+ "line": 47,
1029
+ "character": 47
1030
+ },
1031
+ "signature": "(property) compile: boolean",
1032
+ "name": "compile",
1033
+ "type": {
1034
+ "__schema": "KeywordTypeSchema",
1035
+ "location": {
1036
+ "filePath": "api-server.main.runtime.ts",
1037
+ "line": 47,
1038
+ "character": 56
1039
+ },
1040
+ "name": "boolean"
1041
+ },
1042
+ "isOptional": false
1043
+ }
1044
+ ]
1045
+ },
1046
+ "isOptional": false,
1047
+ "isSpread": false
1048
+ }
1049
+ ],
1050
+ "returnType": {
1051
+ "__schema": "InferenceTypeSchema",
1052
+ "location": {
1053
+ "filePath": "api-server.main.runtime.ts",
1054
+ "line": 47,
1055
+ "character": 3
1056
+ },
1057
+ "type": "Promise<unknown>"
1058
+ },
1059
+ "modifiers": [
1060
+ "async"
1061
+ ]
1062
+ },
1063
+ {
1064
+ "__schema": "FunctionLikeSchema",
1065
+ "location": {
1066
+ "filePath": "api-server.main.runtime.ts",
1067
+ "line": 179,
1068
+ "character": 3
1069
+ },
1070
+ "signature": "(method) ApiServerMain.writeUsedPort(port: number): void",
1071
+ "name": "writeUsedPort",
1072
+ "params": [
1073
+ {
1074
+ "__schema": "ParameterSchema",
1075
+ "location": {
1076
+ "filePath": "api-server.main.runtime.ts",
1077
+ "line": 179,
1078
+ "character": 17
1079
+ },
1080
+ "name": "port",
1081
+ "type": {
1082
+ "__schema": "KeywordTypeSchema",
1083
+ "location": {
1084
+ "filePath": "api-server.main.runtime.ts",
1085
+ "line": 179,
1086
+ "character": 23
1087
+ },
1088
+ "name": "number"
1089
+ },
1090
+ "isOptional": false,
1091
+ "isSpread": false
1092
+ }
1093
+ ],
1094
+ "returnType": {
1095
+ "__schema": "InferenceTypeSchema",
1096
+ "location": {
1097
+ "filePath": "api-server.main.runtime.ts",
1098
+ "line": 179,
1099
+ "character": 3
1100
+ },
1101
+ "type": "void"
1102
+ },
1103
+ "modifiers": []
1104
+ },
1105
+ {
1106
+ "__schema": "FunctionLikeSchema",
1107
+ "location": {
1108
+ "filePath": "api-server.main.runtime.ts",
1109
+ "line": 184,
1110
+ "character": 3
1111
+ },
1112
+ "signature": "(method) ApiServerMain.getRandomPort(): Promise<number>",
1113
+ "name": "getRandomPort",
1114
+ "params": [],
1115
+ "returnType": {
1116
+ "__schema": "InferenceTypeSchema",
1117
+ "location": {
1118
+ "filePath": "api-server.main.runtime.ts",
1119
+ "line": 184,
1120
+ "character": 3
1121
+ },
1122
+ "type": "Promise<number>"
1123
+ },
1124
+ "modifiers": [
1125
+ "async"
1126
+ ]
1127
+ },
1128
+ {
1129
+ "__schema": "FunctionLikeSchema",
1130
+ "location": {
1131
+ "filePath": "api-server.main.runtime.ts",
1132
+ "line": 192,
1133
+ "character": 3
1134
+ },
1135
+ "signature": "(method) ApiServerMain.getExistingUsedPort(): Promise<number | undefined>",
1136
+ "name": "getExistingUsedPort",
1137
+ "params": [],
1138
+ "returnType": {
1139
+ "__schema": "TypeRefSchema",
1140
+ "location": {
1141
+ "filePath": "api-server.main.runtime.ts",
1142
+ "line": 192,
1143
+ "character": 32
1144
+ },
1145
+ "name": "Promise",
1146
+ "typeArgs": [
1147
+ {
1148
+ "__schema": "TypeUnionSchema",
1149
+ "location": {
1150
+ "filePath": "api-server.main.runtime.ts",
1151
+ "line": 192,
1152
+ "character": 40
1153
+ },
1154
+ "types": [
1155
+ {
1156
+ "__schema": "KeywordTypeSchema",
1157
+ "location": {
1158
+ "filePath": "api-server.main.runtime.ts",
1159
+ "line": 192,
1160
+ "character": 40
1161
+ },
1162
+ "name": "number"
1163
+ },
1164
+ {
1165
+ "__schema": "KeywordTypeSchema",
1166
+ "location": {
1167
+ "filePath": "api-server.main.runtime.ts",
1168
+ "line": 192,
1169
+ "character": 49
1170
+ },
1171
+ "name": "undefined"
1172
+ }
1173
+ ]
1174
+ }
1175
+ ]
1176
+ },
1177
+ "modifiers": [
1178
+ "async"
1179
+ ]
1180
+ },
1181
+ {
1182
+ "__schema": "VariableLikeSchema",
1183
+ "location": {
1184
+ "filePath": "api-server.main.runtime.ts",
1185
+ "line": 209,
1186
+ "character": 3
1187
+ },
1188
+ "signature": "(property) ApiServerMain.dependencies: Aspect[]",
1189
+ "name": "dependencies",
1190
+ "type": {
1191
+ "__schema": "InferenceTypeSchema",
1192
+ "location": {
1193
+ "filePath": "api-server.main.runtime.ts",
1194
+ "line": 209,
1195
+ "character": 3
1196
+ },
1197
+ "type": "Aspect[]"
1198
+ },
1199
+ "isOptional": true,
1200
+ "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 ]"
1201
+ },
1202
+ {
1203
+ "__schema": "VariableLikeSchema",
1204
+ "location": {
1205
+ "filePath": "api-server.main.runtime.ts",
1206
+ "line": 230,
1207
+ "character": 3
1208
+ },
1209
+ "signature": "(property) ApiServerMain.runtime: RuntimeDefinition",
1210
+ "name": "runtime",
1211
+ "type": {
1212
+ "__schema": "InferenceTypeSchema",
1213
+ "location": {
1214
+ "filePath": "api-server.main.runtime.ts",
1215
+ "line": 230,
1216
+ "character": 3
1217
+ },
1218
+ "type": "RuntimeDefinition"
1219
+ },
1220
+ "isOptional": true,
1221
+ "defaultValue": "MainRuntime"
1222
+ },
1223
+ {
1224
+ "__schema": "FunctionLikeSchema",
1225
+ "location": {
1226
+ "filePath": "api-server.main.runtime.ts",
1227
+ "line": 231,
1228
+ "character": 3
1229
+ },
1230
+ "signature": "(method) ApiServerMain.provider([cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs,]: [CLIMain, Workspace, LoggerMain, ExpressMain, WatcherMain, SnappingMain, LanesMain, InstallMain, ExportMain, CheckoutMain, ComponentLogMain, ImporterMain, ComponentCompareMain, GeneratorMain, RemoveMain, ConfigMain, ApplicationMain, DeprecationMain, EnvsMain]): Promise<...>",
1231
+ "name": "provider",
1232
+ "params": [
1233
+ {
1234
+ "__schema": "ParameterSchema",
1235
+ "location": {
1236
+ "filePath": "api-server.main.runtime.ts",
1237
+ "line": 231,
1238
+ "character": 25
1239
+ },
1240
+ "name": "[ cli, workspace, loggerMain, express, watcher, snapping, lanes, installer, exporter, checkout, componentLog, importer, componentCompare, generator, remove, config, application, deprecation, envs ]",
1241
+ "type": {
1242
+ "__schema": "TupleTypeSchema",
1243
+ "location": {
1244
+ "filePath": "api-server.main.runtime.ts",
1245
+ "line": 251,
1246
+ "character": 6
1247
+ },
1248
+ "elements": [
1249
+ {
1250
+ "__schema": "TypeRefSchema",
1251
+ "location": {
1252
+ "filePath": "api-server.main.runtime.ts",
1253
+ "line": 252,
1254
+ "character": 5
1255
+ },
1256
+ "name": "CLIMain",
1257
+ "componentId": {
1258
+ "scope": "teambit.harmony",
1259
+ "name": "cli"
1260
+ }
1261
+ },
1262
+ {
1263
+ "__schema": "TypeRefSchema",
1264
+ "location": {
1265
+ "filePath": "api-server.main.runtime.ts",
1266
+ "line": 253,
1267
+ "character": 5
1268
+ },
1269
+ "name": "Workspace",
1270
+ "componentId": {
1271
+ "scope": "teambit.workspace",
1272
+ "name": "workspace"
1273
+ }
1274
+ },
1275
+ {
1276
+ "__schema": "TypeRefSchema",
1277
+ "location": {
1278
+ "filePath": "api-server.main.runtime.ts",
1279
+ "line": 254,
1280
+ "character": 5
1281
+ },
1282
+ "name": "LoggerMain",
1283
+ "componentId": {
1284
+ "scope": "teambit.harmony",
1285
+ "name": "logger"
1286
+ }
1287
+ },
1288
+ {
1289
+ "__schema": "TypeRefSchema",
1290
+ "location": {
1291
+ "filePath": "api-server.main.runtime.ts",
1292
+ "line": 255,
1293
+ "character": 5
1294
+ },
1295
+ "name": "ExpressMain",
1296
+ "componentId": {
1297
+ "scope": "teambit.harmony",
1298
+ "name": "express"
1299
+ }
1300
+ },
1301
+ {
1302
+ "__schema": "TypeRefSchema",
1303
+ "location": {
1304
+ "filePath": "api-server.main.runtime.ts",
1305
+ "line": 256,
1306
+ "character": 5
1307
+ },
1308
+ "name": "WatcherMain",
1309
+ "componentId": {
1310
+ "scope": "teambit.workspace",
1311
+ "name": "watcher"
1312
+ }
1313
+ },
1314
+ {
1315
+ "__schema": "TypeRefSchema",
1316
+ "location": {
1317
+ "filePath": "api-server.main.runtime.ts",
1318
+ "line": 257,
1319
+ "character": 5
1320
+ },
1321
+ "name": "SnappingMain",
1322
+ "componentId": {
1323
+ "scope": "teambit.component",
1324
+ "name": "snapping"
1325
+ }
1326
+ },
1327
+ {
1328
+ "__schema": "TypeRefSchema",
1329
+ "location": {
1330
+ "filePath": "api-server.main.runtime.ts",
1331
+ "line": 258,
1332
+ "character": 5
1333
+ },
1334
+ "name": "LanesMain",
1335
+ "componentId": {
1336
+ "scope": "teambit.lanes",
1337
+ "name": "lanes"
1338
+ }
1339
+ },
1340
+ {
1341
+ "__schema": "TypeRefSchema",
1342
+ "location": {
1343
+ "filePath": "api-server.main.runtime.ts",
1344
+ "line": 259,
1345
+ "character": 5
1346
+ },
1347
+ "name": "InstallMain",
1348
+ "componentId": {
1349
+ "scope": "teambit.workspace",
1350
+ "name": "install"
1351
+ }
1352
+ },
1353
+ {
1354
+ "__schema": "TypeRefSchema",
1355
+ "location": {
1356
+ "filePath": "api-server.main.runtime.ts",
1357
+ "line": 260,
1358
+ "character": 5
1359
+ },
1360
+ "name": "ExportMain",
1361
+ "componentId": {
1362
+ "scope": "teambit.scope",
1363
+ "name": "export"
1364
+ }
1365
+ },
1366
+ {
1367
+ "__schema": "TypeRefSchema",
1368
+ "location": {
1369
+ "filePath": "api-server.main.runtime.ts",
1370
+ "line": 261,
1371
+ "character": 5
1372
+ },
1373
+ "name": "CheckoutMain",
1374
+ "componentId": {
1375
+ "scope": "teambit.component",
1376
+ "name": "checkout"
1377
+ }
1378
+ },
1379
+ {
1380
+ "__schema": "TypeRefSchema",
1381
+ "location": {
1382
+ "filePath": "api-server.main.runtime.ts",
1383
+ "line": 262,
1384
+ "character": 5
1385
+ },
1386
+ "name": "ComponentLogMain",
1387
+ "componentId": {
1388
+ "scope": "teambit.component",
1389
+ "name": "component-log"
1390
+ }
1391
+ },
1392
+ {
1393
+ "__schema": "TypeRefSchema",
1394
+ "location": {
1395
+ "filePath": "api-server.main.runtime.ts",
1396
+ "line": 263,
1397
+ "character": 5
1398
+ },
1399
+ "name": "ImporterMain",
1400
+ "componentId": {
1401
+ "scope": "teambit.scope",
1402
+ "name": "importer"
1403
+ }
1404
+ },
1405
+ {
1406
+ "__schema": "TypeRefSchema",
1407
+ "location": {
1408
+ "filePath": "api-server.main.runtime.ts",
1409
+ "line": 264,
1410
+ "character": 5
1411
+ },
1412
+ "name": "ComponentCompareMain",
1413
+ "componentId": {
1414
+ "scope": "teambit.component",
1415
+ "name": "component-compare"
1416
+ }
1417
+ },
1418
+ {
1419
+ "__schema": "TypeRefSchema",
1420
+ "location": {
1421
+ "filePath": "api-server.main.runtime.ts",
1422
+ "line": 265,
1423
+ "character": 5
1424
+ },
1425
+ "name": "GeneratorMain",
1426
+ "componentId": {
1427
+ "scope": "teambit.generator",
1428
+ "name": "generator"
1429
+ }
1430
+ },
1431
+ {
1432
+ "__schema": "TypeRefSchema",
1433
+ "location": {
1434
+ "filePath": "api-server.main.runtime.ts",
1435
+ "line": 266,
1436
+ "character": 5
1437
+ },
1438
+ "name": "RemoveMain",
1439
+ "componentId": {
1440
+ "scope": "teambit.component",
1441
+ "name": "remove"
1442
+ }
1443
+ },
1444
+ {
1445
+ "__schema": "TypeRefSchema",
1446
+ "location": {
1447
+ "filePath": "api-server.main.runtime.ts",
1448
+ "line": 267,
1449
+ "character": 5
1450
+ },
1451
+ "name": "ConfigMain",
1452
+ "componentId": {
1453
+ "scope": "teambit.harmony",
1454
+ "name": "config"
1455
+ }
1456
+ },
1457
+ {
1458
+ "__schema": "TypeRefSchema",
1459
+ "location": {
1460
+ "filePath": "api-server.main.runtime.ts",
1461
+ "line": 268,
1462
+ "character": 5
1463
+ },
1464
+ "name": "ApplicationMain",
1465
+ "componentId": {
1466
+ "scope": "teambit.harmony",
1467
+ "name": "application"
1468
+ }
1469
+ },
1470
+ {
1471
+ "__schema": "TypeRefSchema",
1472
+ "location": {
1473
+ "filePath": "api-server.main.runtime.ts",
1474
+ "line": 269,
1475
+ "character": 5
1476
+ },
1477
+ "name": "DeprecationMain",
1478
+ "componentId": {
1479
+ "scope": "teambit.component",
1480
+ "name": "deprecation"
1481
+ }
1482
+ },
1483
+ {
1484
+ "__schema": "TypeRefSchema",
1485
+ "location": {
1486
+ "filePath": "api-server.main.runtime.ts",
1487
+ "line": 270,
1488
+ "character": 5
1489
+ },
1490
+ "name": "EnvsMain",
1491
+ "componentId": {
1492
+ "scope": "teambit.envs",
1493
+ "name": "envs"
1494
+ }
1495
+ }
1496
+ ]
1497
+ },
1498
+ "isOptional": false,
1499
+ "isSpread": false
1500
+ }
1501
+ ],
1502
+ "returnType": {
1503
+ "__schema": "InferenceTypeSchema",
1504
+ "location": {
1505
+ "filePath": "api-server.main.runtime.ts",
1506
+ "line": 231,
1507
+ "character": 3
1508
+ },
1509
+ "type": "Promise<...>"
1510
+ },
1511
+ "modifiers": [
1512
+ "static",
1513
+ "async"
1514
+ ]
1515
+ }
1516
+ ],
1517
+ "extendsNodes": [],
1518
+ "implementNodes": []
1519
+ },
1520
+ {
1521
+ "__schema": "UnImplementedSchema",
1522
+ "location": {
1523
+ "filePath": "api-server.main.runtime.ts",
1524
+ "line": 307,
1525
+ "character": 16
1526
+ },
1527
+ "name": "ApiServerMain",
1528
+ "type": "Identifier"
1529
+ }
1530
+ ],
1531
+ "internals": [
1532
+ {
1533
+ "__schema": "UnImplementedSchema",
1534
+ "location": {
1535
+ "filePath": "api-server.main.runtime.ts",
1536
+ "line": 305,
1537
+ "character": 1
1538
+ },
1539
+ "name": "ApiServerAspect.addRuntime(ApiServerMain);",
1540
+ "type": "ExpressionStatement"
1541
+ }
1542
+ ]
1543
+ },
1544
+ {
1545
+ "__schema": "ModuleSchema",
1546
+ "location": {
1547
+ "filePath": "api-server.aspect.ts",
1548
+ "line": 1,
1549
+ "character": 1
1550
+ },
1551
+ "exports": [
1552
+ {
1553
+ "__schema": "VariableLikeSchema",
1554
+ "location": {
1555
+ "filePath": "api-server.aspect.ts",
1556
+ "line": 3,
1557
+ "character": 14
1558
+ },
1559
+ "signature": "const ApiServerAspect: Aspect",
1560
+ "name": "ApiServerAspect",
1561
+ "type": {
1562
+ "__schema": "TypeRefSchema",
1563
+ "location": {
1564
+ "filePath": "api-server.aspect.ts",
1565
+ "line": 3,
1566
+ "character": 14
1567
+ },
1568
+ "name": "Aspect",
1569
+ "componentId": {
1570
+ "scope": "teambit.harmony",
1571
+ "name": "harmony",
1572
+ "version": "0.4.6"
1573
+ }
1574
+ },
1575
+ "isOptional": false,
1576
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/api-server',\n})"
1577
+ }
1578
+ ],
1579
+ "internals": []
1580
+ }
1581
+ ],
1582
+ "componentId": {
1583
+ "scope": "teambit.harmony",
1584
+ "name": "api-server",
1585
+ "version": "1.0.514"
1586
+ },
1587
+ "taggedModuleExports": []
1588
+ }