@teambit/stash 1.0.510 → 1.0.511

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