@teambit/global-config 0.0.1096 → 0.0.1098

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,1662 +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
- "componentId": {
469
- "scope": "teambit.legacy",
470
- "name": "global-config",
471
- "version": "0.0.7"
472
- }
473
- }
474
- ]
475
- },
476
- "modifiers": [
477
- "async"
478
- ]
479
- },
480
- {
481
- "__schema": "FunctionLikeSchema",
482
- "location": {
483
- "filePath": "global-config.main.runtime.ts",
484
- "line": 60,
485
- "character": 3
486
- },
487
- "signature": "(method) GlobalConfigMain.setSync(key: string, val: string): GlobalConfig",
488
- "name": "setSync",
489
- "params": [
490
- {
491
- "__schema": "ParameterSchema",
492
- "location": {
493
- "filePath": "global-config.main.runtime.ts",
494
- "line": 60,
495
- "character": 11
496
- },
497
- "name": "key",
498
- "type": {
499
- "__schema": "KeywordTypeSchema",
500
- "location": {
501
- "filePath": "global-config.main.runtime.ts",
502
- "line": 60,
503
- "character": 16
504
- },
505
- "name": "string"
506
- },
507
- "isOptional": false,
508
- "isSpread": false
509
- },
510
- {
511
- "__schema": "ParameterSchema",
512
- "location": {
513
- "filePath": "global-config.main.runtime.ts",
514
- "line": 60,
515
- "character": 24
516
- },
517
- "name": "val",
518
- "type": {
519
- "__schema": "KeywordTypeSchema",
520
- "location": {
521
- "filePath": "global-config.main.runtime.ts",
522
- "line": 60,
523
- "character": 29
524
- },
525
- "name": "string"
526
- },
527
- "isOptional": false,
528
- "isSpread": false
529
- }
530
- ],
531
- "returnType": {
532
- "__schema": "TypeRefSchema",
533
- "location": {
534
- "filePath": "global-config.main.runtime.ts",
535
- "line": 60,
536
- "character": 3
537
- },
538
- "name": "GlobalConfig",
539
- "componentId": {
540
- "scope": "teambit.legacy",
541
- "name": "global-config",
542
- "version": "0.0.7"
543
- }
544
- },
545
- "modifiers": []
546
- },
547
- {
548
- "__schema": "FunctionLikeSchema",
549
- "location": {
550
- "filePath": "global-config.main.runtime.ts",
551
- "line": 64,
552
- "character": 3
553
- },
554
- "signature": "(method) GlobalConfigMain.del(key: string): Promise<GlobalConfig>",
555
- "name": "del",
556
- "params": [
557
- {
558
- "__schema": "ParameterSchema",
559
- "location": {
560
- "filePath": "global-config.main.runtime.ts",
561
- "line": 64,
562
- "character": 13
563
- },
564
- "name": "key",
565
- "type": {
566
- "__schema": "KeywordTypeSchema",
567
- "location": {
568
- "filePath": "global-config.main.runtime.ts",
569
- "line": 64,
570
- "character": 18
571
- },
572
- "name": "string"
573
- },
574
- "isOptional": false,
575
- "isSpread": false
576
- }
577
- ],
578
- "returnType": {
579
- "__schema": "TypeRefSchema",
580
- "location": {
581
- "filePath": "global-config.main.runtime.ts",
582
- "line": 64,
583
- "character": 27
584
- },
585
- "name": "Promise",
586
- "typeArgs": [
587
- {
588
- "__schema": "TypeRefSchema",
589
- "location": {
590
- "filePath": "global-config.main.runtime.ts",
591
- "line": 64,
592
- "character": 35
593
- },
594
- "name": "GlobalConfig",
595
- "componentId": {
596
- "scope": "teambit.legacy",
597
- "name": "global-config",
598
- "version": "0.0.7"
599
- }
600
- }
601
- ]
602
- },
603
- "modifiers": [
604
- "async"
605
- ]
606
- },
607
- {
608
- "__schema": "FunctionLikeSchema",
609
- "location": {
610
- "filePath": "global-config.main.runtime.ts",
611
- "line": 68,
612
- "character": 3
613
- },
614
- "signature": "(method) GlobalConfigMain.delSync(key: string): GlobalConfig",
615
- "name": "delSync",
616
- "params": [
617
- {
618
- "__schema": "ParameterSchema",
619
- "location": {
620
- "filePath": "global-config.main.runtime.ts",
621
- "line": 68,
622
- "character": 11
623
- },
624
- "name": "key",
625
- "type": {
626
- "__schema": "KeywordTypeSchema",
627
- "location": {
628
- "filePath": "global-config.main.runtime.ts",
629
- "line": 68,
630
- "character": 16
631
- },
632
- "name": "string"
633
- },
634
- "isOptional": false,
635
- "isSpread": false
636
- }
637
- ],
638
- "returnType": {
639
- "__schema": "TypeRefSchema",
640
- "location": {
641
- "filePath": "global-config.main.runtime.ts",
642
- "line": 68,
643
- "character": 3
644
- },
645
- "name": "GlobalConfig",
646
- "componentId": {
647
- "scope": "teambit.legacy",
648
- "name": "global-config",
649
- "version": "0.0.7"
650
- }
651
- },
652
- "modifiers": []
653
- },
654
- {
655
- "__schema": "FunctionLikeSchema",
656
- "location": {
657
- "filePath": "global-config.main.runtime.ts",
658
- "line": 72,
659
- "character": 3
660
- },
661
- "signature": "(method) GlobalConfigMain.getGlobalCapsulesBaseDir(): string",
662
- "name": "getGlobalCapsulesBaseDir",
663
- "params": [],
664
- "returnType": {
665
- "__schema": "InferenceTypeSchema",
666
- "location": {
667
- "filePath": "global-config.main.runtime.ts",
668
- "line": 72,
669
- "character": 3
670
- },
671
- "type": "string"
672
- },
673
- "modifiers": []
674
- },
675
- {
676
- "__schema": "FunctionLikeSchema",
677
- "location": {
678
- "filePath": "global-config.main.runtime.ts",
679
- "line": 76,
680
- "character": 3
681
- },
682
- "signature": "(method) GlobalConfigMain.invalidateCache(): void",
683
- "name": "invalidateCache",
684
- "params": [],
685
- "returnType": {
686
- "__schema": "InferenceTypeSchema",
687
- "location": {
688
- "filePath": "global-config.main.runtime.ts",
689
- "line": 76,
690
- "character": 3
691
- },
692
- "type": "void"
693
- },
694
- "modifiers": []
695
- },
696
- {
697
- "__schema": "FunctionLikeSchema",
698
- "location": {
699
- "filePath": "global-config.main.runtime.ts",
700
- "line": 80,
701
- "character": 3
702
- },
703
- "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}",
704
- "name": "getKnownGlobalDirs",
705
- "params": [],
706
- "returnType": {
707
- "__schema": "InferenceTypeSchema",
708
- "location": {
709
- "filePath": "global-config.main.runtime.ts",
710
- "line": 80,
711
- "character": 3
712
- },
713
- "type": "{\n 'Global Dir': string;\n 'Log file': string;\n 'Global Scope Dir': string;\n 'Config Dir': string;\n 'Capsules Dir': string;\n}"
714
- },
715
- "modifiers": []
716
- },
717
- {
718
- "__schema": "FunctionLikeSchema",
719
- "location": {
720
- "filePath": "global-config.main.runtime.ts",
721
- "line": 90,
722
- "character": 3
723
- },
724
- "signature": "(method) GlobalConfigMain.provider([cli]: [CLIMain]): Promise<GlobalConfigMain>",
725
- "name": "provider",
726
- "params": [
727
- {
728
- "__schema": "ParameterSchema",
729
- "location": {
730
- "filePath": "global-config.main.runtime.ts",
731
- "line": 90,
732
- "character": 25
733
- },
734
- "name": "[ cli ]",
735
- "type": {
736
- "__schema": "TupleTypeSchema",
737
- "location": {
738
- "filePath": "global-config.main.runtime.ts",
739
- "line": 90,
740
- "character": 32
741
- },
742
- "elements": [
743
- {
744
- "__schema": "TypeRefSchema",
745
- "location": {
746
- "filePath": "global-config.main.runtime.ts",
747
- "line": 90,
748
- "character": 33
749
- },
750
- "name": "CLIMain",
751
- "componentId": {
752
- "scope": "teambit.harmony",
753
- "name": "cli"
754
- }
755
- }
756
- ]
757
- },
758
- "isOptional": false,
759
- "isSpread": false
760
- }
761
- ],
762
- "returnType": {
763
- "__schema": "InferenceTypeSchema",
764
- "location": {
765
- "filePath": "global-config.main.runtime.ts",
766
- "line": 90,
767
- "character": 3
768
- },
769
- "type": "Promise<GlobalConfigMain>"
770
- },
771
- "modifiers": [
772
- "static",
773
- "async"
774
- ]
775
- }
776
- ],
777
- "extendsNodes": [],
778
- "implementNodes": []
779
- }
780
- },
781
- {
782
- "__schema": "ExportSchema",
783
- "location": {
784
- "filePath": "index.ts",
785
- "line": 4,
786
- "character": 10
787
- },
788
- "signature": "const GlobalConfigAspect: Aspect",
789
- "name": "GlobalConfigAspect",
790
- "exportNode": {
791
- "__schema": "VariableLikeSchema",
792
- "location": {
793
- "filePath": "global-config.aspect.ts",
794
- "line": 3,
795
- "character": 14
796
- },
797
- "signature": "const GlobalConfigAspect: Aspect",
798
- "name": "GlobalConfigAspect",
799
- "type": {
800
- "__schema": "TypeRefSchema",
801
- "location": {
802
- "filePath": "global-config.aspect.ts",
803
- "line": 3,
804
- "character": 14
805
- },
806
- "name": "Aspect",
807
- "componentId": {
808
- "scope": "teambit.harmony",
809
- "name": "harmony",
810
- "version": "0.4.6"
811
- }
812
- },
813
- "isOptional": false,
814
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/global-config',\n dependencies: [],\n})"
815
- }
816
- },
817
- {
818
- "__schema": "UnImplementedSchema",
819
- "location": {
820
- "filePath": "index.ts",
821
- "line": 5,
822
- "character": 16
823
- },
824
- "name": "GlobalConfigAspect",
825
- "type": "Identifier"
826
- }
827
- ],
828
- "internals": []
829
- },
830
- "internals": [
831
- {
832
- "__schema": "ModuleSchema",
833
- "location": {
834
- "filePath": "global-config.main.runtime.ts",
835
- "line": 1,
836
- "character": 1
837
- },
838
- "exports": [
839
- {
840
- "__schema": "ClassSchema",
841
- "location": {
842
- "filePath": "global-config.main.runtime.ts",
843
- "line": 28,
844
- "character": 1
845
- },
846
- "signature": "class GlobalConfigMain",
847
- "name": "GlobalConfigMain",
848
- "members": [
849
- {
850
- "__schema": "VariableLikeSchema",
851
- "location": {
852
- "filePath": "global-config.main.runtime.ts",
853
- "line": 29,
854
- "character": 3
855
- },
856
- "signature": "(property) GlobalConfigMain.runtime: RuntimeDefinition",
857
- "name": "runtime",
858
- "type": {
859
- "__schema": "InferenceTypeSchema",
860
- "location": {
861
- "filePath": "global-config.main.runtime.ts",
862
- "line": 29,
863
- "character": 3
864
- },
865
- "type": "RuntimeDefinition"
866
- },
867
- "isOptional": true,
868
- "defaultValue": "MainRuntime"
869
- },
870
- {
871
- "__schema": "VariableLikeSchema",
872
- "location": {
873
- "filePath": "global-config.main.runtime.ts",
874
- "line": 30,
875
- "character": 3
876
- },
877
- "signature": "(property) GlobalConfigMain.dependencies: Aspect[]",
878
- "name": "dependencies",
879
- "type": {
880
- "__schema": "InferenceTypeSchema",
881
- "location": {
882
- "filePath": "global-config.main.runtime.ts",
883
- "line": 30,
884
- "character": 3
885
- },
886
- "type": "Aspect[]"
887
- },
888
- "isOptional": true,
889
- "defaultValue": "[CLIAspect]"
890
- },
891
- {
892
- "__schema": "VariableLikeSchema",
893
- "location": {
894
- "filePath": "global-config.main.runtime.ts",
895
- "line": 31,
896
- "character": 3
897
- },
898
- "signature": "(property) GlobalConfigMain.slots: never[]",
899
- "name": "slots",
900
- "type": {
901
- "__schema": "InferenceTypeSchema",
902
- "location": {
903
- "filePath": "global-config.main.runtime.ts",
904
- "line": 31,
905
- "character": 3
906
- },
907
- "type": "never[]"
908
- },
909
- "isOptional": true,
910
- "defaultValue": "[]"
911
- },
912
- {
913
- "__schema": "FunctionLikeSchema",
914
- "location": {
915
- "filePath": "global-config.main.runtime.ts",
916
- "line": 33,
917
- "character": 3
918
- },
919
- "signature": "(method) GlobalConfigMain.get(key: string): Promise<string | undefined>",
920
- "name": "get",
921
- "params": [
922
- {
923
- "__schema": "ParameterSchema",
924
- "location": {
925
- "filePath": "global-config.main.runtime.ts",
926
- "line": 33,
927
- "character": 13
928
- },
929
- "name": "key",
930
- "type": {
931
- "__schema": "KeywordTypeSchema",
932
- "location": {
933
- "filePath": "global-config.main.runtime.ts",
934
- "line": 33,
935
- "character": 18
936
- },
937
- "name": "string"
938
- },
939
- "isOptional": false,
940
- "isSpread": false
941
- }
942
- ],
943
- "returnType": {
944
- "__schema": "TypeRefSchema",
945
- "location": {
946
- "filePath": "global-config.main.runtime.ts",
947
- "line": 33,
948
- "character": 27
949
- },
950
- "name": "Promise",
951
- "typeArgs": [
952
- {
953
- "__schema": "TypeUnionSchema",
954
- "location": {
955
- "filePath": "global-config.main.runtime.ts",
956
- "line": 33,
957
- "character": 35
958
- },
959
- "types": [
960
- {
961
- "__schema": "KeywordTypeSchema",
962
- "location": {
963
- "filePath": "global-config.main.runtime.ts",
964
- "line": 33,
965
- "character": 35
966
- },
967
- "name": "string"
968
- },
969
- {
970
- "__schema": "KeywordTypeSchema",
971
- "location": {
972
- "filePath": "global-config.main.runtime.ts",
973
- "line": 33,
974
- "character": 44
975
- },
976
- "name": "undefined"
977
- }
978
- ]
979
- }
980
- ]
981
- },
982
- "modifiers": [
983
- "async"
984
- ]
985
- },
986
- {
987
- "__schema": "FunctionLikeSchema",
988
- "location": {
989
- "filePath": "global-config.main.runtime.ts",
990
- "line": 37,
991
- "character": 3
992
- },
993
- "signature": "(method) GlobalConfigMain.getBool(key: string): Promise<boolean | undefined>",
994
- "name": "getBool",
995
- "params": [
996
- {
997
- "__schema": "ParameterSchema",
998
- "location": {
999
- "filePath": "global-config.main.runtime.ts",
1000
- "line": 37,
1001
- "character": 17
1002
- },
1003
- "name": "key",
1004
- "type": {
1005
- "__schema": "KeywordTypeSchema",
1006
- "location": {
1007
- "filePath": "global-config.main.runtime.ts",
1008
- "line": 37,
1009
- "character": 22
1010
- },
1011
- "name": "string"
1012
- },
1013
- "isOptional": false,
1014
- "isSpread": false
1015
- }
1016
- ],
1017
- "returnType": {
1018
- "__schema": "TypeRefSchema",
1019
- "location": {
1020
- "filePath": "global-config.main.runtime.ts",
1021
- "line": 37,
1022
- "character": 31
1023
- },
1024
- "name": "Promise",
1025
- "typeArgs": [
1026
- {
1027
- "__schema": "TypeUnionSchema",
1028
- "location": {
1029
- "filePath": "global-config.main.runtime.ts",
1030
- "line": 37,
1031
- "character": 39
1032
- },
1033
- "types": [
1034
- {
1035
- "__schema": "KeywordTypeSchema",
1036
- "location": {
1037
- "filePath": "global-config.main.runtime.ts",
1038
- "line": 37,
1039
- "character": 39
1040
- },
1041
- "name": "boolean"
1042
- },
1043
- {
1044
- "__schema": "KeywordTypeSchema",
1045
- "location": {
1046
- "filePath": "global-config.main.runtime.ts",
1047
- "line": 37,
1048
- "character": 49
1049
- },
1050
- "name": "undefined"
1051
- }
1052
- ]
1053
- }
1054
- ]
1055
- },
1056
- "modifiers": [
1057
- "async"
1058
- ]
1059
- },
1060
- {
1061
- "__schema": "FunctionLikeSchema",
1062
- "location": {
1063
- "filePath": "global-config.main.runtime.ts",
1064
- "line": 46,
1065
- "character": 3
1066
- },
1067
- "signature": "(method) GlobalConfigMain.getSync(key: string): string | undefined",
1068
- "name": "getSync",
1069
- "params": [
1070
- {
1071
- "__schema": "ParameterSchema",
1072
- "location": {
1073
- "filePath": "global-config.main.runtime.ts",
1074
- "line": 46,
1075
- "character": 11
1076
- },
1077
- "name": "key",
1078
- "type": {
1079
- "__schema": "KeywordTypeSchema",
1080
- "location": {
1081
- "filePath": "global-config.main.runtime.ts",
1082
- "line": 46,
1083
- "character": 16
1084
- },
1085
- "name": "string"
1086
- },
1087
- "isOptional": false,
1088
- "isSpread": false
1089
- }
1090
- ],
1091
- "returnType": {
1092
- "__schema": "TypeUnionSchema",
1093
- "location": {
1094
- "filePath": "global-config.main.runtime.ts",
1095
- "line": 46,
1096
- "character": 25
1097
- },
1098
- "types": [
1099
- {
1100
- "__schema": "KeywordTypeSchema",
1101
- "location": {
1102
- "filePath": "global-config.main.runtime.ts",
1103
- "line": 46,
1104
- "character": 25
1105
- },
1106
- "name": "string"
1107
- },
1108
- {
1109
- "__schema": "KeywordTypeSchema",
1110
- "location": {
1111
- "filePath": "global-config.main.runtime.ts",
1112
- "line": 46,
1113
- "character": 34
1114
- },
1115
- "name": "undefined"
1116
- }
1117
- ]
1118
- },
1119
- "modifiers": []
1120
- },
1121
- {
1122
- "__schema": "FunctionLikeSchema",
1123
- "location": {
1124
- "filePath": "global-config.main.runtime.ts",
1125
- "line": 50,
1126
- "character": 3
1127
- },
1128
- "signature": "(method) GlobalConfigMain.list(): Promise<Record<string, string>>",
1129
- "name": "list",
1130
- "params": [],
1131
- "returnType": {
1132
- "__schema": "TypeRefSchema",
1133
- "location": {
1134
- "filePath": "global-config.main.runtime.ts",
1135
- "line": 50,
1136
- "character": 11
1137
- },
1138
- "name": "Promise",
1139
- "typeArgs": [
1140
- {
1141
- "__schema": "TypeRefSchema",
1142
- "location": {
1143
- "filePath": "global-config.main.runtime.ts",
1144
- "line": 50,
1145
- "character": 19
1146
- },
1147
- "name": "Record",
1148
- "typeArgs": [
1149
- {
1150
- "__schema": "KeywordTypeSchema",
1151
- "location": {
1152
- "filePath": "global-config.main.runtime.ts",
1153
- "line": 50,
1154
- "character": 26
1155
- },
1156
- "name": "string"
1157
- },
1158
- {
1159
- "__schema": "KeywordTypeSchema",
1160
- "location": {
1161
- "filePath": "global-config.main.runtime.ts",
1162
- "line": 50,
1163
- "character": 34
1164
- },
1165
- "name": "string"
1166
- }
1167
- ]
1168
- }
1169
- ]
1170
- },
1171
- "modifiers": []
1172
- },
1173
- {
1174
- "__schema": "FunctionLikeSchema",
1175
- "location": {
1176
- "filePath": "global-config.main.runtime.ts",
1177
- "line": 53,
1178
- "character": 3
1179
- },
1180
- "signature": "(method) GlobalConfigMain.listSync(): Record<string, string>",
1181
- "name": "listSync",
1182
- "params": [],
1183
- "returnType": {
1184
- "__schema": "TypeRefSchema",
1185
- "location": {
1186
- "filePath": "global-config.main.runtime.ts",
1187
- "line": 53,
1188
- "character": 15
1189
- },
1190
- "name": "Record",
1191
- "typeArgs": [
1192
- {
1193
- "__schema": "KeywordTypeSchema",
1194
- "location": {
1195
- "filePath": "global-config.main.runtime.ts",
1196
- "line": 53,
1197
- "character": 22
1198
- },
1199
- "name": "string"
1200
- },
1201
- {
1202
- "__schema": "KeywordTypeSchema",
1203
- "location": {
1204
- "filePath": "global-config.main.runtime.ts",
1205
- "line": 53,
1206
- "character": 30
1207
- },
1208
- "name": "string"
1209
- }
1210
- ]
1211
- },
1212
- "modifiers": []
1213
- },
1214
- {
1215
- "__schema": "FunctionLikeSchema",
1216
- "location": {
1217
- "filePath": "global-config.main.runtime.ts",
1218
- "line": 57,
1219
- "character": 3
1220
- },
1221
- "signature": "(method) GlobalConfigMain.set(key: string, val: string): Promise<GlobalConfig>",
1222
- "name": "set",
1223
- "params": [
1224
- {
1225
- "__schema": "ParameterSchema",
1226
- "location": {
1227
- "filePath": "global-config.main.runtime.ts",
1228
- "line": 57,
1229
- "character": 13
1230
- },
1231
- "name": "key",
1232
- "type": {
1233
- "__schema": "KeywordTypeSchema",
1234
- "location": {
1235
- "filePath": "global-config.main.runtime.ts",
1236
- "line": 57,
1237
- "character": 18
1238
- },
1239
- "name": "string"
1240
- },
1241
- "isOptional": false,
1242
- "isSpread": false
1243
- },
1244
- {
1245
- "__schema": "ParameterSchema",
1246
- "location": {
1247
- "filePath": "global-config.main.runtime.ts",
1248
- "line": 57,
1249
- "character": 26
1250
- },
1251
- "name": "val",
1252
- "type": {
1253
- "__schema": "KeywordTypeSchema",
1254
- "location": {
1255
- "filePath": "global-config.main.runtime.ts",
1256
- "line": 57,
1257
- "character": 31
1258
- },
1259
- "name": "string"
1260
- },
1261
- "isOptional": false,
1262
- "isSpread": false
1263
- }
1264
- ],
1265
- "returnType": {
1266
- "__schema": "TypeRefSchema",
1267
- "location": {
1268
- "filePath": "global-config.main.runtime.ts",
1269
- "line": 57,
1270
- "character": 40
1271
- },
1272
- "name": "Promise",
1273
- "typeArgs": [
1274
- {
1275
- "__schema": "TypeRefSchema",
1276
- "location": {
1277
- "filePath": "global-config.main.runtime.ts",
1278
- "line": 57,
1279
- "character": 48
1280
- },
1281
- "name": "GlobalConfig",
1282
- "componentId": {
1283
- "scope": "teambit.legacy",
1284
- "name": "global-config",
1285
- "version": "0.0.7"
1286
- }
1287
- }
1288
- ]
1289
- },
1290
- "modifiers": [
1291
- "async"
1292
- ]
1293
- },
1294
- {
1295
- "__schema": "FunctionLikeSchema",
1296
- "location": {
1297
- "filePath": "global-config.main.runtime.ts",
1298
- "line": 60,
1299
- "character": 3
1300
- },
1301
- "signature": "(method) GlobalConfigMain.setSync(key: string, val: string): GlobalConfig",
1302
- "name": "setSync",
1303
- "params": [
1304
- {
1305
- "__schema": "ParameterSchema",
1306
- "location": {
1307
- "filePath": "global-config.main.runtime.ts",
1308
- "line": 60,
1309
- "character": 11
1310
- },
1311
- "name": "key",
1312
- "type": {
1313
- "__schema": "KeywordTypeSchema",
1314
- "location": {
1315
- "filePath": "global-config.main.runtime.ts",
1316
- "line": 60,
1317
- "character": 16
1318
- },
1319
- "name": "string"
1320
- },
1321
- "isOptional": false,
1322
- "isSpread": false
1323
- },
1324
- {
1325
- "__schema": "ParameterSchema",
1326
- "location": {
1327
- "filePath": "global-config.main.runtime.ts",
1328
- "line": 60,
1329
- "character": 24
1330
- },
1331
- "name": "val",
1332
- "type": {
1333
- "__schema": "KeywordTypeSchema",
1334
- "location": {
1335
- "filePath": "global-config.main.runtime.ts",
1336
- "line": 60,
1337
- "character": 29
1338
- },
1339
- "name": "string"
1340
- },
1341
- "isOptional": false,
1342
- "isSpread": false
1343
- }
1344
- ],
1345
- "returnType": {
1346
- "__schema": "TypeRefSchema",
1347
- "location": {
1348
- "filePath": "global-config.main.runtime.ts",
1349
- "line": 60,
1350
- "character": 3
1351
- },
1352
- "name": "GlobalConfig",
1353
- "componentId": {
1354
- "scope": "teambit.legacy",
1355
- "name": "global-config",
1356
- "version": "0.0.7"
1357
- }
1358
- },
1359
- "modifiers": []
1360
- },
1361
- {
1362
- "__schema": "FunctionLikeSchema",
1363
- "location": {
1364
- "filePath": "global-config.main.runtime.ts",
1365
- "line": 64,
1366
- "character": 3
1367
- },
1368
- "signature": "(method) GlobalConfigMain.del(key: string): Promise<GlobalConfig>",
1369
- "name": "del",
1370
- "params": [
1371
- {
1372
- "__schema": "ParameterSchema",
1373
- "location": {
1374
- "filePath": "global-config.main.runtime.ts",
1375
- "line": 64,
1376
- "character": 13
1377
- },
1378
- "name": "key",
1379
- "type": {
1380
- "__schema": "KeywordTypeSchema",
1381
- "location": {
1382
- "filePath": "global-config.main.runtime.ts",
1383
- "line": 64,
1384
- "character": 18
1385
- },
1386
- "name": "string"
1387
- },
1388
- "isOptional": false,
1389
- "isSpread": false
1390
- }
1391
- ],
1392
- "returnType": {
1393
- "__schema": "TypeRefSchema",
1394
- "location": {
1395
- "filePath": "global-config.main.runtime.ts",
1396
- "line": 64,
1397
- "character": 27
1398
- },
1399
- "name": "Promise",
1400
- "typeArgs": [
1401
- {
1402
- "__schema": "TypeRefSchema",
1403
- "location": {
1404
- "filePath": "global-config.main.runtime.ts",
1405
- "line": 64,
1406
- "character": 35
1407
- },
1408
- "name": "GlobalConfig",
1409
- "componentId": {
1410
- "scope": "teambit.legacy",
1411
- "name": "global-config",
1412
- "version": "0.0.7"
1413
- }
1414
- }
1415
- ]
1416
- },
1417
- "modifiers": [
1418
- "async"
1419
- ]
1420
- },
1421
- {
1422
- "__schema": "FunctionLikeSchema",
1423
- "location": {
1424
- "filePath": "global-config.main.runtime.ts",
1425
- "line": 68,
1426
- "character": 3
1427
- },
1428
- "signature": "(method) GlobalConfigMain.delSync(key: string): GlobalConfig",
1429
- "name": "delSync",
1430
- "params": [
1431
- {
1432
- "__schema": "ParameterSchema",
1433
- "location": {
1434
- "filePath": "global-config.main.runtime.ts",
1435
- "line": 68,
1436
- "character": 11
1437
- },
1438
- "name": "key",
1439
- "type": {
1440
- "__schema": "KeywordTypeSchema",
1441
- "location": {
1442
- "filePath": "global-config.main.runtime.ts",
1443
- "line": 68,
1444
- "character": 16
1445
- },
1446
- "name": "string"
1447
- },
1448
- "isOptional": false,
1449
- "isSpread": false
1450
- }
1451
- ],
1452
- "returnType": {
1453
- "__schema": "TypeRefSchema",
1454
- "location": {
1455
- "filePath": "global-config.main.runtime.ts",
1456
- "line": 68,
1457
- "character": 3
1458
- },
1459
- "name": "GlobalConfig",
1460
- "componentId": {
1461
- "scope": "teambit.legacy",
1462
- "name": "global-config",
1463
- "version": "0.0.7"
1464
- }
1465
- },
1466
- "modifiers": []
1467
- },
1468
- {
1469
- "__schema": "FunctionLikeSchema",
1470
- "location": {
1471
- "filePath": "global-config.main.runtime.ts",
1472
- "line": 72,
1473
- "character": 3
1474
- },
1475
- "signature": "(method) GlobalConfigMain.getGlobalCapsulesBaseDir(): string",
1476
- "name": "getGlobalCapsulesBaseDir",
1477
- "params": [],
1478
- "returnType": {
1479
- "__schema": "InferenceTypeSchema",
1480
- "location": {
1481
- "filePath": "global-config.main.runtime.ts",
1482
- "line": 72,
1483
- "character": 3
1484
- },
1485
- "type": "string"
1486
- },
1487
- "modifiers": []
1488
- },
1489
- {
1490
- "__schema": "FunctionLikeSchema",
1491
- "location": {
1492
- "filePath": "global-config.main.runtime.ts",
1493
- "line": 76,
1494
- "character": 3
1495
- },
1496
- "signature": "(method) GlobalConfigMain.invalidateCache(): void",
1497
- "name": "invalidateCache",
1498
- "params": [],
1499
- "returnType": {
1500
- "__schema": "InferenceTypeSchema",
1501
- "location": {
1502
- "filePath": "global-config.main.runtime.ts",
1503
- "line": 76,
1504
- "character": 3
1505
- },
1506
- "type": "void"
1507
- },
1508
- "modifiers": []
1509
- },
1510
- {
1511
- "__schema": "FunctionLikeSchema",
1512
- "location": {
1513
- "filePath": "global-config.main.runtime.ts",
1514
- "line": 80,
1515
- "character": 3
1516
- },
1517
- "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}",
1518
- "name": "getKnownGlobalDirs",
1519
- "params": [],
1520
- "returnType": {
1521
- "__schema": "InferenceTypeSchema",
1522
- "location": {
1523
- "filePath": "global-config.main.runtime.ts",
1524
- "line": 80,
1525
- "character": 3
1526
- },
1527
- "type": "{\n 'Global Dir': string;\n 'Log file': string;\n 'Global Scope Dir': string;\n 'Config Dir': string;\n 'Capsules Dir': string;\n}"
1528
- },
1529
- "modifiers": []
1530
- },
1531
- {
1532
- "__schema": "FunctionLikeSchema",
1533
- "location": {
1534
- "filePath": "global-config.main.runtime.ts",
1535
- "line": 90,
1536
- "character": 3
1537
- },
1538
- "signature": "(method) GlobalConfigMain.provider([cli]: [CLIMain]): Promise<GlobalConfigMain>",
1539
- "name": "provider",
1540
- "params": [
1541
- {
1542
- "__schema": "ParameterSchema",
1543
- "location": {
1544
- "filePath": "global-config.main.runtime.ts",
1545
- "line": 90,
1546
- "character": 25
1547
- },
1548
- "name": "[ cli ]",
1549
- "type": {
1550
- "__schema": "TupleTypeSchema",
1551
- "location": {
1552
- "filePath": "global-config.main.runtime.ts",
1553
- "line": 90,
1554
- "character": 32
1555
- },
1556
- "elements": [
1557
- {
1558
- "__schema": "TypeRefSchema",
1559
- "location": {
1560
- "filePath": "global-config.main.runtime.ts",
1561
- "line": 90,
1562
- "character": 33
1563
- },
1564
- "name": "CLIMain",
1565
- "componentId": {
1566
- "scope": "teambit.harmony",
1567
- "name": "cli"
1568
- }
1569
- }
1570
- ]
1571
- },
1572
- "isOptional": false,
1573
- "isSpread": false
1574
- }
1575
- ],
1576
- "returnType": {
1577
- "__schema": "InferenceTypeSchema",
1578
- "location": {
1579
- "filePath": "global-config.main.runtime.ts",
1580
- "line": 90,
1581
- "character": 3
1582
- },
1583
- "type": "Promise<GlobalConfigMain>"
1584
- },
1585
- "modifiers": [
1586
- "static",
1587
- "async"
1588
- ]
1589
- }
1590
- ],
1591
- "extendsNodes": [],
1592
- "implementNodes": []
1593
- }
1594
- ],
1595
- "internals": [
1596
- {
1597
- "__schema": "UnImplementedSchema",
1598
- "location": {
1599
- "filePath": "global-config.main.runtime.ts",
1600
- "line": 99,
1601
- "character": 1
1602
- },
1603
- "name": "GlobalConfigAspect.addRuntime(GlobalConfigMain);",
1604
- "type": "ExpressionStatement"
1605
- }
1606
- ]
1607
- },
1608
- {
1609
- "__schema": "ModuleSchema",
1610
- "location": {
1611
- "filePath": "global-config.aspect.ts",
1612
- "line": 1,
1613
- "character": 1
1614
- },
1615
- "exports": [
1616
- {
1617
- "__schema": "VariableLikeSchema",
1618
- "location": {
1619
- "filePath": "global-config.aspect.ts",
1620
- "line": 3,
1621
- "character": 14
1622
- },
1623
- "signature": "const GlobalConfigAspect: Aspect",
1624
- "name": "GlobalConfigAspect",
1625
- "type": {
1626
- "__schema": "TypeRefSchema",
1627
- "location": {
1628
- "filePath": "global-config.aspect.ts",
1629
- "line": 3,
1630
- "character": 14
1631
- },
1632
- "name": "Aspect",
1633
- "componentId": {
1634
- "scope": "teambit.harmony",
1635
- "name": "harmony",
1636
- "version": "0.4.6"
1637
- }
1638
- },
1639
- "isOptional": false,
1640
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/global-config',\n dependencies: [],\n})"
1641
- },
1642
- {
1643
- "__schema": "UnImplementedSchema",
1644
- "location": {
1645
- "filePath": "global-config.aspect.ts",
1646
- "line": 8,
1647
- "character": 16
1648
- },
1649
- "name": "GlobalConfigAspect",
1650
- "type": "Identifier"
1651
- }
1652
- ],
1653
- "internals": []
1654
- }
1655
- ],
1656
- "componentId": {
1657
- "scope": "teambit.harmony",
1658
- "name": "global-config",
1659
- "version": "0.0.1096"
1660
- },
1661
- "taggedModuleExports": []
1662
- }