@teambit/stash 1.0.188 → 1.0.190

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,1198 @@
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": "ClassSchema",
18
+ "location": {
19
+ "filePath": "stash.main.runtime.ts",
20
+ "line": 21,
21
+ "character": 1
22
+ },
23
+ "signature": "class StashMain",
24
+ "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",
46
+ "location": {
47
+ "filePath": "stash.main.runtime.ts",
48
+ "line": 23,
49
+ "character": 34
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
66
+ },
67
+ "name": "checkout",
68
+ "type": {
69
+ "__schema": "TypeRefSchema",
70
+ "location": {
71
+ "filePath": "stash.main.runtime.ts",
72
+ "line": 23,
73
+ "character": 63
74
+ },
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
90
+ },
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
+ "componentId": {
101
+ "scope": "teambit.component",
102
+ "name": "snapping"
103
+ }
104
+ },
105
+ "isOptional": false,
106
+ "isSpread": false
107
+ }
108
+ ],
109
+ "returnType": {
110
+ "__schema": "ThisTypeSchema",
111
+ "location": {
112
+ "filePath": "stash.main.runtime.ts",
113
+ "line": 21,
114
+ "character": 1
115
+ },
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",
140
+ "location": {
141
+ "filePath": "stash.main.runtime.ts",
142
+ "line": 27,
143
+ "character": 23
144
+ },
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",
157
+ "location": {
158
+ "filePath": "stash.main.runtime.ts",
159
+ "line": 27,
160
+ "character": 35
161
+ },
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
172
+ },
173
+ "signature": "(property) pattern?: string | undefined",
174
+ "name": "pattern",
175
+ "type": {
176
+ "__schema": "KeywordTypeSchema",
177
+ "location": {
178
+ "filePath": "stash.main.runtime.ts",
179
+ "line": 27,
180
+ "character": 53
181
+ },
182
+ "name": "string"
183
+ },
184
+ "isOptional": true
185
+ }
186
+ ]
187
+ },
188
+ "isOptional": false,
189
+ "isSpread": false
190
+ }
191
+ ],
192
+ "returnType": {
193
+ "__schema": "TypeRefSchema",
194
+ "location": {
195
+ "filePath": "stash.main.runtime.ts",
196
+ "line": 27,
197
+ "character": 64
198
+ },
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",
210
+ "location": {
211
+ "filePath": "stash.main.runtime.ts",
212
+ "line": 27,
213
+ "character": 72
214
+ },
215
+ "name": "ComponentID",
216
+ "componentId": {
217
+ "scope": "teambit.component",
218
+ "name": "component"
219
+ }
220
+ }
221
+ }
222
+ ]
223
+ },
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",
240
+ "location": {
241
+ "filePath": "stash.main.runtime.ts",
242
+ "line": 66,
243
+ "character": 17
244
+ },
245
+ "name": "Promise",
246
+ "typeArgs": [
247
+ {
248
+ "__schema": "TypeArraySchema",
249
+ "location": {
250
+ "filePath": "stash.main.runtime.ts",
251
+ "line": 66,
252
+ "character": 25
253
+ },
254
+ "type": {
255
+ "__schema": "TypeRefSchema",
256
+ "location": {
257
+ "filePath": "stash.main.runtime.ts",
258
+ "line": 66,
259
+ "character": 25
260
+ },
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
+ },
288
+ "name": "checkoutProps",
289
+ "type": {
290
+ "__schema": "TypeRefSchema",
291
+ "location": {
292
+ "filePath": "stash.main.runtime.ts",
293
+ "line": 80,
294
+ "character": 35
295
+ },
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",
308
+ "location": {
309
+ "filePath": "stash.main.runtime.ts",
310
+ "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"
322
+ },
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
333
+ },
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
346
+ },
347
+ "signature": "(property) StashMain.slots: never[]",
348
+ "name": "slots",
349
+ "type": {
350
+ "__schema": "InferenceTypeSchema",
351
+ "location": {
352
+ "filePath": "stash.main.runtime.ts",
353
+ "line": 125,
354
+ "character": 3
355
+ },
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
367
+ },
368
+ "signature": "(property) StashMain.dependencies: Aspect[]",
369
+ "name": "dependencies",
370
+ "type": {
371
+ "__schema": "InferenceTypeSchema",
372
+ "location": {
373
+ "filePath": "stash.main.runtime.ts",
374
+ "line": 126,
375
+ "character": 3
376
+ },
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
388
+ },
389
+ "signature": "(property) StashMain.runtime: RuntimeDefinition",
390
+ "name": "runtime",
391
+ "type": {
392
+ "__schema": "InferenceTypeSchema",
393
+ "location": {
394
+ "filePath": "stash.main.runtime.ts",
395
+ "line": 127,
396
+ "character": 3
397
+ },
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",
415
+ "location": {
416
+ "filePath": "stash.main.runtime.ts",
417
+ "line": 128,
418
+ "character": 25
419
+ },
420
+ "name": "[ cli, workspace, checkout, snapping ]",
421
+ "type": {
422
+ "__schema": "TupleTypeSchema",
423
+ "location": {
424
+ "filePath": "stash.main.runtime.ts",
425
+ "line": 128,
426
+ "character": 63
427
+ },
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
+ }
441
+ },
442
+ {
443
+ "__schema": "TypeRefSchema",
444
+ "location": {
445
+ "filePath": "stash.main.runtime.ts",
446
+ "line": 128,
447
+ "character": 73
448
+ },
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
461
+ },
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
474
+ },
475
+ "name": "SnappingMain",
476
+ "componentId": {
477
+ "scope": "teambit.component",
478
+ "name": "snapping"
479
+ }
480
+ }
481
+ ]
482
+ },
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
493
+ },
494
+ "type": "Promise<StashMain>"
495
+ },
496
+ "modifiers": [
497
+ "static",
498
+ "async"
499
+ ]
500
+ }
501
+ ],
502
+ "extendsNodes": [],
503
+ "implementNodes": []
504
+ },
505
+ {
506
+ "__schema": "UnImplementedSchema",
507
+ "location": {
508
+ "filePath": "index.ts",
509
+ "line": 4,
510
+ "character": 16
511
+ },
512
+ "name": "StashAspect",
513
+ "type": "Identifier"
514
+ },
515
+ {
516
+ "__schema": "VariableLikeSchema",
517
+ "location": {
518
+ "filePath": "stash.aspect.ts",
519
+ "line": 3,
520
+ "character": 14
521
+ },
522
+ "signature": "const StashAspect: Aspect",
523
+ "name": "StashAspect",
524
+ "type": {
525
+ "__schema": "TypeRefSchema",
526
+ "location": {
527
+ "filePath": "stash.aspect.ts",
528
+ "line": 3,
529
+ "character": 14
530
+ },
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})"
540
+ }
541
+ ],
542
+ "internals": []
543
+ },
544
+ "internals": [
545
+ {
546
+ "__schema": "ModuleSchema",
547
+ "location": {
548
+ "filePath": "stash.main.runtime.ts",
549
+ "line": 1,
550
+ "character": 1
551
+ },
552
+ "exports": [
553
+ {
554
+ "__schema": "ClassSchema",
555
+ "location": {
556
+ "filePath": "stash.main.runtime.ts",
557
+ "line": 21,
558
+ "character": 1
559
+ },
560
+ "signature": "class StashMain",
561
+ "name": "StashMain",
562
+ "members": [
563
+ {
564
+ "__schema": "ConstructorSchema",
565
+ "location": {
566
+ "filePath": "stash.main.runtime.ts",
567
+ "line": 23,
568
+ "character": 3
569
+ },
570
+ "signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain): StashMain",
571
+ "name": "constructor",
572
+ "params": [
573
+ {
574
+ "__schema": "ParameterSchema",
575
+ "location": {
576
+ "filePath": "stash.main.runtime.ts",
577
+ "line": 23,
578
+ "character": 15
579
+ },
580
+ "name": "workspace",
581
+ "type": {
582
+ "__schema": "TypeRefSchema",
583
+ "location": {
584
+ "filePath": "stash.main.runtime.ts",
585
+ "line": 23,
586
+ "character": 34
587
+ },
588
+ "name": "Workspace",
589
+ "componentId": {
590
+ "scope": "teambit.workspace",
591
+ "name": "workspace"
592
+ }
593
+ },
594
+ "isOptional": false,
595
+ "isSpread": false
596
+ },
597
+ {
598
+ "__schema": "ParameterSchema",
599
+ "location": {
600
+ "filePath": "stash.main.runtime.ts",
601
+ "line": 23,
602
+ "character": 45
603
+ },
604
+ "name": "checkout",
605
+ "type": {
606
+ "__schema": "TypeRefSchema",
607
+ "location": {
608
+ "filePath": "stash.main.runtime.ts",
609
+ "line": 23,
610
+ "character": 63
611
+ },
612
+ "name": "CheckoutMain",
613
+ "componentId": {
614
+ "scope": "teambit.component",
615
+ "name": "checkout"
616
+ }
617
+ },
618
+ "isOptional": false,
619
+ "isSpread": false
620
+ },
621
+ {
622
+ "__schema": "ParameterSchema",
623
+ "location": {
624
+ "filePath": "stash.main.runtime.ts",
625
+ "line": 23,
626
+ "character": 77
627
+ },
628
+ "name": "snapping",
629
+ "type": {
630
+ "__schema": "TypeRefSchema",
631
+ "location": {
632
+ "filePath": "stash.main.runtime.ts",
633
+ "line": 23,
634
+ "character": 95
635
+ },
636
+ "name": "SnappingMain",
637
+ "componentId": {
638
+ "scope": "teambit.component",
639
+ "name": "snapping"
640
+ }
641
+ },
642
+ "isOptional": false,
643
+ "isSpread": false
644
+ }
645
+ ],
646
+ "returnType": {
647
+ "__schema": "ThisTypeSchema",
648
+ "location": {
649
+ "filePath": "stash.main.runtime.ts",
650
+ "line": 21,
651
+ "character": 1
652
+ },
653
+ "name": "StashMain"
654
+ },
655
+ "modifiers": []
656
+ },
657
+ {
658
+ "__schema": "FunctionLikeSchema",
659
+ "location": {
660
+ "filePath": "stash.main.runtime.ts",
661
+ "line": 27,
662
+ "character": 3
663
+ },
664
+ "signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n}): Promise<ComponentID[]>",
665
+ "name": "save",
666
+ "params": [
667
+ {
668
+ "__schema": "ParameterSchema",
669
+ "location": {
670
+ "filePath": "stash.main.runtime.ts",
671
+ "line": 27,
672
+ "character": 14
673
+ },
674
+ "name": "options",
675
+ "type": {
676
+ "__schema": "TypeLiteralSchema",
677
+ "location": {
678
+ "filePath": "stash.main.runtime.ts",
679
+ "line": 27,
680
+ "character": 23
681
+ },
682
+ "members": [
683
+ {
684
+ "__schema": "VariableLikeSchema",
685
+ "location": {
686
+ "filePath": "stash.main.runtime.ts",
687
+ "line": 27,
688
+ "character": 25
689
+ },
690
+ "signature": "(property) message?: string | undefined",
691
+ "name": "message",
692
+ "type": {
693
+ "__schema": "KeywordTypeSchema",
694
+ "location": {
695
+ "filePath": "stash.main.runtime.ts",
696
+ "line": 27,
697
+ "character": 35
698
+ },
699
+ "name": "string"
700
+ },
701
+ "isOptional": true
702
+ },
703
+ {
704
+ "__schema": "VariableLikeSchema",
705
+ "location": {
706
+ "filePath": "stash.main.runtime.ts",
707
+ "line": 27,
708
+ "character": 43
709
+ },
710
+ "signature": "(property) pattern?: string | undefined",
711
+ "name": "pattern",
712
+ "type": {
713
+ "__schema": "KeywordTypeSchema",
714
+ "location": {
715
+ "filePath": "stash.main.runtime.ts",
716
+ "line": 27,
717
+ "character": 53
718
+ },
719
+ "name": "string"
720
+ },
721
+ "isOptional": true
722
+ }
723
+ ]
724
+ },
725
+ "isOptional": false,
726
+ "isSpread": false
727
+ }
728
+ ],
729
+ "returnType": {
730
+ "__schema": "TypeRefSchema",
731
+ "location": {
732
+ "filePath": "stash.main.runtime.ts",
733
+ "line": 27,
734
+ "character": 64
735
+ },
736
+ "name": "Promise",
737
+ "typeArgs": [
738
+ {
739
+ "__schema": "TypeArraySchema",
740
+ "location": {
741
+ "filePath": "stash.main.runtime.ts",
742
+ "line": 27,
743
+ "character": 72
744
+ },
745
+ "type": {
746
+ "__schema": "TypeRefSchema",
747
+ "location": {
748
+ "filePath": "stash.main.runtime.ts",
749
+ "line": 27,
750
+ "character": 72
751
+ },
752
+ "name": "ComponentID",
753
+ "componentId": {
754
+ "scope": "teambit.component",
755
+ "name": "component"
756
+ }
757
+ }
758
+ }
759
+ ]
760
+ },
761
+ "modifiers": [
762
+ "async"
763
+ ]
764
+ },
765
+ {
766
+ "__schema": "FunctionLikeSchema",
767
+ "location": {
768
+ "filePath": "stash.main.runtime.ts",
769
+ "line": 66,
770
+ "character": 3
771
+ },
772
+ "signature": "(method) StashMain.list(): Promise<ListResult[]>",
773
+ "name": "list",
774
+ "params": [],
775
+ "returnType": {
776
+ "__schema": "TypeRefSchema",
777
+ "location": {
778
+ "filePath": "stash.main.runtime.ts",
779
+ "line": 66,
780
+ "character": 17
781
+ },
782
+ "name": "Promise",
783
+ "typeArgs": [
784
+ {
785
+ "__schema": "TypeArraySchema",
786
+ "location": {
787
+ "filePath": "stash.main.runtime.ts",
788
+ "line": 66,
789
+ "character": 25
790
+ },
791
+ "type": {
792
+ "__schema": "TypeRefSchema",
793
+ "location": {
794
+ "filePath": "stash.main.runtime.ts",
795
+ "line": 66,
796
+ "character": 25
797
+ },
798
+ "name": "ListResult",
799
+ "internalFilePath": "stash.main.runtime.ts"
800
+ }
801
+ }
802
+ ]
803
+ },
804
+ "modifiers": [
805
+ "async"
806
+ ]
807
+ },
808
+ {
809
+ "__schema": "FunctionLikeSchema",
810
+ "location": {
811
+ "filePath": "stash.main.runtime.ts",
812
+ "line": 80,
813
+ "character": 3
814
+ },
815
+ "signature": "(method) StashMain.loadLatest(checkoutProps?: CheckoutProps, stashId?: string): Promise<ComponentID[]>",
816
+ "name": "loadLatest",
817
+ "params": [
818
+ {
819
+ "__schema": "ParameterSchema",
820
+ "location": {
821
+ "filePath": "stash.main.runtime.ts",
822
+ "line": 80,
823
+ "character": 20
824
+ },
825
+ "name": "checkoutProps",
826
+ "type": {
827
+ "__schema": "TypeRefSchema",
828
+ "location": {
829
+ "filePath": "stash.main.runtime.ts",
830
+ "line": 80,
831
+ "character": 35
832
+ },
833
+ "name": "CheckoutProps",
834
+ "componentId": {
835
+ "scope": "teambit.component",
836
+ "name": "checkout"
837
+ }
838
+ },
839
+ "isOptional": true,
840
+ "defaultValue": "{}",
841
+ "isSpread": false
842
+ },
843
+ {
844
+ "__schema": "ParameterSchema",
845
+ "location": {
846
+ "filePath": "stash.main.runtime.ts",
847
+ "line": 80,
848
+ "character": 55
849
+ },
850
+ "name": "stashId",
851
+ "type": {
852
+ "__schema": "KeywordTypeSchema",
853
+ "location": {
854
+ "filePath": "stash.main.runtime.ts",
855
+ "line": 80,
856
+ "character": 65
857
+ },
858
+ "name": "string"
859
+ },
860
+ "isOptional": true,
861
+ "isSpread": false
862
+ }
863
+ ],
864
+ "returnType": {
865
+ "__schema": "InferenceTypeSchema",
866
+ "location": {
867
+ "filePath": "stash.main.runtime.ts",
868
+ "line": 80,
869
+ "character": 3
870
+ },
871
+ "type": "Promise<ComponentID[]>"
872
+ },
873
+ "modifiers": [
874
+ "async"
875
+ ]
876
+ },
877
+ {
878
+ "__schema": "VariableLikeSchema",
879
+ "location": {
880
+ "filePath": "stash.main.runtime.ts",
881
+ "line": 125,
882
+ "character": 3
883
+ },
884
+ "signature": "(property) StashMain.slots: never[]",
885
+ "name": "slots",
886
+ "type": {
887
+ "__schema": "InferenceTypeSchema",
888
+ "location": {
889
+ "filePath": "stash.main.runtime.ts",
890
+ "line": 125,
891
+ "character": 3
892
+ },
893
+ "type": "never[]"
894
+ },
895
+ "isOptional": true,
896
+ "defaultValue": "[]"
897
+ },
898
+ {
899
+ "__schema": "VariableLikeSchema",
900
+ "location": {
901
+ "filePath": "stash.main.runtime.ts",
902
+ "line": 126,
903
+ "character": 3
904
+ },
905
+ "signature": "(property) StashMain.dependencies: Aspect[]",
906
+ "name": "dependencies",
907
+ "type": {
908
+ "__schema": "InferenceTypeSchema",
909
+ "location": {
910
+ "filePath": "stash.main.runtime.ts",
911
+ "line": 126,
912
+ "character": 3
913
+ },
914
+ "type": "Aspect[]"
915
+ },
916
+ "isOptional": true,
917
+ "defaultValue": "[CLIAspect, WorkspaceAspect, CheckoutAspect, SnappingAspect]"
918
+ },
919
+ {
920
+ "__schema": "VariableLikeSchema",
921
+ "location": {
922
+ "filePath": "stash.main.runtime.ts",
923
+ "line": 127,
924
+ "character": 3
925
+ },
926
+ "signature": "(property) StashMain.runtime: RuntimeDefinition",
927
+ "name": "runtime",
928
+ "type": {
929
+ "__schema": "InferenceTypeSchema",
930
+ "location": {
931
+ "filePath": "stash.main.runtime.ts",
932
+ "line": 127,
933
+ "character": 3
934
+ },
935
+ "type": "RuntimeDefinition"
936
+ },
937
+ "isOptional": true,
938
+ "defaultValue": "MainRuntime"
939
+ },
940
+ {
941
+ "__schema": "FunctionLikeSchema",
942
+ "location": {
943
+ "filePath": "stash.main.runtime.ts",
944
+ "line": 128,
945
+ "character": 3
946
+ },
947
+ "signature": "(method) StashMain.provider([cli, workspace, checkout, snapping]: [CLIMain, Workspace, CheckoutMain, SnappingMain]): Promise<StashMain>",
948
+ "name": "provider",
949
+ "params": [
950
+ {
951
+ "__schema": "ParameterSchema",
952
+ "location": {
953
+ "filePath": "stash.main.runtime.ts",
954
+ "line": 128,
955
+ "character": 25
956
+ },
957
+ "name": "[ cli, workspace, checkout, snapping ]",
958
+ "type": {
959
+ "__schema": "TupleTypeSchema",
960
+ "location": {
961
+ "filePath": "stash.main.runtime.ts",
962
+ "line": 128,
963
+ "character": 63
964
+ },
965
+ "elements": [
966
+ {
967
+ "__schema": "TypeRefSchema",
968
+ "location": {
969
+ "filePath": "stash.main.runtime.ts",
970
+ "line": 128,
971
+ "character": 64
972
+ },
973
+ "name": "CLIMain",
974
+ "componentId": {
975
+ "scope": "teambit.harmony",
976
+ "name": "cli"
977
+ }
978
+ },
979
+ {
980
+ "__schema": "TypeRefSchema",
981
+ "location": {
982
+ "filePath": "stash.main.runtime.ts",
983
+ "line": 128,
984
+ "character": 73
985
+ },
986
+ "name": "Workspace",
987
+ "componentId": {
988
+ "scope": "teambit.workspace",
989
+ "name": "workspace"
990
+ }
991
+ },
992
+ {
993
+ "__schema": "TypeRefSchema",
994
+ "location": {
995
+ "filePath": "stash.main.runtime.ts",
996
+ "line": 128,
997
+ "character": 84
998
+ },
999
+ "name": "CheckoutMain",
1000
+ "componentId": {
1001
+ "scope": "teambit.component",
1002
+ "name": "checkout"
1003
+ }
1004
+ },
1005
+ {
1006
+ "__schema": "TypeRefSchema",
1007
+ "location": {
1008
+ "filePath": "stash.main.runtime.ts",
1009
+ "line": 128,
1010
+ "character": 98
1011
+ },
1012
+ "name": "SnappingMain",
1013
+ "componentId": {
1014
+ "scope": "teambit.component",
1015
+ "name": "snapping"
1016
+ }
1017
+ }
1018
+ ]
1019
+ },
1020
+ "isOptional": false,
1021
+ "isSpread": false
1022
+ }
1023
+ ],
1024
+ "returnType": {
1025
+ "__schema": "InferenceTypeSchema",
1026
+ "location": {
1027
+ "filePath": "stash.main.runtime.ts",
1028
+ "line": 128,
1029
+ "character": 3
1030
+ },
1031
+ "type": "Promise<StashMain>"
1032
+ },
1033
+ "modifiers": [
1034
+ "static",
1035
+ "async"
1036
+ ]
1037
+ }
1038
+ ],
1039
+ "extendsNodes": [],
1040
+ "implementNodes": []
1041
+ },
1042
+ {
1043
+ "__schema": "UnImplementedSchema",
1044
+ "location": {
1045
+ "filePath": "stash.main.runtime.ts",
1046
+ "line": 139,
1047
+ "character": 16
1048
+ },
1049
+ "name": "StashMain",
1050
+ "type": "Identifier"
1051
+ }
1052
+ ],
1053
+ "internals": [
1054
+ {
1055
+ "__schema": "TypeSchema",
1056
+ "location": {
1057
+ "filePath": "stash.main.runtime.ts",
1058
+ "line": 15,
1059
+ "character": 1
1060
+ },
1061
+ "signature": "type ListResult = {\n id: string;\n message?: string | undefined;\n components: string[];\n}",
1062
+ "name": "ListResult",
1063
+ "type": {
1064
+ "__schema": "TypeLiteralSchema",
1065
+ "location": {
1066
+ "filePath": "stash.main.runtime.ts",
1067
+ "line": 15,
1068
+ "character": 19
1069
+ },
1070
+ "members": [
1071
+ {
1072
+ "__schema": "VariableLikeSchema",
1073
+ "location": {
1074
+ "filePath": "stash.main.runtime.ts",
1075
+ "line": 16,
1076
+ "character": 3
1077
+ },
1078
+ "signature": "(property) id: string",
1079
+ "name": "id",
1080
+ "type": {
1081
+ "__schema": "KeywordTypeSchema",
1082
+ "location": {
1083
+ "filePath": "stash.main.runtime.ts",
1084
+ "line": 16,
1085
+ "character": 7
1086
+ },
1087
+ "name": "string"
1088
+ },
1089
+ "isOptional": false
1090
+ },
1091
+ {
1092
+ "__schema": "VariableLikeSchema",
1093
+ "location": {
1094
+ "filePath": "stash.main.runtime.ts",
1095
+ "line": 17,
1096
+ "character": 3
1097
+ },
1098
+ "signature": "(property) message?: string | undefined",
1099
+ "name": "message",
1100
+ "type": {
1101
+ "__schema": "KeywordTypeSchema",
1102
+ "location": {
1103
+ "filePath": "stash.main.runtime.ts",
1104
+ "line": 17,
1105
+ "character": 13
1106
+ },
1107
+ "name": "string"
1108
+ },
1109
+ "isOptional": true
1110
+ },
1111
+ {
1112
+ "__schema": "VariableLikeSchema",
1113
+ "location": {
1114
+ "filePath": "stash.main.runtime.ts",
1115
+ "line": 18,
1116
+ "character": 3
1117
+ },
1118
+ "signature": "(property) components: string[]",
1119
+ "name": "components",
1120
+ "type": {
1121
+ "__schema": "TypeArraySchema",
1122
+ "location": {
1123
+ "filePath": "stash.main.runtime.ts",
1124
+ "line": 18,
1125
+ "character": 15
1126
+ },
1127
+ "type": {
1128
+ "__schema": "KeywordTypeSchema",
1129
+ "location": {
1130
+ "filePath": "stash.main.runtime.ts",
1131
+ "line": 18,
1132
+ "character": 15
1133
+ },
1134
+ "name": "string"
1135
+ }
1136
+ },
1137
+ "isOptional": false
1138
+ }
1139
+ ]
1140
+ }
1141
+ },
1142
+ {
1143
+ "__schema": "UnImplementedSchema",
1144
+ "location": {
1145
+ "filePath": "stash.main.runtime.ts",
1146
+ "line": 137,
1147
+ "character": 1
1148
+ },
1149
+ "name": "StashAspect.addRuntime(StashMain);",
1150
+ "type": "ExpressionStatement"
1151
+ }
1152
+ ]
1153
+ },
1154
+ {
1155
+ "__schema": "ModuleSchema",
1156
+ "location": {
1157
+ "filePath": "stash.aspect.ts",
1158
+ "line": 1,
1159
+ "character": 1
1160
+ },
1161
+ "exports": [
1162
+ {
1163
+ "__schema": "VariableLikeSchema",
1164
+ "location": {
1165
+ "filePath": "stash.aspect.ts",
1166
+ "line": 3,
1167
+ "character": 14
1168
+ },
1169
+ "signature": "const StashAspect: Aspect",
1170
+ "name": "StashAspect",
1171
+ "type": {
1172
+ "__schema": "TypeRefSchema",
1173
+ "location": {
1174
+ "filePath": "stash.aspect.ts",
1175
+ "line": 3,
1176
+ "character": 14
1177
+ },
1178
+ "name": "Aspect",
1179
+ "componentId": {
1180
+ "scope": "teambit.harmony",
1181
+ "name": "harmony",
1182
+ "version": "0.4.6"
1183
+ }
1184
+ },
1185
+ "isOptional": false,
1186
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/stash',\n})"
1187
+ }
1188
+ ],
1189
+ "internals": []
1190
+ }
1191
+ ],
1192
+ "componentId": {
1193
+ "scope": "teambit.component",
1194
+ "name": "stash",
1195
+ "version": "1.0.190"
1196
+ },
1197
+ "taggedModuleExports": []
1198
+ }