@teambit/api-server 1.0.188 → 1.0.190

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