@teambit/stash 1.0.447 → 1.0.449

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.
@@ -26,7 +26,7 @@
26
26
  "__schema": "ClassSchema",
27
27
  "location": {
28
28
  "filePath": "stash.main.runtime.ts",
29
- "line": 21,
29
+ "line": 23,
30
30
  "character": 1
31
31
  },
32
32
  "signature": "class StashMain",
@@ -36,17 +36,17 @@
36
36
  "__schema": "ConstructorSchema",
37
37
  "location": {
38
38
  "filePath": "stash.main.runtime.ts",
39
- "line": 23,
39
+ "line": 25,
40
40
  "character": 3
41
41
  },
42
- "signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain): StashMain",
42
+ "signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain, remove: RemoveMain): StashMain",
43
43
  "name": "constructor",
44
44
  "params": [
45
45
  {
46
46
  "__schema": "ParameterSchema",
47
47
  "location": {
48
48
  "filePath": "stash.main.runtime.ts",
49
- "line": 24,
49
+ "line": 26,
50
50
  "character": 5
51
51
  },
52
52
  "name": "workspace",
@@ -54,7 +54,7 @@
54
54
  "__schema": "TypeRefSchema",
55
55
  "location": {
56
56
  "filePath": "stash.main.runtime.ts",
57
- "line": 24,
57
+ "line": 26,
58
58
  "character": 24
59
59
  },
60
60
  "name": "Workspace"
@@ -66,7 +66,7 @@
66
66
  "__schema": "ParameterSchema",
67
67
  "location": {
68
68
  "filePath": "stash.main.runtime.ts",
69
- "line": 25,
69
+ "line": 27,
70
70
  "character": 5
71
71
  },
72
72
  "name": "checkout",
@@ -74,7 +74,7 @@
74
74
  "__schema": "TypeRefSchema",
75
75
  "location": {
76
76
  "filePath": "stash.main.runtime.ts",
77
- "line": 25,
77
+ "line": 27,
78
78
  "character": 23
79
79
  },
80
80
  "name": "CheckoutMain"
@@ -86,7 +86,7 @@
86
86
  "__schema": "ParameterSchema",
87
87
  "location": {
88
88
  "filePath": "stash.main.runtime.ts",
89
- "line": 26,
89
+ "line": 28,
90
90
  "character": 5
91
91
  },
92
92
  "name": "snapping",
@@ -94,20 +94,40 @@
94
94
  "__schema": "TypeRefSchema",
95
95
  "location": {
96
96
  "filePath": "stash.main.runtime.ts",
97
- "line": 26,
97
+ "line": 28,
98
98
  "character": 23
99
99
  },
100
100
  "name": "SnappingMain"
101
101
  },
102
102
  "isOptional": false,
103
103
  "isSpread": false
104
+ },
105
+ {
106
+ "__schema": "ParameterSchema",
107
+ "location": {
108
+ "filePath": "stash.main.runtime.ts",
109
+ "line": 29,
110
+ "character": 5
111
+ },
112
+ "name": "remove",
113
+ "type": {
114
+ "__schema": "TypeRefSchema",
115
+ "location": {
116
+ "filePath": "stash.main.runtime.ts",
117
+ "line": 29,
118
+ "character": 21
119
+ },
120
+ "name": "RemoveMain"
121
+ },
122
+ "isOptional": false,
123
+ "isSpread": false
104
124
  }
105
125
  ],
