@teambit/stash 1.0.173 → 1.0.175
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.
- package/artifacts/__bit_junit.xml +1 -1
- package/artifacts/schema.json +333 -77
- package/dist/stash-data.d.ts +1 -2
- package/dist/stash-data.js +2 -10
- package/dist/stash-data.js.map +1 -1
- package/dist/stash.cmd.d.ts +22 -6
- package/dist/stash.cmd.js +50 -17
- package/dist/stash.cmd.js.map +1 -1
- package/dist/stash.main.runtime.d.ts +8 -2
- package/dist/stash.main.runtime.js +37 -7
- package/dist/stash.main.runtime.js.map +1 -1
- package/package.json +6 -6
- /package/dist/{preview-1708466611462.js → preview-1709003857850.js} +0 -0
package/artifacts/schema.json
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"__schema": "ClassSchema",
|
|
18
18
|
"location": {
|
|
19
19
|
"filePath": "stash.main.runtime.ts",
|
|
20
|
-
"line":
|
|
20
|
+
"line": 21,
|
|
21
21
|
"character": 1
|
|
22
22
|
},
|
|
23
23
|
"signature": "class StashMain",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"__schema": "ConstructorSchema",
|
|
28
28
|
"location": {
|
|
29
29
|
"filePath": "stash.main.runtime.ts",
|
|
30
|
-
"line":
|
|
30
|
+
"line": 23,
|
|
31
31
|
"character": 3
|
|
32
32
|
},
|
|
33
33
|
"signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain): StashMain",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"__schema": "ParameterSchema",
|
|
38
38
|
"location": {
|
|
39
39
|
"filePath": "stash.main.runtime.ts",
|
|
40
|
-
"line":
|
|
40
|
+
"line": 23,
|
|
41
41
|
"character": 15
|
|
42
42
|
},
|
|
43
43
|
"name": "workspace",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"__schema": "TypeRefSchema",
|
|
46
46
|
"location": {
|
|
47
47
|
"filePath": "stash.main.runtime.ts",
|
|
48
|
-
"line":
|
|
48
|
+
"line": 23,
|
|
49
49
|
"character": 34
|
|
50
50
|
},
|
|
51
51
|
"name": "Workspace"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"__schema": "ParameterSchema",
|
|
58
58
|
"location": {
|
|
59
59
|
"filePath": "stash.main.runtime.ts",
|
|
60
|
-
"line":
|
|
60
|
+
"line": 23,
|
|
61
61
|
"character": 45
|
|
62
62
|
},
|
|
63
63
|
"name": "checkout",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"__schema": "TypeRefSchema",
|
|
66
66
|
"location": {
|
|
67
67
|
"filePath": "stash.main.runtime.ts",
|
|
68
|
-
"line":
|
|
68
|
+
"line": 23,
|
|
69
69
|
"character": 63
|
|
70
70
|
},
|
|
71
71
|
"name": "CheckoutMain"
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"__schema": "ParameterSchema",
|
|
78
78
|
"location": {
|
|
79
79
|
"filePath": "stash.main.runtime.ts",
|
|
80
|
-
"line":
|
|
80
|
+
"line": 23,
|
|
81
81
|
"character": 77
|
|
82
82
|
},
|
|
83
83
|
"name": "snapping",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"__schema": "TypeRefSchema",
|
|
86
86
|
"location": {
|
|
87
87
|
"filePath": "stash.main.runtime.ts",
|
|
88
|
-
"line":
|
|
88
|
+
"line": 23,
|
|
89
89
|
"character": 95
|
|
90
90
|
},
|
|
91
91
|
"name": "SnappingMain"
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"__schema": "ThisTypeSchema",
|
|
99
99
|
"location": {
|
|
100
100
|
"filePath": "stash.main.runtime.ts",
|
|
101
|
-
"line":
|
|
101
|
+
"line": 21,
|
|
102
102
|
"character": 1
|
|
103
103
|
},
|
|
104
104
|
"name": "StashMain"
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"__schema": "FunctionLikeSchema",
|
|
110
110
|
"location": {
|
|
111
111
|
"filePath": "stash.main.runtime.ts",
|
|
112
|
-
"line":
|
|
112
|
+
"line": 27,
|
|
113
113
|
"character": 3
|
|
114
114
|
},
|
|
115
115
|
"signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n}): Promise<ComponentID[]>",
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"__schema": "ParameterSchema",
|
|
120
120
|
"location": {
|
|
121
121
|
"filePath": "stash.main.runtime.ts",
|
|
122
|
-
"line":
|
|
122
|
+
"line": 27,
|
|
123
123
|
"character": 14
|
|
124
124
|
},
|
|
125
125
|
"name": "options",
|
|
@@ -127,7 +127,7 @@
|
|
|
127
127
|
"__schema": "TypeLiteralSchema",
|
|
128
128
|
"location": {
|
|
129
129
|
"filePath": "stash.main.runtime.ts",
|
|
130
|
-
"line":
|
|
130
|
+
"line": 27,
|
|
131
131
|
"character": 23
|
|
132
132
|
},
|
|
133
133
|
"members": [
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"__schema": "VariableLikeSchema",
|
|
136
136
|
"location": {
|
|
137
137
|
"filePath": "stash.main.runtime.ts",
|
|
138
|
-
"line":
|
|
138
|
+
"line": 27,
|
|
139
139
|
"character": 25
|
|
140
140
|
},
|
|
141
141
|
"signature": "(property) message?: string | undefined",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"__schema": "KeywordTypeSchema",
|
|
145
145
|
"location": {
|
|
146
146
|
"filePath": "stash.main.runtime.ts",
|
|
147
|
-
"line":
|
|
147
|
+
"line": 27,
|
|
148
148
|
"character": 35
|
|
149
149
|
},
|
|
150
150
|
"name": "string"
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"__schema": "VariableLikeSchema",
|
|
156
156
|
"location": {
|
|
157
157
|
"filePath": "stash.main.runtime.ts",
|
|
158
|
-
"line":
|
|
158
|
+
"line": 27,
|
|
159
159
|
"character": 43
|
|
160
160
|
},
|
|
161
161
|
"signature": "(property) pattern?: string | undefined",
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
"__schema": "KeywordTypeSchema",
|
|
165
165
|
"location": {
|
|
166
166
|
"filePath": "stash.main.runtime.ts",
|
|
167
|
-
"line":
|
|
167
|
+
"line": 27,
|
|
168
168
|
"character": 53
|
|
169
169
|
},
|
|
170
170
|
"name": "string"
|
|
@@ -181,7 +181,7 @@
|
|
|
181
181
|
"__schema": "TypeRefSchema",
|
|
182
182
|
"location": {
|
|
183
183
|
"filePath": "stash.main.runtime.ts",
|
|
184
|
-
"line":
|
|
184
|
+
"line": 27,
|
|
185
185
|
"character": 64
|
|
186
186
|
},
|
|
187
187
|
"name": "Promise",
|
|
@@ -190,14 +190,14 @@
|
|
|
190
190
|
"__schema": "TypeArraySchema",
|
|
191
191
|
"location": {
|
|
192
192
|
"filePath": "stash.main.runtime.ts",
|
|
193
|
-
"line":
|
|
193
|
+
"line": 27,
|
|
194
194
|
"character": 72
|
|
195
195
|
},
|
|
196
196
|
"type": {
|
|
197
197
|
"__schema": "TypeRefSchema",
|
|
198
198
|
"location": {
|
|
199
199
|
"filePath": "stash.main.runtime.ts",
|
|
200
|
-
"line":
|
|
200
|
+
"line": 27,
|
|
201
201
|
"character": 72
|
|
202
202
|
},
|
|
203
203
|
"name": "ComponentID"
|
|
@@ -213,17 +213,101 @@
|
|
|
213
213
|
"__schema": "FunctionLikeSchema",
|
|
214
214
|
"location": {
|
|
215
215
|
"filePath": "stash.main.runtime.ts",
|
|
216
|
-
"line":
|
|
216
|
+
"line": 68,
|
|
217
217
|
"character": 3
|
|
218
218
|
},
|
|
219
|
-
"signature": "(method) StashMain.
|
|
220
|
-
"name": "
|
|
219
|
+
"signature": "(method) StashMain.list(): Promise<ListResult[]>",
|
|
220
|
+
"name": "list",
|
|
221
221
|
"params": [],
|
|
222
|
+
"returnType": {
|
|
223
|
+
"__schema": "TypeRefSchema",
|
|
224
|
+
"location": {
|
|
225
|
+
"filePath": "stash.main.runtime.ts",
|
|
226
|
+
"line": 68,
|
|
227
|
+
"character": 17
|
|
228
|
+
},
|
|
229
|
+
"name": "Promise",
|
|
230
|
+
"typeArgs": [
|
|
231
|
+
{
|
|
232
|
+
"__schema": "TypeArraySchema",
|
|
233
|
+
"location": {
|
|
234
|
+
"filePath": "stash.main.runtime.ts",
|
|
235
|
+
"line": 68,
|
|
236
|
+
"character": 25
|
|
237
|
+
},
|
|
238
|
+
"type": {
|
|
239
|
+
"__schema": "TypeRefSchema",
|
|
240
|
+
"location": {
|
|
241
|
+
"filePath": "stash.main.runtime.ts",
|
|
242
|
+
"line": 68,
|
|
243
|
+
"character": 25
|
|
244
|
+
},
|
|
245
|
+
"name": "ListResult"
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
]
|
|
249
|
+
},
|
|
250
|
+
"modifiers": [
|
|
251
|
+
"async"
|
|
252
|
+
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"__schema": "FunctionLikeSchema",
|
|
256
|
+
"location": {
|
|
257
|
+
"filePath": "stash.main.runtime.ts",
|
|
258
|
+
"line": 82,
|
|
259
|
+
"character": 3
|
|
260
|
+
},
|
|
261
|
+
"signature": "(method) StashMain.loadLatest(checkoutProps?: CheckoutProps, stashId?: string): Promise<ComponentID[]>",
|
|
262
|
+
"name": "loadLatest",
|
|
263
|
+
"params": [
|
|
264
|
+
{
|
|
265
|
+
"__schema": "ParameterSchema",
|
|
266
|
+
"location": {
|
|
267
|
+
"filePath": "stash.main.runtime.ts",
|
|
268
|
+
"line": 82,
|
|
269
|
+
"character": 20
|
|
270
|
+
},
|
|
271
|
+
"name": "checkoutProps",
|
|
272
|
+
"type": {
|
|
273
|
+
"__schema": "TypeRefSchema",
|
|
274
|
+
"location": {
|
|
275
|
+
"filePath": "stash.main.runtime.ts",
|
|
276
|
+
"line": 82,
|
|
277
|
+
"character": 35
|
|
278
|
+
},
|
|
279
|
+
"name": "CheckoutProps"
|
|
280
|
+
},
|
|
281
|
+
"isOptional": true,
|
|
282
|
+
"defaultValue": "{}",
|
|
283
|
+
"isSpread": false
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"__schema": "ParameterSchema",
|
|
287
|
+
"location": {
|
|
288
|
+
"filePath": "stash.main.runtime.ts",
|
|
289
|
+
"line": 82,
|
|
290
|
+
"character": 55
|
|
291
|
+
},
|
|
292
|
+
"name": "stashId",
|
|
293
|
+
"type": {
|
|
294
|
+
"__schema": "KeywordTypeSchema",
|
|
295
|
+
"location": {
|
|
296
|
+
"filePath": "stash.main.runtime.ts",
|
|
297
|
+
"line": 82,
|
|
298
|
+
"character": 65
|
|
299
|
+
},
|
|
300
|
+
"name": "string"
|
|
301
|
+
},
|
|
302
|
+
"isOptional": true,
|
|
303
|
+
"isSpread": false
|
|
304
|
+
}
|
|
305
|
+
],
|
|
222
306
|
"returnType": {
|
|
223
307
|
"__schema": "InferenceTypeSchema",
|
|
224
308
|
"location": {
|
|
225
309
|
"filePath": "stash.main.runtime.ts",
|
|
226
|
-
"line":
|
|
310
|
+
"line": 82,
|
|
227
311
|
"character": 3
|
|
228
312
|
},
|
|
229
313
|
"type": "Promise<ComponentID[]>"
|
|
@@ -236,7 +320,7 @@
|
|
|
236
320
|
"__schema": "VariableLikeSchema",
|
|
237
321
|
"location": {
|
|
238
322
|
"filePath": "stash.main.runtime.ts",
|
|
239
|
-
"line":
|
|
323
|
+
"line": 127,
|
|
240
324
|
"character": 3
|
|
241
325
|
},
|
|
242
326
|
"signature": "(property) StashMain.slots: never[]",
|
|
@@ -245,7 +329,7 @@
|
|
|
245
329
|
"__schema": "InferenceTypeSchema",
|
|
246
330
|
"location": {
|
|
247
331
|
"filePath": "stash.main.runtime.ts",
|
|
248
|
-
"line":
|
|
332
|
+
"line": 127,
|
|
249
333
|
"character": 3
|
|
250
334
|
},
|
|
251
335
|
"type": "never[]"
|
|
@@ -257,7 +341,7 @@
|
|
|
257
341
|
"__schema": "VariableLikeSchema",
|
|
258
342
|
"location": {
|
|
259
343
|
"filePath": "stash.main.runtime.ts",
|
|
260
|
-
"line":
|
|
344
|
+
"line": 128,
|
|
261
345
|
"character": 3
|
|
262
346
|
},
|
|
263
347
|
"signature": "(property) StashMain.dependencies: Aspect[]",
|
|
@@ -266,7 +350,7 @@
|
|
|
266
350
|
"__schema": "InferenceTypeSchema",
|
|
267
351
|
"location": {
|
|
268
352
|
"filePath": "stash.main.runtime.ts",
|
|
269
|
-
"line":
|
|
353
|
+
"line": 128,
|
|
270
354
|
"character": 3
|
|
271
355
|
},
|
|
272
356
|
"type": "Aspect[]"
|
|
@@ -278,7 +362,7 @@
|
|
|
278
362
|
"__schema": "VariableLikeSchema",
|
|
279
363
|
"location": {
|
|
280
364
|
"filePath": "stash.main.runtime.ts",
|
|
281
|
-
"line":
|
|
365
|
+
"line": 129,
|
|
282
366
|
"character": 3
|
|
283
367
|
},
|
|
284
368
|
"signature": "(property) StashMain.runtime: RuntimeDefinition",
|
|
@@ -287,7 +371,7 @@
|
|
|
287
371
|
"__schema": "InferenceTypeSchema",
|
|
288
372
|
"location": {
|
|
289
373
|
"filePath": "stash.main.runtime.ts",
|
|
290
|
-
"line":
|
|
374
|
+
"line": 129,
|
|
291
375
|
"character": 3
|
|
292
376
|
},
|
|
293
377
|
"type": "RuntimeDefinition"
|
|
@@ -299,7 +383,7 @@
|
|
|
299
383
|
"__schema": "FunctionLikeSchema",
|
|
300
384
|
"location": {
|
|
301
385
|
"filePath": "stash.main.runtime.ts",
|
|
302
|
-
"line":
|
|
386
|
+
"line": 130,
|
|
303
387
|
"character": 3
|
|
304
388
|
},
|
|
305
389
|
"signature": "(method) StashMain.provider([cli, workspace, checkout, snapping]: [CLIMain, Workspace, CheckoutMain, SnappingMain]): Promise<StashMain>",
|
|
@@ -309,7 +393,7 @@
|
|
|
309
393
|
"__schema": "ParameterSchema",
|
|
310
394
|
"location": {
|
|
311
395
|
"filePath": "stash.main.runtime.ts",
|
|
312
|
-
"line":
|
|
396
|
+
"line": 130,
|
|
313
397
|
"character": 25
|
|
314
398
|
},
|
|
315
399
|
"name": "[ cli, workspace, checkout, snapping ]",
|
|
@@ -317,7 +401,7 @@
|
|
|
317
401
|
"__schema": "TupleTypeSchema",
|
|
318
402
|
"location": {
|
|
319
403
|
"filePath": "stash.main.runtime.ts",
|
|
320
|
-
"line":
|
|
404
|
+
"line": 130,
|
|
321
405
|
"character": 63
|
|
322
406
|
},
|
|
323
407
|
"elements": [
|
|
@@ -325,7 +409,7 @@
|
|
|
325
409
|
"__schema": "TypeRefSchema",
|
|
326
410
|
"location": {
|
|
327
411
|
"filePath": "stash.main.runtime.ts",
|
|
328
|
-
"line":
|
|
412
|
+
"line": 130,
|
|
329
413
|
"character": 64
|
|
330
414
|
},
|
|
331
415
|
"name": "CLIMain"
|
|
@@ -334,7 +418,7 @@
|
|
|
334
418
|
"__schema": "TypeRefSchema",
|
|
335
419
|
"location": {
|
|
336
420
|
"filePath": "stash.main.runtime.ts",
|
|
337
|
-
"line":
|
|
421
|
+
"line": 130,
|
|
338
422
|
"character": 73
|
|
339
423
|
},
|
|
340
424
|
"name": "Workspace"
|
|
@@ -343,7 +427,7 @@
|
|
|
343
427
|
"__schema": "TypeRefSchema",
|
|
344
428
|
"location": {
|
|
345
429
|
"filePath": "stash.main.runtime.ts",
|
|
346
|
-
"line":
|
|
430
|
+
"line": 130,
|
|
347
431
|
"character": 84
|
|
348
432
|
},
|
|
349
433
|
"name": "CheckoutMain"
|
|
@@ -352,7 +436,7 @@
|
|
|
352
436
|
"__schema": "TypeRefSchema",
|
|
353
437
|
"location": {
|
|
354
438
|
"filePath": "stash.main.runtime.ts",
|
|
355
|
-
"line":
|
|
439
|
+
"line": 130,
|
|
356
440
|
"character": 98
|
|
357
441
|
},
|
|
358
442
|
"name": "SnappingMain"
|
|
@@ -367,7 +451,7 @@
|
|
|
367
451
|
"__schema": "InferenceTypeSchema",
|
|
368
452
|
"location": {
|
|
369
453
|
"filePath": "stash.main.runtime.ts",
|
|
370
|
-
"line":
|
|
454
|
+
"line": 130,
|
|
371
455
|
"character": 3
|
|
372
456
|
},
|
|
373
457
|
"type": "Promise<StashMain>"
|
|
@@ -433,7 +517,7 @@
|
|
|
433
517
|
"__schema": "ClassSchema",
|
|
434
518
|
"location": {
|
|
435
519
|
"filePath": "stash.main.runtime.ts",
|
|
436
|
-
"line":
|
|
520
|
+
"line": 21,
|
|
437
521
|
"character": 1
|
|
438
522
|
},
|
|
439
523
|
"signature": "class StashMain",
|
|
@@ -443,7 +527,7 @@
|
|
|
443
527
|
"__schema": "ConstructorSchema",
|
|
444
528
|
"location": {
|
|
445
529
|
"filePath": "stash.main.runtime.ts",
|
|
446
|
-
"line":
|
|
530
|
+
"line": 23,
|
|
447
531
|
"character": 3
|
|
448
532
|
},
|
|
449
533
|
"signature": "constructor StashMain(workspace: Workspace, checkout: CheckoutMain, snapping: SnappingMain): StashMain",
|
|
@@ -453,7 +537,7 @@
|
|
|
453
537
|
"__schema": "ParameterSchema",
|
|
454
538
|
"location": {
|
|
455
539
|
"filePath": "stash.main.runtime.ts",
|
|
456
|
-
"line":
|
|
540
|
+
"line": 23,
|
|
457
541
|
"character": 15
|
|
458
542
|
},
|
|
459
543
|
"name": "workspace",
|
|
@@ -461,7 +545,7 @@
|
|
|
461
545
|
"__schema": "TypeRefSchema",
|
|
462
546
|
"location": {
|
|
463
547
|
"filePath": "stash.main.runtime.ts",
|
|
464
|
-
"line":
|
|
548
|
+
"line": 23,
|
|
465
549
|
"character": 34
|
|
466
550
|
},
|
|
467
551
|
"name": "Workspace"
|
|
@@ -473,7 +557,7 @@
|
|
|
473
557
|
"__schema": "ParameterSchema",
|
|
474
558
|
"location": {
|
|
475
559
|
"filePath": "stash.main.runtime.ts",
|
|
476
|
-
"line":
|
|
560
|
+
"line": 23,
|
|
477
561
|
"character": 45
|
|
478
562
|
},
|
|
479
563
|
"name": "checkout",
|
|
@@ -481,7 +565,7 @@
|
|
|
481
565
|
"__schema": "TypeRefSchema",
|
|
482
566
|
"location": {
|
|
483
567
|
"filePath": "stash.main.runtime.ts",
|
|
484
|
-
"line":
|
|
568
|
+
"line": 23,
|
|
485
569
|
"character": 63
|
|
486
570
|
},
|
|
487
571
|
"name": "CheckoutMain"
|
|
@@ -493,7 +577,7 @@
|
|
|
493
577
|
"__schema": "ParameterSchema",
|
|
494
578
|
"location": {
|
|
495
579
|
"filePath": "stash.main.runtime.ts",
|
|
496
|
-
"line":
|
|
580
|
+
"line": 23,
|
|
497
581
|
"character": 77
|
|
498
582
|
},
|
|
499
583
|
"name": "snapping",
|
|
@@ -501,7 +585,7 @@
|
|
|
501
585
|
"__schema": "TypeRefSchema",
|
|
502
586
|
"location": {
|
|
503
587
|
"filePath": "stash.main.runtime.ts",
|
|
504
|
-
"line":
|
|
588
|
+
"line": 23,
|
|
505
589
|
"character": 95
|
|
506
590
|
},
|
|
507
591
|
"name": "SnappingMain"
|
|
@@ -514,7 +598,7 @@
|
|
|
514
598
|
"__schema": "ThisTypeSchema",
|
|
515
599
|
"location": {
|
|
516
600
|
"filePath": "stash.main.runtime.ts",
|
|
517
|
-
"line":
|
|
601
|
+
"line": 21,
|
|
518
602
|
"character": 1
|
|
519
603
|
},
|
|
520
604
|
"name": "StashMain"
|
|
@@ -525,7 +609,7 @@
|
|
|
525
609
|
"__schema": "FunctionLikeSchema",
|
|
526
610
|
"location": {
|
|
527
611
|
"filePath": "stash.main.runtime.ts",
|
|
528
|
-
"line":
|
|
612
|
+
"line": 27,
|
|
529
613
|
"character": 3
|
|
530
614
|
},
|
|
531
615
|
"signature": "(method) StashMain.save(options: {\n message?: string;\n pattern?: string;\n}): Promise<ComponentID[]>",
|
|
@@ -535,7 +619,7 @@
|
|
|
535
619
|
"__schema": "ParameterSchema",
|
|
536
620
|
"location": {
|
|
537
621
|
"filePath": "stash.main.runtime.ts",
|
|
538
|
-
"line":
|
|
622
|
+
"line": 27,
|
|
539
623
|
"character": 14
|
|
540
624
|
},
|
|
541
625
|
"name": "options",
|
|
@@ -543,7 +627,7 @@
|
|
|
543
627
|
"__schema": "TypeLiteralSchema",
|
|
544
628
|
"location": {
|
|
545
629
|
"filePath": "stash.main.runtime.ts",
|
|
546
|
-
"line":
|
|
630
|
+
"line": 27,
|
|
547
631
|
"character": 23
|
|
548
632
|
},
|
|
549
633
|
"members": [
|
|
@@ -551,7 +635,7 @@
|
|
|
551
635
|
"__schema": "VariableLikeSchema",
|
|
552
636
|
"location": {
|
|
553
637
|
"filePath": "stash.main.runtime.ts",
|
|
554
|
-
"line":
|
|
638
|
+
"line": 27,
|
|
555
639
|
"character": 25
|
|
556
640
|
},
|
|
557
641
|
"signature": "(property) message?: string | undefined",
|
|
@@ -560,7 +644,7 @@
|
|
|
560
644
|
"__schema": "KeywordTypeSchema",
|
|
561
645
|
"location": {
|
|
562
646
|
"filePath": "stash.main.runtime.ts",
|
|
563
|
-
"line":
|
|
647
|
+
"line": 27,
|
|
564
648
|
"character": 35
|
|
565
649
|
},
|
|
566
650
|
"name": "string"
|
|
@@ -571,7 +655,7 @@
|
|
|
571
655
|
"__schema": "VariableLikeSchema",
|
|
572
656
|
"location": {
|
|
573
657
|
"filePath": "stash.main.runtime.ts",
|
|
574
|
-
"line":
|
|
658
|
+
"line": 27,
|
|
575
659
|
"character": 43
|
|
576
660
|
},
|
|
577
661
|
"signature": "(property) pattern?: string | undefined",
|
|
@@ -580,7 +664,7 @@
|
|
|
580
664
|
"__schema": "KeywordTypeSchema",
|
|
581
665
|
"location": {
|
|
582
666
|
"filePath": "stash.main.runtime.ts",
|
|
583
|
-
"line":
|
|
667
|
+
"line": 27,
|
|
584
668
|
"character": 53
|
|
585
669
|
},
|
|
586
670
|
"name": "string"
|
|
@@ -597,7 +681,7 @@
|
|
|
597
681
|
"__schema": "TypeRefSchema",
|
|
598
682
|
"location": {
|
|
599
683
|
"filePath": "stash.main.runtime.ts",
|
|
600
|
-
"line":
|
|
684
|
+
"line": 27,
|
|
601
685
|
"character": 64
|
|
602
686
|
},
|
|
603
687
|
"name": "Promise",
|
|
@@ -606,14 +690,14 @@
|
|
|
606
690
|
"__schema": "TypeArraySchema",
|
|
607
691
|
"location": {
|
|
608
692
|
"filePath": "stash.main.runtime.ts",
|
|
609
|
-
"line":
|
|
693
|
+
"line": 27,
|
|
610
694
|
"character": 72
|
|
611
695
|
},
|
|
612
696
|
"type": {
|
|
613
697
|
"__schema": "TypeRefSchema",
|
|
614
698
|
"location": {
|
|
615
699
|
"filePath": "stash.main.runtime.ts",
|
|
616
|
-
"line":
|
|
700
|
+
"line": 27,
|
|
617
701
|
"character": 72
|
|
618
702
|
},
|
|
619
703
|
"name": "ComponentID"
|
|
@@ -629,17 +713,101 @@
|
|
|
629
713
|
"__schema": "FunctionLikeSchema",
|
|
630
714
|
"location": {
|
|
631
715
|
"filePath": "stash.main.runtime.ts",
|
|
632
|
-
"line":
|
|
716
|
+
"line": 68,
|
|
633
717
|
"character": 3
|
|
634
718
|
},
|
|
635
|
-
"signature": "(method) StashMain.
|
|
636
|
-
"name": "
|
|
719
|
+
"signature": "(method) StashMain.list(): Promise<ListResult[]>",
|
|
720
|
+
"name": "list",
|
|
637
721
|
"params": [],
|
|
722
|
+
"returnType": {
|
|
723
|
+
"__schema": "TypeRefSchema",
|
|
724
|
+
"location": {
|
|
725
|
+
"filePath": "stash.main.runtime.ts",
|
|
726
|
+
"line": 68,
|
|
727
|
+
"character": 17
|
|
728
|
+
},
|
|
729
|
+
"name": "Promise",
|
|
730
|
+
"typeArgs": [
|
|
731
|
+
{
|
|
732
|
+
"__schema": "TypeArraySchema",
|
|
733
|
+
"location": {
|
|
734
|
+
"filePath": "stash.main.runtime.ts",
|
|
735
|
+
"line": 68,
|
|
736
|
+
"character": 25
|
|
737
|
+
},
|
|
738
|
+
"type": {
|
|
739
|
+
"__schema": "TypeRefSchema",
|
|
740
|
+
"location": {
|
|
741
|
+
"filePath": "stash.main.runtime.ts",
|
|
742
|
+
"line": 68,
|
|
743
|
+
"character": 25
|
|
744
|
+
},
|
|
745
|
+
"name": "ListResult"
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
"modifiers": [
|
|
751
|
+
"async"
|
|
752
|
+
]
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
"__schema": "FunctionLikeSchema",
|
|
756
|
+
"location": {
|
|
757
|
+
"filePath": "stash.main.runtime.ts",
|
|
758
|
+
"line": 82,
|
|
759
|
+
"character": 3
|
|
760
|
+
},
|
|
761
|
+
"signature": "(method) StashMain.loadLatest(checkoutProps?: CheckoutProps, stashId?: string): Promise<ComponentID[]>",
|
|
762
|
+
"name": "loadLatest",
|
|
763
|
+
"params": [
|
|
764
|
+
{
|
|
765
|
+
"__schema": "ParameterSchema",
|
|
766
|
+
"location": {
|
|
767
|
+
"filePath": "stash.main.runtime.ts",
|
|
768
|
+
"line": 82,
|
|
769
|
+
"character": 20
|
|
770
|
+
},
|
|
771
|
+
"name": "checkoutProps",
|
|
772
|
+
"type": {
|
|
773
|
+
"__schema": "TypeRefSchema",
|
|
774
|
+
"location": {
|
|
775
|
+
"filePath": "stash.main.runtime.ts",
|
|
776
|
+
"line": 82,
|
|
777
|
+
"character": 35
|
|
778
|
+
},
|
|
779
|
+
"name": "CheckoutProps"
|
|
780
|
+
},
|
|
781
|
+
"isOptional": true,
|
|
782
|
+
"defaultValue": "{}",
|
|
783
|
+
"isSpread": false
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"__schema": "ParameterSchema",
|
|
787
|
+
"location": {
|
|
788
|
+
"filePath": "stash.main.runtime.ts",
|
|
789
|
+
"line": 82,
|
|
790
|
+
"character": 55
|
|
791
|
+
},
|
|
792
|
+
"name": "stashId",
|
|
793
|
+
"type": {
|
|
794
|
+
"__schema": "KeywordTypeSchema",
|
|
795
|
+
"location": {
|
|
796
|
+
"filePath": "stash.main.runtime.ts",
|
|
797
|
+
"line": 82,
|
|
798
|
+
"character": 65
|
|
799
|
+
},
|
|
800
|
+
"name": "string"
|
|
801
|
+
},
|
|
802
|
+
"isOptional": true,
|
|
803
|
+
"isSpread": false
|
|
804
|
+
}
|
|
805
|
+
],
|
|
638
806
|
"returnType": {
|
|
639
807
|
"__schema": "InferenceTypeSchema",
|
|
640
808
|
"location": {
|
|
641
809
|
"filePath": "stash.main.runtime.ts",
|
|
642
|
-
"line":
|
|
810
|
+
"line": 82,
|
|
643
811
|
"character": 3
|
|
644
812
|
},
|
|
645
813
|
"type": "Promise<ComponentID[]>"
|
|
@@ -652,7 +820,7 @@
|
|
|
652
820
|
"__schema": "VariableLikeSchema",
|
|
653
821
|
"location": {
|
|
654
822
|
"filePath": "stash.main.runtime.ts",
|
|
655
|
-
"line":
|
|
823
|
+
"line": 127,
|
|
656
824
|
"character": 3
|
|
657
825
|
},
|
|
658
826
|
"signature": "(property) StashMain.slots: never[]",
|
|
@@ -661,7 +829,7 @@
|
|
|
661
829
|
"__schema": "InferenceTypeSchema",
|
|
662
830
|
"location": {
|
|
663
831
|
"filePath": "stash.main.runtime.ts",
|
|
664
|
-
"line":
|
|
832
|
+
"line": 127,
|
|
665
833
|
"character": 3
|
|
666
834
|
},
|
|
667
835
|
"type": "never[]"
|
|
@@ -673,7 +841,7 @@
|
|
|
673
841
|
"__schema": "VariableLikeSchema",
|
|
674
842
|
"location": {
|
|
675
843
|
"filePath": "stash.main.runtime.ts",
|
|
676
|
-
"line":
|
|
844
|
+
"line": 128,
|
|
677
845
|
"character": 3
|
|
678
846
|
},
|
|
679
847
|
"signature": "(property) StashMain.dependencies: Aspect[]",
|
|
@@ -682,7 +850,7 @@
|
|
|
682
850
|
"__schema": "InferenceTypeSchema",
|
|
683
851
|
"location": {
|
|
684
852
|
"filePath": "stash.main.runtime.ts",
|
|
685
|
-
"line":
|
|
853
|
+
"line": 128,
|
|
686
854
|
"character": 3
|
|
687
855
|
},
|
|
688
856
|
"type": "Aspect[]"
|
|
@@ -694,7 +862,7 @@
|
|
|
694
862
|
"__schema": "VariableLikeSchema",
|
|
695
863
|
"location": {
|
|
696
864
|
"filePath": "stash.main.runtime.ts",
|
|
697
|
-
"line":
|
|
865
|
+
"line": 129,
|
|
698
866
|
"character": 3
|
|
699
867
|
},
|
|
700
868
|
"signature": "(property) StashMain.runtime: RuntimeDefinition",
|
|
@@ -703,7 +871,7 @@
|
|
|
703
871
|
"__schema": "InferenceTypeSchema",
|
|
704
872
|
"location": {
|
|
705
873
|
"filePath": "stash.main.runtime.ts",
|
|
706
|
-
"line":
|
|
874
|
+
"line": 129,
|
|
707
875
|
"character": 3
|
|
708
876
|
},
|
|
709
877
|
"type": "RuntimeDefinition"
|
|
@@ -715,7 +883,7 @@
|
|
|
715
883
|
"__schema": "FunctionLikeSchema",
|
|
716
884
|
"location": {
|
|
717
885
|
"filePath": "stash.main.runtime.ts",
|
|
718
|
-
"line":
|
|
886
|
+
"line": 130,
|
|
719
887
|
"character": 3
|
|
720
888
|
},
|
|
721
889
|
"signature": "(method) StashMain.provider([cli, workspace, checkout, snapping]: [CLIMain, Workspace, CheckoutMain, SnappingMain]): Promise<StashMain>",
|
|
@@ -725,7 +893,7 @@
|
|
|
725
893
|
"__schema": "ParameterSchema",
|
|
726
894
|
"location": {
|
|
727
895
|
"filePath": "stash.main.runtime.ts",
|
|
728
|
-
"line":
|
|
896
|
+
"line": 130,
|
|
729
897
|
"character": 25
|
|
730
898
|
},
|
|
731
899
|
"name": "[ cli, workspace, checkout, snapping ]",
|
|
@@ -733,7 +901,7 @@
|
|
|
733
901
|
"__schema": "TupleTypeSchema",
|
|
734
902
|
"location": {
|
|
735
903
|
"filePath": "stash.main.runtime.ts",
|
|
736
|
-
"line":
|
|
904
|
+
"line": 130,
|
|
737
905
|
"character": 63
|
|
738
906
|
},
|
|
739
907
|
"elements": [
|
|
@@ -741,7 +909,7 @@
|
|
|
741
909
|
"__schema": "TypeRefSchema",
|
|
742
910
|
"location": {
|
|
743
911
|
"filePath": "stash.main.runtime.ts",
|
|
744
|
-
"line":
|
|
912
|
+
"line": 130,
|
|
745
913
|
"character": 64
|
|
746
914
|
},
|
|
747
915
|
"name": "CLIMain"
|
|
@@ -750,7 +918,7 @@
|
|
|
750
918
|
"__schema": "TypeRefSchema",
|
|
751
919
|
"location": {
|
|
752
920
|
"filePath": "stash.main.runtime.ts",
|
|
753
|
-
"line":
|
|
921
|
+
"line": 130,
|
|
754
922
|
"character": 73
|
|
755
923
|
},
|
|
756
924
|
"name": "Workspace"
|
|
@@ -759,7 +927,7 @@
|
|
|
759
927
|
"__schema": "TypeRefSchema",
|
|
760
928
|
"location": {
|
|
761
929
|
"filePath": "stash.main.runtime.ts",
|
|
762
|
-
"line":
|
|
930
|
+
"line": 130,
|
|
763
931
|
"character": 84
|
|
764
932
|
},
|
|
765
933
|
"name": "CheckoutMain"
|
|
@@ -768,7 +936,7 @@
|
|
|
768
936
|
"__schema": "TypeRefSchema",
|
|
769
937
|
"location": {
|
|
770
938
|
"filePath": "stash.main.runtime.ts",
|
|
771
|
-
"line":
|
|
939
|
+
"line": 130,
|
|
772
940
|
"character": 98
|
|
773
941
|
},
|
|
774
942
|
"name": "SnappingMain"
|
|
@@ -783,7 +951,7 @@
|
|
|
783
951
|
"__schema": "InferenceTypeSchema",
|
|
784
952
|
"location": {
|
|
785
953
|
"filePath": "stash.main.runtime.ts",
|
|
786
|
-
"line":
|
|
954
|
+
"line": 130,
|
|
787
955
|
"character": 3
|
|
788
956
|
},
|
|
789
957
|
"type": "Promise<StashMain>"
|
|
@@ -801,7 +969,7 @@
|
|
|
801
969
|
"__schema": "UnImplementedSchema",
|
|
802
970
|
"location": {
|
|
803
971
|
"filePath": "stash.main.runtime.ts",
|
|
804
|
-
"line":
|
|
972
|
+
"line": 141,
|
|
805
973
|
"character": 16
|
|
806
974
|
},
|
|
807
975
|
"name": "StashMain",
|
|
@@ -809,11 +977,99 @@
|
|
|
809
977
|
}
|
|
810
978
|
],
|
|
811
979
|
"internals": [
|
|
980
|
+
{
|
|
981
|
+
"__schema": "TypeSchema",
|
|
982
|
+
"location": {
|
|
983
|
+
"filePath": "stash.main.runtime.ts",
|
|
984
|
+
"line": 15,
|
|
985
|
+
"character": 1
|
|
986
|
+
},
|
|
987
|
+
"signature": "type ListResult = {\n id: string;\n message?: string | undefined;\n components: string[];\n}",
|
|
988
|
+
"name": "ListResult",
|
|
989
|
+
"type": {
|
|
990
|
+
"__schema": "TypeLiteralSchema",
|
|
991
|
+
"location": {
|
|
992
|
+
"filePath": "stash.main.runtime.ts",
|
|
993
|
+
"line": 15,
|
|
994
|
+
"character": 19
|
|
995
|
+
},
|
|
996
|
+
"members": [
|
|
997
|
+
{
|
|
998
|
+
"__schema": "VariableLikeSchema",
|
|
999
|
+
"location": {
|
|
1000
|
+
"filePath": "stash.main.runtime.ts",
|
|
1001
|
+
"line": 16,
|
|
1002
|
+
"character": 3
|
|
1003
|
+
},
|
|
1004
|
+
"signature": "(property) id: string",
|
|
1005
|
+
"name": "id",
|
|
1006
|
+
"type": {
|
|
1007
|
+
"__schema": "KeywordTypeSchema",
|
|
1008
|
+
"location": {
|
|
1009
|
+
"filePath": "stash.main.runtime.ts",
|
|
1010
|
+
"line": 16,
|
|
1011
|
+
"character": 7
|
|
1012
|
+
},
|
|
1013
|
+
"name": "string"
|
|
1014
|
+
},
|
|
1015
|
+
"isOptional": false
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"__schema": "VariableLikeSchema",
|
|
1019
|
+
"location": {
|
|
1020
|
+
"filePath": "stash.main.runtime.ts",
|
|
1021
|
+
"line": 17,
|
|
1022
|
+
"character": 3
|
|
1023
|
+
},
|
|
1024
|
+
"signature": "(property) message?: string | undefined",
|
|
1025
|
+
"name": "message",
|
|
1026
|
+
"type": {
|
|
1027
|
+
"__schema": "KeywordTypeSchema",
|
|
1028
|
+
"location": {
|
|
1029
|
+
"filePath": "stash.main.runtime.ts",
|
|
1030
|
+
"line": 17,
|
|
1031
|
+
"character": 13
|
|
1032
|
+
},
|
|
1033
|
+
"name": "string"
|
|
1034
|
+
},
|
|
1035
|
+
"isOptional": true
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"__schema": "VariableLikeSchema",
|
|
1039
|
+
"location": {
|
|
1040
|
+
"filePath": "stash.main.runtime.ts",
|
|
1041
|
+
"line": 18,
|
|
1042
|
+
"character": 3
|
|
1043
|
+
},
|
|
1044
|
+
"signature": "(property) components: string[]",
|
|
1045
|
+
"name": "components",
|
|
1046
|
+
"type": {
|
|
1047
|
+
"__schema": "TypeArraySchema",
|
|
1048
|
+
"location": {
|
|
1049
|
+
"filePath": "stash.main.runtime.ts",
|
|
1050
|
+
"line": 18,
|
|
1051
|
+
"character": 15
|
|
1052
|
+
},
|
|
1053
|
+
"type": {
|
|
1054
|
+
"__schema": "KeywordTypeSchema",
|
|
1055
|
+
"location": {
|
|
1056
|
+
"filePath": "stash.main.runtime.ts",
|
|
1057
|
+
"line": 18,
|
|
1058
|
+
"character": 15
|
|
1059
|
+
},
|
|
1060
|
+
"name": "string"
|
|
1061
|
+
}
|
|
1062
|
+
},
|
|
1063
|
+
"isOptional": false
|
|
1064
|
+
}
|
|
1065
|
+
]
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
812
1068
|
{
|
|
813
1069
|
"__schema": "UnImplementedSchema",
|
|
814
1070
|
"location": {
|
|
815
1071
|
"filePath": "stash.main.runtime.ts",
|
|
816
|
-
"line":
|
|
1072
|
+
"line": 139,
|
|
817
1073
|
"character": 1
|
|
818
1074
|
},
|
|
819
1075
|
"name": "StashAspect.addRuntime(StashMain);",
|
|
@@ -862,7 +1118,7 @@
|
|
|
862
1118
|
"componentId": {
|
|
863
1119
|
"scope": "teambit.component",
|
|
864
1120
|
"name": "stash",
|
|
865
|
-
"version": "1.0.
|
|
1121
|
+
"version": "1.0.175"
|
|
866
1122
|
},
|
|
867
1123
|
"taggedModuleExports": []
|
|
868
1124
|
}
|