@teambit/stash 1.0.512 → 1.0.514

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