106
126
  "returnType": {
107
127
  "__schema": "ThisTypeSchema",
108
128
  "location": {
109
129
  "filePath": "stash.main.runtime.ts",
110
- "line": 21,
130
+ "line": 23,
111
131
  "character": 1
112
132
  },
113
133
  "name": "StashMain"
@@ -118,17 +138,17 @@
118
138
  "__schema": "FunctionLikeSchema",
119
139
  "location": {
120
140
  "filePath": "stash.main.runtime.ts",
121
- "line": 31,
141
+ "line": 34,
122
142
  "character": 3
123
143
  },
124
- "signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n}): Promise<ComponentID[]>",
144
+ "signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n includeNew?: boolean;\n}): Promise<ComponentID[]>",
125
145
  "name": "save",
126
146
  "params": [
127
147
  {
128
148
  "__schema": "ParameterSchema",
129
149
  "location": {
130
150
  "filePath": "stash.main.runtime.ts",
131
- "line": 31,
151
+ "line": 34,
132
152
  "character": 14
133
153
  },
134
154
  "name": "options",
@@ -136,7 +156,7 @@
136
156
  "__schema": "TypeLiteralSchema",
137
157
  "location": {
138
158
  "filePath": "stash.main.runtime.ts",
139
- "line": 31,
159
+ "line": 34,
140
160
  "character": 23
141
161
  },
142
162
  "members": [
@@ -144,7 +164,7 @@
144
164
  "__schema": "VariableLikeSchema",
145
165
  "location": {
146
166
  "filePath": "stash.main.runtime.ts",
147
- "line": 31,
167
+ "line": 34,
148
168
  "character": 25
149
169
  },
150
170
  "signature": "(property) message?: string | undefined",
@@ -153,7 +173,7 @@
153
173
  "__schema": "KeywordTypeSchema",
154
174
  "location": {
155
175
  "filePath": "stash.main.runtime.ts",
156
- "line": 31,
176
+ "line": 34,
157
177
  "character": 35
158
178
  },
159
179
  "name": "string"
@@ -164,7 +184,7 @@
164
184
  "__schema": "VariableLikeSchema",
165
185
  "location": {
166
186
  "filePath": "stash.main.runtime.ts",
167
- "line": 31,
187
+ "line": 34,
168
188
  "character": 43
169
189
  },
170
190
  "signature": "(property) pattern?: string | undefined",
@@ -173,12 +193,32 @@
173
193
  "__schema": "KeywordTypeSchema",
174
194
  "location": {
175
195
  "filePath": "stash.main.runtime.ts",
176
- "line": 31,
196
+ "line": 34,
177
197
  "character": 53
178
198
  },
179
199
  "name": "string"
180
200
  },
181
201
  "isOptional": true
202
+ },
203
+ {
204
+ "__schema": "VariableLikeSchema",
205
+ "location": {
206
+ "filePath": "stash.main.runtime.ts",
207
+ "line": 34,
208
+ "character": 61
209
+ },
210
+ "signature": "(property) includeNew?: boolean | undefined",
211
+ "name": "includeNew",
212
+ "type": {
213
+ "__schema": "KeywordTypeSchema",
214
+ "location": {
215
+ "filePath": "stash.main.runtime.ts",
216
+ "line": 34,
217
+ "character": 74
218
+ },
219
+ "name": "boolean"
220
+ },
221
+ "isOptional": true
182
222
  }
183
223
  ]
184
224
  },
@@ -190,8 +230,8 @@
190
230
  "__schema": "TypeRefSchema",
191
231
  "location": {
192
232
  "filePath": "stash.main.runtime.ts",
193
- "line": 31,
194
- "character": 64
233
+ "line": 34,
234
+ "character": 86
195
235
  },
196
236
  "name": "Promise",
