@teambit/stash 1.0.257 → 1.0.258

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,4 +1,4 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <testsuites tests="0" failures="0" errors="0" skipped="0">
3
- <testsuite name="teambit.component/stash@1.0.257" tests="0" failures="0" errors="0" skipped="0"/>
3
+ <testsuite name="teambit.component/stash@1.0.258" tests="0" failures="0" errors="0" skipped="0"/>
4
4
  </testsuites>
@@ -14,493 +14,465 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "stash.main.runtime.ts",
20
- "line": 21,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class StashMain",
24
23
  "name": "StashMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "stash.main.runtime.ts",
30
- "line": 23,
31
- "character": 3
32
- },
33
- "signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain): StashMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "stash.main.runtime.ts",
40
- "line": 23,
41
- "character": 15
42
- },
43
- "name": "workspace",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "stash.main.runtime.ts",
28
+ "line": 21,
29
+ "character": 1
30
+ },
31
+ "signature": "class StashMain",
32
+ "name": "StashMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "stash.main.runtime.ts",
38
+ "line": 23,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain): StashMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "stash.main.runtime.ts",
48
48
  "line": 23,
49
- "character": 34
49
+ "character": 15
50
50
  },
51
- "name": "Workspace",
52
- "componentId": {
53
- "scope": "teambit.workspace",
54
- "name": "workspace"
55
- }
56
- },
57
- "isOptional": false,
58
- "isSpread": false
59
- },
60
- {
61
- "__schema": "ParameterSchema",
62
- "location": {
63
- "filePath": "stash.main.runtime.ts",
64
- "line": 23,
65
- "character": 45
51
+ "name": "workspace",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "stash.main.runtime.ts",
56
+ "line": 23,
57
+ "character": 34
58
+ },
59
+ "name": "Workspace"
60
+ },
61
+ "isOptional": false,
62
+ "isSpread": false
66
63
  },
