@teambit/global-config 0.0.865 → 0.0.867

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,769 +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
366
364
  },
367
- "name": "Record",
368
- "typeArgs": [
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
405
+ },
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
415
+ },
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"
375
425
  },
376
- "name": "string"
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
- "packageName": "@teambit/legacy/dist/global-config"
460
- }
461
- ]
462
- },
463
- "modifiers": [
464
- "async"
465
- ]
466
- },
467
- {
468
- "__schema": "FunctionLikeSchema",
469
- "location": {
470
- "filePath": "global-config.main.runtime.ts",
471
- "line": 58,
472
- "character": 3
473
- },
474
- "signature": "(method) GlobalConfigMain.setSync(key: string, val: string): GlobalConfig",
475
- "name": "setSync",
476
- "params": [
477
- {
478
- "__schema": "ParameterSchema",
479
- "location": {
480
- "filePath": "global-config.main.runtime.ts",
481
- "line": 58,
482
- "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
483
504
  },
484
- "name": "key",
485
- "type": {
486
- "__schema": "KeywordTypeSchema",
505
+ {
506
+ "__schema": "ParameterSchema",
487
507
  "location": {
488
508
  "filePath": "global-config.main.runtime.ts",
489
509
  "line": 58,
490
- "character": 16
510
+ "character": 24
491
511
  },
492
- "name": "string"
493
- },
494
- "isOptional": false,
495
- "isSpread": false
496
- },
497
- {
498
- "__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",
499
528
  "location": {
500
529
  "filePath": "global-config.main.runtime.ts",
501
530
  "line": 58,
502
- "character": 24
503
- },
504
- "name": "val",
505
- "type": {
506
- "__schema": "KeywordTypeSchema",
507
- "location": {
508
- "filePath": "global-config.main.runtime.ts",
509
- "line": 58,
510
- "character": 29
511
- },
512
- "name": "string"
531
+ "character": 3
513
532
  },
514
- "isOptional": false,
515
- "isSpread": false
516
- }
517
- ],
518
- "returnType": {
519
- "__schema": "TypeRefSchema",
533
+ "name": "GlobalConfig",
534
+ "packageName": "@teambit/legacy/dist/global-config"
535
+ },
536
+ "modifiers": []
537
+ },
538
+ {
539
+ "__schema": "FunctionLikeSchema",
520
540
  "location": {
521
541
  "filePath": "global-config.main.runtime.ts",
522
- "line": 58,
542
+ "line": 62,
523
543
  "character": 3
524
544
  },
525
- "name": "GlobalConfig",
526
- "packageName": "@teambit/legacy/dist/global-config"
527
- },
528
- "modifiers": []
529
- },
530
- {
531
- "__schema": "FunctionLikeSchema",
532
- "location": {
533
- "filePath": "global-config.main.runtime.ts",
534
- "line": 62,
535
- "character": 3
536
- },
537
- "signature": "(method) GlobalConfigMain.del(key: string): Promise<GlobalConfig>",
538
- "name": "del",
539
- "params": [
540
- {
541
- "__schema": "ParameterSchema",
542
- "location": {
543
- "filePath": "global-config.main.runtime.ts",
544
- "line": 62,
545
- "character": 13
546
- },
547
- "name": "key",
548
- "type": {
549
- "__schema": "KeywordTypeSchema",
545
+ "signature": "(method) GlobalConfigMain.del(key: string): Promise<GlobalConfig>",
546
+ "name": "del",
547
+ "params": [
548
+ {
549
+ "__schema": "ParameterSchema",
550
550
  "location": {
551
551
  "filePath": "global-config.main.runtime.ts",
552
552
  "line": 62,
553
- "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"
554
564
  },
555
- "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
556
575
  },
557
- "isOptional": false,
558
- "isSpread": false
559
- }
560
- ],
561
- "returnType": {
562
- "__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",
563
596
  "location": {
564
597
  "filePath": "global-config.main.runtime.ts",
565
- "line": 62,
566
- "character": 27
598
+ "line": 66,
599
+ "character": 3
567
600
  },
568
- "name": "Promise",
569
- "typeArgs": [
601
+ "signature": "(method) GlobalConfigMain.delSync(key: string): GlobalConfig",
602
+ "name": "delSync",
603
+ "params": [
570
604
  {
571
- "__schema": "TypeRefSchema",
605
+ "__schema": "ParameterSchema",
572
606
  "location": {
573
607
  "filePath": "global-config.main.runtime.ts",
574
- "line": 62,
575
- "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"
576
620
  },
577
- "name": "GlobalConfig",
578
- "packageName": "@teambit/legacy/dist/global-config"
621
+ "isOptional": false,
622
+ "isSpread": false
579
623
  }
580
- ]
581
- },
582
- "modifiers": [
583
- "async"
584
- ]
585
- },
586
- {
587
- "__schema": "FunctionLikeSchema",
588
- "location": {
589
- "filePath": "global-config.main.runtime.ts",
590
- "line": 66,
591
- "character": 3
592
- },
593
- "signature": "(method) GlobalConfigMain.delSync(key: string): GlobalConfig",
594
- "name": "delSync",
595
- "params": [
596
- {
597
- "__schema": "ParameterSchema",
624
+ ],
625
+ "returnType": {
626
+ "__schema": "TypeRefSchema",
598
627
  "location": {
599
628
  "filePath": "global-config.main.runtime.ts",
600
629
  "line": 66,
601
- "character": 11
602
- },
603
- "name": "key",
604
- "type": {
605
- "__schema": "KeywordTypeSchema",
606
- "location": {
607
- "filePath": "global-config.main.runtime.ts",
608
- "line": 66,
609
- "character": 16
610
- },
611
- "name": "string"
630
+ "character": 3
612
631
  },
613
- "isOptional": false,
614
- "isSpread": false
615
- }
616
- ],
617
- "returnType": {
618
- "__schema": "TypeRefSchema",
619
- "location": {
620
- "filePath": "global-config.main.runtime.ts",
621
- "line": 66,
622
- "character": 3
632
+ "name": "GlobalConfig",
633
+ "packageName": "@teambit/legacy/dist/global-config"
623
634
  },
624
- "name": "GlobalConfig",
625
- "packageName": "@teambit/legacy/dist/global-config"
626
- },
627
- "modifiers": []
628
- },
629
- {
630
- "__schema": "FunctionLikeSchema",
631
- "location": {
632
- "filePath": "global-config.main.runtime.ts",
633
- "line": 70,
634
- "character": 3
635
+ "modifiers": []
635
636
  },
636
- "signature": "(method) GlobalConfigMain.getGlobalCapsulesBaseDir(): string",
637
- "name": "getGlobalCapsulesBaseDir",
638
- "params": [],
639
- "returnType": {
640
- "__schema": "InferenceTypeSchema",
637
+ {
638
+ "__schema": "FunctionLikeSchema",
641
639
  "location": {
642
640
  "filePath": "global-config.main.runtime.ts",
643
641
  "line": 70,
644
642
  "character": 3
645
643
  },
646
- "type": "string"
647
- },
648
- "modifiers": []
649
- },
650
- {
651
- "__schema": "FunctionLikeSchema",
652
- "location": {
653
- "filePath": "global-config.main.runtime.ts",
654
- "line": 74,
655
- "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": []
656
657
  },
657
- "signature": "(method) GlobalConfigMain.invalidateCache(): void",
658
- "name": "invalidateCache",
659
- "params": [],
660
- "returnType": {
661
- "__schema": "InferenceTypeSchema",
658
+ {
659
+ "__schema": "FunctionLikeSchema",
662
660
  "location": {
663
661
  "filePath": "global-config.main.runtime.ts",
664
662
  "line": 74,
665
663
  "character": 3
666
664
  },
667
- "type": "void"
668
- },
669
- "modifiers": []
670
- },
671
- {
672
- "__schema": "FunctionLikeSchema",
673
- "location": {
674
- "filePath": "global-config.main.runtime.ts",
675
- "line": 78,
676
- "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": []
677
678
  },
678
- "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}",
679
- "name": "getKnownGlobalDirs",
680
- "params": [],
681
- "returnType": {
682
- "__schema": "InferenceTypeSchema",
679
+ {
680
+ "__schema": "FunctionLikeSchema",
683
681
  "location": {
684
682
  "filePath": "global-config.main.runtime.ts",
685
683
  "line": 78,
686
684
  "character": 3
687
685
  },
688
- "type": "{\n 'Global Dir': string;\n 'Log file': string;\n 'Global Scope Dir': string;\n 'Config Dir': string;\n 'Capsules Dir': string;\n}"
689
- },
690
- "modifiers": []
691
- },
692
- {
693
- "__schema": "FunctionLikeSchema",
694
- "location": {
695
- "filePath": "global-config.main.runtime.ts",
696
- "line": 88,
697
- "character": 3
698
- },
699
- "signature": "(method) GlobalConfigMain.provider([cli]: [CLIMain]): Promise<GlobalConfigMain>",
700
- "name": "provider",
701
- "params": [
702
- {
703
- "__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",
704
691
  "location": {
705
692
  "filePath": "global-config.main.runtime.ts",
706
- "line": 88,
707
- "character": 25
693
+ "line": 78,
694
+ "character": 3
708
695
  },
709
- "name": "[ cli ]",
710
- "type": {
711
- "__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",
712
712
  "location": {
713
713
  "filePath": "global-config.main.runtime.ts",
714
714
  "line": 88,
715
- "character": 32
715
+ "character": 25
716
716
  },
717
- "elements": [
718
- {
719
- "__schema": "TypeRefSchema",
720
- "location": {
721
- "filePath": "global-config.main.runtime.ts",
722
- "line": 88,
723
- "character": 33
724
- },
725
- "name": "CLIMain",
726
- "componentId": {
727
- "scope": "teambit.harmony",
728
- "name": "cli"
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
+ }
729
738
  }
730
- }
731
- ]
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
732
751
  },
733
- "isOptional": false,
734
- "isSpread": false
735
- }
736
- ],
737
- "returnType": {
738
- "__schema": "InferenceTypeSchema",
739
- "location": {
740
- "filePath": "global-config.main.runtime.ts",
741
- "line": 88,
742
- "character": 3
752
+ "type": "Promise<GlobalConfigMain>"
743
753
  },
744
- "type": "Promise<GlobalConfigMain>"
745
- },
746
- "modifiers": [
747
- "static",
748
- "async"
749
- ]
750
- }
751
- ],
752
- "extendsNodes": [],
753
- "implementNodes": []
754
+ "modifiers": [
755
+ "static",
756
+ "async"
757
+ ]
758
+ }
759
+ ],
760
+ "extendsNodes": [],
761
+ "implementNodes": []
762
+ }
754
763
  },