197
237
  "typeArgs": [
@@ -199,15 +239,15 @@
199
239
  "__schema": "TypeArraySchema",
200
240
  "location": {
201
241
  "filePath": "stash.main.runtime.ts",
202
- "line": 31,
203
- "character": 72
242
+ "line": 34,
243
+ "character": 94
204
244
  },
205
245
  "type": {
206
246
  "__schema": "TypeRefSchema",
207
247
  "location": {
208
248
  "filePath": "stash.main.runtime.ts",
209
- "line": 31,
210
- "character": 72
249
+ "line": 34,
250
+ "character": 94
211
251
  },
212
252
  "name": "ComponentID"
213
253
  }
@@ -222,7 +262,7 @@
222
262
  "__schema": "FunctionLikeSchema",
223
263
  "location": {
224
264
  "filePath": "stash.main.runtime.ts",
225
- "line": 70,
265
+ "line": 89,
226
266
  "character": 3
227
267
  },
228
268
  "signature": "(method) StashMain.list(): Promise<ListResult[]>",
@@ -232,7 +272,7 @@
232
272
  "__schema": "TypeRefSchema",
233
273
  "location": {
234
274
  "filePath": "stash.main.runtime.ts",
235
- "line": 70,
275
+ "line": 89,
236
276
  "character": 17
237
277
  },
238
278
  "name": "Promise",
@@ -241,14 +281,14 @@
241
281
  "__schema": "TypeArraySchema",
242
282
  "location": {
243
283
  "filePath": "stash.main.runtime.ts",
244
- "line": 70,
284
+ "line": 89,
245
285
  "character": 25
246
286
  },
247
287
  "type": {
248
288
  "__schema": "TypeRefSchema",
249
289
  "location": {
250
290
  "filePath": "stash.main.runtime.ts",
251
- "line": 70,
291
+ "line": 89,
252
292
  "character": 25
253
293
  },
254
294
  "name": "ListResult"
@@ -264,7 +304,7 @@
264
304
  "__schema": "FunctionLikeSchema",
265
305
  "location": {
266
306
  "filePath": "stash.main.runtime.ts",
267
- "line": 84,
307
+ "line": 103,
268
308
  "character": 3
269
309
  },
270
310
  "signature": "(method) StashMain.loadLatest(checkoutProps?: CheckoutProps, stashId?: string): Promise<ComponentID[]>",
@@ -274,7 +314,7 @@
274
314
  "__schema": "ParameterSchema",
275
315
  "location": {
276
316
  "filePath": "stash.main.runtime.ts",
277
- "line": 84,
317
+ "line": 103,
278
318
  "character": 20
279
319
  },
280
320
  "name": "checkoutProps",
@@ -282,7 +322,7 @@
282
322
  "__schema": "TypeRefSchema",
283
323
  "location": {
284
324
  "filePath": "stash.main.runtime.ts",
285
- "line": 84,
325
+ "line": 103,
286
326
  "character": 35
287
327
  },
288
328
  "name": "CheckoutProps"
@@ -295,7 +335,7 @@
295
335
  "__schema": "ParameterSchema",
296
336
  "location": {
297
337
  "filePath": "stash.main.runtime.ts",
298
- "line": 84,
338
+ "line": 103,
299
339
  "character": 55
300
340
  },
301
341
  "name": "stashId",
@@ -303,7 +343,7 @@
303
343
  "__schema": "KeywordTypeSchema",
304
344
  "location": {
305
345
  "filePath": "stash.main.runtime.ts",
306
- "line": 84,
346
+ "line": 103,
307
347
  "character": 65
308
348
  },
309
349
  "name": "string"
@@ -316,7 +356,7 @@
316
356
  "__schema": "InferenceTypeSchema",
317
357
  "location": {
318
358
  "filePath": "stash.main.runtime.ts",
319
- "line": 84,
359
+ "line": 103,
320
360
  "character": 3
321
361
  },
322
362
  "type": "Promise<ComponentID[]>"
@@ -329,7 +369,7 @@
329
369
  "__schema": "VariableLikeSchema",
330
370
  "location": {
331
371
  "filePath": "stash.main.runtime.ts",
332
- "line": 128,
372
+ "line": 157,
333
373
  "character": 3
334
374
  },
335
375
  "signature": "(property) StashMain.slots: never[]",
@@ -338,7 +378,7 @@
338
378
  "__schema": "InferenceTypeSchema",
339
379
  "location": {
340
380
  "filePath": "stash.main.runtime.ts",
341
- "line": 128,
381
+ "line": 157,
342
382
  "character": 3
343
383
  },
344
384
  "type": "never[]"
@@ -350,7 +390,7 @@
350
390
  "__schema": "VariableLikeSchema",
351
391
  "location": {
352
392
  "filePath": "stash.main.runtime.ts",
353
- "line": 129,
393
+ "line": 158,
354
394
  "character": 3
355
395
  },
356
396
  "signature": "(property) StashMain.dependencies: Aspect[]",
@@ -359,19 +399,19 @@
359
399
  "__schema": "InferenceTypeSchema",
360
400
  "location": {
361
401
  "filePath": "stash.main.runtime.ts",
362
- "line": 129,
402
+ "line": 158,
363
403
  "character": 3
364
404
  },
365
405
  "type": "Aspect[]"
366
406
  },
367
407
  "isOptional": true,
368
- "defaultValue": "[CLIAspect, WorkspaceAspect, CheckoutAspect, SnappingAspect]"
408
+ "defaultValue": "[CLIAspect, WorkspaceAspect, CheckoutAspect, SnappingAspect, RemoveAspect]"
369
409
  },