67
- "name": "checkout",
68
- "type": {
69
- "__schema": "TypeRefSchema",
64
+ {
65
+ "__schema": "ParameterSchema",
70
66
  "location": {
71
67
  "filePath": "stash.main.runtime.ts",
72
68
  "line": 23,
73
- "character": 63
69
+ "character": 45
74
70
  },
75
- "name": "CheckoutMain",
76
- "componentId": {
77
- "scope": "teambit.component",
78
- "name": "checkout"
79
- }
80
- },
81
- "isOptional": false,
82
- "isSpread": false
83
- },
84
- {
85
- "__schema": "ParameterSchema",
86
- "location": {
87
- "filePath": "stash.main.runtime.ts",
88
- "line": 23,
89
- "character": 77
71
+ "name": "checkout",
72
+ "type": {
73
+ "__schema": "TypeRefSchema",
74
+ "location": {
75
+ "filePath": "stash.main.runtime.ts",
76
+ "line": 23,
77
+ "character": 63
78
+ },
79
+ "name": "CheckoutMain"
80
+ },
81
+ "isOptional": false,
82
+ "isSpread": false
90
83
  },
91
- "name": "snapping",
92
- "type": {
93
- "__schema": "TypeRefSchema",
84
+ {
85
+ "__schema": "ParameterSchema",
94
86
  "location": {
95
87
  "filePath": "stash.main.runtime.ts",
96
88
  "line": 23,
97
- "character": 95
89
+ "character": 77
98
90
  },
99
- "name": "SnappingMain",
100
- "componentId": {
101
- "scope": "teambit.component",
102
- "name": "snapping"
103
- }
91
+ "name": "snapping",
92
+ "type": {
93
+ "__schema": "TypeRefSchema",
94
+ "location": {
95
+ "filePath": "stash.main.runtime.ts",
96
+ "line": 23,
97
+ "character": 95
98
+ },
99
+ "name": "SnappingMain"
100
+ },
101
+ "isOptional": false,
102
+ "isSpread": false
103
+ }
104
+ ],
105
+ "returnType": {
106
+ "__schema": "ThisTypeSchema",
107
+ "location": {
108
+ "filePath": "stash.main.runtime.ts",
109
+ "line": 21,
110
+ "character": 1
104
111
  },
105
- "isOptional": false,
106
- "isSpread": false
107
- }
108
- ],
109
- "returnType": {
110
- "__schema": "ThisTypeSchema",
112
+ "name": "StashMain"
113
+ },
114
+ "modifiers": []
115
+ },
116
+ {
117
+ "__schema": "FunctionLikeSchema",
111
118
  "location": {
112
119
  "filePath": "stash.main.runtime.ts",
113
- "line": 21,
114
- "character": 1
120
+ "line": 27,
121
+ "character": 3
115
122
  },
116
- "name": "StashMain"
117
- },
118
- "modifiers": []
119
- },
120
- {
121
- "__schema": "FunctionLikeSchema",
122
- "location": {
123
- "filePath": "stash.main.runtime.ts",
124
- "line": 27,
125
- "character": 3
126
- },
127
- "signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n}): Promise<ComponentID[]>",
128
- "name": "save",
129
- "params": [
130
- {
131
- "__schema": "ParameterSchema",
132
- "location": {
133
- "filePath": "stash.main.runtime.ts",
134
- "line": 27,
135
- "character": 14
136
- },
137
- "name": "options",
138
- "type": {
139
- "__schema": "TypeLiteralSchema",
123
+ "signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n}): Promise<ComponentID[]>",
124
+ "name": "save",
125
+ "params": [
126
+ {
127
+ "__schema": "ParameterSchema",
140
128
  "location": {
141
129
  "filePath": "stash.main.runtime.ts",
142
130
  "line": 27,
143
- "character": 23
131
+ "character": 14
144
132
  },
145
- "members": [
146
- {
147
- "__schema": "VariableLikeSchema",
148
- "location": {
149
- "filePath": "stash.main.runtime.ts",
150
- "line": 27,
151
- "character": 25
152
- },
153
- "signature": "(property) message?: string | undefined",
154
- "name": "message",
155
- "type": {
156
- "__schema": "KeywordTypeSchema",
133
+ "name": "options",
134
+ "type": {
135
+ "__schema": "TypeLiteralSchema",
136
+ "location": {
137
+ "filePath": "stash.main.runtime.ts",
138
+ "line": 27,
139
+ "character": 23
140
+ },
141
+ "members": [
142
+ {
143
+ "__schema": "VariableLikeSchema",
157
144
  "location": {
158
145
  "filePath": "stash.main.runtime.ts",
159
146
  "line": 27,
160
- "character": 35
147
+ "character": 25
161
148
  },
162
- "name": "string"
163
- },
164
- "isOptional": true
165
- },
166
- {
167
- "__schema": "VariableLikeSchema",
168
- "location": {
169
- "filePath": "stash.main.runtime.ts",
170
- "line": 27,
171
- "character": 43
149
+ "signature": "(property) message?: string | undefined",
150
+ "name": "message",
151
+ "type": {
152
+ "__schema": "KeywordTypeSchema",
153
+ "location": {
154
+ "filePath": "stash.main.runtime.ts",
155
+ "line": 27,
156
+ "character": 35
157
+ },
158
+ "name": "string"
159
+ },
160
+ "isOptional": true
172
161
  },
173
- "signature": "(property) pattern?: string | undefined",
174
- "name": "pattern",
175
- "type": {
176
- "__schema": "KeywordTypeSchema",
162
+ {
163
+ "__schema": "VariableLikeSchema",
177
164
  "location": {
178
165
  "filePath": "stash.main.runtime.ts",
179
166
  "line": 27,
180
- "character": 53
167
+ "character": 43
168
+ },
169
+ "signature": "(property) pattern?: string | undefined",
170
+ "name": "pattern",
171
+ "type": {
172
+ "__schema": "KeywordTypeSchema",
173
+ "location": {
174
+ "filePath": "stash.main.runtime.ts",
175
+ "line": 27,
176
+ "character": 53
177
+ },
178
+ "name": "string"
181
179
  },
182
- "name": "string"
180
+ "isOptional": true
181
+ }
182
+ ]
183
+ },
184
+ "isOptional": false,
185
+ "isSpread": false
186
+ }
187
+ ],
188
+ "returnType": {
189
+ "__schema": "TypeRefSchema",
190
+ "location": {
191
+ "filePath": "stash.main.runtime.ts",
192
+ "line": 27,
193
+ "character": 64
194
+ },
195
+ "name": "Promise",
196
+ "typeArgs": [
197
+ {
198
+ "__schema": "TypeArraySchema",
199
+ "location": {
200
+ "filePath": "stash.main.runtime.ts",
201
+ "line": 27,
202
+ "character": 72
203
+ },
204
+ "type": {
205
+ "__schema": "TypeRefSchema",
206
+ "location": {
207
+ "filePath": "stash.main.runtime.ts",
208
+ "line": 27,
209
+ "character": 72
183
210
  },
184
- "isOptional": true
211
+ "name": "ComponentID"
185
212
  }
186
- ]
187
- },
188
- "isOptional": false,
189
- "isSpread": false
190
- }
191
- ],
192
- "returnType": {
193
- "__schema": "TypeRefSchema",
213
+ }
214
+ ]
215
+ },
216
+ "modifiers": [
217
+ "async"
218
+ ]
219
+ },
220
+ {
221
+ "__schema": "FunctionLikeSchema",
194
222
  "location": {
195
223
  "filePath": "stash.main.runtime.ts",
196
- "line": 27,
197
- "character": 64
224
+ "line": 66,
225
+ "character": 3
198
226
  },
199
- "name": "Promise",
200
- "typeArgs": [
201
- {
202
- "__schema": "TypeArraySchema",
203
- "location": {
204
- "filePath": "stash.main.runtime.ts",
205
- "line": 27,
206
- "character": 72
207
- },
208
- "type": {
209
- "__schema": "TypeRefSchema",
227
+ "signature": "(method) StashMain.list(): Promise<ListResult[]>",
228
+ "name": "list",
229
+ "params": [],
230
+ "returnType": {
231
+ "__schema": "TypeRefSchema",
232
+ "location": {
233
+ "filePath": "stash.main.runtime.ts",
234
+ "line": 66,
235
+ "character": 17
236
+ },
237
+ "name": "Promise",
238
+ "typeArgs": [
239
+ {
240
+ "__schema": "TypeArraySchema",
210
241
  "location": {
211
242
  "filePath": "stash.main.runtime.ts",
212
- "line": 27,
213
- "character": 72
243
+ "line": 66,
244
+ "character": 25
214
245
  },
215
- "name": "ComponentID",
216
- "componentId": {
217
- "scope": "teambit.component",
218
- "name": "component"
246
+ "type": {
247
+ "__schema": "TypeRefSchema",
248
+ "location": {
249
+ "filePath": "stash.main.runtime.ts",
250
+ "line": 66,
251
+ "character": 25
252
+ },
253
+ "name": "ListResult"
219
254
  }
220
255
  }
221
- }
256
+ ]
257
+ },
258
+ "modifiers": [
259
+ "async"
222
260
  ]
223
261
  },
224
- "modifiers": [
225
- "async"
226
- ]
227
- },
228
- {
229
- "__schema": "FunctionLikeSchema",
230
- "location": {
231
- "filePath": "stash.main.runtime.ts",
232
- "line": 66,
233
- "character": 3
234
- },
235
- "signature": "(method) StashMain.list(): Promise<ListResult[]>",
236
- "name": "list",
237
- "params": [],
238
- "returnType": {
239
- "__schema": "TypeRefSchema",
262
+ {
263
+ "__schema": "FunctionLikeSchema",
240
264
  "location": {
241
265
  "filePath": "stash.main.runtime.ts",
242
- "line": 66,
243
- "character": 17
266
+ "line": 80,
267
+ "character": 3
244
268
  },
245
- "name": "Promise",
246
- "typeArgs": [
269
+ "signature": "(method) StashMain.loadLatest(checkoutProps?: CheckoutProps, stashId?: string): Promise<ComponentID[]>",
270
+ "name": "loadLatest",
271
+ "params": [
247
272
  {
248
- "__schema": "TypeArraySchema",
273
+ "__schema": "ParameterSchema",
249
274
  "location": {
250
275
  "filePath": "stash.main.runtime.ts",
251
- "line": 66,
252
- "character": 25
276
+ "line": 80,
277
+ "character": 20
253
278
  },
279
+ "name": "checkoutProps",
254
280
  "type": {
255
281
  "__schema": "TypeRefSchema",
256
282
  "location": {
257
283
  "filePath": "stash.main.runtime.ts",
258
- "line": 66,
259
- "character": 25
284
+ "line": 80,
285
+ "character": 35
260
286
  },
261
- "name": "ListResult",
262
- "internalFilePath": "stash.main.runtime.ts"
263
- }
264
- }
265
- ]
266
- },
267
- "modifiers": [
268
- "async"
269
- ]
270
- },
271
- {
272
- "__schema": "FunctionLikeSchema",
273
- "location": {
274
- "filePath": "stash.main.runtime.ts",
275
- "line": 80,
276
- "character": 3
277
- },
278
- "signature": "(method) StashMain.loadLatest(checkoutProps?: CheckoutProps, stashId?: string): Promise<ComponentID[]>",
279
- "name": "loadLatest",
280
- "params": [
281
- {
282
- "__schema": "ParameterSchema",
283
- "location": {
284
- "filePath": "stash.main.runtime.ts",
285
- "line": 80,
286
- "character": 20
287
+ "name": "CheckoutProps"
288
+ },
289
+ "isOptional": true,
290
+ "defaultValue": "{}",
291
+ "isSpread": false
287
292
  },
288
- "name": "checkoutProps",
289
- "type": {
290
- "__schema": "TypeRefSchema",
293
+ {
294
+ "__schema": "ParameterSchema",
291
295
  "location": {
292
296
  "filePath": "stash.main.runtime.ts",
293
297
  "line": 80,
294
- "character": 35
298
+ "character": 55
295
299
  },
296
- "name": "CheckoutProps",
297
- "componentId": {
298
- "scope": "teambit.component",
299
- "name": "checkout"
300
- }
301
- },
302
- "isOptional": true,
303
- "defaultValue": "{}",
304
- "isSpread": false
305
- },
306
- {
307
- "__schema": "ParameterSchema",
300
+ "name": "stashId",
301
+ "type": {
302
+ "__schema": "KeywordTypeSchema",
303
+ "location": {
304
+ "filePath": "stash.main.runtime.ts",
305
+ "line": 80,
306
+ "character": 65
307
+ },
308
+ "name": "string"
309
+ },
310
+ "isOptional": true,
311
+ "isSpread": false
312
+ }
313
+ ],
314
+ "returnType": {
315
+ "__schema": "InferenceTypeSchema",
308
316
  "location": {
309
317
  "filePath": "stash.main.runtime.ts",
310
318
  "line": 80,
311
- "character": 55
312
- },
313
- "name": "stashId",
314
- "type": {
315
- "__schema": "KeywordTypeSchema",
316
- "location": {
317
- "filePath": "stash.main.runtime.ts",
318
- "line": 80,
319
- "character": 65
320
- },
321
- "name": "string"
319
+ "character": 3
322
320
  },
323
- "isOptional": true,
324
- "isSpread": false
325
- }
326
- ],
327
- "returnType": {
328
- "__schema": "InferenceTypeSchema",
329
- "location": {
330
- "filePath": "stash.main.runtime.ts",
331
- "line": 80,
332
- "character": 3
321
+ "type": "Promise<ComponentID[]>"
333
322
  },
334
- "type": "Promise<ComponentID[]>"
335
- },
336
- "modifiers": [
337
- "async"
338
- ]
339
- },
340
- {
341
- "__schema": "VariableLikeSchema",
342
- "location": {
343
- "filePath": "stash.main.runtime.ts",
344
- "line": 125,
345
- "character": 3
323
+ "modifiers": [
324
+ "async"
325
+ ]
346
326
  },
347
- "signature": "(property) StashMain.slots: never[]",
348
- "name": "slots",
349
- "type": {
350
- "__schema": "InferenceTypeSchema",
327
+ {
328
+ "__schema": "VariableLikeSchema",
351
329
  "location": {
352
330
  "filePath": "stash.main.runtime.ts",
353
331
  "line": 125,
354
332
  "character": 3
355
333
  },
356
- "type": "never[]"
357
- },
358
- "isOptional": true,
359
- "defaultValue": "[]"
360
- },
361
- {
362
- "__schema": "VariableLikeSchema",
363
- "location": {
364
- "filePath": "stash.main.runtime.ts",
365
- "line": 126,
366
- "character": 3
334
+ "signature": "(property) StashMain.slots: never[]",
335
+ "name": "slots",
336
+ "type": {
337
+ "__schema": "InferenceTypeSchema",
338
+ "location": {
339
+ "filePath": "stash.main.runtime.ts",
340
+ "line": 125,
341
+ "character": 3
342
+ },
343
+ "type": "never[]"
344
+ },
345
+ "isOptional": true,
346
+ "defaultValue": "[]"
367
347
  },
368
- "signature": "(property) StashMain.dependencies: Aspect[]",
369
- "name": "dependencies",
370
- "type": {
371
- "__schema": "InferenceTypeSchema",
348
+ {
349
+ "__schema": "VariableLikeSchema",
372
350
  "location": {
373
351
  "filePath": "stash.main.runtime.ts",
374
352
  "line": 126,
375
353
  "character": 3
376
354
  },
377
- "type": "Aspect[]"
378
- },
379
- "isOptional": true,
380
- "defaultValue": "[CLIAspect, WorkspaceAspect, CheckoutAspect, SnappingAspect]"
381
- },
382
- {
383
- "__schema": "VariableLikeSchema",
384
- "location": {
385
- "filePath": "stash.main.runtime.ts",
386
- "line": 127,
387
- "character": 3
355
+ "signature": "(property) StashMain.dependencies: Aspect[]",
356
+ "name": "dependencies",
357
+ "type": {
358
+ "__schema": "InferenceTypeSchema",
359
+ "location": {
360
+ "filePath": "stash.main.runtime.ts",
361
+ "line": 126,
362
+ "character": 3
363
+ },
364
+ "type": "Aspect[]"
365
+ },
366
+ "isOptional": true,
367
+ "defaultValue": "[CLIAspect, WorkspaceAspect, CheckoutAspect, SnappingAspect]"
388
368
  },
389
- "signature": "(property) StashMain.runtime: RuntimeDefinition",
390
- "name": "runtime",
391
- "type": {
392
- "__schema": "InferenceTypeSchema",
369
+ {
370
+ "__schema": "VariableLikeSchema",
393
371
  "location": {
394
372
  "filePath": "stash.main.runtime.ts",
395
373
  "line": 127,
396
374
  "character": 3
397
375
  },
398
- "type": "RuntimeDefinition"
399
- },
400
- "isOptional": true,
401
- "defaultValue": "MainRuntime"
402
- },
403
- {
404
- "__schema": "FunctionLikeSchema",
405
- "location": {
406
- "filePath": "stash.main.runtime.ts",
407
- "line": 128,
408
- "character": 3
409
- },
410
- "signature": "(method) StashMain.provider([cli, workspace, checkout, snapping]: [CLIMain, Workspace, CheckoutMain, SnappingMain]): Promise<StashMain>",
411
- "name": "provider",
412
- "params": [
413
- {
414
- "__schema": "ParameterSchema",
376
+ "signature": "(property) StashMain.runtime: RuntimeDefinition",
377
+ "name": "runtime",
378
+ "type": {
379
+ "__schema": "InferenceTypeSchema",
415
380
  "location": {
416
381
  "filePath": "stash.main.runtime.ts",
417
- "line": 128,
418
- "character": 25
382
+ "line": 127,
383
+ "character": 3
419
384
  },
420
- "name": "[ cli, workspace, checkout, snapping ]",
421
- "type": {
422
- "__schema": "TupleTypeSchema",
385
+ "type": "RuntimeDefinition"
386
+ },
387
+ "isOptional": true,
388
+ "defaultValue": "MainRuntime"
389
+ },
390
+ {
391
+ "__schema": "FunctionLikeSchema",
392
+ "location": {
393
+ "filePath": "stash.main.runtime.ts",
394
+ "line": 128,
395
+ "character": 3
396
+ },
397
+ "signature": "(method) StashMain.provider([cli, workspace, checkout, snapping]: [CLIMain, Workspace, CheckoutMain, SnappingMain]): Promise<StashMain>",
398
+ "name": "provider",
399
+ "params": [
400
+ {
401
+ "__schema": "ParameterSchema",
423
402
  "location": {
424
403
  "filePath": "stash.main.runtime.ts",
425
404
  "line": 128,
426
- "character": 63
405
+ "character": 25
427
406
  },
428
- "elements": [
429
- {
430
- "__schema": "TypeRefSchema",
431
- "location": {
432
- "filePath": "stash.main.runtime.ts",
433
- "line": 128,
434
- "character": 64
435
- },
436
- "name": "CLIMain",
437
- "componentId": {
438
- "scope": "teambit.harmony",
439
- "name": "cli"
440
- }
407
+ "name": "[ cli, workspace, checkout, snapping ]",
408
+ "type": {
409
+ "__schema": "TupleTypeSchema",
410
+ "location": {
411
+ "filePath": "stash.main.runtime.ts",
412
+ "line": 128,
413
+ "character": 63
441
414
  },
442
- {
443
- "__schema": "TypeRefSchema",
444
- "location": {
445
- "filePath": "stash.main.runtime.ts",
446
- "line": 128,
447
- "character": 73
415
+ "elements": [
416
+ {
417
+ "__schema": "TypeRefSchema",
418
+ "location": {
419
+ "filePath": "stash.main.runtime.ts",
420
+ "line": 128,
421
+ "character": 64
422
+ },
423
+ "name": "CLIMain"
448
424
  },
449
- "name": "Workspace",
450
- "componentId": {
451
- "scope": "teambit.workspace",
452
- "name": "workspace"
453
- }
454
- },
455
- {
456
- "__schema": "TypeRefSchema",
457
- "location": {
458
- "filePath": "stash.main.runtime.ts",
459
- "line": 128,
460
- "character": 84
425
+ {
426
+ "__schema": "TypeRefSchema",
427
+ "location": {
428
+ "filePath": "stash.main.runtime.ts",
429
+ "line": 128,
430
+ "character": 73
431
+ },
432
+ "name": "Workspace"
461
433
  },
462
- "name": "CheckoutMain",
463
- "componentId": {
464
- "scope": "teambit.component",
465
- "name": "checkout"
466
- }
467
- },
468
- {
469
- "__schema": "TypeRefSchema",
470
- "location": {
471
- "filePath": "stash.main.runtime.ts",
472
- "line": 128,
473
- "character": 98
434
+ {
435
+ "__schema": "TypeRefSchema",
436
+ "location": {
437
+ "filePath": "stash.main.runtime.ts",
438
+ "line": 128,
439
+ "character": 84
440
+ },
441
+ "name": "CheckoutMain"
474
442
  },
475
- "name": "SnappingMain",
476
- "componentId": {
477
- "scope": "teambit.component",
478
- "name": "snapping"
443
+ {
444
+ "__schema": "TypeRefSchema",
445
+ "location": {
446
+ "filePath": "stash.main.runtime.ts",
447
+ "line": 128,
448
+ "character": 98
449
+ },
450
+ "name": "SnappingMain"
479
451
  }
480
- }
481
- ]
452
+ ]
453
+ },
454
+ "isOptional": false,
455
+ "isSpread": false
456
+ }
457
+ ],
458
+ "returnType": {
459
+ "__schema": "InferenceTypeSchema",
460
+ "location": {
461
+ "filePath": "stash.main.runtime.ts",
462
+ "line": 128,
463
+ "character": 3
482
464
  },
483
- "isOptional": false,
484
- "isSpread": false
485
- }
486
- ],
487
- "returnType": {
488
- "__schema": "InferenceTypeSchema",
489
- "location": {
490
- "filePath": "stash.main.runtime.ts",
491
- "line": 128,
492
- "character": 3
465
+ "type": "Promise<StashMain>"
493
466
  },
494
- "type": "Promise<StashMain>"
495
- },
496
- "modifiers": [
497
- "static",
498
- "async"
499
- ]
500
- }
501
- ],
502
- "extendsNodes": [],
503
- "implementNodes": []
467
+ "modifiers": [
468
+ "static",
469
+ "async"
470
+ ]
471
+ }
472
+ ],
473
+ "extendsNodes": [],
474
+ "implementNodes": []
475
+ }
504
476
  },
505
477
  {
506
478
  "__schema": "UnImplementedSchema",
@@ -513,30 +485,39 @@
513
485
  "type": "Identifier"
514
486
  },
515
487
  {
516
- "__schema": "VariableLikeSchema",
488
+ "__schema": "ExportSchema",
517
489
  "location": {
518
- "filePath": "stash.aspect.ts",
519
- "line": 3,
520
- "character": 14
490
+ "filePath": "index.ts",
491
+ "line": 5,
492
+ "character": 10
521
493
  },
522
- "signature": "const StashAspect: Aspect",
523
494
  "name": "StashAspect",
524
- "type": {
525
- "__schema": "TypeRefSchema",
495
+ "exportNode": {
496
+ "__schema": "VariableLikeSchema",
526
497
  "location": {
527
498
  "filePath": "stash.aspect.ts",
528
499
  "line": 3,
529
500
  "character": 14
530
501
  },
531
- "name": "Aspect",
532
- "componentId": {
533
- "scope": "teambit.harmony",
534
- "name": "harmony",
535
- "version": "0.4.6"
536
- }
537
- },
538
- "isOptional": false,
539
- "defaultValue": "Aspect.create({\n id: 'teambit.component/stash',\n})"
502
+ "signature": "const StashAspect: Aspect",
503
+ "name": "StashAspect",
504
+ "type": {
505
+ "__schema": "TypeRefSchema",
506
+ "location": {
507
+ "filePath": "stash.aspect.ts",
508
+ "line": 3,
509
+ "character": 14
510
+ },
511
+ "name": "Aspect",
512
+ "componentId": {
513
+ "scope": "teambit.harmony",
514
+ "name": "harmony",
515
+ "version": "0.4.6"
516
+ }
517
+ },
518
+ "isOptional": false,
519
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/stash',\n})"
520
+ }
540
521
  }
541
522
  ],
542
523
  "internals": []
@@ -585,11 +566,7 @@
585
566
  "line": 23,
586
567
  "character": 34
587
568
  },
588
- "name": "Workspace",
589
- "componentId": {
590
- "scope": "teambit.workspace",
591
- "name": "workspace"
592
- }
569
+ "name": "Workspace"
593
570
  },
594
571
  "isOptional": false,
595
572
  "isSpread": false
@@ -609,11 +586,7 @@
609
586
  "line": 23,
610
587
  "character": 63
611
588
  },
612
- "name": "CheckoutMain",
613
- "componentId": {
614
- "scope": "teambit.component",
615
- "name": "checkout"
616
- }
589
+ "name": "CheckoutMain"
617
590
  },
618
591
  "isOptional": false,
619
592
  "isSpread": false
@@ -633,11 +606,7 @@
633
606
  "line": 23,
634
607
  "character": 95
635
608
  },
636
- "name": "SnappingMain",
637
- "componentId": {
638
- "scope": "teambit.component",
639
- "name": "snapping"
640
- }
609
+ "name": "SnappingMain"
641
610
  },
642
611
  "isOptional": false,
643
612
  "isSpread": false
@@ -749,11 +718,7 @@
749
718
  "line": 27,
750
719
  "character": 72
751
720
  },
752
- "name": "ComponentID",
753
- "componentId": {
754
- "scope": "teambit.component",
755
- "name": "component"
756
- }
721
+ "name": "ComponentID"
757
722
  }
758
723
  }
759
724
  ]
@@ -795,8 +760,7 @@
795
760
  "line": 66,
796
761
  "character": 25
797
762
  },
