@teambit/global-config 0.0.1090 → 0.0.1091

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