370
410
  {
371
411
  "__schema": "VariableLikeSchema",
372
412
  "location": {
373
413
  "filePath": "stash.main.runtime.ts",
374
- "line": 130,
414
+ "line": 159,
375
415
  "character": 3
376
416
  },
377
417
  "signature": "(property) StashMain.runtime: RuntimeDefinition",
@@ -380,7 +420,7 @@
380
420
  "__schema": "InferenceTypeSchema",
381
421
  "location": {
382
422
  "filePath": "stash.main.runtime.ts",
383
- "line": 130,
423
+ "line": 159,
384
424
  "character": 3
385
425
  },
386
426
  "type": "RuntimeDefinition"
@@ -392,34 +432,34 @@
392
432
  "__schema": "FunctionLikeSchema",
393
433
  "location": {
394
434
  "filePath": "stash.main.runtime.ts",
395
- "line": 131,
435
+ "line": 160,
396
436
  "character": 3
397
437
  },
398
- "signature": "(method) StashMain.provider([cli, workspace, checkout, snapping]: [CLIMain, Workspace, CheckoutMain, SnappingMain]): Promise<StashMain>",
438
+ "signature": "(method) StashMain.provider([cli, workspace, checkout, snapping, remove]: [\n CLIMain,\n Workspace,\n CheckoutMain,\n SnappingMain,\n RemoveMain\n]): Promise<StashMain>",
399
439
  "name": "provider",
400
440
  "params": [
401
441
  {
402
442
  "__schema": "ParameterSchema",
403
443
  "location": {
404
444
  "filePath": "stash.main.runtime.ts",
405
- "line": 131,
445
+ "line": 160,
406
446
  "character": 25
407
447
  },
408
- "name": "[ cli, workspace, checkout, snapping ]",
448
+ "name": "[ cli, workspace, checkout, snapping, remove ]",
409
449
  "type": {
410
450
  "__schema": "TupleTypeSchema",
411
451
  "location": {
412
452
  "filePath": "stash.main.runtime.ts",
413
- "line": 131,
414
- "character": 63
453
+ "line": 160,
454
+ "character": 71
415
455
  },
416
456
  "elements": [
417
457
  {
418
458
  "__schema": "TypeRefSchema",
419
459
  "location": {
420
460
  "filePath": "stash.main.runtime.ts",
421
- "line": 131,
422
- "character": 64
461
+ "line": 161,
462
+ "character": 5
423
463
  },
424
464
  "name": "CLIMain"
425
465
  },
@@ -427,8 +467,8 @@
427
467
  "__schema": "TypeRefSchema",
428
468
  "location": {
429
469
  "filePath": "stash.main.runtime.ts",
430
- "line": 131,
431
- "character": 73
470
+ "line": 162,
471
+ "character": 5
432
472
  },
433
473
  "name": "Workspace"
434
474
  },
@@ -436,8 +476,8 @@
436
476
  "__schema": "TypeRefSchema",
437
477
  "location": {
438
478
  "filePath": "stash.main.runtime.ts",
439
- "line": 131,
440
- "character": 84
479
+ "line": 163,
480
+ "character": 5
441
481
  },
442
482
  "name": "CheckoutMain"
443
483
  },
@@ -445,10 +485,19 @@
445
485
  "__schema": "TypeRefSchema",
446
486
  "location": {
447
487
  "filePath": "stash.main.runtime.ts",
448
- "line": 131,
449
- "character": 98
488
+ "line": 164,
489
+ "character": 5
450
490
  },
451
491
  "name": "SnappingMain"
492
+ },
493
+ {
494
+ "__schema": "TypeRefSchema",
495
+ "location": {
496
+ "filePath": "stash.main.runtime.ts",
497
+ "line": 165,
498
+ "character": 5
499
+ },
500
+ "name": "RemoveMain"
452
501
  }
453
502
  ]
454
503
  },
@@ -460,7 +509,7 @@
460
509
  "__schema": "InferenceTypeSchema",
461
510
  "location": {
462
511
  "filePath": "stash.main.runtime.ts",
463
- "line": 131,
512
+ "line": 160,
464
513
  "character": 3
465
514
  },
466
515
  "type": "Promise<StashMain>"
@@ -537,7 +586,7 @@
537
586
  "__schema": "ClassSchema",
538
587
  "location": {
539
588
  "filePath": "stash.main.runtime.ts",
540
- "line": 21,
589
+ "line": 23,
541
590
  "character": 1
542
591
  },
543
592
  "signature": "class StashMain",
@@ -547,17 +596,17 @@
547
596
  "__schema": "ConstructorSchema",
548
597
  "location": {
549
598
  "filePath": "stash.main.runtime.ts",
550
- "line": 23,
599
+ "line": 25,
551
600
  "character": 3
552
601
  },
553
- "signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain): StashMain",
602
+ "signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain, remove: RemoveMain): StashMain",
554
603
  "name": "constructor",
555
604
  "params": [
556
605
  {
557
606
  "__schema": "ParameterSchema",
558
607
  "location": {
559
608
  "filePath": "stash.main.runtime.ts",
560
- "line": 24,
609
+ "line": 26,
561
610
  "character": 5
562
611
  },
563
612
  "name": "workspace",
@@ -565,7 +614,7 @@
565
614
  "__schema": "TypeRefSchema",
566
615
  "location": {
567
616
  "filePath": "stash.main.runtime.ts",
568
- "line": 24,
617
+ "line": 26,
569
618
  "character": 24
570
619
  },
571
620
  "name": "Workspace"
@@ -577,7 +626,7 @@
577
626
  "__schema": "ParameterSchema",
578
627
  "location": {
579
628
  "filePath": "stash.main.runtime.ts",
580
- "line": 25,
629
+ "line": 27,
581
630
  "character": 5
582
631
  },
583
632
  "name": "checkout",
@@ -585,7 +634,7 @@
585
634
  "__schema": "TypeRefSchema",
586
635
  "location": {
587
636
  "filePath": "stash.main.runtime.ts",
588
- "line": 25,
637
+ "line": 27,
589
638
  "character": 23
590
639
  },
591
640
  "name": "CheckoutMain"
@@ -597,7 +646,7 @@
597
646
  "__schema": "ParameterSchema",
598
647
  "location": {
599
648
  "filePath": "stash.main.runtime.ts",
600
- "line": 26,
649
+ "line": 28,
601
650
  "character": 5
602
651
  },
603
652
  "name": "snapping",
@@ -605,20 +654,40 @@
605
654
  "__schema": "TypeRefSchema",
606
655
  "location": {
607
656
  "filePath": "stash.main.runtime.ts",
608
- "line": 26,
657
+ "line": 28,
609
658
  "character": 23
610
659
  },
611
660
  "name": "SnappingMain"
612
661
  },
613
662
  "isOptional": false,
614
663
  "isSpread": false
664
+ },
665
+ {
666
+ "__schema": "ParameterSchema",
667
+ "location": {
668
+ "filePath": "stash.main.runtime.ts",
669
+ "line": 29,
670
+ "character": 5
671
+ },
672
+ "name": "remove",
673
+ "type": {
674
+ "__schema": "TypeRefSchema",
675
+ "location": {
676
+ "filePath": "stash.main.runtime.ts",
677
+ "line": 29,
678
+ "character": 21
679
+ },
680
+ "name": "RemoveMain"
681
+ },
682
+ "isOptional": false,
683
+ "isSpread": false
615
684
  }