755
764
  {
756
- "__schema": "VariableLikeSchema",
765
+ "__schema": "ExportSchema",
757
766
  "location": {
758
- "filePath": "global-config.aspect.ts",
759
- "line": 3,
760
- "character": 14
767
+ "filePath": "index.ts",
768
+ "line": 4,
769
+ "character": 10
761
770
  },
762
- "signature": "const GlobalConfigAspect: Aspect",
763
771
  "name": "GlobalConfigAspect",
764
- "type": {
765
- "__schema": "TypeRefSchema",
772
+ "exportNode": {
773
+ "__schema": "VariableLikeSchema",
766
774
  "location": {
767
775
  "filePath": "global-config.aspect.ts",
768
776
  "line": 3,
769
777
  "character": 14
770
778
  },
771
- "name": "Aspect",
772
- "componentId": {
773
- "scope": "teambit.harmony",
774
- "name": "harmony",
775
- "version": "0.4.6"
776
- }
777
- },
778
- "isOptional": false,
779
- "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
+ }
780
798
  },
781
799
  {
782
800
  "__schema": "UnImplementedSchema",
@@ -1604,7 +1622,7 @@
1604
1622
  "componentId": {
1605
1623
  "scope": "teambit.harmony",
1606
1624
  "name": "global-config",
1607
- "version": "0.0.865"
1625
+ "version": "0.0.867"
1608
1626
  },
1609
1627
  "taggedModuleExports": []
1610
1628
  }