@teambit/checkout 1.0.257 → 1.0.259

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.
@@ -14,1108 +14,1126 @@
14
14
  },
15
15
  "exports": [
16
16
  {
17
- "__schema": "ClassSchema",
17
+ "__schema": "ExportSchema",
18
18
  "location": {
19
- "filePath": "checkout.main.runtime.ts",
20
- "line": 60,
21
- "character": 1
19
+ "filePath": "index.ts",
20
+ "line": 3,
21
+ "character": 15
22
22
  },
23
- "signature": "class CheckoutMain",
24
23
  "name": "CheckoutMain",
25
- "members": [
26
- {
27
- "__schema": "ConstructorSchema",
28
- "location": {
29
- "filePath": "checkout.main.runtime.ts",
30
- "line": 61,
31
- "character": 3
32
- },
33
- "signature": "constructor CheckoutMain(workspace: Workspace, logger: Logger, componentWriter: ComponentWriterMain, importer: ImporterMain, remove: RemoveMain): CheckoutMain",
34
- "name": "constructor",
35
- "params": [
36
- {
37
- "__schema": "ParameterSchema",
38
- "location": {
39
- "filePath": "checkout.main.runtime.ts",
40
- "line": 62,
41
- "character": 5
42
- },
43
- "name": "workspace",
44
- "type": {
45
- "__schema": "TypeRefSchema",
24
+ "exportNode": {
25
+ "__schema": "ClassSchema",
26
+ "location": {
27
+ "filePath": "checkout.main.runtime.ts",
28
+ "line": 60,
29
+ "character": 1
30
+ },
31
+ "signature": "class CheckoutMain",
32
+ "name": "CheckoutMain",
33
+ "members": [
34
+ {
35
+ "__schema": "ConstructorSchema",
36
+ "location": {
37
+ "filePath": "checkout.main.runtime.ts",
38
+ "line": 61,
39
+ "character": 3
40
+ },
41
+ "signature": "constructor CheckoutMain(workspace: Workspace, logger: Logger, componentWriter: ComponentWriterMain, importer: ImporterMain, remove: RemoveMain): CheckoutMain",
42
+ "name": "constructor",
43
+ "params": [
44
+ {
45
+ "__schema": "ParameterSchema",
46
46
  "location": {
47
47
  "filePath": "checkout.main.runtime.ts",
48
48
  "line": 62,
49
- "character": 24
49
+ "character": 5
50
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": "checkout.main.runtime.ts",
64
- "line": 63,
65
- "character": 5
51
+ "name": "workspace",
52
+ "type": {
53
+ "__schema": "TypeRefSchema",
54
+ "location": {
55
+ "filePath": "checkout.main.runtime.ts",
56
+ "line": 62,
57
+ "character": 24
58
+ },
59
+ "name": "Workspace",
60
+ "componentId": {
61
+ "scope": "teambit.workspace",
62
+ "name": "workspace"
63
+ }
64
+ },
65
+ "isOptional": false,
66
+ "isSpread": false
66
67
  },
67
- "name": "logger",
68
- "type": {
69
- "__schema": "TypeRefSchema",
68
+ {
69
+ "__schema": "ParameterSchema",
70
70
  "location": {
71
71
  "filePath": "checkout.main.runtime.ts",
72
72
  "line": 63,
73
- "character": 21
73
+ "character": 5
74
74
  },
75
- "name": "Logger",
76
- "componentId": {
77
- "scope": "teambit.harmony",
78
- "name": "logger"
79
- }
80
- },
81
- "isOptional": false,
82
- "isSpread": false
83
- },
84
- {
85
- "__schema": "ParameterSchema",
86
- "location": {
87
- "filePath": "checkout.main.runtime.ts",
88
- "line": 64,
89
- "character": 5
75
+ "name": "logger",
76
+ "type": {
77
+ "__schema": "TypeRefSchema",
78
+ "location": {
79
+ "filePath": "checkout.main.runtime.ts",
80
+ "line": 63,
81
+ "character": 21
82
+ },
83
+ "name": "Logger",
84
+ "componentId": {
85
+ "scope": "teambit.harmony",
86
+ "name": "logger"
87
+ }
88
+ },
89
+ "isOptional": false,
90
+ "isSpread": false
90
91
  },
91
- "name": "componentWriter",
92
- "type": {
93
- "__schema": "TypeRefSchema",
92
+ {
93
+ "__schema": "ParameterSchema",
94
94
  "location": {
95
95
  "filePath": "checkout.main.runtime.ts",
96
96
  "line": 64,
97
- "character": 30
97
+ "character": 5
98
98
  },
99
- "name": "ComponentWriterMain",
100
- "componentId": {
101
- "scope": "teambit.component",
102
- "name": "component-writer"
103
- }
104
- },
105
- "isOptional": false,
106
- "isSpread": false
107
- },
108
- {
109
- "__schema": "ParameterSchema",
110
- "location": {
111
- "filePath": "checkout.main.runtime.ts",
112
- "line": 65,
113
- "character": 5
99
+ "name": "componentWriter",
100
+ "type": {
101
+ "__schema": "TypeRefSchema",
102
+ "location": {
103
+ "filePath": "checkout.main.runtime.ts",
104
+ "line": 64,
105
+ "character": 30
106
+ },
107
+ "name": "ComponentWriterMain",
108
+ "componentId": {
109
+ "scope": "teambit.component",
110
+ "name": "component-writer"
111
+ }
112
+ },
113
+ "isOptional": false,
114
+ "isSpread": false
114
115
  },
115
- "name": "importer",
116
- "type": {
117
- "__schema": "TypeRefSchema",
116
+ {
117
+ "__schema": "ParameterSchema",
118
118
  "location": {
119
119
  "filePath": "checkout.main.runtime.ts",
120
120
  "line": 65,
121
- "character": 23
121
+ "character": 5
122
122
  },
123
- "name": "ImporterMain",
124
- "componentId": {
125
- "scope": "teambit.scope",
126
- "name": "importer"
127
- }
128
- },
129
- "isOptional": false,
130
- "isSpread": false
131
- },
132
- {
133
- "__schema": "ParameterSchema",
134
- "location": {
135
- "filePath": "checkout.main.runtime.ts",
136
- "line": 66,
137
- "character": 5
123
+ "name": "importer",
124
+ "type": {
125
+ "__schema": "TypeRefSchema",
126
+ "location": {
127
+ "filePath": "checkout.main.runtime.ts",
128
+ "line": 65,
129
+ "character": 23
130
+ },
131
+ "name": "ImporterMain",
132
+ "componentId": {
133
+ "scope": "teambit.scope",
134
+ "name": "importer"
135
+ }
136
+ },
137
+ "isOptional": false,
138
+ "isSpread": false
138
139
  },
139
- "name": "remove",
140
- "type": {
141
- "__schema": "TypeRefSchema",
140
+ {
141
+ "__schema": "ParameterSchema",
142
142
  "location": {
143
143
  "filePath": "checkout.main.runtime.ts",
144
144
  "line": 66,
145
- "character": 21
145
+ "character": 5
146
146
  },
147
- "name": "RemoveMain",
148
- "componentId": {
149
- "scope": "teambit.component",
150
- "name": "remove"
151
- }
152
- },
153
- "isOptional": false,
154
- "isSpread": false
155
- }
156
- ],
157
- "returnType": {
158
- "__schema": "ThisTypeSchema",
159
- "location": {
160
- "filePath": "checkout.main.runtime.ts",
161
- "line": 60,
162
- "character": 1
163
- },
164
- "name": "CheckoutMain"
165
- },
166
- "modifiers": []
167
- },
168
- {
169
- "__schema": "FunctionLikeSchema",
170
- "location": {
171
- "filePath": "checkout.main.runtime.ts",
172
- "line": 69,
173
- "character": 3
174
- },
175
- "signature": "(method) CheckoutMain.checkout(checkoutProps: CheckoutProps): Promise<ApplyVersionResults>",
176
- "name": "checkout",
177
- "params": [
178
- {
179
- "__schema": "ParameterSchema",
147
+ "name": "remove",
148
+ "type": {
149
+ "__schema": "TypeRefSchema",
150
+ "location": {
151
+ "filePath": "checkout.main.runtime.ts",
152
+ "line": 66,
153
+ "character": 21
154
+ },
155
+ "name": "RemoveMain",
156
+ "componentId": {
157
+ "scope": "teambit.component",
158
+ "name": "remove"
159
+ }
160
+ },
161
+ "isOptional": false,
162
+ "isSpread": false
163
+ }
164
+ ],
165
+ "returnType": {
166
+ "__schema": "ThisTypeSchema",
180
167
  "location": {
181
168
  "filePath": "checkout.main.runtime.ts",
182
- "line": 69,
183
- "character": 18
184
- },
185
- "name": "checkoutProps",
186
- "type": {
187
- "__schema": "TypeRefSchema",
188
- "location": {
189
- "filePath": "checkout.main.runtime.ts",
190
- "line": 69,
191
- "character": 33
192
- },
193
- "name": "CheckoutProps"
169
+ "line": 60,
170
+ "character": 1
194
171
  },
195
- "isOptional": false,
196
- "isSpread": false
197
- }
198
- ],
199
- "returnType": {
200
- "__schema": "TypeRefSchema",
172
+ "name": "CheckoutMain"
173
+ },
174
+ "modifiers": []
175
+ },
176
+ {
177
+ "__schema": "FunctionLikeSchema",
201
178
  "location": {
202
179
  "filePath": "checkout.main.runtime.ts",
203
180
  "line": 69,
204
- "character": 49
181
+ "character": 3
205
182
  },
206
- "name": "Promise",
207
- "typeArgs": [
183
+ "signature": "(method) CheckoutMain.checkout(checkoutProps: CheckoutProps): Promise<ApplyVersionResults>",
184
+ "name": "checkout",
185
+ "params": [
208
186
  {
209
- "__schema": "TypeRefSchema",
187
+ "__schema": "ParameterSchema",
210
188
  "location": {
211
189
  "filePath": "checkout.main.runtime.ts",
212
190
  "line": 69,
213
- "character": 57
191
+ "character": 18
214
192
  },
215
- "name": "ApplyVersionResults",
216
- "componentId": {
217
- "scope": "teambit.component",
218
- "name": "merging"
219
- }
193
+ "name": "checkoutProps",
194
+ "type": {
195
+ "__schema": "TypeRefSchema",
196
+ "location": {
197
+ "filePath": "checkout.main.runtime.ts",
198
+ "line": 69,
199
+ "character": 33
200
+ },
201
+ "name": "CheckoutProps"
202
+ },
203
+ "isOptional": false,
204
+ "isSpread": false
220
205
  }
221
- ]
222
- },
223
- "modifiers": [
224
- "async"
225
- ]
226
- },
227
- {
228
- "__schema": "FunctionLikeSchema",
229
- "location": {
230
- "filePath": "checkout.main.runtime.ts",
231
- "line": 203,
232
- "character": 3
233
- },
234
- "doc": {
235
- "__schema": "DocSchema",
236
- "location": {
237
- "filePath": "checkout.main.runtime.ts",
238
- "line": 199,
239
- "character": 3
240
- },
241
- "raw": "/**\n * if .bitmap entry exists but the rootDir is missing from the filesystem, find the component in the scope and restore it.\n * returns the restored component ids.\n */",
242
- "comment": "if .bitmap entry exists but the rootDir is missing from the filesystem, find the component in the scope and restore it.\nreturns the restored component ids."
243
- },
244
- "signature": "(method) CheckoutMain.restoreMissingComponents(checkoutProps: CheckoutProps): Promise<ComponentID[] | undefined>",
245
- "name": "restoreMissingComponents",
246
- "params": [
247
- {
248
- "__schema": "ParameterSchema",
206
+ ],
207
+ "returnType": {
208
+ "__schema": "TypeRefSchema",
249
209
  "location": {
250
210
  "filePath": "checkout.main.runtime.ts",
251
- "line": 203,
252
- "character": 34
253
- },
254
- "name": "checkoutProps",
255
- "type": {
256
- "__schema": "TypeRefSchema",
257
- "location": {
258
- "filePath": "checkout.main.runtime.ts",
259
- "line": 203,
260
- "character": 49
261
- },
262
- "name": "CheckoutProps"
211
+ "line": 69,
212
+ "character": 49
263
213
  },
264
- "isOptional": false,
265
- "isSpread": false
266
- }
267
- ],
268
- "returnType": {
269
- "__schema": "TypeRefSchema",
214
+ "name": "Promise",
215
+ "typeArgs": [
216
+ {
217
+ "__schema": "TypeRefSchema",
218
+ "location": {
219
+ "filePath": "checkout.main.runtime.ts",
220
+ "line": 69,
221
+ "character": 57
222
+ },
223
+ "name": "ApplyVersionResults",
224
+ "componentId": {
225
+ "scope": "teambit.component",
226
+ "name": "merging"
227
+ }
228
+ }
229
+ ]
230
+ },
231
+ "modifiers": [
232
+ "async"
233
+ ]
234
+ },
235
+ {
236
+ "__schema": "FunctionLikeSchema",
270
237
  "location": {
271
238
  "filePath": "checkout.main.runtime.ts",
272
239
  "line": 203,
273
- "character": 65
240
+ "character": 3
241
+ },
242
+ "doc": {
243
+ "__schema": "DocSchema",
244
+ "location": {
245
+ "filePath": "checkout.main.runtime.ts",
246
+ "line": 199,
247
+ "character": 3
248
+ },
249
+ "raw": "/**\n * if .bitmap entry exists but the rootDir is missing from the filesystem, find the component in the scope and restore it.\n * returns the restored component ids.\n */",
250
+ "comment": "if .bitmap entry exists but the rootDir is missing from the filesystem, find the component in the scope and restore it.\nreturns the restored component ids."
274
251
  },
275
- "name": "Promise",
276
- "typeArgs": [
252
+ "signature": "(method) CheckoutMain.restoreMissingComponents(checkoutProps: CheckoutProps): Promise<ComponentID[] | undefined>",
253
+ "name": "restoreMissingComponents",
254
+ "params": [
277
255
  {
278
- "__schema": "TypeUnionSchema",
256
+ "__schema": "ParameterSchema",
279
257
  "location": {
280
258
  "filePath": "checkout.main.runtime.ts",
281
259
  "line": 203,
282
- "character": 73
260
+ "character": 34
283
261
  },
284
- "types": [
285
- {
286
- "__schema": "TypeArraySchema",
287
- "location": {
288
- "filePath": "checkout.main.runtime.ts",
289
- "line": 203,
290
- "character": 73
291
- },
292
- "type": {
293
- "__schema": "TypeRefSchema",
262
+ "name": "checkoutProps",
263
+ "type": {
264
+ "__schema": "TypeRefSchema",
265
+ "location": {
266
+ "filePath": "checkout.main.runtime.ts",
267
+ "line": 203,
268
+ "character": 49
269
+ },
270
+ "name": "CheckoutProps"
271
+ },
272
+ "isOptional": false,
273
+ "isSpread": false
274
+ }
275
+ ],
276
+ "returnType": {
277
+ "__schema": "TypeRefSchema",
278
+ "location": {
279
+ "filePath": "checkout.main.runtime.ts",
280
+ "line": 203,
281
+ "character": 65
282
+ },
283
+ "name": "Promise",
284
+ "typeArgs": [
285
+ {
286
+ "__schema": "TypeUnionSchema",
287
+ "location": {
288
+ "filePath": "checkout.main.runtime.ts",
289
+ "line": 203,
290
+ "character": 73
291
+ },
292
+ "types": [
293
+ {
294
+ "__schema": "TypeArraySchema",
294
295
  "location": {
295
296
  "filePath": "checkout.main.runtime.ts",
296
297
  "line": 203,
297
298
  "character": 73
298
299
  },
299
- "name": "ComponentID",
300
- "componentId": {
301
- "scope": "teambit.component",
302
- "name": "component-id",
303
- "version": "1.2.0"
300
+ "type": {
301
+ "__schema": "TypeRefSchema",
302
+ "location": {
303
+ "filePath": "checkout.main.runtime.ts",
304
+ "line": 203,
305
+ "character": 73
306
+ },
307
+ "name": "ComponentID",
308
+ "componentId": {
309
+ "scope": "teambit.component",
310
+ "name": "component-id",
311
+ "version": "1.2.0"
312
+ }
304
313
  }
305
- }
306
- },
307
- {
308
- "__schema": "KeywordTypeSchema",
309
- "location": {
310
- "filePath": "checkout.main.runtime.ts",
311
- "line": 203,
312
- "character": 89
313
314
  },
314
- "name": "undefined"
315
- }
316
- ]
317
- }
315
+ {
316
+ "__schema": "KeywordTypeSchema",
317
+ "location": {
318
+ "filePath": "checkout.main.runtime.ts",
319
+ "line": 203,
320
+ "character": 89
321
+ },
322
+ "name": "undefined"
323
+ }
324
+ ]
325
+ }
326
+ ]
327
+ },
328
+ "modifiers": [
329
+ "async"
318
330
  ]
319
331
  },
320
- "modifiers": [
321
- "async"
322
- ]
323
- },
324
- {
325
- "__schema": "FunctionLikeSchema",
326
- "location": {
327
- "filePath": "checkout.main.runtime.ts",
328
- "line": 230,
329
- "character": 3
330
- },
331
- "signature": "(method) CheckoutMain.checkoutByCLIValues(componentPattern: string, checkoutProps: CheckoutProps): Promise<ApplyVersionResults>",
332
- "name": "checkoutByCLIValues",
333
- "params": [
334
- {
335
- "__schema": "ParameterSchema",
336
- "location": {
337
- "filePath": "checkout.main.runtime.ts",
338
- "line": 230,
339
- "character": 29
340
- },
341
- "name": "componentPattern",
342
- "type": {
343
- "__schema": "KeywordTypeSchema",
344
- "location": {
345
- "filePath": "checkout.main.runtime.ts",
346
- "line": 230,
347
- "character": 47
348
- },
349
- "name": "string"
350
- },
351
- "isOptional": false,
352
- "isSpread": false
332
+ {
333
+ "__schema": "FunctionLikeSchema",
334
+ "location": {
335
+ "filePath": "checkout.main.runtime.ts",
336
+ "line": 230,
337
+ "character": 3
353
338
  },
354
- {
355
- "__schema": "ParameterSchema",
356
- "location": {
357
- "filePath": "checkout.main.runtime.ts",
358
- "line": 230,
359
- "character": 55
360
- },
361
- "name": "checkoutProps",
362
- "type": {
363
- "__schema": "TypeRefSchema",
339
+ "signature": "(method) CheckoutMain.checkoutByCLIValues(componentPattern: string, checkoutProps: CheckoutProps): Promise<ApplyVersionResults>",
340
+ "name": "checkoutByCLIValues",
341
+ "params": [
342
+ {
343
+ "__schema": "ParameterSchema",
364
344
  "location": {
365
345
  "filePath": "checkout.main.runtime.ts",
366
346
  "line": 230,
367
- "character": 70
347
+ "character": 29
348
+ },
349
+ "name": "componentPattern",
350
+ "type": {
351
+ "__schema": "KeywordTypeSchema",
352
+ "location": {
353
+ "filePath": "checkout.main.runtime.ts",
354
+ "line": 230,
355
+ "character": 47
356
+ },
357
+ "name": "string"
368
358
  },
369
- "name": "CheckoutProps"
359
+ "isOptional": false,
360
+ "isSpread": false
370
361
  },
371
- "isOptional": false,
372
- "isSpread": false
373
- }
374
- ],
375
- "returnType": {
376
- "__schema": "TypeRefSchema",
377
- "location": {
378
- "filePath": "checkout.main.runtime.ts",
379
- "line": 230,
380
- "character": 86
381
- },
382
- "name": "Promise",
383
- "typeArgs": [
384
362
  {
385
- "__schema": "TypeRefSchema",
363
+ "__schema": "ParameterSchema",
386
364
  "location": {
387
365
  "filePath": "checkout.main.runtime.ts",
388
366
  "line": 230,
389
- "character": 94
367
+ "character": 55
390
368
  },
391
- "name": "ApplyVersionResults",
392
- "componentId": {
393
- "scope": "teambit.component",
394
- "name": "merging"
395
- }
369
+ "name": "checkoutProps",
370
+ "type": {
371
+ "__schema": "TypeRefSchema",
372
+ "location": {
373
+ "filePath": "checkout.main.runtime.ts",
374
+ "line": 230,
375
+ "character": 70
376
+ },
377
+ "name": "CheckoutProps"
378
+ },
379
+ "isOptional": false,
380
+ "isSpread": false
396
381
  }
382
+ ],
383
+ "returnType": {
384
+ "__schema": "TypeRefSchema",
385
+ "location": {
386
+ "filePath": "checkout.main.runtime.ts",
387
+ "line": 230,
388
+ "character": 86
389
+ },
390
+ "name": "Promise",
391
+ "typeArgs": [
392
+ {
393
+ "__schema": "TypeRefSchema",
394
+ "location": {
395
+ "filePath": "checkout.main.runtime.ts",
396
+ "line": 230,
397
+ "character": 94
398
+ },
399
+ "name": "ApplyVersionResults",
400
+ "componentId": {
401
+ "scope": "teambit.component",
402
+ "name": "merging"
403
+ }
404
+ }
405
+ ]
406
+ },
407
+ "modifiers": [
408
+ "async"
397
409
  ]
398
410
  },
399
- "modifiers": [
400
- "async"
401
- ]
402
- },
403
- {
404
- "__schema": "VariableLikeSchema",
405
- "location": {
406
- "filePath": "checkout.main.runtime.ts",
407
- "line": 511,
408
- "character": 3
409
- },
410
- "signature": "(property) CheckoutMain.slots: never[]",
411
- "name": "slots",
412
- "type": {
413
- "__schema": "InferenceTypeSchema",
411
+ {
412
+ "__schema": "VariableLikeSchema",
414
413
  "location": {
415
414
  "filePath": "checkout.main.runtime.ts",
416
415
  "line": 511,
417
416
  "character": 3
418
417
  },
419
- "type": "never[]"
420
- },
421
- "isOptional": true,
422
- "defaultValue": "[]"
423
- },
424
- {
425
- "__schema": "VariableLikeSchema",
426
- "location": {
427
- "filePath": "checkout.main.runtime.ts",
428
- "line": 512,
429
- "character": 3
418
+ "signature": "(property) CheckoutMain.slots: never[]",
419
+ "name": "slots",
420
+ "type": {
421
+ "__schema": "InferenceTypeSchema",
422
+ "location": {
423
+ "filePath": "checkout.main.runtime.ts",
424
+ "line": 511,
425
+ "character": 3
426
+ },
427
+ "type": "never[]"
428
+ },
429
+ "isOptional": true,
430
+ "defaultValue": "[]"
430
431
  },
431
- "signature": "(property) CheckoutMain.dependencies: Aspect[]",
432
- "name": "dependencies",
433
- "type": {
434
- "__schema": "InferenceTypeSchema",
432
+ {
433
+ "__schema": "VariableLikeSchema",
435
434
  "location": {
436
435
  "filePath": "checkout.main.runtime.ts",
437
436
  "line": 512,
438
437
  "character": 3
439
438
  },
440
- "type": "Aspect[]"
441
- },
442
- "isOptional": true,
443
- "defaultValue": "[CLIAspect, WorkspaceAspect, LoggerAspect, ComponentWriterAspect, ImporterAspect, RemoveAspect]"
444
- },
445
- {
446
- "__schema": "VariableLikeSchema",
447
- "location": {
448
- "filePath": "checkout.main.runtime.ts",
449
- "line": 514,
450
- "character": 3
451
- },
452
- "signature": "(property) CheckoutMain.runtime: RuntimeDefinition",
453
- "name": "runtime",
454
- "type": {
455
- "__schema": "InferenceTypeSchema",
456
- "location": {
457
- "filePath": "checkout.main.runtime.ts",
458
- "line": 514,
459
- "character": 3
439
+ "signature": "(property) CheckoutMain.dependencies: Aspect[]",
440
+ "name": "dependencies",
441
+ "type": {
442
+ "__schema": "InferenceTypeSchema",
443
+ "location": {
444
+ "filePath": "checkout.main.runtime.ts",
445
+ "line": 512,
446
+ "character": 3
447
+ },
448
+ "type": "Aspect[]"
460
449
  },
461
- "type": "RuntimeDefinition"
462
- },
463
- "isOptional": true,
464
- "defaultValue": "MainRuntime"
465
- },
466
- {
467
- "__schema": "FunctionLikeSchema",
468
- "location": {
469
- "filePath": "checkout.main.runtime.ts",
470
- "line": 516,
471
- "character": 3
450
+ "isOptional": true,
451
+ "defaultValue": "[CLIAspect, WorkspaceAspect, LoggerAspect, ComponentWriterAspect, ImporterAspect, RemoveAspect]"
472
452
  },
473
- "signature": "(method) CheckoutMain.provider([cli, workspace, loggerMain, compWriter, importer, remove]: [\n CLIMain,\n Workspace,\n LoggerMain,\n ComponentWriterMain,\n ImporterMain,\n RemoveMain\n]): Promise<CheckoutMain>",
474
- "name": "provider",
475
- "params": [
476
- {
477
- "__schema": "ParameterSchema",
453
+ {
454
+ "__schema": "VariableLikeSchema",
455
+ "location": {
456
+ "filePath": "checkout.main.runtime.ts",
457
+ "line": 514,
458
+ "character": 3
459
+ },
460
+ "signature": "(property) CheckoutMain.runtime: RuntimeDefinition",
461
+ "name": "runtime",
462
+ "type": {
463
+ "__schema": "InferenceTypeSchema",
478
464
  "location": {
479
465
  "filePath": "checkout.main.runtime.ts",
480
- "line": 516,
481
- "character": 25
466
+ "line": 514,
467
+ "character": 3
482
468
  },
483
- "name": "[ cli, workspace, loggerMain, compWriter, importer, remove ]",
484
- "type": {
485
- "__schema": "TupleTypeSchema",
469
+ "type": "RuntimeDefinition"
470
+ },
471
+ "isOptional": true,
472
+ "defaultValue": "MainRuntime"
473
+ },
474
+ {
475
+ "__schema": "FunctionLikeSchema",
476
+ "location": {
477
+ "filePath": "checkout.main.runtime.ts",
478
+ "line": 516,
479
+ "character": 3
480
+ },
481
+ "signature": "(method) CheckoutMain.provider([cli, workspace, loggerMain, compWriter, importer, remove]: [\n CLIMain,\n Workspace,\n LoggerMain,\n ComponentWriterMain,\n ImporterMain,\n RemoveMain\n]): Promise<CheckoutMain>",
482
+ "name": "provider",
483
+ "params": [
484
+ {
485
+ "__schema": "ParameterSchema",
486
486
  "location": {
487
487
  "filePath": "checkout.main.runtime.ts",
488
488
  "line": 516,
489
- "character": 85
489
+ "character": 25
490
490
  },
491
- "elements": [
492
- {
493
- "__schema": "TypeRefSchema",
494
- "location": {
495
- "filePath": "checkout.main.runtime.ts",
496
- "line": 517,
497
- "character": 5
498
- },
499
- "name": "CLIMain",
500
- "componentId": {
501
- "scope": "teambit.harmony",
502
- "name": "cli"
503
- }
491
+ "name": "[ cli, workspace, loggerMain, compWriter, importer, remove ]",
492
+ "type": {
493
+ "__schema": "TupleTypeSchema",
494
+ "location": {
495
+ "filePath": "checkout.main.runtime.ts",
496
+ "line": 516,
497
+ "character": 85
504
498
  },
505
- {
506
- "__schema": "TypeRefSchema",
507
- "location": {
508
- "filePath": "checkout.main.runtime.ts",
509
- "line": 518,
510
- "character": 5
499
+ "elements": [
500
+ {
501
+ "__schema": "TypeRefSchema",
502
+ "location": {
503
+ "filePath": "checkout.main.runtime.ts",
504
+ "line": 517,
505
+ "character": 5
506
+ },
507
+ "name": "CLIMain",
508
+ "componentId": {
509
+ "scope": "teambit.harmony",
510
+ "name": "cli"
511
+ }
511
512
  },
512
- "name": "Workspace",
513
- "componentId": {
514
- "scope": "teambit.workspace",
515
- "name": "workspace"
516
- }
517
- },
518
- {
519
- "__schema": "TypeRefSchema",
520
- "location": {
521
- "filePath": "checkout.main.runtime.ts",
522
- "line": 519,
523
- "character": 5
513
+ {
514
+ "__schema": "TypeRefSchema",
515
+ "location": {
516
+ "filePath": "checkout.main.runtime.ts",
517
+ "line": 518,
518
+ "character": 5
519
+ },
520
+ "name": "Workspace",
521
+ "componentId": {
522
+ "scope": "teambit.workspace",
523
+ "name": "workspace"
524
+ }
524
525
  },
525
- "name": "LoggerMain",
526
- "componentId": {
527
- "scope": "teambit.harmony",
528
- "name": "logger"
529
- }
530
- },
531
- {
532
- "__schema": "TypeRefSchema",
533
- "location": {
534
- "filePath": "checkout.main.runtime.ts",
535
- "line": 520,
536
- "character": 5
526
+ {
527
+ "__schema": "TypeRefSchema",
528
+ "location": {
529
+ "filePath": "checkout.main.runtime.ts",
530
+ "line": 519,
531
+ "character": 5
532
+ },
533
+ "name": "LoggerMain",
534
+ "componentId": {
535
+ "scope": "teambit.harmony",
536
+ "name": "logger"
537
+ }
537
538
  },
538
- "name": "ComponentWriterMain",
539
- "componentId": {
540
- "scope": "teambit.component",
541
- "name": "component-writer"
542
- }
543
- },
544
- {
545
- "__schema": "TypeRefSchema",
546
- "location": {
547
- "filePath": "checkout.main.runtime.ts",
548
- "line": 521,
549
- "character": 5
539
+ {
540
+ "__schema": "TypeRefSchema",
541
+ "location": {
542
+ "filePath": "checkout.main.runtime.ts",
543
+ "line": 520,
544
+ "character": 5
545
+ },
546
+ "name": "ComponentWriterMain",
547
+ "componentId": {
548
+ "scope": "teambit.component",
549
+ "name": "component-writer"
550
+ }
550
551
  },
551
- "name": "ImporterMain",
552
- "componentId": {
553
- "scope": "teambit.scope",
554
- "name": "importer"
555
- }
556
- },
557
- {
558
- "__schema": "TypeRefSchema",
559
- "location": {
560
- "filePath": "checkout.main.runtime.ts",
561
- "line": 522,
562
- "character": 5
552
+ {
553
+ "__schema": "TypeRefSchema",
554
+ "location": {
555
+ "filePath": "checkout.main.runtime.ts",
556
+ "line": 521,
557
+ "character": 5
558
+ },
559
+ "name": "ImporterMain",
560
+ "componentId": {
561
+ "scope": "teambit.scope",
562
+ "name": "importer"
563
+ }
563
564
  },
564
- "name": "RemoveMain",
565
- "componentId": {
566
- "scope": "teambit.component",
567
- "name": "remove"
565
+ {
566
+ "__schema": "TypeRefSchema",
567
+ "location": {
568
+ "filePath": "checkout.main.runtime.ts",
569
+ "line": 522,
570
+ "character": 5
571
+ },
572
+ "name": "RemoveMain",
573
+ "componentId": {
574
+ "scope": "teambit.component",
575
+ "name": "remove"
576
+ }
568
577
  }
569
- }
570
- ]
578
+ ]
579
+ },
580
+ "isOptional": false,
581
+ "isSpread": false
582
+ }
583
+ ],
584
+ "returnType": {
585
+ "__schema": "InferenceTypeSchema",
586
+ "location": {
587
+ "filePath": "checkout.main.runtime.ts",
588
+ "line": 516,
589
+ "character": 3
571
590
  },
572
- "isOptional": false,
573
- "isSpread": false
574
- }
575
- ],
576
- "returnType": {
577
- "__schema": "InferenceTypeSchema",
578
- "location": {
579
- "filePath": "checkout.main.runtime.ts",
580
- "line": 516,
581
- "character": 3
591
+ "type": "Promise<CheckoutMain>"
582
592
  },
583
- "type": "Promise<CheckoutMain>"
584
- },
585
- "modifiers": [
586
- "static",
587
- "async"
588
- ]
589
- }
590
- ],
591
- "extendsNodes": [],
592
- "implementNodes": []
593
+ "modifiers": [
594
+ "static",
595
+ "async"
596
+ ]
597
+ }
598
+ ],
599
+ "extendsNodes": [],
600
+ "implementNodes": []
601
+ }
593
602
  },
594
603
  {
595
- "__schema": "TypeSchema",
604
+ "__schema": "ExportSchema",
596
605
  "location": {
597
- "filePath": "checkout.main.runtime.ts",
598
- "line": 27,
599
- "character": 1
606
+ "filePath": "index.ts",
607
+ "line": 3,
608
+ "character": 29
600
609
  },
601
- "signature": "type CheckoutProps = {\n version?: string | undefined;\n ids?: ComponentID[] | undefined;\n head?: boolean | undefined;\n latest?: boolean | undefined;\n main?: boolean | undefined;\n promptMergeOptions?: boolean | undefined;\n ... 16 more ...;\n includeLocallyDeleted?: boolean | undefined;\n}",
602
610
  "name": "CheckoutProps",
603
- "type": {
604
- "__schema": "TypeLiteralSchema",
611
+ "exportNode": {
612
+ "__schema": "TypeSchema",
605
613
  "location": {
606
614
  "filePath": "checkout.main.runtime.ts",
607
615
  "line": 27,
608
- "character": 29
616
+ "character": 1
609
617
  },
610
- "members": [
611
- {
612
- "__schema": "VariableLikeSchema",
613
- "location": {
614
- "filePath": "checkout.main.runtime.ts",
615
- "line": 28,
616
- "character": 3
617
- },
618
- "signature": "(property) version?: string | undefined",
619
- "name": "version",
620
- "type": {
621
- "__schema": "KeywordTypeSchema",
618
+ "signature": "type CheckoutProps = {\n version?: string | undefined;\n ids?: ComponentID[] | undefined;\n head?: boolean | undefined;\n latest?: boolean | undefined;\n main?: boolean | undefined;\n promptMergeOptions?: boolean | undefined;\n ... 16 more ...;\n includeLocallyDeleted?: boolean | undefined;\n}",
619
+ "name": "CheckoutProps",
620
+ "type": {
621
+ "__schema": "TypeLiteralSchema",
622
+ "location": {
623
+ "filePath": "checkout.main.runtime.ts",
624
+ "line": 27,
625
+ "character": 29
626
+ },
627
+ "members": [
628
+ {
629
+ "__schema": "VariableLikeSchema",
622
630
  "location": {
623
631
  "filePath": "checkout.main.runtime.ts",
624
632
  "line": 28,
625
- "character": 13
633
+ "character": 3
626
634
  },
627
- "name": "string"
628
- },
629
- "isOptional": true
630
- },
631
- {
632
- "__schema": "VariableLikeSchema",
633
- "location": {
634
- "filePath": "checkout.main.runtime.ts",
635
- "line": 29,
636
- "character": 3
635
+ "signature": "(property) version?: string | undefined",
636
+ "name": "version",
637
+ "type": {
638
+ "__schema": "KeywordTypeSchema",
639
+ "location": {
640
+ "filePath": "checkout.main.runtime.ts",
641
+ "line": 28,
642
+ "character": 13
643
+ },
644
+ "name": "string"
645
+ },
646
+ "isOptional": true
637
647
  },
638
- "signature": "(property) ids?: ComponentID[] | undefined",
639
- "name": "ids",
640
- "type": {
641
- "__schema": "TypeArraySchema",
648
+ {
649
+ "__schema": "VariableLikeSchema",
642
650
  "location": {
643
651
  "filePath": "checkout.main.runtime.ts",
644
652
  "line": 29,
645
- "character": 9
653
+ "character": 3
646
654
  },
655
+ "signature": "(property) ids?: ComponentID[] | undefined",
656
+ "name": "ids",
647
657
  "type": {
648
- "__schema": "TypeRefSchema",
658
+ "__schema": "TypeArraySchema",
649
659
  "location": {
650
660
  "filePath": "checkout.main.runtime.ts",
651
661
  "line": 29,
652
662
  "character": 9
653
663
  },
654
- "name": "ComponentID",
655
- "componentId": {
656
- "scope": "teambit.component",
657
- "name": "component-id",
658
- "version": "1.2.0"
664
+ "type": {
665
+ "__schema": "TypeRefSchema",
666
+ "location": {
667
+ "filePath": "checkout.main.runtime.ts",
668
+ "line": 29,
669
+ "character": 9
670
+ },
671
+ "name": "ComponentID",
672
+ "componentId": {
673
+ "scope": "teambit.component",
674
+ "name": "component-id",
675
+ "version": "1.2.0"
676
+ }
659
677
  }
660
- }
661
- },
662
- "isOptional": true
663
- },
664
- {
665
- "__schema": "VariableLikeSchema",
666
- "location": {
667
- "filePath": "checkout.main.runtime.ts",
668
- "line": 30,
669
- "character": 3
678
+ },
679
+ "isOptional": true
670
680
  },
671
- "signature": "(property) head?: boolean | undefined",
672
- "name": "head",
673
- "type": {
674
- "__schema": "KeywordTypeSchema",
681
+ {
682
+ "__schema": "VariableLikeSchema",
675
683
  "location": {
676
684
  "filePath": "checkout.main.runtime.ts",
677
685
  "line": 30,
678
- "character": 10
686
+ "character": 3
679
687
  },
680
- "name": "boolean"
681
- },
682
- "isOptional": true
683
- },
684
- {
685
- "__schema": "VariableLikeSchema",
686
- "location": {
687
- "filePath": "checkout.main.runtime.ts",
688
- "line": 31,
689
- "character": 3
688
+ "signature": "(property) head?: boolean | undefined",
689
+ "name": "head",
690
+ "type": {
691
+ "__schema": "KeywordTypeSchema",
692
+ "location": {
693
+ "filePath": "checkout.main.runtime.ts",
694
+ "line": 30,
695
+ "character": 10
696
+ },
697
+ "name": "boolean"
698
+ },
699
+ "isOptional": true
690
700
  },
691
- "signature": "(property) latest?: boolean | undefined",
692
- "name": "latest",
693
- "type": {
694
- "__schema": "KeywordTypeSchema",
701
+ {
702
+ "__schema": "VariableLikeSchema",
695
703
  "location": {
696
704
  "filePath": "checkout.main.runtime.ts",
697
705
  "line": 31,
698
- "character": 12
706
+ "character": 3
699
707
  },
700
- "name": "boolean"
701
- },
702
- "isOptional": true
703
- },
704
- {
705
- "__schema": "VariableLikeSchema",
706
- "location": {
707
- "filePath": "checkout.main.runtime.ts",
708
- "line": 32,
709
- "character": 3
708
+ "signature": "(property) latest?: boolean | undefined",
709
+ "name": "latest",
710
+ "type": {
711
+ "__schema": "KeywordTypeSchema",
712
+ "location": {
713
+ "filePath": "checkout.main.runtime.ts",
714
+ "line": 31,
715
+ "character": 12
716
+ },
717
+ "name": "boolean"
718
+ },
719
+ "isOptional": true
710
720
  },
711
- "signature": "(property) main?: boolean | undefined",
712
- "name": "main",
713
- "type": {
714
- "__schema": "KeywordTypeSchema",
721
+ {
722
+ "__schema": "VariableLikeSchema",
715
723
  "location": {
716
724
  "filePath": "checkout.main.runtime.ts",
717
725
  "line": 32,
718
- "character": 10
726
+ "character": 3
719
727
  },
720
- "name": "boolean"
721
- },
722
- "isOptional": true
723
- },
724
- {
725
- "__schema": "VariableLikeSchema",
726
- "location": {
727
- "filePath": "checkout.main.runtime.ts",
728
- "line": 33,
729
- "character": 3
728
+ "signature": "(property) main?: boolean | undefined",
729
+ "name": "main",
730
+ "type": {
731
+ "__schema": "KeywordTypeSchema",
732
+ "location": {
733
+ "filePath": "checkout.main.runtime.ts",
734
+ "line": 32,
735
+ "character": 10
736
+ },
737
+ "name": "boolean"
738
+ },
739
+ "isOptional": true
730
740
  },
731
- "signature": "(property) promptMergeOptions?: boolean | undefined",
732
- "name": "promptMergeOptions",
733
- "type": {
734
- "__schema": "KeywordTypeSchema",
741
+ {
742
+ "__schema": "VariableLikeSchema",
735
743
  "location": {
736
744
  "filePath": "checkout.main.runtime.ts",
737
745
  "line": 33,
738
- "character": 24
746
+ "character": 3
739
747
  },
740
- "name": "boolean"
741
- },
742
- "isOptional": true
743
- },
744
- {
745
- "__schema": "VariableLikeSchema",
746
- "location": {
747
- "filePath": "checkout.main.runtime.ts",
748
- "line": 34,
749
- "character": 3
748
+ "signature": "(property) promptMergeOptions?: boolean | undefined",
749
+ "name": "promptMergeOptions",
750
+ "type": {
751
+ "__schema": "KeywordTypeSchema",
752
+ "location": {
753
+ "filePath": "checkout.main.runtime.ts",
754
+ "line": 33,
755
+ "character": 24
756
+ },
757
+ "name": "boolean"
758
+ },
759
+ "isOptional": true
750
760
  },
751
- "signature": "(property) mergeStrategy?: \"theirs\" | \"ours\" | \"manual\" | null | undefined",
752
- "name": "mergeStrategy",
753
- "type": {
754
- "__schema": "TypeUnionSchema",
761
+ {
762
+ "__schema": "VariableLikeSchema",
755
763
  "location": {
756
764
  "filePath": "checkout.main.runtime.ts",
757
765
  "line": 34,
758
- "character": 19
766
+ "character": 3
759
767
  },
760
- "types": [
761
- {
762
- "__schema": "TypeRefSchema",
763
- "location": {
764
- "filePath": "checkout.main.runtime.ts",
765
- "line": 34,
766
- "character": 19
767
- },
768
- "name": "MergeStrategy",
769
- "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version"
768
+ "signature": "(property) mergeStrategy?: \"theirs\" | \"ours\" | \"manual\" | null | undefined",
769
+ "name": "mergeStrategy",
770
+ "type": {
771
+ "__schema": "TypeUnionSchema",
772
+ "location": {
773
+ "filePath": "checkout.main.runtime.ts",
774
+ "line": 34,
775
+ "character": 19
770
776
  },
771
- {
772
- "__schema": "LiteralTypeSchema",
773
- "location": {
774
- "filePath": "checkout.main.runtime.ts",
775
- "line": 34,
776
- "character": 35
777
+ "types": [
778
+ {
779
+ "__schema": "TypeRefSchema",
780
+ "location": {
781
+ "filePath": "checkout.main.runtime.ts",
782
+ "line": 34,
783
+ "character": 19
784
+ },
785
+ "name": "MergeStrategy",
786
+ "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version"
777
787
  },
778
- "name": "null"
779
- }
780
- ]
781
- },
782
- "isOptional": true
783
- },
784
- {
785
- "__schema": "VariableLikeSchema",
786
- "location": {
787
- "filePath": "checkout.main.runtime.ts",
788
- "line": 35,
789
- "character": 3
788
+ {
789
+ "__schema": "LiteralTypeSchema",
790
+ "location": {
791
+ "filePath": "checkout.main.runtime.ts",
792
+ "line": 34,
793
+ "character": 35
794
+ },
795
+ "name": "null"
796
+ }
797
+ ]
798
+ },
799
+ "isOptional": true
790
800
  },
791
- "signature": "(property) forceOurs?: boolean | undefined",
792
- "name": "forceOurs",
793
- "type": {
794
- "__schema": "KeywordTypeSchema",
801
+ {
802
+ "__schema": "VariableLikeSchema",
795
803
  "location": {
796
804
  "filePath": "checkout.main.runtime.ts",
797
805
  "line": 35,
798
- "character": 15
806
+ "character": 3
799
807
  },
800
- "name": "boolean"
801
- },
802
- "isOptional": true
803
- },
804
- {
805
- "__schema": "VariableLikeSchema",
806
- "location": {
807
- "filePath": "checkout.main.runtime.ts",
808
- "line": 36,
809
- "character": 3
808
+ "signature": "(property) forceOurs?: boolean | undefined",
809
+ "name": "forceOurs",
810
+ "type": {
811
+ "__schema": "KeywordTypeSchema",
812
+ "location": {
813
+ "filePath": "checkout.main.runtime.ts",
814
+ "line": 35,
815
+ "character": 15
816
+ },
817
+ "name": "boolean"
818
+ },
819
+ "isOptional": true
810
820
  },
811
- "signature": "(property) forceTheirs?: boolean | undefined",
812
- "name": "forceTheirs",
813
- "type": {
814
- "__schema": "KeywordTypeSchema",
821
+ {
822
+ "__schema": "VariableLikeSchema",
815
823
  "location": {
816
824
  "filePath": "checkout.main.runtime.ts",
817
825
  "line": 36,
818
- "character": 17
826
+ "character": 3
819
827
  },
820
- "name": "boolean"
821
- },
822
- "isOptional": true
823
- },
824
- {
825
- "__schema": "VariableLikeSchema",
826
- "location": {
827
- "filePath": "checkout.main.runtime.ts",
828
- "line": 37,
829
- "character": 3
828
+ "signature": "(property) forceTheirs?: boolean | undefined",
829
+ "name": "forceTheirs",
830
+ "type": {
831
+ "__schema": "KeywordTypeSchema",
832
+ "location": {
833
+ "filePath": "checkout.main.runtime.ts",
834
+ "line": 36,
835
+ "character": 17
836
+ },
837
+ "name": "boolean"
838
+ },
839
+ "isOptional": true
830
840
  },
831
- "signature": "(property) verbose?: boolean | undefined",
832
- "name": "verbose",
833
- "type": {
834
- "__schema": "KeywordTypeSchema",
841
+ {
842
+ "__schema": "VariableLikeSchema",
835
843
  "location": {
836
844
  "filePath": "checkout.main.runtime.ts",
837
845
  "line": 37,
838
- "character": 13
846
+ "character": 3
847
+ },
848
+ "signature": "(property) verbose?: boolean | undefined",
849
+ "name": "verbose",
850
+ "type": {
851
+ "__schema": "KeywordTypeSchema",
852
+ "location": {
853
+ "filePath": "checkout.main.runtime.ts",
854
+ "line": 37,
855
+ "character": 13
856
+ },
857
+ "name": "boolean"
839
858
  },
840
- "name": "boolean"
859
+ "isOptional": true
841
860
  },
842
- "isOptional": true
843
- },
844
- {
845
- "__schema": "VariableLikeSchema",
846
- "location": {
847
- "filePath": "checkout.main.runtime.ts",
848
- "line": 38,
849
- "character": 3
850
- },
851
- "signature": "(property) skipNpmInstall?: boolean | undefined",
852
- "name": "skipNpmInstall",
853
- "type": {
854
- "__schema": "KeywordTypeSchema",
861
+ {
862
+ "__schema": "VariableLikeSchema",
855
863
  "location": {
856
864
  "filePath": "checkout.main.runtime.ts",
857
865
  "line": 38,
858
- "character": 20
866
+ "character": 3
859
867
  },
860
- "name": "boolean"
861
- },
862
- "isOptional": true
863
- },
864
- {
865
- "__schema": "VariableLikeSchema",
866
- "location": {
867
- "filePath": "checkout.main.runtime.ts",
868
- "line": 39,
869
- "character": 3
868
+ "signature": "(property) skipNpmInstall?: boolean | undefined",
869
+ "name": "skipNpmInstall",
870
+ "type": {
871
+ "__schema": "KeywordTypeSchema",
872
+ "location": {
873
+ "filePath": "checkout.main.runtime.ts",
874
+ "line": 38,
875
+ "character": 20
876
+ },
877
+ "name": "boolean"
878
+ },
879
+ "isOptional": true
870
880
  },
871
- "signature": "(property) reset?: boolean | undefined",
872
- "name": "reset",
873
- "type": {
874
- "__schema": "KeywordTypeSchema",
881
+ {
882
+ "__schema": "VariableLikeSchema",
875
883
  "location": {
876
884
  "filePath": "checkout.main.runtime.ts",
877
885
  "line": 39,
878
- "character": 11
886
+ "character": 3
879
887
  },
880
- "name": "boolean"
881
- },
882
- "isOptional": true
883
- },
884
- {
885
- "__schema": "VariableLikeSchema",
886
- "location": {
887
- "filePath": "checkout.main.runtime.ts",
888
- "line": 40,
889
- "character": 3
888
+ "signature": "(property) reset?: boolean | undefined",
889
+ "name": "reset",
890
+ "type": {
891
+ "__schema": "KeywordTypeSchema",
892
+ "location": {
893
+ "filePath": "checkout.main.runtime.ts",
894
+ "line": 39,
895
+ "character": 11
896
+ },
897
+ "name": "boolean"
898
+ },
899
+ "isOptional": true
890
900
  },
891
- "signature": "(property) revert?: boolean | undefined",
892
- "name": "revert",
893
- "type": {
894
- "__schema": "KeywordTypeSchema",
901
+ {
902
+ "__schema": "VariableLikeSchema",
895
903
  "location": {
896
904
  "filePath": "checkout.main.runtime.ts",
897
905
  "line": 40,
898
- "character": 12
906
+ "character": 3
899
907
  },
900
- "name": "boolean"
901
- },
902
- "isOptional": true
903
- },
904
- {
905
- "__schema": "VariableLikeSchema",
906
- "location": {
907
- "filePath": "checkout.main.runtime.ts",
908
- "line": 41,
909
- "character": 3
908
+ "signature": "(property) revert?: boolean | undefined",
909
+ "name": "revert",
910
+ "type": {
911
+ "__schema": "KeywordTypeSchema",
912
+ "location": {
913
+ "filePath": "checkout.main.runtime.ts",
914
+ "line": 40,
915
+ "character": 12
916
+ },
917
+ "name": "boolean"
918
+ },
919
+ "isOptional": true
910
920
  },
911
- "signature": "(property) all?: boolean | undefined",
912
- "name": "all",
913
- "type": {
914
- "__schema": "KeywordTypeSchema",
921
+ {
922
+ "__schema": "VariableLikeSchema",
915
923
  "location": {
916
924
  "filePath": "checkout.main.runtime.ts",
917
925
  "line": 41,
918
- "character": 9
926
+ "character": 3
919
927
  },
920
- "name": "boolean"
921
- },
922
- "isOptional": true
923
- },
924
- {
925
- "__schema": "VariableLikeSchema",
926
- "location": {
927
- "filePath": "checkout.main.runtime.ts",
928
- "line": 42,
929
- "character": 3
928
+ "signature": "(property) all?: boolean | undefined",
929
+ "name": "all",
930
+ "type": {
931
+ "__schema": "KeywordTypeSchema",
932
+ "location": {
933
+ "filePath": "checkout.main.runtime.ts",
934
+ "line": 41,
935
+ "character": 9
936
+ },
937
+ "name": "boolean"
938
+ },
939
+ "isOptional": true
930
940
  },
931
- "signature": "(property) isLane?: boolean | undefined",
932
- "name": "isLane",
933
- "type": {
934
- "__schema": "KeywordTypeSchema",
941
+ {
942
+ "__schema": "VariableLikeSchema",
935
943
  "location": {
936
944
  "filePath": "checkout.main.runtime.ts",
937
945
  "line": 42,
938
- "character": 12
946
+ "character": 3
939
947
  },
940
- "name": "boolean"
941
- },
942
- "isOptional": true
943
- },
944
- {
945
- "__schema": "VariableLikeSchema",
946
- "location": {
947
- "filePath": "checkout.main.runtime.ts",
948
- "line": 43,
949
- "character": 3
948
+ "signature": "(property) isLane?: boolean | undefined",
949
+ "name": "isLane",
950
+ "type": {
951
+ "__schema": "KeywordTypeSchema",
952
+ "location": {
953
+ "filePath": "checkout.main.runtime.ts",
954
+ "line": 42,
955
+ "character": 12
956
+ },
957
+ "name": "boolean"
958
+ },
959
+ "isOptional": true
950
960
  },
951
- "signature": "(property) lane?: Lane | undefined",
952
- "name": "lane",
953
- "type": {
954
- "__schema": "TypeRefSchema",
961
+ {
962
+ "__schema": "VariableLikeSchema",
955
963
  "location": {
956
964
  "filePath": "checkout.main.runtime.ts",
957
965
  "line": 43,
958
- "character": 10
966
+ "character": 3
959
967
  },
960
- "name": "Lane",
961
- "packageName": "@teambit/legacy/dist/scope/models"
962
- },
963
- "isOptional": true
964
- },
965
- {
966
- "__schema": "VariableLikeSchema",
967
- "location": {
968
- "filePath": "checkout.main.runtime.ts",
969
- "line": 44,
970
- "character": 3
968
+ "signature": "(property) lane?: Lane | undefined",
969
+ "name": "lane",
970
+ "type": {
971
+ "__schema": "TypeRefSchema",
972
+ "location": {
973
+ "filePath": "checkout.main.runtime.ts",
974
+ "line": 43,
975
+ "character": 10
976
+ },
977
+ "name": "Lane",
978
+ "packageName": "@teambit/legacy/dist/scope/models"
979
+ },
980
+ "isOptional": true
971
981
  },
972
- "signature": "(property) workspaceOnly?: boolean | undefined",
973
- "name": "workspaceOnly",
974
- "type": {
975
- "__schema": "KeywordTypeSchema",
982
+ {
983
+ "__schema": "VariableLikeSchema",
976
984
  "location": {
977
985
  "filePath": "checkout.main.runtime.ts",
978
986
  "line": 44,
979
- "character": 19
987
+ "character": 3
980
988
  },
981
- "name": "boolean"
982
- },
983
- "isOptional": true
984
- },
985
- {
986
- "__schema": "VariableLikeSchema",
987
- "location": {
988
- "filePath": "checkout.main.runtime.ts",
989
- "line": 45,
990
- "character": 3
989
+ "signature": "(property) workspaceOnly?: boolean | undefined",
990
+ "name": "workspaceOnly",
991
+ "type": {
992
+ "__schema": "KeywordTypeSchema",
993
+ "location": {
994
+ "filePath": "checkout.main.runtime.ts",
995
+ "line": 44,
996
+ "character": 19
997
+ },
998
+ "name": "boolean"
999
+ },
1000
+ "isOptional": true
991
1001
  },
992
- "signature": "(property) versionPerId?: ComponentID[] | undefined",
993
- "name": "versionPerId",
994
- "type": {
995
- "__schema": "TypeArraySchema",
1002
+ {
1003
+ "__schema": "VariableLikeSchema",
996
1004
  "location": {
997
1005
  "filePath": "checkout.main.runtime.ts",
998
1006
  "line": 45,
999
- "character": 18
1007
+ "character": 3
1000
1008
  },
1009
+ "signature": "(property) versionPerId?: ComponentID[] | undefined",
1010
+ "name": "versionPerId",
1001
1011
  "type": {
1002
- "__schema": "TypeRefSchema",
1012
+ "__schema": "TypeArraySchema",
1003
1013
  "location": {
1004
1014
  "filePath": "checkout.main.runtime.ts",
1005
1015
  "line": 45,
1006
1016
  "character": 18
1007
1017
  },
1008
- "name": "ComponentID",
1009
- "componentId": {
1010
- "scope": "teambit.component",
1011
- "name": "component-id",
1012
- "version": "1.2.0"
1018
+ "type": {
1019
+ "__schema": "TypeRefSchema",
1020
+ "location": {
1021
+ "filePath": "checkout.main.runtime.ts",
1022
+ "line": 45,
1023
+ "character": 18
1024
+ },
1025
+ "name": "ComponentID",
1026
+ "componentId": {
1027
+ "scope": "teambit.component",
1028
+ "name": "component-id",
1029
+ "version": "1.2.0"
1030
+ }
1013
1031
  }
1014
- }
1015
- },
1016
- "isOptional": true
1017
- },
1018
- {
1019
- "__schema": "VariableLikeSchema",
1020
- "location": {
1021
- "filePath": "checkout.main.runtime.ts",
1022
- "line": 46,
1023
- "character": 3
1032
+ },
1033
+ "isOptional": true
1024
1034
  },
1025
- "signature": "(property) skipUpdatingBitmap?: boolean | undefined",
1026
- "name": "skipUpdatingBitmap",
1027
- "type": {
1028
- "__schema": "KeywordTypeSchema",
1035
+ {
1036
+ "__schema": "VariableLikeSchema",
1029
1037
  "location": {
1030
1038
  "filePath": "checkout.main.runtime.ts",
1031
1039
  "line": 46,
1032
- "character": 24
1040
+ "character": 3
1033
1041
  },
1034
- "name": "boolean"
1035
- },
1036
- "isOptional": true
1037
- },
1038
- {
1039
- "__schema": "VariableLikeSchema",
1040
- "location": {
1041
- "filePath": "checkout.main.runtime.ts",
1042
- "line": 47,
1043
- "character": 3
1042
+ "signature": "(property) skipUpdatingBitmap?: boolean | undefined",
1043
+ "name": "skipUpdatingBitmap",
1044
+ "type": {
1045
+ "__schema": "KeywordTypeSchema",
1046
+ "location": {
1047
+ "filePath": "checkout.main.runtime.ts",
1048
+ "line": 46,
1049
+ "character": 24
1050
+ },
1051
+ "name": "boolean"
1052
+ },
1053
+ "isOptional": true
1044
1054
  },
1045
- "signature": "(property) loadStash?: boolean | undefined",
1046
- "name": "loadStash",
1047
- "type": {
1048
- "__schema": "KeywordTypeSchema",
1055
+ {
1056
+ "__schema": "VariableLikeSchema",
1049
1057
  "location": {
1050
1058
  "filePath": "checkout.main.runtime.ts",
1051
1059
  "line": 47,
1052
- "character": 15
1060
+ "character": 3
1061
+ },
1062
+ "signature": "(property) loadStash?: boolean | undefined",
1063
+ "name": "loadStash",
1064
+ "type": {
1065
+ "__schema": "KeywordTypeSchema",
1066
+ "location": {
1067
+ "filePath": "checkout.main.runtime.ts",
1068
+ "line": 47,
1069
+ "character": 15
1070
+ },
1071
+ "name": "boolean"
1053
1072
  },
1054
- "name": "boolean"
1073
+ "isOptional": true
1055
1074
  },
1056
- "isOptional": true
1057
- },
1058
- {
1059
- "__schema": "VariableLikeSchema",
1060
- "location": {
1061
- "filePath": "checkout.main.runtime.ts",
1062
- "line": 48,
1063
- "character": 3
1064
- },
1065
- "signature": "(property) restoreMissingComponents?: boolean | undefined",
1066
- "name": "restoreMissingComponents",
1067
- "type": {
1068
- "__schema": "KeywordTypeSchema",
1075
+ {
1076
+ "__schema": "VariableLikeSchema",
1069
1077
  "location": {
1070
1078
  "filePath": "checkout.main.runtime.ts",
1071
1079
  "line": 48,
1072
- "character": 30
1080
+ "character": 3
1073
1081
  },
1074
- "name": "boolean"
1075
- },
1076
- "isOptional": true
1077
- },
1078
- {
1079
- "__schema": "VariableLikeSchema",
1080
- "location": {
1081
- "filePath": "checkout.main.runtime.ts",
1082
- "line": 49,
1083
- "character": 3
1082
+ "signature": "(property) restoreMissingComponents?: boolean | undefined",
1083
+ "name": "restoreMissingComponents",
1084
+ "type": {
1085
+ "__schema": "KeywordTypeSchema",
1086
+ "location": {
1087
+ "filePath": "checkout.main.runtime.ts",
1088
+ "line": 48,
1089
+ "character": 30
1090
+ },
1091
+ "name": "boolean"
1092
+ },
1093
+ "isOptional": true
1084
1094
  },
1085
- "signature": "(property) allowAddingComponentsFromScope?: boolean | undefined",
1086
- "name": "allowAddingComponentsFromScope",
1087
- "type": {
1088
- "__schema": "KeywordTypeSchema",
1095
+ {
1096
+ "__schema": "VariableLikeSchema",
1089
1097
  "location": {
1090
1098
  "filePath": "checkout.main.runtime.ts",
1091
1099
  "line": 49,
1092
- "character": 36
1100
+ "character": 3
1093
1101
  },
1094
- "name": "boolean"
1095
- },
1096
- "isOptional": true
1097
- },
1098
- {
1099
- "__schema": "VariableLikeSchema",
1100
- "location": {
1101
- "filePath": "checkout.main.runtime.ts",
1102
- "line": 50,
1103
- "character": 3
1102
+ "signature": "(property) allowAddingComponentsFromScope?: boolean | undefined",
1103
+ "name": "allowAddingComponentsFromScope",
1104
+ "type": {
1105
+ "__schema": "KeywordTypeSchema",
1106
+ "location": {
1107
+ "filePath": "checkout.main.runtime.ts",
1108
+ "line": 49,
1109
+ "character": 36
1110
+ },
1111
+ "name": "boolean"
1112
+ },
1113
+ "isOptional": true
1104
1114
  },
1105
- "signature": "(property) includeLocallyDeleted?: boolean | undefined",
1106
- "name": "includeLocallyDeleted",
1107
- "type": {
1108
- "__schema": "KeywordTypeSchema",
1115
+ {
1116
+ "__schema": "VariableLikeSchema",
1109
1117
  "location": {
1110
1118
  "filePath": "checkout.main.runtime.ts",
1111
1119
  "line": 50,
1112
- "character": 27
1120
+ "character": 3
1113
1121
  },
1114
- "name": "boolean"
1115
- },
1116
- "isOptional": true
1117
- }
1118
- ]
1122
+ "signature": "(property) includeLocallyDeleted?: boolean | undefined",
1123
+ "name": "includeLocallyDeleted",
1124
+ "type": {
1125
+ "__schema": "KeywordTypeSchema",
1126
+ "location": {
1127
+ "filePath": "checkout.main.runtime.ts",
1128
+ "line": 50,
1129
+ "character": 27
1130
+ },
1131
+ "name": "boolean"
1132
+ },
1133
+ "isOptional": true
1134
+ }
1135
+ ]
1136
+ }
1119
1137
  }
1120
1138
  },
1121
1139
  {
@@ -1129,1103 +1147,1193 @@
1129
1147
  "type": "Identifier"
1130
1148
  },
1131
1149
  {
1132
- "__schema": "VariableLikeSchema",
1150
+ "__schema": "ExportSchema",
1133
1151
  "location": {
1134
- "filePath": "checkout.aspect.ts",
1135
- "line": 3,
1136
- "character": 14
1152
+ "filePath": "index.ts",
1153
+ "line": 5,
1154
+ "character": 10
1137
1155
  },
1138
- "signature": "const CheckoutAspect: Aspect",
1139
1156
  "name": "CheckoutAspect",
1140
- "type": {
1141
- "__schema": "TypeRefSchema",
1157
+ "exportNode": {
1158
+ "__schema": "VariableLikeSchema",
1142
1159
  "location": {
1143
1160
  "filePath": "checkout.aspect.ts",
1144
1161
  "line": 3,
1145
1162
  "character": 14
1146
1163
  },
1147
- "name": "Aspect",
1148
- "componentId": {
1149
- "scope": "teambit.harmony",
1150
- "name": "harmony",
1151
- "version": "0.4.6"
1152
- }
1153
- },
1154
- "isOptional": false,
1155
- "defaultValue": "Aspect.create({\n id: 'teambit.component/checkout',\n})"
1164
+ "signature": "const CheckoutAspect: Aspect",
1165
+ "name": "CheckoutAspect",
1166
+ "type": {
1167
+ "__schema": "TypeRefSchema",
1168
+ "location": {
1169
+ "filePath": "checkout.aspect.ts",
1170
+ "line": 3,
1171
+ "character": 14
1172
+ },
1173
+ "name": "Aspect",
1174
+ "componentId": {
1175
+ "scope": "teambit.harmony",
1176
+ "name": "harmony",
1177
+ "version": "0.4.6"
1178
+ }
1179
+ },
1180
+ "isOptional": false,
1181
+ "defaultValue": "Aspect.create({\n id: 'teambit.component/checkout',\n})"
1182
+ }
1156
1183
  },
1157
1184
  {
1158
- "__schema": "FunctionLikeSchema",
1185
+ "__schema": "ExportSchema",
1159
1186
  "location": {
1160
- "filePath": "checkout-version.ts",
1161
- "line": 149,
1162
- "character": 1
1187
+ "filePath": "index.ts",
1188
+ "line": 8,
1189
+ "character": 3
1163
1190
  },
1164
- "doc": {
1165
- "__schema": "DocSchema",
1191
+ "name": "applyModifiedVersion",
1192
+ "exportNode": {
1193
+ "__schema": "FunctionLikeSchema",
1166
1194
  "location": {
1167
1195
  "filePath": "checkout-version.ts",
1168
- "line": 142,
1196
+ "line": 149,
1169
1197
  "character": 1
1170
1198
  },
1171
- "raw": "/**\n * relevant only when\n * 1) there is no conflict => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.output.\n * 2) there is conflict and mergeStrategy is manual => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.conflict.\n *\n * this function only updates the files content, it doesn't write the files\n */",
1172
- "comment": "relevant only when\n1) there is no conflict => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.output.\n2) there is conflict and mergeStrategy is manual => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.conflict.\n\nthis function only updates the files content, it doesn't write the files"
1173
- },
1174
- "signature": "function applyModifiedVersion(componentFiles: SourceFile[], mergeResults: MergeResultsThreeWay, mergeStrategy: MergeStrategy | null | undefined): {\n filesStatus: Record<string, any>;\n modifiedFiles: SourceFile[];\n}",
1175
- "name": "applyModifiedVersion",
1176
- "params": [
1177
- {
1178
- "__schema": "ParameterSchema",
1199
+ "doc": {
1200
+ "__schema": "DocSchema",
1179
1201
  "location": {
1180
1202
  "filePath": "checkout-version.ts",
1181
- "line": 150,
1182
- "character": 3
1203
+ "line": 142,
1204
+ "character": 1
1183
1205
  },
1184
- "name": "componentFiles",
1185
- "type": {
1186
- "__schema": "TypeArraySchema",
1206
+ "raw": "/**\n * relevant only when\n * 1) there is no conflict => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.output.\n * 2) there is conflict and mergeStrategy is manual => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.conflict.\n *\n * this function only updates the files content, it doesn't write the files\n */",
1207
+ "comment": "relevant only when\n1) there is no conflict => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.output.\n2) there is conflict and mergeStrategy is manual => add files from mergeResults: addFiles, overrideFiles and modifiedFiles.conflict.\n\nthis function only updates the files content, it doesn't write the files"
1208
+ },
1209
+ "signature": "function applyModifiedVersion(componentFiles: SourceFile[], mergeResults: MergeResultsThreeWay, mergeStrategy: MergeStrategy | null | undefined): {\n filesStatus: Record<string, any>;\n modifiedFiles: SourceFile[];\n}",
1210
+ "name": "applyModifiedVersion",
1211
+ "params": [
1212
+ {
1213
+ "__schema": "ParameterSchema",
1187
1214
  "location": {
1188
1215
  "filePath": "checkout-version.ts",
1189
1216
  "line": 150,
1190
- "character": 19
1217
+ "character": 3
1191
1218
  },
1219
+ "name": "componentFiles",
1192
1220
  "type": {
1193
- "__schema": "TypeRefSchema",
1221
+ "__schema": "TypeArraySchema",
1194
1222
  "location": {
1195
1223
  "filePath": "checkout-version.ts",
1196
1224
  "line": 150,
1197
1225
  "character": 19
1198
1226
  },
1199
- "name": "SourceFile",
1200
- "packageName": "@teambit/legacy/dist/consumer/component/sources"
1201
- }
1202
- },
1203
- "isOptional": false,
1204
- "isSpread": false
1205
- },
1206
- {
1207
- "__schema": "ParameterSchema",
1208
- "location": {
1209
- "filePath": "checkout-version.ts",
1210
- "line": 151,
1211
- "character": 3
1212
- },
1213
- "name": "mergeResults",
1214
- "type": {
1215
- "__schema": "TypeRefSchema",
1216
- "location": {
1217
- "filePath": "checkout-version.ts",
1218
- "line": 151,
1219
- "character": 17
1220
- },
1221
- "name": "MergeResultsThreeWay",
1222
- "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version/three-way-merge"
1223
- },
1224
- "isOptional": false,
1225
- "isSpread": false
1226
- },
1227
- {
1228
- "__schema": "ParameterSchema",
1229
- "location": {
1230
- "filePath": "checkout-version.ts",
1231
- "line": 152,
1232
- "character": 3
1233
- },
1234
- "name": "mergeStrategy",
1235
- "type": {
1236
- "__schema": "TypeUnionSchema",
1237
- "location": {
1238
- "filePath": "checkout-version.ts",
1239
- "line": 152,
1240
- "character": 18
1241
- },
1242
- "types": [
1243
- {
1227
+ "type": {
1244
1228
  "__schema": "TypeRefSchema",
1245
1229
  "location": {
1246
1230
  "filePath": "checkout-version.ts",
1247
- "line": 152,
1248
- "character": 18
1249
- },
1250
- "name": "MergeStrategy",
1251
- "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version"
1252
- },
1253
- {
1254
- "__schema": "LiteralTypeSchema",
1255
- "location": {
1256
- "filePath": "checkout-version.ts",
1257
- "line": 152,
1258
- "character": 34
1259
- },
1260
- "name": "null"
1261
- },
1262
- {
1263
- "__schema": "KeywordTypeSchema",
1264
- "location": {
1265
- "filePath": "checkout-version.ts",
1266
- "line": 152,
1267
- "character": 41
1231
+ "line": 150,
1232
+ "character": 19
1268
1233
  },
1269
- "name": "undefined"
1234
+ "name": "SourceFile",
1235
+ "packageName": "@teambit/legacy/dist/consumer/component/sources"
1270
1236
  }
1271
- ]
1237
+ },
1238
+ "isOptional": false,
1239
+ "isSpread": false
1272
1240
  },
1273
- "isOptional": false,
1274
- "isSpread": false
1275
- }
1276
- ],
1277
- "returnType": {
1278
- "__schema": "TypeLiteralSchema",
1279
- "location": {
1280
- "filePath": "checkout-version.ts",
1281
- "line": 153,
1282
- "character": 4
1283
- },
1284
- "members": [
1285
1241
  {
1286
- "__schema": "VariableLikeSchema",
1242
+ "__schema": "ParameterSchema",
1287
1243
  "location": {
1288
1244
  "filePath": "checkout-version.ts",
1289
- "line": 153,
1290
- "character": 6
1245
+ "line": 151,
1246
+ "character": 3
1291
1247
  },
1292
- "signature": "(property) filesStatus: Record<string, any>",
1293
- "name": "filesStatus",
1248
+ "name": "mergeResults",
1294
1249
  "type": {
1295
1250
  "__schema": "TypeRefSchema",
1296
1251
  "location": {
1297
1252
  "filePath": "checkout-version.ts",
1298
- "line": 153,
1299
- "character": 19
1253
+ "line": 151,
1254
+ "character": 17
1300
1255
  },
1301
- "name": "Record",
1302
- "typeArgs": [
1256
+ "name": "MergeResultsThreeWay",
1257
+ "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version/three-way-merge"
1258
+ },
1259
+ "isOptional": false,
1260
+ "isSpread": false
1261
+ },
1262
+ {
1263
+ "__schema": "ParameterSchema",
1264
+ "location": {
1265
+ "filePath": "checkout-version.ts",
1266
+ "line": 152,
1267
+ "character": 3
1268
+ },
1269
+ "name": "mergeStrategy",
1270
+ "type": {
1271
+ "__schema": "TypeUnionSchema",
1272
+ "location": {
1273
+ "filePath": "checkout-version.ts",
1274
+ "line": 152,
1275
+ "character": 18
1276
+ },
1277
+ "types": [
1303
1278
  {
1304
- "__schema": "KeywordTypeSchema",
1279
+ "__schema": "TypeRefSchema",
1305
1280
  "location": {
1306
1281
  "filePath": "checkout-version.ts",
1307
- "line": 153,
1308
- "character": 26
1282
+ "line": 152,
1283
+ "character": 18
1309
1284
  },
1310
- "name": "string"
1285
+ "name": "MergeStrategy",
1286
+ "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version"
1311
1287
  },
1312
1288
  {
1313
- "__schema": "KeywordTypeSchema",
1289
+ "__schema": "LiteralTypeSchema",
1314
1290
  "location": {
1315
1291
  "filePath": "checkout-version.ts",
1316
- "line": 153,
1292
+ "line": 152,
1317
1293
  "character": 34
1318
1294
  },
1319
- "name": "any"
1295
+ "name": "null"
1296
+ },
1297
+ {
1298
+ "__schema": "KeywordTypeSchema",
1299
+ "location": {
1300
+ "filePath": "checkout-version.ts",
1301
+ "line": 152,
1302
+ "character": 41
1303
+ },
1304
+ "name": "undefined"
1320
1305
  }
1321
1306
  ]
1322
1307
  },
1323
- "isOptional": false
1308
+ "isOptional": false,
1309
+ "isSpread": false
1310
+ }
1311
+ ],
1312
+ "returnType": {
1313
+ "__schema": "TypeLiteralSchema",
1314
+ "location": {
1315
+ "filePath": "checkout-version.ts",
1316
+ "line": 153,
1317
+ "character": 4
1324
1318
  },
1325
- {
1326
- "__schema": "VariableLikeSchema",
1327
- "location": {
1328
- "filePath": "checkout-version.ts",
1329
- "line": 153,
1330
- "character": 40
1331
- },
1332
- "signature": "(property) modifiedFiles: SourceFile[]",
1333
- "name": "modifiedFiles",
1334
- "type": {
1335
- "__schema": "TypeArraySchema",
1319
+ "members": [
1320
+ {
1321
+ "__schema": "VariableLikeSchema",
1336
1322
  "location": {
1337
1323
  "filePath": "checkout-version.ts",
1338
1324
  "line": 153,
1339
- "character": 55
1325
+ "character": 6
1340
1326
  },
1327
+ "signature": "(property) filesStatus: Record<string, any>",
1328
+ "name": "filesStatus",
1341
1329
  "type": {
1342
1330
  "__schema": "TypeRefSchema",
1343
1331
  "location": {
1344
1332
  "filePath": "checkout-version.ts",
1345
1333
  "line": 153,
1346
- "character": 55
1334
+ "character": 19
1347
1335
  },
1348
- "name": "SourceFile",
1349
- "packageName": "@teambit/legacy/dist/consumer/component/sources"
1350
- }
1336
+ "name": "Record",
1337
+ "typeArgs": [
1338
+ {
1339
+ "__schema": "KeywordTypeSchema",
1340
+ "location": {
1341
+ "filePath": "checkout-version.ts",
1342
+ "line": 153,
1343
+ "character": 26
1344
+ },
1345
+ "name": "string"
1346
+ },
1347
+ {
1348
+ "__schema": "KeywordTypeSchema",
1349
+ "location": {
1350
+ "filePath": "checkout-version.ts",
1351
+ "line": 153,
1352
+ "character": 34
1353
+ },
1354
+ "name": "any"
1355
+ }
1356
+ ]
1357
+ },
1358
+ "isOptional": false
1351
1359
  },
1352
- "isOptional": false
1353
- }
1360
+ {
1361
+ "__schema": "VariableLikeSchema",
1362
+ "location": {
1363
+ "filePath": "checkout-version.ts",
1364
+ "line": 153,
1365
+ "character": 40
1366
+ },
1367
+ "signature": "(property) modifiedFiles: SourceFile[]",
1368
+ "name": "modifiedFiles",
1369
+ "type": {
1370
+ "__schema": "TypeArraySchema",
1371
+ "location": {
1372
+ "filePath": "checkout-version.ts",
1373
+ "line": 153,
1374
+ "character": 55
1375
+ },
1376
+ "type": {
1377
+ "__schema": "TypeRefSchema",
1378
+ "location": {
1379
+ "filePath": "checkout-version.ts",
1380
+ "line": 153,
1381
+ "character": 55
1382
+ },
1383
+ "name": "SourceFile",
1384
+ "packageName": "@teambit/legacy/dist/consumer/component/sources"
1385
+ }
1386
+ },
1387
+ "isOptional": false
1388
+ }
1389
+ ]
1390
+ },
1391
+ "modifiers": [
1392
+ "export"
1354
1393
  ]
1355
- },
1356
- "modifiers": [
1357
- "export"
1358
- ]
1394
+ }
1359
1395
  },
1360
1396
  {
1361
- "__schema": "FunctionLikeSchema",
1397
+ "__schema": "ExportSchema",
1362
1398
  "location": {
1363
- "filePath": "checkout-version.ts",
1364
- "line": 58,
1365
- "character": 1
1399
+ "filePath": "index.ts",
1400
+ "line": 9,
1401
+ "character": 3
1366
1402
  },
1367
- "doc": {
1368
- "__schema": "DocSchema",
1403
+ "name": "applyVersion",
1404
+ "exportNode": {
1405
+ "__schema": "FunctionLikeSchema",
1369
1406
  "location": {
1370
1407
  "filePath": "checkout-version.ts",
1371
- "line": 37,
1408
+ "line": 58,
1372
1409
  "character": 1
1373
1410
  },
1374
- "raw": "/**\n * This function optionally returns \"component\" object. If it returns, it means it needs to be written to the filesystem.\n * Otherwise, it means the component is already up to date and no need to write it.\n *\n * If no need to change anything (ours), then don't return the component object.\n * Otherwise, either return the component object as is (if no conflicts or \"theirs\"), or change the files in this\n * component object. Later, this component object is written to the filesystem.\n *\n * 1) when the files are modified with conflicts and the strategy is \"ours\", or forceOurs was used, leave the FS as is.\n *\n * 2) when the files are modified with conflicts and the strategy is \"theirs\", or forceTheirs was used, write the\n * component according to \"component\" object\n *\n * 3) when files are modified with no conflict or files are modified with conflicts and the\n * strategy is manual, load the component according to id.version and update component.files.\n * applyModifiedVersion() docs explains what files are updated/added.\n *\n * Side note:\n * Deleted file => if files are in used version but not in the modified one, no need to delete it. (similar to git).\n * Added file => if files are not in used version but in the modified one, they'll be under mergeResults.addFiles\n */",
1375
- "comment": "This function optionally returns \"component\" object. If it returns, it means it needs to be written to the filesystem.\nOtherwise, it means the component is already up to date and no need to write it.\n\nIf no need to change anything (ours), then don't return the component object.\nOtherwise, either return the component object as is (if no conflicts or \"theirs\"), or change the files in this\ncomponent object. Later, this component object is written to the filesystem.\n\n1) when the files are modified with conflicts and the strategy is \"ours\", or forceOurs was used, leave the FS as is.\n\n2) when the files are modified with conflicts and the strategy is \"theirs\", or forceTheirs was used, write the\ncomponent according to \"component\" object\n\n3) when files are modified with no conflict or files are modified with conflicts and the\nstrategy is manual, load the component according to id.version and update component.files.\napplyModifiedVersion() docs explains what files are updated/added.\n\nSide note:\nDeleted file => if files are in used version but not in the modified one, no need to delete it. (similar to git).\nAdded file => if files are not in used version but in the modified one, they'll be under mergeResults.addFiles"
1376
- },
1377
- "signature": "function applyVersion(consumer: Consumer, id: ComponentID, componentFromFS: ConsumerComponent | null | undefined, mergeResults: MergeResultsThreeWay | null | undefined, checkoutProps: CheckoutProps): Promise<ApplyVersionWithComps>",
1378
- "name": "applyVersion",
1379
- "params": [
1380
- {
1381
- "__schema": "ParameterSchema",
1411
+ "doc": {
1412
+ "__schema": "DocSchema",
1382
1413
  "location": {
1383
1414
  "filePath": "checkout-version.ts",
1384
- "line": 59,
1385
- "character": 3
1415
+ "line": 37,
1416
+ "character": 1
1386
1417
  },
1387
- "name": "consumer",
1388
- "type": {
1389
- "__schema": "TypeRefSchema",
1418
+ "raw": "/**\n * This function optionally returns \"component\" object. If it returns, it means it needs to be written to the filesystem.\n * Otherwise, it means the component is already up to date and no need to write it.\n *\n * If no need to change anything (ours), then don't return the component object.\n * Otherwise, either return the component object as is (if no conflicts or \"theirs\"), or change the files in this\n * component object. Later, this component object is written to the filesystem.\n *\n * 1) when the files are modified with conflicts and the strategy is \"ours\", or forceOurs was used, leave the FS as is.\n *\n * 2) when the files are modified with conflicts and the strategy is \"theirs\", or forceTheirs was used, write the\n * component according to \"component\" object\n *\n * 3) when files are modified with no conflict or files are modified with conflicts and the\n * strategy is manual, load the component according to id.version and update component.files.\n * applyModifiedVersion() docs explains what files are updated/added.\n *\n * Side note:\n * Deleted file => if files are in used version but not in the modified one, no need to delete it. (similar to git).\n * Added file => if files are not in used version but in the modified one, they'll be under mergeResults.addFiles\n */",
1419
+ "comment": "This function optionally returns \"component\" object. If it returns, it means it needs to be written to the filesystem.\nOtherwise, it means the component is already up to date and no need to write it.\n\nIf no need to change anything (ours), then don't return the component object.\nOtherwise, either return the component object as is (if no conflicts or \"theirs\"), or change the files in this\ncomponent object. Later, this component object is written to the filesystem.\n\n1) when the files are modified with conflicts and the strategy is \"ours\", or forceOurs was used, leave the FS as is.\n\n2) when the files are modified with conflicts and the strategy is \"theirs\", or forceTheirs was used, write the\ncomponent according to \"component\" object\n\n3) when files are modified with no conflict or files are modified with conflicts and the\nstrategy is manual, load the component according to id.version and update component.files.\napplyModifiedVersion() docs explains what files are updated/added.\n\nSide note:\nDeleted file => if files are in used version but not in the modified one, no need to delete it. (similar to git).\nAdded file => if files are not in used version but in the modified one, they'll be under mergeResults.addFiles"
1420
+ },
1421
+ "signature": "function applyVersion(consumer: Consumer, id: ComponentID, componentFromFS: ConsumerComponent | null | undefined, mergeResults: MergeResultsThreeWay | null | undefined, checkoutProps: CheckoutProps): Promise<ApplyVersionWithComps>",
1422
+ "name": "applyVersion",
1423
+ "params": [
1424
+ {
1425
+ "__schema": "ParameterSchema",
1390
1426
  "location": {
1391
1427
  "filePath": "checkout-version.ts",
1392
1428
  "line": 59,
1393
- "character": 13
1429
+ "character": 3
1394
1430
  },
1395
- "name": "Consumer",
1396
- "packageName": "@teambit/legacy/dist/consumer"
1397
- },
1398
- "isOptional": false,
1399
- "isSpread": false
1400
- },
1401
- {
1402
- "__schema": "ParameterSchema",
1403
- "location": {
1404
- "filePath": "checkout-version.ts",
1405
- "line": 60,
1406
- "character": 3
1431
+ "name": "consumer",
1432
+ "type": {
1433
+ "__schema": "TypeRefSchema",
1434
+ "location": {
1435
+ "filePath": "checkout-version.ts",
1436
+ "line": 59,
1437
+ "character": 13
1438
+ },
1439
+ "name": "Consumer",
1440
+ "packageName": "@teambit/legacy/dist/consumer"
1441
+ },
1442
+ "isOptional": false,
1443
+ "isSpread": false
1407
1444
  },
1408
- "name": "id",
1409
- "type": {
1410
- "__schema": "TypeRefSchema",
1445
+ {
1446
+ "__schema": "ParameterSchema",
1411
1447
  "location": {
1412
1448
  "filePath": "checkout-version.ts",
1413
1449
  "line": 60,
1414
- "character": 7
1450
+ "character": 3
1415
1451
  },
1416
- "name": "ComponentID",
1417
- "componentId": {
1418
- "scope": "teambit.component",
1419
- "name": "component-id",
1420
- "version": "1.2.0"
1421
- }
1422
- },
1423
- "isOptional": false,
1424
- "isSpread": false
1425
- },
1426
- {
1427
- "__schema": "ParameterSchema",
1428
- "location": {
1429
- "filePath": "checkout-version.ts",
1430
- "line": 61,
1431
- "character": 3
1452
+ "name": "id",
1453
+ "type": {
1454
+ "__schema": "TypeRefSchema",
1455
+ "location": {
1456
+ "filePath": "checkout-version.ts",
1457
+ "line": 60,
1458
+ "character": 7
1459
+ },
1460
+ "name": "ComponentID",
1461
+ "componentId": {
1462
+ "scope": "teambit.component",
1463
+ "name": "component-id",
1464
+ "version": "1.2.0"
1465
+ }
1466
+ },
1467
+ "isOptional": false,
1468
+ "isSpread": false
1432
1469
  },
1433
- "name": "componentFromFS",
1434
- "type": {
1435
- "__schema": "TypeUnionSchema",
1470
+ {
1471
+ "__schema": "ParameterSchema",
1436
1472
  "location": {
1437
1473
  "filePath": "checkout-version.ts",
1438
1474
  "line": 61,
1439
- "character": 20
1475
+ "character": 3
1440
1476
  },
1441
- "types": [
1442
- {
1443
- "__schema": "TypeRefSchema",
1444
- "location": {
1445
- "filePath": "checkout-version.ts",
1446
- "line": 61,
1447
- "character": 20
1448
- },
1449
- "name": "ConsumerComponent",
1450
- "packageName": "@teambit/legacy/dist/consumer/component"
1477
+ "name": "componentFromFS",
1478
+ "type": {
1479
+ "__schema": "TypeUnionSchema",
1480
+ "location": {
1481
+ "filePath": "checkout-version.ts",
1482
+ "line": 61,
1483
+ "character": 20
1451
1484
  },
1452
- {
1453
- "__schema": "LiteralTypeSchema",
1454
- "location": {
1455
- "filePath": "checkout-version.ts",
1456
- "line": 61,
1457
- "character": 40
1485
+ "types": [
1486
+ {
1487
+ "__schema": "TypeRefSchema",
1488
+ "location": {
1489
+ "filePath": "checkout-version.ts",
1490
+ "line": 61,
1491
+ "character": 20
1492
+ },
1493
+ "name": "ConsumerComponent",
1494
+ "packageName": "@teambit/legacy/dist/consumer/component"
1458
1495
  },
1459
- "name": "null"
1460
- },
1461
- {
1462
- "__schema": "KeywordTypeSchema",
1463
- "location": {
1464
- "filePath": "checkout-version.ts",
1465
- "line": 61,
1466
- "character": 47
1496
+ {
1497
+ "__schema": "LiteralTypeSchema",
1498
+ "location": {
1499
+ "filePath": "checkout-version.ts",
1500
+ "line": 61,
1501
+ "character": 40
1502
+ },
1503
+ "name": "null"
1467
1504
  },
1468
- "name": "undefined"
1469
- }
1470
- ]
1471
- },
1472
- "isOptional": false,
1473
- "isSpread": false
1474
- },
1475
- {
1476
- "__schema": "ParameterSchema",
1477
- "location": {
1478
- "filePath": "checkout-version.ts",
1479
- "line": 62,
1480
- "character": 3
1505
+ {
1506
+ "__schema": "KeywordTypeSchema",
1507
+ "location": {
1508
+ "filePath": "checkout-version.ts",
1509
+ "line": 61,
1510
+ "character": 47
1511
+ },
1512
+ "name": "undefined"
1513
+ }
1514
+ ]
1515
+ },
1516
+ "isOptional": false,
1517
+ "isSpread": false
1481
1518
  },
1482
- "name": "mergeResults",
1483
- "type": {
1484
- "__schema": "TypeUnionSchema",
1519
+ {
1520
+ "__schema": "ParameterSchema",
1485
1521
  "location": {
1486
1522
  "filePath": "checkout-version.ts",
1487
1523
  "line": 62,
1488
- "character": 17
1524
+ "character": 3
1489
1525
  },
1490
- "types": [
1491
- {
1492
- "__schema": "TypeRefSchema",
1493
- "location": {
1494
- "filePath": "checkout-version.ts",
1495
- "line": 62,
1496
- "character": 17
1497
- },
1498
- "name": "MergeResultsThreeWay",
1499
- "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version/three-way-merge"
1526
+ "name": "mergeResults",
1527
+ "type": {
1528
+ "__schema": "TypeUnionSchema",
1529
+ "location": {
1530
+ "filePath": "checkout-version.ts",
1531
+ "line": 62,
1532
+ "character": 17
1500
1533
  },
1501
- {
1502
- "__schema": "LiteralTypeSchema",
1503
- "location": {
1504
- "filePath": "checkout-version.ts",
1505
- "line": 62,
1506
- "character": 40
1534
+ "types": [
1535
+ {
1536
+ "__schema": "TypeRefSchema",
1537
+ "location": {
1538
+ "filePath": "checkout-version.ts",
1539
+ "line": 62,
1540
+ "character": 17
1541
+ },
1542
+ "name": "MergeResultsThreeWay",
1543
+ "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version/three-way-merge"
1507
1544
  },
1508
- "name": "null"
1509
- },
1510
- {
1511
- "__schema": "KeywordTypeSchema",
1512
- "location": {
1513
- "filePath": "checkout-version.ts",
1514
- "line": 62,
1515
- "character": 47
1545
+ {
1546
+ "__schema": "LiteralTypeSchema",
1547
+ "location": {
1548
+ "filePath": "checkout-version.ts",
1549
+ "line": 62,
1550
+ "character": 40
1551
+ },
1552
+ "name": "null"
1516
1553
  },
1517
- "name": "undefined"
1518
- }
1519
- ]
1520
- },
1521
- "isOptional": false,
1522
- "isSpread": false
1523
- },
1524
- {
1525
- "__schema": "ParameterSchema",
1526
- "location": {
1527
- "filePath": "checkout-version.ts",
1528
- "line": 63,
1529
- "character": 3
1530
- },
1531
- "name": "checkoutProps",
1532
- "type": {
1533
- "__schema": "TypeRefSchema",
1534
- "location": {
1535
- "filePath": "checkout-version.ts",
1536
- "line": 63,
1537
- "character": 18
1554
+ {
1555
+ "__schema": "KeywordTypeSchema",
1556
+ "location": {
1557
+ "filePath": "checkout-version.ts",
1558
+ "line": 62,
1559
+ "character": 47
1560
+ },
1561
+ "name": "undefined"
1562
+ }
1563
+ ]
1538
1564
  },
1539
- "name": "CheckoutProps"
1565
+ "isOptional": false,
1566
+ "isSpread": false
1540
1567
  },
1541
- "isOptional": false,
1542
- "isSpread": false
1543
- }
1544
- ],
1545
- "returnType": {
1546
- "__schema": "TypeRefSchema",
1547
- "location": {
1548
- "filePath": "checkout-version.ts",
1549
- "line": 64,
1550
- "character": 4
1551
- },
1552
- "name": "Promise",
1553
- "typeArgs": [
1554
1568
  {
1555
- "__schema": "TypeRefSchema",
1569
+ "__schema": "ParameterSchema",
1556
1570
  "location": {
1557
1571
  "filePath": "checkout-version.ts",
1558
- "line": 64,
1559
- "character": 12
1572
+ "line": 63,
1573
+ "character": 3
1574
+ },
1575
+ "name": "checkoutProps",
1576
+ "type": {
1577
+ "__schema": "TypeRefSchema",
1578
+ "location": {
1579
+ "filePath": "checkout-version.ts",
1580
+ "line": 63,
1581
+ "character": 18
1582
+ },
1583
+ "name": "CheckoutProps"
1560
1584
  },
1561
- "name": "ApplyVersionWithComps"
1585
+ "isOptional": false,
1586
+ "isSpread": false
1562
1587
  }
1588
+ ],
1589
+ "returnType": {
1590
+ "__schema": "TypeRefSchema",
1591
+ "location": {
1592
+ "filePath": "checkout-version.ts",
1593
+ "line": 64,
1594
+ "character": 4
1595
+ },
1596
+ "name": "Promise",
1597
+ "typeArgs": [
1598
+ {
1599
+ "__schema": "TypeRefSchema",
1600
+ "location": {
1601
+ "filePath": "checkout-version.ts",
1602
+ "line": 64,
1603
+ "character": 12
1604
+ },
1605
+ "name": "ApplyVersionWithComps"
1606
+ }
1607
+ ]
1608
+ },
1609
+ "modifiers": [
1610
+ "export",
1611
+ "async"
1563
1612
  ]
1564
- },
1565
- "modifiers": [
1566
- "export",
1567
- "async"
1568
- ]
1613
+ }
1569
1614
  },
1570
1615
  {
1571
- "__schema": "FunctionLikeSchema",
1616
+ "__schema": "ExportSchema",
1572
1617
  "location": {
1573
- "filePath": "checkout-version.ts",
1574
- "line": 119,
1575
- "character": 1
1618
+ "filePath": "index.ts",
1619
+ "line": 10,
1620
+ "character": 3
1576
1621
  },
1577
- "doc": {
1578
- "__schema": "DocSchema",
1622
+ "name": "removeFilesIfNeeded",
1623
+ "exportNode": {
1624
+ "__schema": "FunctionLikeSchema",
1579
1625
  "location": {
1580
1626
  "filePath": "checkout-version.ts",
1581
- "line": 113,
1627
+ "line": 119,
1582
1628
  "character": 1
1583
1629
  },
1584
- "raw": "/**\n * when files exist on the filesystem but not on the checked out versions, they need to be deleted.\n * without this function, these files would be left on the filesystem. (we don't delete the comp-dir before writing).\n * this needs to be done *before* the component is written to the filesystem, otherwise, it won't work when a file\n * has a case change. e.g. from uppercase to lowercase. (see merge-lane.e2e 'renaming files from uppercase to lowercase').\n */",
1585
- "comment": "when files exist on the filesystem but not on the checked out versions, they need to be deleted.\nwithout this function, these files would be left on the filesystem. (we don't delete the comp-dir before writing).\nthis needs to be done *before* the component is written to the filesystem, otherwise, it won't work when a file\nhas a case change. e.g. from uppercase to lowercase. (see merge-lane.e2e 'renaming files from uppercase to lowercase')."
1586
- },
1587
- "signature": "function removeFilesIfNeeded(filesStatus: FilesStatus, consumer: Consumer, componentFromFS?: ConsumerComponent): Promise<void>",
1588
- "name": "removeFilesIfNeeded",
1589
- "params": [
1590
- {
1591
- "__schema": "ParameterSchema",
1630
+ "doc": {
1631
+ "__schema": "DocSchema",
1592
1632
  "location": {
1593
1633
  "filePath": "checkout-version.ts",
1594
- "line": 120,
1595
- "character": 3
1634
+ "line": 113,
1635
+ "character": 1
1596
1636
  },
1597
- "name": "filesStatus",
1598
- "type": {
1599
- "__schema": "TypeRefSchema",
1637
+ "raw": "/**\n * when files exist on the filesystem but not on the checked out versions, they need to be deleted.\n * without this function, these files would be left on the filesystem. (we don't delete the comp-dir before writing).\n * this needs to be done *before* the component is written to the filesystem, otherwise, it won't work when a file\n * has a case change. e.g. from uppercase to lowercase. (see merge-lane.e2e 'renaming files from uppercase to lowercase').\n */",
1638
+ "comment": "when files exist on the filesystem but not on the checked out versions, they need to be deleted.\nwithout this function, these files would be left on the filesystem. (we don't delete the comp-dir before writing).\nthis needs to be done *before* the component is written to the filesystem, otherwise, it won't work when a file\nhas a case change. e.g. from uppercase to lowercase. (see merge-lane.e2e 'renaming files from uppercase to lowercase')."
1639
+ },
1640
+ "signature": "function removeFilesIfNeeded(filesStatus: FilesStatus, consumer: Consumer, componentFromFS?: ConsumerComponent): Promise<void>",
1641
+ "name": "removeFilesIfNeeded",
1642
+ "params": [
1643
+ {
1644
+ "__schema": "ParameterSchema",
1600
1645
  "location": {
1601
1646
  "filePath": "checkout-version.ts",
1602
1647
  "line": 120,
1603
- "character": 16
1648
+ "character": 3
1604
1649
  },
1605
- "name": "FilesStatus",
1606
- "componentId": {
1607
- "scope": "teambit.component",
1608
- "name": "merging"
1609
- }
1610
- },
1611
- "isOptional": false,
1612
- "isSpread": false
1613
- },
1614
- {
1615
- "__schema": "ParameterSchema",
1616
- "location": {
1617
- "filePath": "checkout-version.ts",
1618
- "line": 121,
1619
- "character": 3
1650
+ "name": "filesStatus",
1651
+ "type": {
1652
+ "__schema": "TypeRefSchema",
1653
+ "location": {
1654
+ "filePath": "checkout-version.ts",
1655
+ "line": 120,
1656
+ "character": 16
1657
+ },
1658
+ "name": "FilesStatus",
1659
+ "componentId": {
1660
+ "scope": "teambit.component",
1661
+ "name": "merging"
1662
+ }
1663
+ },
1664
+ "isOptional": false,
1665
+ "isSpread": false
1620
1666
  },
1621
- "name": "consumer",
1622
- "type": {
1623
- "__schema": "TypeRefSchema",
1667
+ {
1668
+ "__schema": "ParameterSchema",
1624
1669
  "location": {
1625
1670
  "filePath": "checkout-version.ts",
1626
1671
  "line": 121,
1627
- "character": 13
1672
+ "character": 3
1628
1673
  },
1629
- "name": "Consumer",
1630
- "packageName": "@teambit/legacy/dist/consumer"
1631
- },
1632
- "isOptional": false,
1633
- "isSpread": false
1634
- },
1635
- {
1636
- "__schema": "ParameterSchema",
1637
- "location": {
1638
- "filePath": "checkout-version.ts",
1639
- "line": 122,
1640
- "character": 3
1674
+ "name": "consumer",
1675
+ "type": {
1676
+ "__schema": "TypeRefSchema",
1677
+ "location": {
1678
+ "filePath": "checkout-version.ts",
1679
+ "line": 121,
1680
+ "character": 13
1681
+ },
1682
+ "name": "Consumer",
1683
+ "packageName": "@teambit/legacy/dist/consumer"
1684
+ },
1685
+ "isOptional": false,
1686
+ "isSpread": false
1641
1687
  },
1642
- "name": "componentFromFS",
1643
- "type": {
1644
- "__schema": "TypeRefSchema",
1688
+ {
1689
+ "__schema": "ParameterSchema",
1645
1690
  "location": {
1646
1691
  "filePath": "checkout-version.ts",
1647
1692
  "line": 122,
1648
- "character": 21
1693
+ "character": 3
1694
+ },
1695
+ "name": "componentFromFS",
1696
+ "type": {
1697
+ "__schema": "TypeRefSchema",
1698
+ "location": {
1699
+ "filePath": "checkout-version.ts",
1700
+ "line": 122,
1701
+ "character": 21
1702
+ },
1703
+ "name": "ConsumerComponent",
1704
+ "packageName": "@teambit/legacy/dist/consumer/component"
1649
1705
  },
1650
- "name": "ConsumerComponent",
1651
- "packageName": "@teambit/legacy/dist/consumer/component"
1706
+ "isOptional": true,
1707
+ "isSpread": false
1708
+ }
1709
+ ],
1710
+ "returnType": {
1711
+ "__schema": "InferenceTypeSchema",
1712
+ "location": {
1713
+ "filePath": "checkout-version.ts",
1714
+ "line": 119,
1715
+ "character": 1
1652
1716
  },
1653
- "isOptional": true,
1654
- "isSpread": false
1655
- }
1656
- ],
1657
- "returnType": {
1658
- "__schema": "InferenceTypeSchema",
1659
- "location": {
1660
- "filePath": "checkout-version.ts",
1661
- "line": 119,
1662
- "character": 1
1717
+ "type": "Promise<void>"
1663
1718
  },
1664
- "type": "Promise<void>"
1665
- },
1666
- "modifiers": [
1667
- "export",
1668
- "async"
1669
- ]
1719
+ "modifiers": [
1720
+ "export",
1721
+ "async"
1722
+ ]
1723
+ }
1670
1724
  },
1671
1725
  {
1672
- "__schema": "FunctionLikeSchema",
1726
+ "__schema": "ExportSchema",
1673
1727
  "location": {
1674
- "filePath": "checkout-version.ts",
1675
- "line": 104,
1676
- "character": 1
1728
+ "filePath": "index.ts",
1729
+ "line": 11,
1730
+ "character": 3
1677
1731
  },
1678
- "signature": "function updateFileStatus(files: SourceFile[], filesStatus: FilesStatus, componentFromFS?: ConsumerComponent): void",
1679
1732
  "name": "updateFileStatus",
1680
- "params": [
1681
- {
1682
- "__schema": "ParameterSchema",
1683
- "location": {
1684
- "filePath": "checkout-version.ts",
1685
- "line": 104,
1686
- "character": 34
1687
- },
1688
- "name": "files",
1689
- "type": {
1690
- "__schema": "TypeArraySchema",
1733
+ "exportNode": {
1734
+ "__schema": "FunctionLikeSchema",
1735
+ "location": {
1736
+ "filePath": "checkout-version.ts",
1737
+ "line": 104,
1738
+ "character": 1
1739
+ },
1740
+ "signature": "function updateFileStatus(files: SourceFile[], filesStatus: FilesStatus, componentFromFS?: ConsumerComponent): void",
1741
+ "name": "updateFileStatus",
1742
+ "params": [
1743
+ {
1744
+ "__schema": "ParameterSchema",
1691
1745
  "location": {
1692
1746
  "filePath": "checkout-version.ts",
1693
1747
  "line": 104,
1694
- "character": 41
1748
+ "character": 34
1695
1749
  },
1750
+ "name": "files",
1696
1751
  "type": {
1697
- "__schema": "TypeRefSchema",
1752
+ "__schema": "TypeArraySchema",
1698
1753
  "location": {
1699
1754
  "filePath": "checkout-version.ts",
1700
1755
  "line": 104,
1701
1756
  "character": 41
1702
1757
  },
1703
- "name": "SourceFile",
1704
- "packageName": "@teambit/legacy/dist/consumer/component/sources"
1705
- }
1706
- },
1707
- "isOptional": false,
1708
- "isSpread": false
1709
- },
1710
- {
1711
- "__schema": "ParameterSchema",
1712
- "location": {
1713
- "filePath": "checkout-version.ts",
1714
- "line": 104,
1715
- "character": 55
1758
+ "type": {
1759
+ "__schema": "TypeRefSchema",
1760
+ "location": {
1761
+ "filePath": "checkout-version.ts",
1762
+ "line": 104,
1763
+ "character": 41
1764
+ },
1765
+ "name": "SourceFile",
1766
+ "packageName": "@teambit/legacy/dist/consumer/component/sources"
1767
+ }
1768
+ },
1769
+ "isOptional": false,
1770
+ "isSpread": false
1716
1771
  },
1717
- "name": "filesStatus",
1718
- "type": {
1719
- "__schema": "TypeRefSchema",
1772
+ {
1773
+ "__schema": "ParameterSchema",
1720
1774
  "location": {
1721
1775
  "filePath": "checkout-version.ts",
1722
1776
  "line": 104,
1723
- "character": 68
1777
+ "character": 55
1724
1778
  },
1725
- "name": "FilesStatus",
1726
- "componentId": {
1727
- "scope": "teambit.component",
1728
- "name": "merging"
1729
- }
1730
- },
1731
- "isOptional": false,
1732
- "isSpread": false
1733
- },
1734
- {
1735
- "__schema": "ParameterSchema",
1736
- "location": {
1737
- "filePath": "checkout-version.ts",
1738
- "line": 104,
1739
- "character": 81
1779
+ "name": "filesStatus",
1780
+ "type": {
1781
+ "__schema": "TypeRefSchema",
1782
+ "location": {
1783
+ "filePath": "checkout-version.ts",
1784
+ "line": 104,
1785
+ "character": 68
1786
+ },
1787
+ "name": "FilesStatus",
1788
+ "componentId": {
1789
+ "scope": "teambit.component",
1790
+ "name": "merging"
1791
+ }
1792
+ },
1793
+ "isOptional": false,
1794
+ "isSpread": false
1740
1795
  },
1741
- "name": "componentFromFS",
1742
- "type": {
1743
- "__schema": "TypeRefSchema",
1796
+ {
1797
+ "__schema": "ParameterSchema",
1744
1798
  "location": {
1745
1799
  "filePath": "checkout-version.ts",
1746
1800
  "line": 104,
1747
- "character": 99
1801
+ "character": 81
1802
+ },
1803
+ "name": "componentFromFS",
1804
+ "type": {
1805
+ "__schema": "TypeRefSchema",
1806
+ "location": {
1807
+ "filePath": "checkout-version.ts",
1808
+ "line": 104,
1809
+ "character": 99
1810
+ },
1811
+ "name": "ConsumerComponent",
1812
+ "packageName": "@teambit/legacy/dist/consumer/component"
1748
1813
  },
1749
- "name": "ConsumerComponent",
1750
- "packageName": "@teambit/legacy/dist/consumer/component"
1814
+ "isOptional": true,
1815
+ "isSpread": false
1816
+ }
1817
+ ],
1818
+ "returnType": {
1819
+ "__schema": "InferenceTypeSchema",
1820
+ "location": {
1821
+ "filePath": "checkout-version.ts",
1822
+ "line": 104,
1823
+ "character": 1
1751
1824
  },
1752
- "isOptional": true,
1753
- "isSpread": false
1754
- }
1755
- ],
1756
- "returnType": {
1757
- "__schema": "InferenceTypeSchema",
1758
- "location": {
1759
- "filePath": "checkout-version.ts",
1760
- "line": 104,
1761
- "character": 1
1825
+ "type": "void"
1762
1826
  },
1763
- "type": "void"
1764
- },
1765
- "modifiers": [
1766
- "export"
1767
- ]
1827
+ "modifiers": [
1828
+ "export"
1829
+ ]
1830
+ }
1768
1831
  },
1769
1832
  {
1770
- "__schema": "FunctionLikeSchema",
1833
+ "__schema": "ExportSchema",
1771
1834
  "location": {
1772
- "filePath": "checkout-version.ts",
1773
- "line": 223,
1774
- "character": 1
1835
+ "filePath": "index.ts",
1836
+ "line": 12,
1837
+ "character": 3
1775
1838
  },
1776
- "signature": "function throwForFailures(allComponentsStatus: ComponentStatusBase[]): void",
1777
1839
  "name": "throwForFailures",
1778
- "params": [
1779
- {
1780
- "__schema": "ParameterSchema",
1781
- "location": {
1782
- "filePath": "checkout-version.ts",
1783
- "line": 223,
1784
- "character": 34
1785
- },
1786
- "name": "allComponentsStatus",
1787
- "type": {
1788
- "__schema": "TypeArraySchema",
1840
+ "exportNode": {
1841
+ "__schema": "FunctionLikeSchema",
1842
+ "location": {
1843
+ "filePath": "checkout-version.ts",
1844
+ "line": 223,
1845
+ "character": 1
1846
+ },
1847
+ "signature": "function throwForFailures(allComponentsStatus: ComponentStatusBase[]): void",
1848
+ "name": "throwForFailures",
1849
+ "params": [
1850
+ {
1851
+ "__schema": "ParameterSchema",
1789
1852
  "location": {
1790
1853
  "filePath": "checkout-version.ts",
1791
1854
  "line": 223,
1792
- "character": 55
1855
+ "character": 34
1793
1856
  },
1857
+ "name": "allComponentsStatus",
1794
1858
  "type": {
1795
- "__schema": "TypeRefSchema",
1859
+ "__schema": "TypeArraySchema",
1796
1860
  "location": {
1797
1861
  "filePath": "checkout-version.ts",
1798
1862
  "line": 223,
1799
1863
  "character": 55
1800
1864
  },
1801
- "name": "ComponentStatusBase"
1802
- }
1865
+ "type": {
1866
+ "__schema": "TypeRefSchema",
1867
+ "location": {
1868
+ "filePath": "checkout-version.ts",
1869
+ "line": 223,
1870
+ "character": 55
1871
+ },
1872
+ "name": "ComponentStatusBase"
1873
+ }
1874
+ },
1875
+ "isOptional": false,
1876
+ "isSpread": false
1877
+ }
1878
+ ],
1879
+ "returnType": {
1880
+ "__schema": "InferenceTypeSchema",
1881
+ "location": {
1882
+ "filePath": "checkout-version.ts",
1883
+ "line": 223,
1884
+ "character": 1
1803
1885
  },
1804
- "isOptional": false,
1805
- "isSpread": false
1806
- }
1807
- ],
1808
- "returnType": {
1809
- "__schema": "InferenceTypeSchema",
1810
- "location": {
1811
- "filePath": "checkout-version.ts",
1812
- "line": 223,
1813
- "character": 1
1886
+ "type": "void"
1814
1887
  },
1815
- "type": "void"
1816
- },
1817
- "modifiers": [
1818
- "export"
1819
- ]
1888
+ "modifiers": [
1889
+ "export"
1890
+ ]
1891
+ }
1820
1892
  },
1821
1893
  {
1822
- "__schema": "TypeSchema",
1894
+ "__schema": "ExportSchema",
1823
1895
  "location": {
1824
- "filePath": "checkout-version.ts",
1825
- "line": 26,
1826
- "character": 1
1896
+ "filePath": "index.ts",
1897
+ "line": 15,
1898
+ "character": 15
1827
1899
  },
1828
- "signature": "type ComponentStatus = ComponentStatusBase & {\n mergeResults?: MergeResultsThreeWay | null | undefined;\n}",
1829
1900
  "name": "ComponentStatus",
1830
- "type": {
1831
- "__schema": "TypeIntersectionSchema",
1901
+ "exportNode": {
1902
+ "__schema": "TypeSchema",
1832
1903
  "location": {
1833
1904
  "filePath": "checkout-version.ts",
1834
1905
  "line": 26,
1835
- "character": 31
1906
+ "character": 1
1836
1907
  },
1837
- "types": [
1838
- {
1839
- "__schema": "TypeRefSchema",
1840
- "location": {
1841
- "filePath": "checkout-version.ts",
1842
- "line": 26,
1843
- "character": 31
1844
- },
1845
- "name": "ComponentStatusBase"
1908
+ "signature": "type ComponentStatus = ComponentStatusBase & {\n mergeResults?: MergeResultsThreeWay | null | undefined;\n}",
1909
+ "name": "ComponentStatus",
1910
+ "type": {
1911
+ "__schema": "TypeIntersectionSchema",
1912
+ "location": {
1913
+ "filePath": "checkout-version.ts",
1914
+ "line": 26,
1915
+ "character": 31
1846
1916
  },
1847
- {
1848
- "__schema": "TypeLiteralSchema",
1849
- "location": {
1850
- "filePath": "checkout-version.ts",
1851
- "line": 26,
1852
- "character": 53
1917
+ "types": [
1918
+ {
1919
+ "__schema": "TypeRefSchema",
1920
+ "location": {
1921
+ "filePath": "checkout-version.ts",
1922
+ "line": 26,
1923
+ "character": 31
1924
+ },
1925
+ "name": "ComponentStatusBase"
1853
1926
  },
1854
- "members": [
1855
- {
1856
- "__schema": "VariableLikeSchema",
1857
- "location": {
1858
- "filePath": "checkout-version.ts",
1859
- "line": 27,
1860
- "character": 3
1861
- },
1862
- "signature": "(property) mergeResults?: MergeResultsThreeWay | null | undefined",
1863
- "name": "mergeResults",
1864
- "type": {
1865
- "__schema": "TypeUnionSchema",
1927
+ {
1928
+ "__schema": "TypeLiteralSchema",
1929
+ "location": {
1930
+ "filePath": "checkout-version.ts",
1931
+ "line": 26,
1932
+ "character": 53
1933
+ },
1934
+ "members": [
1935
+ {
1936
+ "__schema": "VariableLikeSchema",
1866
1937
  "location": {
1867
1938
  "filePath": "checkout-version.ts",
1868
1939
  "line": 27,
1869
- "character": 18
1940
+ "character": 3
1870
1941
  },
1871
- "types": [
1872
- {
1873
- "__schema": "TypeRefSchema",
1874
- "location": {
1875
- "filePath": "checkout-version.ts",
1876
- "line": 27,
1877
- "character": 18
1878
- },
1879
- "name": "MergeResultsThreeWay",
1880
- "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version/three-way-merge"
1942
+ "signature": "(property) mergeResults?: MergeResultsThreeWay | null | undefined",
1943
+ "name": "mergeResults",
1944
+ "type": {
1945
+ "__schema": "TypeUnionSchema",
1946
+ "location": {
1947
+ "filePath": "checkout-version.ts",
1948
+ "line": 27,
1949
+ "character": 18
1881
1950
  },
1882
- {
1883
- "__schema": "LiteralTypeSchema",
1884
- "location": {
1885
- "filePath": "checkout-version.ts",
1886
- "line": 27,
1887
- "character": 41
1951
+ "types": [
1952
+ {
1953
+ "__schema": "TypeRefSchema",
1954
+ "location": {
1955
+ "filePath": "checkout-version.ts",
1956
+ "line": 27,
1957
+ "character": 18
1958
+ },
1959
+ "name": "MergeResultsThreeWay",
1960
+ "packageName": "@teambit/legacy/dist/consumer/versions-ops/merge-version/three-way-merge"
1888
1961
  },
1889
- "name": "null"
1890
- },
1891
- {
1892
- "__schema": "KeywordTypeSchema",
1893
- "location": {
1894
- "filePath": "checkout-version.ts",
1895
- "line": 27,
1896
- "character": 48
1962
+ {
1963
+ "__schema": "LiteralTypeSchema",
1964
+ "location": {
1965
+ "filePath": "checkout-version.ts",
1966
+ "line": 27,
1967
+ "character": 41
1968
+ },
1969
+ "name": "null"
1897
1970
  },
1898
- "name": "undefined"
1899
- }
1900
- ]
1901
- },
1902
- "isOptional": true
1903
- }
1904
- ]
1905
- }
1906
- ]
1971
+ {
1972
+ "__schema": "KeywordTypeSchema",
1973
+ "location": {
1974
+ "filePath": "checkout-version.ts",
1975
+ "line": 27,
1976
+ "character": 48
1977
+ },
1978
+ "name": "undefined"
1979
+ }
1980
+ ]
1981
+ },
1982
+ "isOptional": true
1983
+ }
1984
+ ]
1985
+ }
1986
+ ]
1987
+ }
1907
1988
  }
1908
1989
  },
1909
1990
  {
1910
- "__schema": "TypeSchema",
1991
+ "__schema": "ExportSchema",
1911
1992
  "location": {
1912
- "filePath": "checkout-version.ts",
1913
- "line": 17,
1914
- "character": 1
1993
+ "filePath": "index.ts",
1994
+ "line": 15,
1995
+ "character": 32
1915
1996
  },
1916
- "signature": "type ComponentStatusBase = {\n currentComponent?: ConsumerComponent | undefined;\n componentFromModel?: Version | undefined;\n id: ComponentID;\n shouldBeRemoved?: boolean | undefined;\n unchangedMessage?: string | undefined;\n unchangedLegitimately?: boolean | undefined;\n}",
1917
1997
  "name": "ComponentStatusBase",
1918
- "type": {
1919
- "__schema": "TypeLiteralSchema",
1998
+ "exportNode": {
1999
+ "__schema": "TypeSchema",
1920
2000
  "location": {
1921
2001
  "filePath": "checkout-version.ts",
1922
2002
  "line": 17,
1923
- "character": 35
2003
+ "character": 1
1924
2004
  },
1925
- "members": [
1926
- {
1927
- "__schema": "VariableLikeSchema",
1928
- "location": {
1929
- "filePath": "checkout-version.ts",
1930
- "line": 18,
1931
- "character": 3
1932
- },
1933
- "signature": "(property) currentComponent?: ConsumerComponent | undefined",
1934
- "name": "currentComponent",
1935
- "type": {
1936
- "__schema": "TypeRefSchema",
2005
+ "signature": "type ComponentStatusBase = {\n currentComponent?: ConsumerComponent | undefined;\n componentFromModel?: Version | undefined;\n id: ComponentID;\n shouldBeRemoved?: boolean | undefined;\n unchangedMessage?: string | undefined;\n unchangedLegitimately?: boolean | undefined;\n}",
2006
+ "name": "ComponentStatusBase",
2007
+ "type": {
2008
+ "__schema": "TypeLiteralSchema",
2009
+ "location": {
2010
+ "filePath": "checkout-version.ts",
2011
+ "line": 17,
2012
+ "character": 35
2013
+ },
2014
+ "members": [
2015
+ {
2016
+ "__schema": "VariableLikeSchema",
1937
2017
  "location": {
1938
2018
  "filePath": "checkout-version.ts",
1939
2019
  "line": 18,
1940
- "character": 22
2020
+ "character": 3
1941
2021
  },
1942
- "name": "ConsumerComponent",
1943
- "packageName": "@teambit/legacy/dist/consumer/component"
1944
- },
1945
- "isOptional": true
1946
- },
1947
- {
1948
- "__schema": "VariableLikeSchema",
1949
- "location": {
1950
- "filePath": "checkout-version.ts",
1951
- "line": 19,
1952
- "character": 3
2022
+ "signature": "(property) currentComponent?: ConsumerComponent | undefined",
2023
+ "name": "currentComponent",
2024
+ "type": {
2025
+ "__schema": "TypeRefSchema",
2026
+ "location": {
2027
+ "filePath": "checkout-version.ts",
2028
+ "line": 18,
2029
+ "character": 22
2030
+ },
2031
+ "name": "ConsumerComponent",
2032
+ "packageName": "@teambit/legacy/dist/consumer/component"
2033
+ },
2034
+ "isOptional": true
1953
2035
  },
1954
- "signature": "(property) componentFromModel?: Version | undefined",
1955
- "name": "componentFromModel",
1956
- "type": {
1957
- "__schema": "TypeRefSchema",
2036
+ {
2037
+ "__schema": "VariableLikeSchema",
1958
2038
  "location": {
1959
2039
  "filePath": "checkout-version.ts",
1960
2040
  "line": 19,
1961
- "character": 24
2041
+ "character": 3
1962
2042
  },
1963
- "name": "Version",
1964
- "packageName": "@teambit/legacy/dist/scope/models/version"
2043
+ "signature": "(property) componentFromModel?: Version | undefined",
2044
+ "name": "componentFromModel",
2045
+ "type": {
2046
+ "__schema": "TypeRefSchema",
2047
+ "location": {
2048
+ "filePath": "checkout-version.ts",
2049
+ "line": 19,
2050
+ "character": 24
2051
+ },
2052
+ "name": "Version",
2053
+ "packageName": "@teambit/legacy/dist/scope/models/version"
2054
+ },
2055
+ "isOptional": true
1965
2056
  },
1966
- "isOptional": true
1967
- },
1968
- {
1969
- "__schema": "VariableLikeSchema",
1970
- "location": {
1971
- "filePath": "checkout-version.ts",
1972
- "line": 20,
1973
- "character": 3
2057
+ {
2058
+ "__schema": "VariableLikeSchema",
2059
+ "location": {
2060
+ "filePath": "checkout-version.ts",
2061
+ "line": 20,
2062
+ "character": 3
2063
+ },
2064
+ "signature": "(property) id: ComponentID",
2065
+ "name": "id",
2066
+ "type": {
2067
+ "__schema": "TypeRefSchema",
2068
+ "location": {
2069
+ "filePath": "checkout-version.ts",
2070
+ "line": 20,
2071
+ "character": 3
2072
+ },
2073
+ "name": "ComponentID",
2074
+ "componentId": {
2075
+ "scope": "teambit.component",
2076
+ "name": "component-id",
2077
+ "version": "1.2.0"
2078
+ }
2079
+ },
2080
+ "isOptional": false
2081
+ },
2082
+ {
2083
+ "__schema": "VariableLikeSchema",
2084
+ "location": {
2085
+ "filePath": "checkout-version.ts",
2086
+ "line": 21,
2087
+ "character": 3
2088
+ },
2089
+ "signature": "(property) shouldBeRemoved?: boolean | undefined",
2090
+ "name": "shouldBeRemoved",
2091
+ "type": {
2092
+ "__schema": "KeywordTypeSchema",
2093
+ "location": {
2094
+ "filePath": "checkout-version.ts",
2095
+ "line": 21,
2096
+ "character": 21
2097
+ },
2098
+ "name": "boolean"
2099
+ },
2100
+ "isOptional": true
2101
+ },
2102
+ {
2103
+ "__schema": "VariableLikeSchema",
2104
+ "location": {
2105
+ "filePath": "checkout-version.ts",
2106
+ "line": 22,
2107
+ "character": 3
2108
+ },
2109
+ "signature": "(property) unchangedMessage?: string | undefined",
2110
+ "name": "unchangedMessage",
2111
+ "type": {
2112
+ "__schema": "KeywordTypeSchema",
2113
+ "location": {
2114
+ "filePath": "checkout-version.ts",
2115
+ "line": 22,
2116
+ "character": 22
2117
+ },
2118
+ "name": "string"
2119
+ },
2120
+ "isOptional": true
1974
2121
  },
1975
- "signature": "(property) id: ComponentID",
1976
- "name": "id",
1977
- "type": {
1978
- "__schema": "TypeRefSchema",
2122
+ {
2123
+ "__schema": "VariableLikeSchema",
1979
2124
  "location": {
1980
2125
  "filePath": "checkout-version.ts",
1981
- "line": 20,
2126
+ "line": 23,
1982
2127
  "character": 3
1983
2128
  },
1984
- "name": "ComponentID",
1985
- "componentId": {
1986
- "scope": "teambit.component",
1987
- "name": "component-id",
1988
- "version": "1.2.0"
1989
- }
1990
- },
1991
- "isOptional": false
2129
+ "signature": "(property) unchangedLegitimately?: boolean | undefined",
2130
+ "name": "unchangedLegitimately",
2131
+ "type": {
2132
+ "__schema": "KeywordTypeSchema",
2133
+ "location": {
2134
+ "filePath": "checkout-version.ts",
2135
+ "line": 23,
2136
+ "character": 27
2137
+ },
2138
+ "name": "boolean"
2139
+ },
2140
+ "isOptional": true
2141
+ }
2142
+ ]
2143
+ }
2144
+ }
2145
+ },
2146
+ {
2147
+ "__schema": "ExportSchema",
2148
+ "location": {
2149
+ "filePath": "index.ts",
2150
+ "line": 15,
2151
+ "character": 53
2152
+ },
2153
+ "name": "ApplyVersionWithComps",
2154
+ "exportNode": {
2155
+ "__schema": "TypeSchema",
2156
+ "location": {
2157
+ "filePath": "checkout-version.ts",
2158
+ "line": 30,
2159
+ "character": 1
2160
+ },
2161
+ "signature": "type ApplyVersionWithComps = {\n applyVersionResult: ApplyVersionResult;\n component?: ConsumerComponent | undefined;\n legacyCompToWrite?: ConsumerComponent | undefined;\n}",
2162
+ "name": "ApplyVersionWithComps",
2163
+ "type": {
2164
+ "__schema": "TypeLiteralSchema",
2165
+ "location": {
2166
+ "filePath": "checkout-version.ts",
2167
+ "line": 30,
2168
+ "character": 37
1992
2169
  },
1993
- {
1994
- "__schema": "VariableLikeSchema",
1995
- "location": {
1996
- "filePath": "checkout-version.ts",
1997
- "line": 21,
1998
- "character": 3
1999
- },
2000
- "signature": "(property) shouldBeRemoved?: boolean | undefined",
2001
- "name": "shouldBeRemoved",
2002
- "type": {
2003
- "__schema": "KeywordTypeSchema",
2170
+ "members": [
2171
+ {
2172
+ "__schema": "VariableLikeSchema",
2004
2173
  "location": {
2005
2174
  "filePath": "checkout-version.ts",
2006
- "line": 21,
2007
- "character": 21
2175
+ "line": 31,
2176
+ "character": 3
2008
2177
  },
2009
- "name": "boolean"
2010
- },
2011
- "isOptional": true
2012
- },
2013
- {
2014
- "__schema": "VariableLikeSchema",
2015
- "location": {
2016
- "filePath": "checkout-version.ts",
2017
- "line": 22,
2018
- "character": 3
2178
+ "signature": "(property) applyVersionResult: ApplyVersionResult",
2179
+ "name": "applyVersionResult",
2180
+ "type": {
2181
+ "__schema": "TypeRefSchema",
2182
+ "location": {
2183
+ "filePath": "checkout-version.ts",
2184
+ "line": 31,
2185
+ "character": 3
2186
+ },
2187
+ "name": "ApplyVersionResult",
2188
+ "componentId": {
2189
+ "scope": "teambit.component",
2190
+ "name": "merging"
2191
+ }
2192
+ },
2193
+ "isOptional": false
2019
2194
  },
2020
- "signature": "(property) unchangedMessage?: string | undefined",
2021
- "name": "unchangedMessage",
2022
- "type": {
2023
- "__schema": "KeywordTypeSchema",
2195
+ {
2196
+ "__schema": "VariableLikeSchema",
2024
2197
  "location": {
2025
2198
  "filePath": "checkout-version.ts",
2026
- "line": 22,
2027
- "character": 22
2199
+ "line": 32,
2200
+ "character": 3
2028
2201
  },
2029
- "name": "string"
2030
- },
2031
- "isOptional": true
2032
- },
2033
- {
2034
- "__schema": "VariableLikeSchema",
2035
- "location": {
2036
- "filePath": "checkout-version.ts",
2037
- "line": 23,
2038
- "character": 3
2202
+ "signature": "(property) component?: ConsumerComponent | undefined",
2203
+ "name": "component",
2204
+ "type": {
2205
+ "__schema": "TypeRefSchema",
2206
+ "location": {
2207
+ "filePath": "checkout-version.ts",
2208
+ "line": 32,
2209
+ "character": 15
2210
+ },
2211
+ "name": "ConsumerComponent",
2212
+ "packageName": "@teambit/legacy/dist/consumer/component"
2213
+ },
2214
+ "isOptional": true
2039
2215
  },
2040
- "signature": "(property) unchangedLegitimately?: boolean | undefined",
2041
- "name": "unchangedLegitimately",
2042
- "type": {
2043
- "__schema": "KeywordTypeSchema",
2216
+ {
2217
+ "__schema": "VariableLikeSchema",
2044
2218
  "location": {
2045
2219
  "filePath": "checkout-version.ts",
2046
- "line": 23,
2047
- "character": 27
2220
+ "line": 34,
2221
+ "character": 3
2048
2222
  },
2049
- "name": "boolean"
2050
- },
2051
- "isOptional": true
2052
- }
2053
- ]
2223
+ "signature": "(property) legacyCompToWrite?: ConsumerComponent | undefined",
2224
+ "name": "legacyCompToWrite",
2225
+ "type": {
2226
+ "__schema": "TypeRefSchema",
2227
+ "location": {
2228
+ "filePath": "checkout-version.ts",
2229
+ "line": 34,
2230
+ "character": 23
2231
+ },
2232
+ "name": "ConsumerComponent",
2233
+ "packageName": "@teambit/legacy/dist/consumer/component"
2234
+ },
2235
+ "isOptional": true
2236
+ }
2237
+ ]
2238
+ }
2054
2239
  }
2055
2240
  },
2056
2241
  {
2057
- "__schema": "TypeSchema",
2242
+ "__schema": "ExportSchema",
2058
2243
  "location": {
2059
- "filePath": "checkout-version.ts",
2060
- "line": 30,
2061
- "character": 1
2244
+ "filePath": "index.ts",
2245
+ "line": 16,
2246
+ "character": 10
2062
2247
  },
2063
- "signature": "type ApplyVersionWithComps = {\n applyVersionResult: ApplyVersionResult;\n component?: ConsumerComponent | undefined;\n legacyCompToWrite?: ConsumerComponent | undefined;\n}",
2064
- "name": "ApplyVersionWithComps",
2065
- "type": {
2066
- "__schema": "TypeLiteralSchema",
2248
+ "name": "checkoutOutput",
2249
+ "exportNode": {
2250
+ "__schema": "FunctionLikeSchema",
2067
2251
  "location": {
2068
- "filePath": "checkout-version.ts",
2069
- "line": 30,
2070
- "character": 37
2252
+ "filePath": "checkout-cmd.ts",
2253
+ "line": 141,
2254
+ "character": 1
2071
2255
  },
2072
- "members": [
2256
+ "signature": "function checkoutOutput(checkoutResults: ApplyVersionResults, checkoutProps: CheckoutProps, alternativeTitle?: string): string",
2257
+ "name": "checkoutOutput",
2258
+ "params": [
2073
2259
  {
2074
- "__schema": "VariableLikeSchema",
2260
+ "__schema": "ParameterSchema",
2075
2261
  "location": {
2076
- "filePath": "checkout-version.ts",
2077
- "line": 31,
2262
+ "filePath": "checkout-cmd.ts",
2263
+ "line": 142,
2078
2264
  "character": 3
2079
2265
  },
2080
- "signature": "(property) applyVersionResult: ApplyVersionResult",
2081
- "name": "applyVersionResult",
2266
+ "name": "checkoutResults",
2082
2267
  "type": {
2083
2268
  "__schema": "TypeRefSchema",
2084
2269
  "location": {
2085
- "filePath": "checkout-version.ts",
2086
- "line": 31,
2087
- "character": 3
2270
+ "filePath": "checkout-cmd.ts",
2271
+ "line": 142,
2272
+ "character": 20
2088
2273
  },
2089
- "name": "ApplyVersionResult",
2274
+ "name": "ApplyVersionResults",
2090
2275
  "componentId": {
2091
2276
  "scope": "teambit.component",
2092
2277
  "name": "merging"
2093
2278
  }
2094
2279
  },
2095
- "isOptional": false
2280
+ "isOptional": false,
2281
+ "isSpread": false
2096
2282
  },
2097
2283
  {
2098
- "__schema": "VariableLikeSchema",
2284
+ "__schema": "ParameterSchema",
2099
2285
  "location": {
2100
- "filePath": "checkout-version.ts",
2101
- "line": 32,
2286
+ "filePath": "checkout-cmd.ts",
2287
+ "line": 143,
2102
2288
  "character": 3
2103
2289
  },
2104
- "signature": "(property) component?: ConsumerComponent | undefined",
2105
- "name": "component",
2290
+ "name": "checkoutProps",
2106
2291
  "type": {
2107
2292
  "__schema": "TypeRefSchema",
2108
2293
  "location": {
2109
- "filePath": "checkout-version.ts",
2110
- "line": 32,
2111
- "character": 15
2294
+ "filePath": "checkout-cmd.ts",
2295
+ "line": 143,
2296
+ "character": 18
2112
2297
  },
2113
- "name": "ConsumerComponent",
2114
- "packageName": "@teambit/legacy/dist/consumer/component"
2298
+ "name": "CheckoutProps"
2115
2299
  },
2116
- "isOptional": true
2300
+ "isOptional": false,
2301
+ "isSpread": false
2117
2302
  },
2118
2303
  {
2119
- "__schema": "VariableLikeSchema",
2304
+ "__schema": "ParameterSchema",
2120
2305
  "location": {
2121
- "filePath": "checkout-version.ts",
2122
- "line": 34,
2306
+ "filePath": "checkout-cmd.ts",
2307
+ "line": 144,
2123
2308
  "character": 3
2124
2309
  },
2125
- "signature": "(property) legacyCompToWrite?: ConsumerComponent | undefined",
2126
- "name": "legacyCompToWrite",
2310
+ "name": "alternativeTitle",
2127
2311
  "type": {
2128
- "__schema": "TypeRefSchema",
2312
+ "__schema": "KeywordTypeSchema",
2129
2313
  "location": {
2130
- "filePath": "checkout-version.ts",
2131
- "line": 34,
2132
- "character": 23
2314
+ "filePath": "checkout-cmd.ts",
2315
+ "line": 144,
2316
+ "character": 22
2133
2317
  },
2134
- "name": "ConsumerComponent",
2135
- "packageName": "@teambit/legacy/dist/consumer/component"
2318
+ "name": "string"
2136
2319
  },
2137
- "isOptional": true
2320
+ "isOptional": true,
2321
+ "isSpread": false
2138
2322
  }
2139
- ]
2140
- }
2141
- },
2142
- {
2143
- "__schema": "FunctionLikeSchema",
2144
- "location": {
2145
- "filePath": "checkout-cmd.ts",
2146
- "line": 141,
2147
- "character": 1
2148
- },
2149
- "signature": "function checkoutOutput(checkoutResults: ApplyVersionResults, checkoutProps: CheckoutProps, alternativeTitle?: string): string",
2150
- "name": "checkoutOutput",
2151
- "params": [
2152
- {
2153
- "__schema": "ParameterSchema",
2154
- "location": {
2155
- "filePath": "checkout-cmd.ts",
2156
- "line": 142,
2157
- "character": 3
2158
- },
2159
- "name": "checkoutResults",
2160
- "type": {
2161
- "__schema": "TypeRefSchema",
2162
- "location": {
2163
- "filePath": "checkout-cmd.ts",
2164
- "line": 142,
2165
- "character": 20
2166
- },
2167
- "name": "ApplyVersionResults",
2168
- "componentId": {
2169
- "scope": "teambit.component",
2170
- "name": "merging"
2171
- }
2172
- },
2173
- "isOptional": false,
2174
- "isSpread": false
2175
- },
2176
- {
2177
- "__schema": "ParameterSchema",
2178
- "location": {
2179
- "filePath": "checkout-cmd.ts",
2180
- "line": 143,
2181
- "character": 3
2182
- },
2183
- "name": "checkoutProps",
2184
- "type": {
2185
- "__schema": "TypeRefSchema",
2186
- "location": {
2187
- "filePath": "checkout-cmd.ts",
2188
- "line": 143,
2189
- "character": 18
2190
- },
2191
- "name": "CheckoutProps"
2192
- },
2193
- "isOptional": false,
2194
- "isSpread": false
2195
- },
2196
- {
2197
- "__schema": "ParameterSchema",
2323
+ ],
2324
+ "returnType": {
2325
+ "__schema": "InferenceTypeSchema",
2198
2326
  "location": {
2199
2327
  "filePath": "checkout-cmd.ts",
2200
- "line": 144,
2201
- "character": 3
2202
- },
2203
- "name": "alternativeTitle",
2204
- "type": {
2205
- "__schema": "KeywordTypeSchema",
2206
- "location": {
2207
- "filePath": "checkout-cmd.ts",
2208
- "line": 144,
2209
- "character": 22
2210
- },
2211
- "name": "string"
2328
+ "line": 141,
2329
+ "character": 1
2212
2330
  },
2213
- "isOptional": true,
2214
- "isSpread": false
2215
- }
2216
- ],
2217
- "returnType": {
2218
- "__schema": "InferenceTypeSchema",
2219
- "location": {
2220
- "filePath": "checkout-cmd.ts",
2221
- "line": 141,
2222
- "character": 1
2331
+ "type": "string"
2223
2332
  },
2224
- "type": "string"
2225
- },
2226
- "modifiers": [
2227
- "export"
2228
- ]
2333
+ "modifiers": [
2334
+ "export"
2335
+ ]
2336
+ }
2229
2337
  }
2230
2338
  ],
2231
2339
  "internals": []
@@ -5267,7 +5375,7 @@
5267
5375
  "_legacy": {
5268
5376
  "scope": "teambit.component",
5269
5377
  "name": "checkout",
5270
- "version": "1.0.257"
5378
+ "version": "1.0.259"
5271
5379
  },
5272
5380
  "_scope": "teambit.component"
5273
5381
  }
@@ -5370,7 +5478,7 @@
5370
5478
  "componentId": {
5371
5479
  "scope": "teambit.component",
5372
5480
  "name": "checkout",
5373
- "version": "1.0.257"
5481
+ "version": "1.0.259"
5374
5482
  },
5375
5483
  "taggedModuleExports": []
5376
5484
  }