616
685
  ],
617
686
  "returnType": {
618
687
  "__schema": "ThisTypeSchema",
619
688
  "location": {
620
689
  "filePath": "stash.main.runtime.ts",
621
- "line": 21,
690
+ "line": 23,
622
691
  "character": 1
623
692
  },
624
693
  "name": "StashMain"
@@ -629,17 +698,17 @@
629
698
  "__schema": "FunctionLikeSchema",
630
699
  "location": {
631
700
  "filePath": "stash.main.runtime.ts",
632
- "line": 31,
701
+ "line": 34,
633
702
  "character": 3
634
703
  },
635
- "signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n}): Promise<ComponentID[]>",
704
+ "signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n includeNew?: boolean;\n}): Promise<ComponentID[]>",
636
705
  "name": "save",
637
706
  "params": [
638
707
  {
639
708
  "__schema": "ParameterSchema",
640
709
  "location": {
641
710
  "filePath": "stash.main.runtime.ts",
642
- "line": 31,
711
+ "line": 34,
643
712
  "character": 14
644
713
  },
645
714
  "name": "options",
@@ -647,7 +716,7 @@
647
716
  "__schema": "TypeLiteralSchema",
648
717
  "location": {
649
718
  "filePath": "stash.main.runtime.ts",
650
- "line": 31,
719
+ "line": 34,
651
720
  "character": 23
652
721
  },
653
722
  "members": [
@@ -655,7 +724,7 @@
655
724
  "__schema": "VariableLikeSchema",
656
725
  "location": {
657
726
  "filePath": "stash.main.runtime.ts",
658
- "line": 31,
727
+ "line": 34,
659
728
  "character": 25
660
729
  },
661
730
  "signature": "(property) message?: string | undefined",
@@ -664,7 +733,7 @@
664
733
  "__schema": "KeywordTypeSchema",
665
734
  "location": {
666
735
  "filePath": "stash.main.runtime.ts",
667
- "line": 31,
736
+ "line": 34,
668
737
  "character": 35
669
738
  },
670
739
  "name": "string"
@@ -675,7 +744,7 @@
675
744
  "__schema": "VariableLikeSchema",
676
745
  "location": {
677
746
  "filePath": "stash.main.runtime.ts",
678
- "line": 31,
747
+ "line": 34,
679
748
  "character": 43
680
749
  },
681
750
  "signature": "(property) pattern?: string | undefined",
@@ -684,12 +753,32 @@
684
753
  "__schema": "KeywordTypeSchema",
685
754
  "location": {
686
755
  "filePath": "stash.main.runtime.ts",
687
- "line": 31,
756
+ "line": 34,
688
757
  "character": 53
689
758
  },
690
759
  "name": "string"
691
760
  },
692
761
  "isOptional": true
762
+ },
763
+ {
764
+ "__schema": "VariableLikeSchema",
765
+ "location": {
766
+ "filePath": "stash.main.runtime.ts",
767
+ "line": 34,
768
+ "character": 61
769
+ },
770
+ "signature": "(property) includeNew?: boolean | undefined",
771
+ "name": "includeNew",
772
+ "type": {
773
+ "__schema": "KeywordTypeSchema",
774
+ "location": {
775
+ "filePath": "stash.main.runtime.ts",
776
+ "line": 34,
777
+ "character": 74
778
+ },
779
+ "name": "boolean"
780
+ },
781
+ "isOptional": true
693
782
  }
694
783
  ]
695
784
  },
@@ -701,8 +790,8 @@
701
790
  "__schema": "TypeRefSchema",
702
791
  "location": {
703
792
  "filePath": "stash.main.runtime.ts",
704
- "line": 31,
705
- "character": 64
793
+ "line": 34,
794
+ "character": 86
706
795
  },