798
- "name": "ListResult",
799
- "internalFilePath": "stash.main.runtime.ts"
763
+ "name": "ListResult"
800
764
  }
801
765
  }
802
766
  ]
@@ -830,11 +794,7 @@
830
794
  "line": 80,
831
795
  "character": 35
832
796
  },
833
- "name": "CheckoutProps",
834
- "componentId": {
835
- "scope": "teambit.component",
836
- "name": "checkout"
837
- }
797
+ "name": "CheckoutProps"
838
798
  },
839
799
  "isOptional": true,
840
800
  "defaultValue": "{}",
@@ -970,11 +930,7 @@
970
930
  "line": 128,
971
931
  "character": 64
972
932
  },
973
- "name": "CLIMain",
974
- "componentId": {
975
- "scope": "teambit.harmony",
976
- "name": "cli"
977
- }
933
+ "name": "CLIMain"
978
934
  },
979
935
  {
980
936
  "__schema": "TypeRefSchema",
@@ -983,11 +939,7 @@
983
939
  "line": 128,
984
940
  "character": 73
985
941
  },
986
- "name": "Workspace",
987
- "componentId": {
988
- "scope": "teambit.workspace",
989
- "name": "workspace"
990
- }
942
+ "name": "Workspace"
991
943
  },
992
944
  {
993
945
  "__schema": "TypeRefSchema",
@@ -996,11 +948,7 @@
996
948
  "line": 128,
997
949
  "character": 84
998
950
  },
