@teambit/global-config 0.0.864 → 0.0.866

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,763 +14,787 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "global-config.main.runtime.ts",
20
- "line": 26,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class GlobalConfigMain",
24
23
  "name": "GlobalConfigMain",
25
- "members": [
26
- {
27
- "__schema": "VariableLikeSchema",
28
- "location": {
29
- "filePath": "global-config.main.runtime.ts",
30
- "line": 27,
31
- "character": 3
32
- },
33
- "signature": "(property) GlobalConfigMain.runtime: RuntimeDefinition",
34
- "name": "runtime",
35
- "type": {
36
- "__schema": "InferenceTypeSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "global-config.main.runtime.ts",
28
+ "line": 26,
29
+ "character": 1
30
+ },
31
+ "signature": "class GlobalConfigMain",
32
+ "name": "GlobalConfigMain",
33
+ "members": [
34
+ {
35
+ "__schema": "VariableLikeSchema",
37
36
  "location": {
38
37
  "filePath": "global-config.main.runtime.ts",
39
38
  "line": 27,
40
39
  "character": 3
41
40
  },
42
- "type": "RuntimeDefinition"
43
- },
44
- "isOptional": true,
45
- "defaultValue": "MainRuntime"
46
- },
47
- {
48
- "__schema": "VariableLikeSchema",
49
- "location": {
50
- "filePath": "global-config.main.runtime.ts",
51
- "line": 28,
52
- "character": 3
41
+ "signature": "(property) GlobalConfigMain.runtime: RuntimeDefinition",
42
+ "name": "runtime",
43
+ "type": {
44
+ "__schema": "InferenceTypeSchema",
45
+ "location": {
46
+ "filePath": "global-config.main.runtime.ts",
47
+ "line": 27,
48
+ "character": 3
49
+ },
50
+ "type": "RuntimeDefinition"
51
+ },
52
+ "isOptional": true,
53
+ "defaultValue": "MainRuntime"
53
54
  },
54
- "signature": "(property) GlobalConfigMain.dependencies: Aspect[]",
55
- "name": "dependencies",
56
- "type": {
57
- "__schema": "InferenceTypeSchema",
55
+ {
56
+ "__schema": "VariableLikeSchema",
58
57
  "location": {
59
58
  "filePath": "global-config.main.runtime.ts",
60
59
  "line": 28,
61
60
  "character": 3
62
61
  },
63
- "type": "Aspect[]"
64
- },
65
- "isOptional": true,
66
- "defaultValue": "[CLIAspect]"
67
- },
68
- {
69
- "__schema": "VariableLikeSchema",
70
- "location": {
71
- "filePath": "global-config.main.runtime.ts",
72
- "line": 29,
73
- "character": 3
62
+ "signature": "(property) GlobalConfigMain.dependencies: Aspect[]",
63
+ "name": "dependencies",
64
+ "type": {
65
+ "__schema": "InferenceTypeSchema",
66
+ "location": {
67
+ "filePath": "global-config.main.runtime.ts",
68
+ "line": 28,
69
+ "character": 3
70
+ },
71
+ "type": "Aspect[]"
72
+ },
73
+ "isOptional": true,
74
+ "defaultValue": "[CLIAspect]"
74
75
  },
75
- "signature": "(property) GlobalConfigMain.slots: never[]",
76
- "name": "slots",
77
- "type": {
78
- "__schema": "InferenceTypeSchema",
76
+ {
77
+ "__schema": "VariableLikeSchema",
79
78
  "location": {
80
79
  "filePath": "global-config.main.runtime.ts",
81
80
  "line": 29,
82
81
  "character": 3
83
82
  },
84
- "type": "never[]"
85
- },
86
- "isOptional": true,
87
- "defaultValue": "[]"
88
- },
89
- {
90
- "__schema": "FunctionLikeSchema",
91
- "location": {
92
- "filePath": "global-config.main.runtime.ts",
93
- "line": 31,
94
- "character": 3
95
- },
96
- "signature": "(method) GlobalConfigMain.get(key: string): Promise<string | undefined>",
97
- "name": "get",
98
- "params": [
99
- {
100
- "__schema": "ParameterSchema",
83
+ "signature": "(property) GlobalConfigMain.slots: never[]",
84
+ "name": "slots",
85
+ "type": {
86
+ "__schema": "InferenceTypeSchema",
101
87
  "location": {
102
88
  "filePath": "global-config.main.runtime.ts",
103
- "line": 31,
104
- "character": 13
105
- },
106
- "name": "key",
107
- "type": {
108
- "__schema": "KeywordTypeSchema",
109
- "location": {
110
- "filePath": "global-config.main.runtime.ts",
111
- "line": 31,
112
- "character": 18
113
- },
114
- "name": "string"
89
+ "line": 29,
90
+ "character": 3
115
91
  },
116
- "isOptional": false,
117
- "isSpread": false
118
- }
119
- ],
120
- "returnType": {
121
- "__schema": "TypeRefSchema",
92
+ "type": "never[]"
93
+ },
94
+ "isOptional": true,
95
+ "defaultValue": "[]"
96
+ },
97
+ {
98
+ "__schema": "FunctionLikeSchema",
122
99
  "location": {
123
100
  "filePath": "global-config.main.runtime.ts",
124
101
  "line": 31,
125
- "character": 27
102
+ "character": 3
126
103
  },
127
- "name": "Promise",
128
- "typeArgs": [
104
+ "signature": "(method) GlobalConfigMain.get(key: string): Promise<string | undefined>",
105
+ "name": "get",
106
+ "params": [
129
107
  {
130
- "__schema": "TypeUnionSchema",
108
+ "__schema": "ParameterSchema",
131
109
  "location": {
132
110
  "filePath": "global-config.main.runtime.ts",
133
111
  "line": 31,
134
- "character": 35
112
+ "character": 13
135
113
  },
136
- "types": [
137
- {
138
- "__schema": "KeywordTypeSchema",
139
- "location": {
140
- "filePath": "global-config.main.runtime.ts",
141
- "line": 31,
142
- "character": 35
143
- },
144
- "name": "string"
114
+ "name": "key",
115
+ "type": {
116
+ "__schema": "KeywordTypeSchema",
117
+ "location": {
118
+ "filePath": "global-config.main.runtime.ts",
119
+ "line": 31,
120
+ "character": 18
145
121
  },
146
- {
147
- "__schema": "KeywordTypeSchema",
148
- "location": {
149
- "filePath": "global-config.main.runtime.ts",
150
- "line": 31,
151
- "character": 44
152
- },
153
- "name": "undefined"
154
- }
155
- ]
122
+ "name": "string"
123
+ },
124
+ "isOptional": false,
125
+ "isSpread": false
156
126
  }
157
- ]
158
- },
159
- "modifiers": [
160
- "async"
161
- ]
162
- },
163
- {
164
- "__schema": "FunctionLikeSchema",
165
- "location": {
166
- "filePath": "global-config.main.runtime.ts",
167
- "line": 35,
168
- "character": 3
169
- },
170
- "signature": "(method) GlobalConfigMain.getBool(key: string): Promise<boolean | undefined>",
171
- "name": "getBool",
172
- "params": [
173
- {
174
- "__schema": "ParameterSchema",
127
+ ],
128
+ "returnType": {
129
+ "__schema": "TypeRefSchema",
175
130
  "location": {
176
131
  "filePath": "global-config.main.runtime.ts",
177
- "line": 35,
178
- "character": 17
179
- },
180
- "name": "key",
181
- "type": {
182
- "__schema": "KeywordTypeSchema",
183
- "location": {
184
- "filePath": "global-config.main.runtime.ts",
185
- "line": 35,
186
- "character": 22
187
- },
188
- "name": "string"
132
+ "line": 31,
133
+ "character": 27
189
134
  },
190
- "isOptional": false,
191
- "isSpread": false
192
- }
193
- ],
194
- "returnType": {
195
- "__schema": "TypeRefSchema",
135
+ "name": "Promise",
136
+ "typeArgs": [
137
+ {
138
+ "__schema": "TypeUnionSchema",
139
+ "location": {
140
+ "filePath": "global-config.main.runtime.ts",
141
+ "line": 31,
142
+ "character": 35
143
+ },
144
+ "types": [
145
+ {
146
+ "__schema": "KeywordTypeSchema",
147
+ "location": {
148
+ "filePath": "global-config.main.runtime.ts",
149
+ "line": 31,
150
+ "character": 35
151
+ },
152
+ "name": "string"
153
+ },
154
+ {
155
+ "__schema": "KeywordTypeSchema",
156
+ "location": {
157
+ "filePath": "global-config.main.runtime.ts",
158
+ "line": 31,
159
+ "character": 44
160
+ },
161
+ "name": "undefined"
162
+ }
163
+ ]
164
+ }
165
+ ]
166
+ },
167
+ "modifiers": [
168
+ "async"
169
+ ]
170
+ },
171
+ {
172
+ "__schema": "FunctionLikeSchema",
196
173
  "location": {
197
174
  "filePath": "global-config.main.runtime.ts",
198
175
  "line": 35,
199
- "character": 31
176
+ "character": 3
200
177
  },
201
- "name": "Promise",
202
- "typeArgs": [
178
+ "signature": "(method) GlobalConfigMain.getBool(key: string): Promise<boolean | undefined>",
179
+ "name": "getBool",
180
+ "params": [
203
181
  {
204
- "__schema": "TypeUnionSchema",
182
+ "__schema": "ParameterSchema",
205
183
  "location": {
206
184
  "filePath": "global-config.main.runtime.ts",
207
185
  "line": 35,
208
- "character": 39
186
+ "character": 17
209
187
  },
210
- "types": [
211
- {
212
- "__schema": "KeywordTypeSchema",
213
- "location": {
214
- "filePath": "global-config.main.runtime.ts",
215
- "line": 35,
216
- "character": 39
217
- },
218
- "name": "boolean"
188
+ "name": "key",
189
+ "type": {
190
+ "__schema": "KeywordTypeSchema",
191
+ "location": {
192
+ "filePath": "global-config.main.runtime.ts",
193
+ "line": 35,
194
+ "character": 22
219
195
  },
220
- {
221
- "__schema": "KeywordTypeSchema",
222
- "location": {
223
- "filePath": "global-config.main.runtime.ts",
224
- "line": 35,
225
- "character": 49
226
- },
227
- "name": "undefined"
228
- }
229
- ]
196
+ "name": "string"
197
+ },
198
+ "isOptional": false,
199
+ "isSpread": false
230
200
  }
231
- ]
232
- },
233
- "modifiers": [
234
- "async"
235
- ]
236
- },
237
- {
238
- "__schema": "FunctionLikeSchema",
239
- "location": {
240
- "filePath": "global-config.main.runtime.ts",
241
- "line": 44,
242
- "character": 3
243
- },
244
- "signature": "(method) GlobalConfigMain.getSync(key: string): string | undefined",
245
- "name": "getSync",
246
- "params": [
247
- {
248
- "__schema": "ParameterSchema",
201
+ ],
202
+ "returnType": {
203
+ "__schema": "TypeRefSchema",
249
204
  "location": {
250
205
  "filePath": "global-config.main.runtime.ts",
251
- "line": 44,
252
- "character": 11
253
- },
254
- "name": "key",
255
- "type": {
256
- "__schema": "KeywordTypeSchema",
257
- "location": {
258
- "filePath": "global-config.main.runtime.ts",
259
- "line": 44,
260
- "character": 16
261
- },
262
- "name": "string"
206
+ "line": 35,
207
+ "character": 31
263
208
  },
264
- "isOptional": false,
265
- "isSpread": false
266
- }
267
- ],
268
- "returnType": {
269
- "__schema": "TypeUnionSchema",
209
+ "name": "Promise",
210
+ "typeArgs": [
211
+ {
212
+ "__schema": "TypeUnionSchema",
213
+ "location": {
214
+ "filePath": "global-config.main.runtime.ts",
215
+ "line": 35,
216
+ "character": 39
217
+ },
218
+ "types": [
219
+ {
220
+ "__schema": "KeywordTypeSchema",
221
+ "location": {
222
+ "filePath": "global-config.main.runtime.ts",
223
+ "line": 35,
224
+ "character": 39
225
+ },
226
+ "name": "boolean"
227
+ },
228
+ {
229
+ "__schema": "KeywordTypeSchema",
230
+ "location": {
231
+ "filePath": "global-config.main.runtime.ts",
232
+ "line": 35,
233
+ "character": 49
234
+ },
235
+ "name": "undefined"
236
+ }
237
+ ]
238
+ }
239
+ ]
240
+ },
241
+ "modifiers": [
242
+ "async"
243
+ ]
244
+ },
245
+ {
246
+ "__schema": "FunctionLikeSchema",
270
247
  "location": {
271
248
  "filePath": "global-config.main.runtime.ts",
272
249
  "line": 44,
273
- "character": 25
250
+ "character": 3
274
251
  },
275
- "types": [
252
+ "signature": "(method) GlobalConfigMain.getSync(key: string): string | undefined",
253
+ "name": "getSync",
254
+ "params": [
276
255
  {
277
- "__schema": "KeywordTypeSchema",
256
+ "__schema": "ParameterSchema",
278
257
  "location": {
279
258
  "filePath": "global-config.main.runtime.ts",
280
259
  "line": 44,
281
- "character": 25
260
+ "character": 11
282
261
  },
283
- "name": "string"
284
- },
285
- {
286
- "__schema": "KeywordTypeSchema",
287
- "location": {
288
- "filePath": "global-config.main.runtime.ts",
289
- "line": 44,
290
- "character": 34
262
+ "name": "key",
263
+ "type": {
264
+ "__schema": "KeywordTypeSchema",
265
+ "location": {
266
+ "filePath": "global-config.main.runtime.ts",
267
+ "line": 44,
268
+ "character": 16
269
+ },
270
+ "name": "string"
291
271
  },
292
- "name": "undefined"
272
+ "isOptional": false,
273
+ "isSpread": false
293
274
  }
294
- ]
295
- },
296
- "modifiers": []
297
- },
298
- {
299
- "__schema": "FunctionLikeSchema",
300
- "location": {
301
- "filePath": "global-config.main.runtime.ts",
302
- "line": 48,
303
- "character": 3
275
+ ],
276
+ "returnType": {
277
+ "__schema": "TypeUnionSchema",
278
+ "location": {
279
+ "filePath": "global-config.main.runtime.ts",
280
+ "line": 44,
281
+ "character": 25
282
+ },
283
+ "types": [
284
+ {
285
+ "__schema": "KeywordTypeSchema",
286
+ "location": {
287
+ "filePath": "global-config.main.runtime.ts",
288
+ "line": 44,
289
+ "character": 25
290
+ },
291
+ "name": "string"
292
+ },
293
+ {
294
+ "__schema": "KeywordTypeSchema",
295
+ "location": {
296
+ "filePath": "global-config.main.runtime.ts",
297
+ "line": 44,
298
+ "character": 34
299
+ },
300
+ "name": "undefined"
301
+ }
302
+ ]
303
+ },
304
+ "modifiers": []
304
305
  },
305
- "signature": "(method) GlobalConfigMain.list(): Promise<Record<string, string>>",
306
- "name": "list",
307
- "params": [],
308
- "returnType": {
309
- "__schema": "TypeRefSchema",
306
+ {
307
+ "__schema": "FunctionLikeSchema",
310
308
  "location": {
311
309
  "filePath": "global-config.main.runtime.ts",
312
310
  "line": 48,
313
- "character": 11
311
+ "character": 3
314
312
  },
315
- "name": "Promise",
316
- "typeArgs": [
317
- {
318
- "__schema": "TypeRefSchema",
319
- "location": {
320
- "filePath": "global-config.main.runtime.ts",
321
- "line": 48,
322
- "character": 19
323
- },
324
- "name": "Record",
325
- "typeArgs": [
326
- {
327
- "__schema": "KeywordTypeSchema",
328
- "location": {
329
- "filePath": "global-config.main.runtime.ts",
330
- "line": 48,
331
- "character": 26
332
- },
333
- "name": "string"
313
+ "signature": "(method) GlobalConfigMain.list(): Promise<Record<string, string>>",
314
+ "name": "list",
315
+ "params": [],
316
+ "returnType": {
317
+ "__schema": "TypeRefSchema",
318
+ "location": {
319
+ "filePath": "global-config.main.runtime.ts",
320
+ "line": 48,
321
+ "character": 11
322
+ },
323
+ "name": "Promise",
324
+ "typeArgs": [
325
+ {
326
+ "__schema": "TypeRefSchema",
327
+ "location": {
328
+ "filePath": "global-config.main.runtime.ts",
329
+ "line": 48,
330
+ "character": 19
334
331
  },
335
- {
336
- "__schema": "KeywordTypeSchema",
337
- "location": {
338
- "filePath": "global-config.main.runtime.ts",
339
- "line": 48,
340
- "character": 34
332
+ "name": "Record",
333
+ "typeArgs": [
334
+ {
335
+ "__schema": "KeywordTypeSchema",
336
+ "location": {
337
+ "filePath": "global-config.main.runtime.ts",
338
+ "line": 48,
339
+ "character": 26
340
+ },
341
+ "name": "string"
341
342
  },
342
- "name": "string"
343
- }
344
- ]
345
- }
346
- ]
347
- },
348
- "modifiers": []
349
- },
350
- {
351
- "__schema": "FunctionLikeSchema",
352
- "location": {
353
- "filePath": "global-config.main.runtime.ts",
354
- "line": 51,
355
- "character": 3
343
+ {
344
+ "__schema": "KeywordTypeSchema",
345
+ "location": {
346
+ "filePath": "global-config.main.runtime.ts",
347
+ "line": 48,
348
+ "character": 34
349
+ },
350
+ "name": "string"
351
+ }
352
+ ]
353
+ }
354
+ ]
355
+ },
356
+ "modifiers": []
356
357
  },
357
- "signature": "(method) GlobalConfigMain.listSync(): Record<string, string>",
358
- "name": "listSync",
359
- "params": [],
360
- "returnType": {
361
- "__schema": "TypeRefSchema",
358
+ {
359
+ "__schema": "FunctionLikeSchema",
362
360
  "location": {
363
361
  "filePath": "global-config.main.runtime.ts",
364
362
  "line": 51,
365
- "character": 15
363
+ "character": 3
364
+ },
365
+ "signature": "(method) GlobalConfigMain.listSync(): Record<string, string>",
366
+ "name": "listSync",
367
+ "params": [],
368
+ "returnType": {
369
+ "__schema": "TypeRefSchema",
370
+ "location": {
371
+ "filePath": "global-config.main.runtime.ts",
372
+ "line": 51,
373
+ "character": 15
374
+ },
375
+ "name": "Record",
376
+ "typeArgs": [
377
+ {
378
+ "__schema": "KeywordTypeSchema",
379
+ "location": {
380
+ "filePath": "global-config.main.runtime.ts",
381
+ "line": 51,
382
+ "character": 22
383
+ },
384
+ "name": "string"
385
+ },
386
+ {
387
+ "__schema": "KeywordTypeSchema",
388
+ "location": {
389
+ "filePath": "global-config.main.runtime.ts",
390
+ "line": 51,
391
+ "character": 30
392
+ },
393
+ "name": "string"
394
+ }
395
+ ]
396
+ },
397
+ "modifiers": []
398
+ },
399
+ {
400
+ "__schema": "FunctionLikeSchema",
401
+ "location": {
402
+ "filePath": "global-config.main.runtime.ts",
403
+ "line": 55,
404
+ "character": 3
366
405
  },
367
- "name": "Record",
368
- "typeArgs": [
406
+ "signature": "(method) GlobalConfigMain.set(key: string, val: string): Promise<GlobalConfig>",
407
+ "name": "set",
408
+ "params": [
369
409
  {
370
- "__schema": "KeywordTypeSchema",
410
+ "__schema": "ParameterSchema",
371
411
  "location": {
372
412
  "filePath": "global-config.main.runtime.ts",
373
- "line": 51,
374
- "character": 22
413
+ "line": 55,
414
+ "character": 13
375
415
  },
376
- "name": "string"
416
+ "name": "key",
417
+ "type": {
418
+ "__schema": "KeywordTypeSchema",
419
+ "location": {
420
+ "filePath": "global-config.main.runtime.ts",
421
+ "line": 55,
422
+ "character": 18
423
+ },
424
+ "name": "string"
425
+ },
426
+ "isOptional": false,
427
+ "isSpread": false
377
428
  },
378
429
  {
379
- "__schema": "KeywordTypeSchema",
430
+ "__schema": "ParameterSchema",
380
431
  "location": {
381
432
  "filePath": "global-config.main.runtime.ts",
382
- "line": 51,
383
- "character": 30
433
+ "line": 55,
434
+ "character": 26
435
+ },
436
+ "name": "val",
437
+ "type": {
438
+ "__schema": "KeywordTypeSchema",
439
+ "location": {
440
+ "filePath": "global-config.main.runtime.ts",
441
+ "line": 55,
442
+ "character": 31
443
+ },
444
+ "name": "string"
384
445
  },
385
- "name": "string"
446
+ "isOptional": false,
447
+ "isSpread": false
386
448
  }
387
- ]
388
- },
389
- "modifiers": []
390
- },
391
- {
392
- "__schema": "FunctionLikeSchema",
393
- "location": {
394
- "filePath": "global-config.main.runtime.ts",
395
- "line": 55,
396
- "character": 3
397
- },
398
- "signature": "(method) GlobalConfigMain.set(key: string, val: string): Promise<GlobalConfig>",
399
- "name": "set",
400
- "params": [
401
- {
402
- "__schema": "ParameterSchema",
449
+ ],
450
+ "returnType": {
451
+ "__schema": "TypeRefSchema",
403
452
  "location": {
404
453
  "filePath": "global-config.main.runtime.ts",
405
454
  "line": 55,
406
- "character": 13
407
- },
408
- "name": "key",
409
- "type": {
410
- "__schema": "KeywordTypeSchema",
411
- "location": {
412
- "filePath": "global-config.main.runtime.ts",
413
- "line": 55,
414
- "character": 18
415
- },
416
- "name": "string"
455
+ "character": 40
417
456
  },
418
- "isOptional": false,
419
- "isSpread": false
457
+ "name": "Promise",
458
+ "typeArgs": [
459
+ {
460
+ "__schema": "TypeRefSchema",
461
+ "location": {
462
+ "filePath": "global-config.main.runtime.ts",
463
+ "line": 55,
464
+ "character": 48
465
+ },
466
+ "name": "GlobalConfig",
467
+ "packageName": "@teambit/legacy/dist/global-config"
468
+ }
469
+ ]
420
470
  },
421
- {
422
- "__schema": "ParameterSchema",
423
- "location": {
424
- "filePath": "global-config.main.runtime.ts",
425
- "line": 55,
426
- "character": 26
427
- },
428
- "name": "val",
429
- "type": {
430
- "__schema": "KeywordTypeSchema",
431
- "location": {
432
- "filePath": "global-config.main.runtime.ts",
433
- "line": 55,
434
- "character": 31
435
- },
436
- "name": "string"
437
- },
438
- "isOptional": false,
439
- "isSpread": false
440
- }
441
- ],
442
- "returnType": {
443
- "__schema": "TypeRefSchema",
471
+ "modifiers": [
472
+ "async"
473
+ ]
474
+ },
475
+ {
476
+ "__schema": "FunctionLikeSchema",
444
477
  "location": {
445
478
  "filePath": "global-config.main.runtime.ts",
446
- "line": 55,
447
- "character": 40
479
+ "line": 58,
480
+ "character": 3
448
481
  },
449
- "name": "Promise",
450
- "typeArgs": [
482
+ "signature": "(method) GlobalConfigMain.setSync(key: string, val: string): GlobalConfig",
483
+ "name": "setSync",
484
+ "params": [
451
485
  {
452
- "__schema": "TypeRefSchema",
486
+ "__schema": "ParameterSchema",
453
487
  "location": {
454
488
  "filePath": "global-config.main.runtime.ts",
455
- "line": 55,
456
- "character": 48
489
+ "line": 58,
490
+ "character": 11
457
491
  },
458
- "name": "GlobalConfig"
459
- }
460
- ]
461
- },
462
- "modifiers": [
463
- "async"
464
- ]
465
- },
466
- {
467
- "__schema": "FunctionLikeSchema",
468
- "location": {
469
- "filePath": "global-config.main.runtime.ts",
470
- "line": 58,
471
- "character": 3
472
- },
473
- "signature": "(method) GlobalConfigMain.setSync(key: string, val: string): GlobalConfig",
474
- "name": "setSync",
475
- "params": [
476
- {
477
- "__schema": "ParameterSchema",
478
- "location": {
479
- "filePath": "global-config.main.runtime.ts",
480
- "line": 58,
481
- "character": 11
492
+ "name": "key",
493
+ "type": {
494
+ "__schema": "KeywordTypeSchema",
495
+ "location": {
496
+ "filePath": "global-config.main.runtime.ts",
497
+ "line": 58,
498
+ "character": 16
499
+ },
500
+ "name": "string"
501
+ },
502
+ "isOptional": false,
503
+ "isSpread": false
482
504
  },
483
- "name": "key",
484
- "type": {
485
- "__schema": "KeywordTypeSchema",
505
+ {
506
+ "__schema": "ParameterSchema",
486
507
  "location": {
487
508
  "filePath": "global-config.main.runtime.ts",
488
509
  "line": 58,
489
- "character": 16
510
+ "character": 24
490
511
  },
491
- "name": "string"
492
- },
493
- "isOptional": false,
494
- "isSpread": false
495
- },
496
- {
497
- "__schema": "ParameterSchema",
512
+ "name": "val",
513
+ "type": {
514
+ "__schema": "KeywordTypeSchema",
515
+ "location": {
516
+ "filePath": "global-config.main.runtime.ts",
517
+ "line": 58,
518
+ "character": 29
519
+ },
520
+ "name": "string"
521
+ },
522
+ "isOptional": false,
523
+ "isSpread": false
524
+ }
525
+ ],
526
+ "returnType": {
527
+ "__schema": "TypeRefSchema",
498
528
  "location": {
499
529
  "filePath": "global-config.main.runtime.ts",
500
530
  "line": 58,
501
- "character": 24
502
- },
503
- "name": "val",
504
- "type": {
505
- "__schema": "KeywordTypeSchema",
506
- "location": {
507
- "filePath": "global-config.main.runtime.ts",
508
- "line": 58,
509
- "character": 29
510
- },
511
- "name": "string"
531
+ "character": 3
512
532
  },
513
- "isOptional": false,
514
- "isSpread": false
515
- }
516
- ],
517
- "returnType": {
518
- "__schema": "TypeRefSchema",
533
+ "name": "GlobalConfig",
534
+ "packageName": "@teambit/legacy/dist/global-config"
535
+ },
536
+ "modifiers": []
537
+ },
538
+ {
539
+ "__schema": "FunctionLikeSchema",
519
540
  "location": {
520
541
  "filePath": "global-config.main.runtime.ts",
521
- "line": 58,
542
+ "line": 62,
522
543
  "character": 3
523
544
  },
524
- "name": "GlobalConfig",
525
- "packageName": "@teambit/legacy/dist/global-config"
526
- },
527
- "modifiers": []
528
- },
529
- {
530
- "__schema": "FunctionLikeSchema",
531
- "location": {
532
- "filePath": "global-config.main.runtime.ts",
533
- "line": 62,
534
- "character": 3
535
- },
536
- "signature": "(method) GlobalConfigMain.del(key: string): Promise<GlobalConfig>",
537
- "name": "del",
538
- "params": [
539
- {
540
- "__schema": "ParameterSchema",
541
- "location": {
542
- "filePath": "global-config.main.runtime.ts",
543
- "line": 62,
544
- "character": 13
545
- },
546
- "name": "key",
547
- "type": {
548
- "__schema": "KeywordTypeSchema",
545
+ "signature": "(method) GlobalConfigMain.del(key: string): Promise<GlobalConfig>",
546
+ "name": "del",
547
+ "params": [
548
+ {
549
+ "__schema": "ParameterSchema",
549
550
  "location": {
550
551
  "filePath": "global-config.main.runtime.ts",
551
552
  "line": 62,
552
- "character": 18
553
+ "character": 13
554
+ },
555
+ "name": "key",
556
+ "type": {
557
+ "__schema": "KeywordTypeSchema",
558
+ "location": {
559
+ "filePath": "global-config.main.runtime.ts",
560
+ "line": 62,
561
+ "character": 18
562
+ },
563
+ "name": "string"
553
564
  },
554
- "name": "string"
565
+ "isOptional": false,
566
+ "isSpread": false
567
+ }
568
+ ],
569
+ "returnType": {
570
+ "__schema": "TypeRefSchema",
571
+ "location": {
572
+ "filePath": "global-config.main.runtime.ts",
573
+ "line": 62,
574
+ "character": 27
555
575
  },
556
- "isOptional": false,
557
- "isSpread": false
558
- }
559
- ],
560
- "returnType": {
561
- "__schema": "TypeRefSchema",
576
+ "name": "Promise",
577
+ "typeArgs": [
578
+ {
579
+ "__schema": "TypeRefSchema",
580
+ "location": {
581
+ "filePath": "global-config.main.runtime.ts",
582
+ "line": 62,
583
+ "character": 35
584
+ },
585
+ "name": "GlobalConfig",
586
+ "packageName": "@teambit/legacy/dist/global-config"
587
+ }
588
+ ]
589
+ },
590
+ "modifiers": [
591
+ "async"
592
+ ]
593
+ },
594
+ {
595
+ "__schema": "FunctionLikeSchema",
562
596
  "location": {
563
597
  "filePath": "global-config.main.runtime.ts",
564
- "line": 62,
565
- "character": 27
598
+ "line": 66,
599
+ "character": 3
566
600
  },
567
- "name": "Promise",
568
- "typeArgs": [
601
+ "signature": "(method) GlobalConfigMain.delSync(key: string): GlobalConfig",
602
+ "name": "delSync",
603
+ "params": [
569
604
  {
570
- "__schema": "TypeRefSchema",
605
+ "__schema": "ParameterSchema",
571
606
  "location": {
572
607
  "filePath": "global-config.main.runtime.ts",
573
- "line": 62,
574
- "character": 35
608
+ "line": 66,
609
+ "character": 11
610
+ },
611
+ "name": "key",
612
+ "type": {
613
+ "__schema": "KeywordTypeSchema",
614
+ "location": {
615
+ "filePath": "global-config.main.runtime.ts",
616
+ "line": 66,
617
+ "character": 16
618
+ },
619
+ "name": "string"
575
620
  },
576
- "name": "GlobalConfig"
621
+ "isOptional": false,
622
+ "isSpread": false
577
623
  }
578
- ]
579
- },
580
- "modifiers": [
581
- "async"
582
- ]
583
- },
584
- {
585
- "__schema": "FunctionLikeSchema",
586
- "location": {
587
- "filePath": "global-config.main.runtime.ts",
588
- "line": 66,
589
- "character": 3
590
- },
591
- "signature": "(method) GlobalConfigMain.delSync(key: string): GlobalConfig",
592
- "name": "delSync",
593
- "params": [
594
- {
595
- "__schema": "ParameterSchema",
624
+ ],
625
+ "returnType": {
626
+ "__schema": "TypeRefSchema",
596
627
  "location": {
597
628
  "filePath": "global-config.main.runtime.ts",
598
629
  "line": 66,
599
- "character": 11
600
- },
601
- "name": "key",
602
- "type": {
603
- "__schema": "KeywordTypeSchema",
604
- "location": {
605
- "filePath": "global-config.main.runtime.ts",
606
- "line": 66,
607
- "character": 16
608
- },
609
- "name": "string"
630
+ "character": 3
610
631
  },
611
- "isOptional": false,
612
- "isSpread": false
613
- }
614
- ],
615
- "returnType": {
616
- "__schema": "TypeRefSchema",
617
- "location": {
618
- "filePath": "global-config.main.runtime.ts",
619
- "line": 66,
620
- "character": 3
632
+ "name": "GlobalConfig",
633
+ "packageName": "@teambit/legacy/dist/global-config"
621
634
  },
622
- "name": "GlobalConfig",
623
- "packageName": "@teambit/legacy/dist/global-config"
624
- },
625
- "modifiers": []
626
- },
627
- {
628
- "__schema": "FunctionLikeSchema",
629
- "location": {
630
- "filePath": "global-config.main.runtime.ts",
631
- "line": 70,
632
- "character": 3
635
+ "modifiers": []
633
636
  },
634
- "signature": "(method) GlobalConfigMain.getGlobalCapsulesBaseDir(): string",
635
- "name": "getGlobalCapsulesBaseDir",
636
- "params": [],
637
- "returnType": {
638
- "__schema": "InferenceTypeSchema",
637
+ {
638
+ "__schema": "FunctionLikeSchema",
639
639
  "location": {
640
640
  "filePath": "global-config.main.runtime.ts",
641
641
  "line": 70,
642
642
  "character": 3
643
643
  },
644
- "type": "string"
645
- },
646
- "modifiers": []
647
- },
648
- {
649
- "__schema": "FunctionLikeSchema",
650
- "location": {
651
- "filePath": "global-config.main.runtime.ts",
652
- "line": 74,
653
- "character": 3
644
+ "signature": "(method) GlobalConfigMain.getGlobalCapsulesBaseDir(): string",
645
+ "name": "getGlobalCapsulesBaseDir",
646
+ "params": [],
647
+ "returnType": {
648
+ "__schema": "InferenceTypeSchema",
649
+ "location": {
650
+ "filePath": "global-config.main.runtime.ts",
651
+ "line": 70,
652
+ "character": 3
653
+ },
654
+ "type": "string"
655
+ },
656
+ "modifiers": []
654
657
  },
655
- "signature": "(method) GlobalConfigMain.invalidateCache(): void",
656
- "name": "invalidateCache",
657
- "params": [],
658
- "returnType": {
659
- "__schema": "InferenceTypeSchema",
658
+ {
659
+ "__schema": "FunctionLikeSchema",
660
660
  "location": {
661
661
  "filePath": "global-config.main.runtime.ts",
662
662
  "line": 74,
663
663
  "character": 3
664
664
  },
665
- "type": "void"
666
- },
667
- "modifiers": []
668
- },
669
- {
670
- "__schema": "FunctionLikeSchema",
671
- "location": {
672
- "filePath": "global-config.main.runtime.ts",
673
- "line": 78,
674
- "character": 3
665
+ "signature": "(method) GlobalConfigMain.invalidateCache(): void",
666
+ "name": "invalidateCache",
667
+ "params": [],
668
+ "returnType": {
669
+ "__schema": "InferenceTypeSchema",
670
+ "location": {
671
+ "filePath": "global-config.main.runtime.ts",
672
+ "line": 74,
673
+ "character": 3
674
+ },
675
+ "type": "void"
676
+ },
677
+ "modifiers": []
675
678
  },
676
- "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}",
677
- "name": "getKnownGlobalDirs",
678
- "params": [],
679
- "returnType": {
680
- "__schema": "InferenceTypeSchema",
679
+ {
680
+ "__schema": "FunctionLikeSchema",
681
681
  "location": {
682
682
  "filePath": "global-config.main.runtime.ts",
683
683
  "line": 78,
684
684
  "character": 3
685
685
  },
686
- "type": "{\n 'Global Dir': string;\n 'Log file': string;\n 'Global Scope Dir': string;\n 'Config Dir': string;\n 'Capsules Dir': string;\n}"
687
- },
688
- "modifiers": []
689
- },
690
- {
691
- "__schema": "FunctionLikeSchema",
692
- "location": {
693
- "filePath": "global-config.main.runtime.ts",
694
- "line": 88,
695
- "character": 3
696
- },
697
- "signature": "(method) GlobalConfigMain.provider([cli]: [CLIMain]): Promise<GlobalConfigMain>",
698
- "name": "provider",
699
- "params": [
700
- {
701
- "__schema": "ParameterSchema",
686
+ "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}",
687
+ "name": "getKnownGlobalDirs",
688
+ "params": [],
689
+ "returnType": {
690
+ "__schema": "InferenceTypeSchema",
702
691
  "location": {
703
692
  "filePath": "global-config.main.runtime.ts",
704
- "line": 88,
705
- "character": 25
693
+ "line": 78,
694
+ "character": 3
706
695
  },
707
- "name": "[ cli ]",
708
- "type": {
709
- "__schema": "TupleTypeSchema",
696
+ "type": "{\n 'Global Dir': string;\n 'Log file': string;\n 'Global Scope Dir': string;\n 'Config Dir': string;\n 'Capsules Dir': string;\n}"
697
+ },
698
+ "modifiers": []
699
+ },
700
+ {
701
+ "__schema": "FunctionLikeSchema",
702
+ "location": {
703
+ "filePath": "global-config.main.runtime.ts",
704
+ "line": 88,
705
+ "character": 3
706
+ },
707
+ "signature": "(method) GlobalConfigMain.provider([cli]: [CLIMain]): Promise<GlobalConfigMain>",
708
+ "name": "provider",
709
+ "params": [
710
+ {
711
+ "__schema": "ParameterSchema",
710
712
  "location": {
711
713
  "filePath": "global-config.main.runtime.ts",
712
714
  "line": 88,
713
- "character": 32
715
+ "character": 25
714
716
  },
715
- "elements": [
716
- {
717
- "__schema": "TypeRefSchema",
718
- "location": {
719
- "filePath": "global-config.main.runtime.ts",
720
- "line": 88,
721
- "character": 33
722
- },
723
- "name": "CLIMain"
724
- }
725
- ]
717
+ "name": "[ cli ]",
718
+ "type": {
719
+ "__schema": "TupleTypeSchema",
720
+ "location": {
721
+ "filePath": "global-config.main.runtime.ts",
722
+ "line": 88,
723
+ "character": 32
724
+ },
725
+ "elements": [
726
+ {
727
+ "__schema": "TypeRefSchema",
728
+ "location": {
729
+ "filePath": "global-config.main.runtime.ts",
730
+ "line": 88,
731
+ "character": 33
732
+ },
733
+ "name": "CLIMain",
734
+ "componentId": {
735
+ "scope": "teambit.harmony",
736
+ "name": "cli"
737
+ }
738
+ }
739
+ ]
740
+ },
741
+ "isOptional": false,
742
+ "isSpread": false
743
+ }
744
+ ],
745
+ "returnType": {
746
+ "__schema": "InferenceTypeSchema",
747
+ "location": {
748
+ "filePath": "global-config.main.runtime.ts",
749
+ "line": 88,
750
+ "character": 3
726
751
  },
727
- "isOptional": false,
728
- "isSpread": false
729
- }
730
- ],
731
- "returnType": {
732
- "__schema": "InferenceTypeSchema",
733
- "location": {
734
- "filePath": "global-config.main.runtime.ts",
735
- "line": 88,
736
- "character": 3
752
+ "type": "Promise<GlobalConfigMain>"
737
753
  },
738
- "type": "Promise<GlobalConfigMain>"
739
- },
740
- "modifiers": [
741
- "static",
742
- "async"
743
- ]
744
- }
745
- ],
746
- "extendsNodes": [],
747
- "implementNodes": []
754
+ "modifiers": [
755
+ "static",
756
+ "async"
757
+ ]
758
+ }
759
+ ],
760
+ "extendsNodes": [],
761
+ "implementNodes": []
762
+ }
748
763
  },
749
764
  {
750
- "__schema": "VariableLikeSchema",
765
+ "__schema": "ExportSchema",
751
766
  "location": {
752
- "filePath": "global-config.aspect.ts",
753
- "line": 3,
754
- "character": 14
767
+ "filePath": "index.ts",
768
+ "line": 4,
769
+ "character": 10
755
770
  },
756
- "signature": "const GlobalConfigAspect: Aspect",
757
771
  "name": "GlobalConfigAspect",
758
- "type": {
759
- "__schema": "TypeRefSchema",
772
+ "exportNode": {
773
+ "__schema": "VariableLikeSchema",
760
774
  "location": {
761
775
  "filePath": "global-config.aspect.ts",
762
776
  "line": 3,
763
777
  "character": 14
764
778
  },
765
- "name": "Aspect",
766
- "componentId": {
767
- "scope": "teambit.harmony",
768
- "name": "harmony",
769
- "version": "0.4.6"
770
- }
771
- },
772
- "isOptional": false,
773
- "defaultValue": "Aspect.create({\n id: 'teambit.harmony/global-config',\n dependencies: [],\n})"
779
+ "signature": "const GlobalConfigAspect: Aspect",
780
+ "name": "GlobalConfigAspect",
781
+ "type": {
782
+ "__schema": "TypeRefSchema",
783
+ "location": {
784
+ "filePath": "global-config.aspect.ts",
785
+ "line": 3,
786
+ "character": 14
787
+ },
788
+ "name": "Aspect",
789
+ "componentId": {
790
+ "scope": "teambit.harmony",
791
+ "name": "harmony",
792
+ "version": "0.4.6"
793
+ }
794
+ },
795
+ "isOptional": false,
796
+ "defaultValue": "Aspect.create({\n id: 'teambit.harmony/global-config',\n dependencies: [],\n})"
797
+ }
774
798
  },
775
799
  {
776
800
  "__schema": "UnImplementedSchema",
@@ -1236,7 +1260,8 @@
1236
1260
  "line": 55,
1237
1261
  "character": 48
1238
1262
  },
1239
- "name": "GlobalConfig"
1263
+ "name": "GlobalConfig",
1264
+ "packageName": "@teambit/legacy/dist/global-config"
1240
1265
  }
1241
1266
  ]
1242
1267
  },
@@ -1354,7 +1379,8 @@
1354
1379
  "line": 62,
1355
1380
  "character": 35
1356
1381
  },
1357
- "name": "GlobalConfig"
1382
+ "name": "GlobalConfig",
1383
+ "packageName": "@teambit/legacy/dist/global-config"
1358
1384
  }
1359
1385
  ]
1360
1386
  },
@@ -1501,7 +1527,11 @@
1501
1527
  "line": 88,
1502
1528
  "character": 33
1503
1529
  },
1504
- "name": "CLIMain"
1530
+ "name": "CLIMain",
1531
+ "componentId": {
1532
+ "scope": "teambit.harmony",
1533
+ "name": "cli"
1534
+ }
1505
1535
  }
1506
1536
  ]
1507
1537
  },
@@ -1592,7 +1622,7 @@
1592
1622
  "componentId": {
1593
1623
  "scope": "teambit.harmony",
1594
1624
  "name": "global-config",
1595
- "version": "0.0.864"
1625
+ "version": "0.0.866"
1596
1626
  },
1597
1627
  "taggedModuleExports": []
1598
1628
  }