707
796
  "name": "Promise",
708
797
  "typeArgs": [
@@ -710,15 +799,15 @@
710
799
  "__schema": "TypeArraySchema",
711
800
  "location": {
712
801
  "filePath": "stash.main.runtime.ts",
713
- "line": 31,
714
- "character": 72
802
+ "line": 34,
803
+ "character": 94
715
804
  },
716
805
  "type": {
717
806
  "__schema": "TypeRefSchema",
718
807
  "location": {
719
808
  "filePath": "stash.main.runtime.ts",
720
- "line": 31,
721
- "character": 72
809
+ "line": 34,
810
+ "character": 94
722
811
  },
723
812
  "name": "ComponentID"
724
813
  }
@@ -733,7 +822,7 @@
733
822
  "__schema": "FunctionLikeSchema",
734
823
  "location": {
735
824
  "filePath": "stash.main.runtime.ts",
736
- "line": 70,
825
+ "line": 89,
737
826
  "character": 3
738
827
  },
739
828
  "signature": "(method) StashMain.list(): Promise<ListResult[]>",
@@ -743,7 +832,7 @@
743
832
  "__schema": "TypeRefSchema",
744
833
  "location": {
745
834
  "filePath": "stash.main.runtime.ts",
746
- "line": 70,
835
+ "line": 89,
747
836
  "character": 17
748
837
  },
749
838
  "name": "Promise",
@@ -752,14 +841,14 @@
752
841
  "__schema": "TypeArraySchema",
753
842
  "location": {
754
843
  "filePath": "stash.main.runtime.ts",
755
- "line": 70,
844
+ "line": 89,
756
845
  "character": 25
757
846
  },
758
847
  "type": {
759
848
  "__schema": "TypeRefSchema",
760
849
  "location": {
761
850
  "filePath": "stash.main.runtime.ts",
762
- "line": 70,
851
+ "line": 89,
763
852
  "character": 25
764
853
  },
765
854
  "name": "ListResult"
@@ -775,7 +864,7 @@
775
864
  "__schema": "FunctionLikeSchema",
776
865
  "location": {
777
866
  "filePath": "stash.main.runtime.ts",
778
- "line": 84,
867
+ "line": 103,
779
868
  "character": 3
780
869
  },
781
870
  "signature": "(method) StashMain.loadLatest(checkoutProps?: CheckoutProps, stashId?: string): Promise<ComponentID[]>",
@@ -785,7 +874,7 @@
785
874
  "__schema": "ParameterSchema",
786
875
  "location": {
787
876
  "filePath": "stash.main.runtime.ts",
788
- "line": 84,
877
+ "line": 103,
789
878
  "character": 20
790
879
  },
791
880
  "name": "checkoutProps",
@@ -793,7 +882,7 @@
793
882
  "__schema": "TypeRefSchema",
794
883
  "location": {
795
884
  "filePath": "stash.main.runtime.ts",
796
- "line": 84,
885
+ "line": 103,
797
886
  "character": 35
798
887
  },
799
888
  "name": "CheckoutProps"
@@ -806,7 +895,7 @@
806
895
  "__schema": "ParameterSchema",
807
896
  "location": {
808
897
  "filePath": "stash.main.runtime.ts",
809
- "line": 84,
898
+ "line": 103,
810
899
  "character": 55
811
900
  },
812
901
  "name": "stashId",
@@ -814,7 +903,7 @@
814
903
  "__schema": "KeywordTypeSchema",
815
904
  "location": {
816
905
  "filePath": "stash.main.runtime.ts",
817
- "line": 84,
906
+ "line": 103,
818
907
  "character": 65
819
908
  },
820
909
  "name": "string"
@@ -827,7 +916,7 @@
827
916
  "__schema": "InferenceTypeSchema",
828
917
  "location": {
829
918
  "filePath": "stash.main.runtime.ts",
830
- "line": 84,
919
+ "line": 103,
831
920
  "character": 3
832
921
  },
833
922
  "type": "Promise<ComponentID[]>"
@@ -840,7 +929,7 @@
840
929
  "__schema": "VariableLikeSchema",
841
930
  "location": {
842
931
  "filePath": "stash.main.runtime.ts",
843
- "line": 128,
932
+ "line": 157,
844
933
  "character": 3
845
934
  },
846
935
  "signature": "(property) StashMain.slots: never[]",
@@ -849,7 +938,7 @@
849
938
  "__schema": "InferenceTypeSchema",
850
939
  "location": {
851
940
  "filePath": "stash.main.runtime.ts",
852
- "line": 128,
941
+ "line": 157,
853
942
  "character": 3
854
943
  },
855
944
  "type": "never[]"
@@ -861,7 +950,7 @@
861
950
  "__schema": "VariableLikeSchema",
862
951
  "location": {
863
952
  "filePath": "stash.main.runtime.ts",
864
- "line": 129,
953
+ "line": 158,
865
954
  "character": 3
866
955
  },
867
956
  "signature": "(property) StashMain.dependencies: Aspect[]",
@@ -870,19 +959,19 @@
870
959
  "__schema": "InferenceTypeSchema",
871
960
  "location": {
872
961
  "filePath": "stash.main.runtime.ts",
873
- "line": 129,
962
+ "line": 158,
874
963
  "character": 3
875
964
  },
876
965
  "type": "Aspect[]"
877
966
  },
878
967
  "isOptional": true,
879
- "defaultValue": "[CLIAspect, WorkspaceAspect, CheckoutAspect, SnappingAspect]"
968
+ "defaultValue": "[CLIAspect, WorkspaceAspect, CheckoutAspect, SnappingAspect, RemoveAspect]"
880
969
  },