999
- "name": "CheckoutMain",
1000
- "componentId": {
1001
- "scope": "teambit.component",
1002
- "name": "checkout"
1003
- }
951
+ "name": "CheckoutMain"
1004
952
  },
1005
953
  {
1006
954
  "__schema": "TypeRefSchema",
@@ -1009,11 +957,7 @@
1009
957
  "line": 128,
1010
958
  "character": 98
1011
959
  },
1012
- "name": "SnappingMain",
1013
- "componentId": {
1014
- "scope": "teambit.component",
1015
- "name": "snapping"
1016
- }
960
+ "name": "SnappingMain"
1017
961
  }
1018
962
  ]
1019
963
  },
@@ -1192,7 +1136,7 @@
1192
1136
  "componentId": {
1193
1137
  "scope": "teambit.component",
1194
1138
  "name": "stash",
1195
- "version": "1.0.257"
1139
+ "version": "1.0.258"
1196
1140
  },
1197
1141
  "taggedModuleExports": []
1198
1142
  }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@teambit/stash",
3
- "version": "1.0.257",
3
+ "version": "1.0.258",
4
4
  "homepage": "https://bit.cloud/teambit/component/stash",
5
5
  "main": "dist/index.js",
6
6
  "componentId": {
7
7
  "scope": "teambit.component",
8
8
  "name": "stash",
9
- "version": "1.0.257"
9
+ "version": "1.0.258"
10
10
  },
11
11
  "dependencies": {
12
12
  "fs-extra": "10.0.0",
@@ -16,11 +16,11 @@
16
16
  "@teambit/component-id": "1.2.0",
17
17
  "@teambit/harmony": "0.4.6",
18
18
  "@teambit/bit-error": "0.0.404",
19
- "@teambit/workspace": "1.0.257",
20
- "@teambit/checkout": "1.0.257",
19
+ "@teambit/workspace": "1.0.258",
20
+ "@teambit/checkout": "1.0.258",
21
21
  "@teambit/cli": "0.0.862",
22
- "@teambit/component": "1.0.257",
23
- "@teambit/snapping": "1.0.257"
22
+ "@teambit/component": "1.0.258",
23
+ "@teambit/snapping": "1.0.258"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/fs-extra": "9.0.7",