881
970
  {
882
971
  "__schema": "VariableLikeSchema",
883
972
  "location": {
884
973
  "filePath": "stash.main.runtime.ts",
885
- "line": 130,
974
+ "line": 159,
886
975
  "character": 3
887
976
  },
888
977
  "signature": "(property) StashMain.runtime: RuntimeDefinition",
@@ -891,7 +980,7 @@
891
980
  "__schema": "InferenceTypeSchema",
892
981
  "location": {
893
982
  "filePath": "stash.main.runtime.ts",
894
- "line": 130,
983
+ "line": 159,
895
984
  "character": 3
896
985
  },
897
986
  "type": "RuntimeDefinition"
@@ -903,34 +992,34 @@
903
992
  "__schema": "FunctionLikeSchema",
904
993
  "location": {
905
994
  "filePath": "stash.main.runtime.ts",
906
- "line": 131,
995
+ "line": 160,
907
996
  "character": 3
908
997
  },
909
- "signature": "(method) StashMain.provider([cli, workspace, checkout, snapping]: [CLIMain, Workspace, CheckoutMain, SnappingMain]): Promise<StashMain>",
998
+ "signature": "(method) StashMain.provider([cli, workspace, checkout, snapping, remove]: [\n CLIMain,\n Workspace,\n CheckoutMain,\n SnappingMain,\n RemoveMain\n]): Promise<StashMain>",
910
999
  "name": "provider",
911
1000
  "params": [
912
1001
  {
913
1002
  "__schema": "ParameterSchema",
914
1003
  "location": {
915
1004
  "filePath": "stash.main.runtime.ts",
916
- "line": 131,
1005
+ "line": 160,
917
1006
  "character": 25
918
1007
  },
919
- "name": "[ cli, workspace, checkout, snapping ]",
1008
+ "name": "[ cli, workspace, checkout, snapping, remove ]",
920
1009
  "type": {
921
1010
  "__schema": "TupleTypeSchema",
922
1011
  "location": {
923
1012
  "filePath": "stash.main.runtime.ts",
924
- "line": 131,
925
- "character": 63
1013
+ "line": 160,
1014
+ "character": 71
926
1015
  },
927
1016
  "elements": [
928
1017
  {
929
1018
  "__schema": "TypeRefSchema",
930
1019
  "location": {
931
1020
  "filePath": "stash.main.runtime.ts",
932
- "line": 131,
933
- "character": 64
1021
+ "line": 161,
1022
+ "character": 5
934
1023
  },
935
1024
  "name": "CLIMain"
936
1025
  },
@@ -938,8 +1027,8 @@
938
1027
  "__schema": "TypeRefSchema",
939
1028
  "location": {
940
1029
  "filePath": "stash.main.runtime.ts",
941
- "line": 131,
942
- "character": 73
1030
+ "line": 162,
1031
+ "character": 5
943
1032
  },
944
1033
  "name": "Workspace"
945
1034
  },
@@ -947,8 +1036,8 @@
947
1036
  "__schema": "TypeRefSchema",
948
1037
  "location": {
949
1038
  "filePath": "stash.main.runtime.ts",
950
- "line": 131,
951
- "character": 84
1039
+ "line": 163,
1040
+ "character": 5
952
1041
  },
953
1042
  "name": "CheckoutMain"
954
1043
  },
@@ -956,10 +1045,19 @@
956
1045
  "__schema": "TypeRefSchema",
957
1046
  "location": {
958
1047
  "filePath": "stash.main.runtime.ts",
959
- "line": 131,
960
- "character": 98
1048
+ "line": 164,
1049
+ "character": 5
961
1050
  },
962
1051
  "name": "SnappingMain"
1052
+ },
1053
+ {
1054
+ "__schema": "TypeRefSchema",
1055
+ "location": {
1056
+ "filePath": "stash.main.runtime.ts",
1057
+ "line": 165,
1058
+ "character": 5
1059
+ },
1060
+ "name": "RemoveMain"
963
1061
  }
964
1062
  ]
965
1063
  },
@@ -971,7 +1069,7 @@
971
1069
  "__schema": "InferenceTypeSchema",
972
1070
  "location": {
973
1071
  "filePath": "stash.main.runtime.ts",
974
- "line": 131,
1072
+ "line": 160,
975
1073
  "character": 3
976
1074
  },
977
1075
  "type": "Promise<StashMain>"
@@ -989,7 +1087,7 @@
989
1087
  "__schema": "UnImplementedSchema",
990
1088
  "location": {
991
1089
  "filePath": "stash.main.runtime.ts",
992
- "line": 142,
1090
+ "line": 177,
993
1091
  "character": 16
994
1092
  },
995
1093
  "name": "StashMain",
@@ -1001,7 +1099,7 @@
1001
1099
  "__schema": "TypeSchema",
1002
1100
  "location": {
1003
1101
  "filePath": "stash.main.runtime.ts",
1004
- "line": 15,
1102
+ "line": 17,
1005
1103
  "character": 1
1006
1104
  },
1007
1105
  "signature": "type ListResult = {\n id: string;\n message?: string | undefined;\n components: string[];\n}",
@@ -1010,7 +1108,7 @@
1010
1108
  "__schema": "TypeLiteralSchema",
1011
1109
  "location": {
1012
1110
  "filePath": "stash.main.runtime.ts",
1013
- "line": 15,
1111
+ "line": 17,
1014
1112
  "character": 19
1015
1113
  },
1016
1114
  "members": [
@@ -1018,7 +1116,7 @@
1018
1116
  "__schema": "VariableLikeSchema",
1019
1117
  "location": {
1020
1118
  "filePath": "stash.main.runtime.ts",
1021
- "line": 16,
1119
+ "line": 18,
1022
1120
  "character": 3
1023
1121
  },
1024
1122
  "signature": "(property) id: string",
@@ -1027,7 +1125,7 @@
1027
1125
  "__schema": "KeywordTypeSchema",
1028
1126
  "location": {
1029
1127
  "filePath": "stash.main.runtime.ts",
1030
- "line": 16,
1128
+ "line": 18,
1031
1129
  "character": 7
1032
1130
  },
1033
1131
  "name": "string"
@@ -1038,7 +1136,7 @@
1038
1136
  "__schema": "VariableLikeSchema",
1039
1137
  "location": {
1040
1138
  "filePath": "stash.main.runtime.ts",
1041
- "line": 17,
1139
+ "line": 19,
1042
1140
  "character": 3
1043
1141
  },
1044
1142
  "signature": "(property) message?: string | undefined",
@@ -1047,7 +1145,7 @@
1047
1145
  "__schema": "KeywordTypeSchema",
1048
1146
  "location": {
1049
1147
  "filePath": "stash.main.runtime.ts",
1050
- "line": 17,
1148
+ "line": 19,
1051
1149
  "character": 13
1052
1150
  },
1053
1151
  "name": "string"
@@ -1058,7 +1156,7 @@
1058
1156
  "__schema": "VariableLikeSchema",
1059
1157
  "location": {
1060
1158
  "filePath": "stash.main.runtime.ts",
1061
- "line": 18,
1159
+ "line": 20,
1062
1160
  "character": 3
1063
1161
  },
1064
1162
  "signature": "(property) components: string[]",
@@ -1067,14 +1165,14 @@
1067
1165
  "__schema": "TypeArraySchema",
1068
1166
  "location": {
1069
1167
  "filePath": "stash.main.runtime.ts",
1070
- "line": 18,
1168
+ "line": 20,
1071
1169
  "character": 15
1072
1170
  },
1073
1171
  "type": {
1074
1172
  "__schema": "KeywordTypeSchema",
1075
1173
  "location": {
1076
1174
  "filePath": "stash.main.runtime.ts",
1077
- "line": 18,
1175
+ "line": 20,
1078
1176
  "character": 15
1079
1177
  },
1080
1178
  "name": "string"
@@ -1089,7 +1187,7 @@
1089
1187
  "__schema": "UnImplementedSchema",
1090
1188
  "location": {
1091
1189
  "filePath": "stash.main.runtime.ts",
1092
- "line": 140,
1190
+ "line": 175,
1093
1191
  "character": 1
1094
1192
  },
1095
1193
  "name": "StashAspect.addRuntime(StashMain);",
@@ -1138,7 +1236,7 @@
1138
1236
  "componentId": {
1139
1237
  "scope": "teambit.component",
1140
1238
  "name": "stash",
1141
- "version": "1.0.447"
1239
+ "version": "1.0.449"
1142
1240
  },
1143
1241
  "taggedModuleExports": []
1144
1242
  }