@teambit/checkout 1.0.332 → 1.0.334

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.
@@ -1126,14 +1126,14 @@
1126
1126
  "__schema": "FunctionLikeSchema",
1127
1127
  "location": {
1128
1128
  "filePath": "checkout-version.ts",
1129
- "line": 156,
1129
+ "line": 154,
1130
1130
  "character": 1
1131
1131
  },
1132
1132
  "doc": {
1133
1133
  "__schema": "DocSchema",
1134
1134
  "location": {
1135
1135
  "filePath": "checkout-version.ts",
1136
- "line": 149,
1136
+ "line": 147,
1137
1137
  "character": 1
1138
1138
  },
1139
1139
  "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 */",
@@ -1147,7 +1147,7 @@
1147
1147
  "__schema": "ParameterSchema",
1148
1148
  "location": {
1149
1149
  "filePath": "checkout-version.ts",
1150
- "line": 157,
1150
+ "line": 155,
1151
1151
  "character": 3
1152
1152
  },
1153
1153
  "name": "componentFiles",
@@ -1155,14 +1155,14 @@
1155
1155
  "__schema": "TypeArraySchema",
1156
1156
  "location": {
1157
1157
  "filePath": "checkout-version.ts",
1158
- "line": 157,
1158
+ "line": 155,
1159
1159
  "character": 19
1160
1160
  },
1161
1161
  "type": {
1162
1162
  "__schema": "TypeRefSchema",
1163
1163
  "location": {
1164
1164
  "filePath": "checkout-version.ts",
1165
- "line": 157,
1165
+ "line": 155,
1166
1166
  "character": 19
1167
1167
  },
1168
1168
  "name": "SourceFile"
@@ -1175,7 +1175,7 @@
1175
1175
  "__schema": "ParameterSchema",
1176
1176
  "location": {
1177
1177
  "filePath": "checkout-version.ts",
1178
- "line": 158,
1178
+ "line": 156,
1179
1179
  "character": 3
1180
1180
  },
1181
1181
  "name": "mergeResults",
@@ -1183,7 +1183,7 @@
1183
1183
  "__schema": "TypeRefSchema",
1184
1184
  "location": {
1185
1185
  "filePath": "checkout-version.ts",
1186
- "line": 158,
1186
+ "line": 156,
1187
1187
  "character": 17
1188
1188
  },
1189
1189
  "name": "MergeResultsThreeWay"
@@ -1195,7 +1195,7 @@
1195
1195
  "__schema": "ParameterSchema",
1196
1196
  "location": {
1197
1197
  "filePath": "checkout-version.ts",
1198
- "line": 159,
1198
+ "line": 157,
1199
1199
  "character": 3
1200
1200
  },
1201
1201
  "name": "mergeStrategy",
@@ -1203,7 +1203,7 @@
1203
1203
  "__schema": "TypeUnionSchema",
1204
1204
  "location": {
1205
1205
  "filePath": "checkout-version.ts",
1206
- "line": 159,
1206
+ "line": 157,
1207
1207
  "character": 18
1208
1208
  },
1209
1209
  "types": [
@@ -1211,7 +1211,7 @@
1211
1211
  "__schema": "TypeRefSchema",
1212
1212
  "location": {
1213
1213
  "filePath": "checkout-version.ts",
1214
- "line": 159,
1214
+ "line": 157,
1215
1215
  "character": 18
1216
1216
  },
1217
1217
  "name": "MergeStrategy"
@@ -1220,7 +1220,7 @@
1220
1220
  "__schema": "LiteralTypeSchema",
1221
1221
  "location": {
1222
1222
  "filePath": "checkout-version.ts",
1223
- "line": 159,
1223
+ "line": 157,
1224
1224
  "character": 34
1225
1225
  },
1226
1226
  "name": "null"
@@ -1229,7 +1229,7 @@
1229
1229
  "__schema": "KeywordTypeSchema",
1230
1230
  "location": {
1231
1231
  "filePath": "checkout-version.ts",
1232
- "line": 159,
1232
+ "line": 157,
1233
1233
  "character": 41
1234
1234
  },
1235
1235
  "name": "undefined"
@@ -1244,7 +1244,7 @@
1244
1244
  "__schema": "TypeLiteralSchema",
1245
1245
  "location": {
1246
1246
  "filePath": "checkout-version.ts",
1247
- "line": 160,
1247
+ "line": 158,
1248
1248
  "character": 4
1249
1249
  },
1250
1250
  "members": [
@@ -1252,7 +1252,7 @@
1252
1252
  "__schema": "VariableLikeSchema",
1253
1253
  "location": {
1254
1254
  "filePath": "checkout-version.ts",
1255
- "line": 160,
1255
+ "line": 158,
1256
1256
  "character": 6
1257
1257
  },
1258
1258
  "signature": "(property) filesStatus: Record<string, any>",
@@ -1261,7 +1261,7 @@
1261
1261
  "__schema": "TypeRefSchema",
1262
1262
  "location": {
1263
1263
  "filePath": "checkout-version.ts",
1264
- "line": 160,
1264
+ "line": 158,
1265
1265
  "character": 19
1266
1266
  },
1267
1267
  "name": "Record",
@@ -1270,7 +1270,7 @@
1270
1270
  "__schema": "KeywordTypeSchema",
1271
1271
  "location": {
1272
1272
  "filePath": "checkout-version.ts",
1273
- "line": 160,
1273
+ "line": 158,
1274
1274
  "character": 26
1275
1275
  },
1276
1276
  "name": "string"
@@ -1279,7 +1279,7 @@
1279
1279
  "__schema": "KeywordTypeSchema",
1280
1280
  "location": {
1281
1281
  "filePath": "checkout-version.ts",
1282
- "line": 160,
1282
+ "line": 158,
1283
1283
  "character": 34
1284
1284
  },
1285
1285
  "name": "any"
@@ -1292,7 +1292,7 @@
1292
1292
  "__schema": "VariableLikeSchema",
1293
1293
  "location": {
1294
1294
  "filePath": "checkout-version.ts",
1295
- "line": 160,
1295
+ "line": 158,
1296
1296
  "character": 40
1297
1297
  },
1298
1298
  "signature": "(property) modifiedFiles: SourceFile[]",
@@ -1301,14 +1301,14 @@
1301
1301
  "__schema": "TypeArraySchema",
1302
1302
  "location": {
1303
1303
  "filePath": "checkout-version.ts",
1304
- "line": 160,
1304
+ "line": 158,
1305
1305
  "character": 55
1306
1306
  },
1307
1307
  "type": {
1308
1308
  "__schema": "TypeRefSchema",
1309
1309
  "location": {
1310
1310
  "filePath": "checkout-version.ts",
1311
- "line": 160,
1311
+ "line": 158,
1312
1312
  "character": 55
1313
1313
  },
1314
1314
  "name": "SourceFile"
@@ -1335,14 +1335,14 @@
1335
1335
  "__schema": "FunctionLikeSchema",
1336
1336
  "location": {
1337
1337
  "filePath": "checkout-version.ts",
1338
- "line": 63,
1338
+ "line": 61,
1339
1339
  "character": 1
1340
1340
  },
1341
1341
  "doc": {
1342
1342
  "__schema": "DocSchema",
1343
1343
  "location": {
1344
1344
  "filePath": "checkout-version.ts",
1345
- "line": 42,
1345
+ "line": 40,
1346
1346
  "character": 1
1347
1347
  },
1348
1348
  "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 */",
@@ -1356,7 +1356,7 @@
1356
1356
  "__schema": "ParameterSchema",
1357
1357
  "location": {
1358
1358
  "filePath": "checkout-version.ts",
1359
- "line": 64,
1359
+ "line": 62,
1360
1360
  "character": 3
1361
1361
  },
1362
1362
  "name": "consumer",
@@ -1364,7 +1364,7 @@
1364
1364
  "__schema": "TypeRefSchema",
1365
1365
  "location": {
1366
1366
  "filePath": "checkout-version.ts",
1367
- "line": 64,
1367
+ "line": 62,
1368
1368
  "character": 13
1369
1369
  },
1370
1370
  "name": "Consumer"
@@ -1376,7 +1376,7 @@
1376
1376
  "__schema": "ParameterSchema",
1377
1377
  "location": {
1378
1378
  "filePath": "checkout-version.ts",
1379
- "line": 65,
1379
+ "line": 63,
1380
1380
  "character": 3
1381
1381
  },
1382
1382
  "name": "id",
@@ -1384,7 +1384,7 @@
1384
1384
  "__schema": "TypeRefSchema",
1385
1385
  "location": {
1386
1386
  "filePath": "checkout-version.ts",
1387
- "line": 65,
1387
+ "line": 63,
1388
1388
  "character": 7
1389
1389
  },
1390
1390
  "name": "ComponentID"
@@ -1396,7 +1396,7 @@
1396
1396
  "__schema": "ParameterSchema",
1397
1397
  "location": {
1398
1398
  "filePath": "checkout-version.ts",
1399
- "line": 66,
1399
+ "line": 64,
1400
1400
  "character": 3
1401
1401
  },
1402
1402
  "name": "componentFromFS",
@@ -1404,7 +1404,7 @@
1404
1404
  "__schema": "TypeUnionSchema",
1405
1405
  "location": {
1406
1406
  "filePath": "checkout-version.ts",
1407
- "line": 66,
1407
+ "line": 64,
1408
1408
  "character": 20
1409
1409
  },
1410
1410
  "types": [
@@ -1412,7 +1412,7 @@
1412
1412
  "__schema": "TypeRefSchema",
1413
1413
  "location": {
1414
1414
  "filePath": "checkout-version.ts",
1415
- "line": 66,
1415
+ "line": 64,
1416
1416
  "character": 20
1417
1417
  },
1418
1418
  "name": "ConsumerComponent"
@@ -1421,7 +1421,7 @@
1421
1421
  "__schema": "LiteralTypeSchema",
1422
1422
  "location": {
1423
1423
  "filePath": "checkout-version.ts",
1424
- "line": 66,
1424
+ "line": 64,
1425
1425
  "character": 40
1426
1426
  },
1427
1427
  "name": "null"
@@ -1430,7 +1430,7 @@
1430
1430
  "__schema": "KeywordTypeSchema",
1431
1431
  "location": {
1432
1432
  "filePath": "checkout-version.ts",
1433
- "line": 66,
1433
+ "line": 64,
1434
1434
  "character": 47
1435
1435
  },
1436
1436
  "name": "undefined"
@@ -1444,7 +1444,7 @@
1444
1444
  "__schema": "ParameterSchema",
1445
1445
  "location": {
1446
1446
  "filePath": "checkout-version.ts",
1447
- "line": 67,
1447
+ "line": 65,
1448
1448
  "character": 3
1449
1449
  },
1450
1450
  "name": "mergeResults",
@@ -1452,7 +1452,7 @@
1452
1452
  "__schema": "TypeUnionSchema",
1453
1453
  "location": {
1454
1454
  "filePath": "checkout-version.ts",
1455
- "line": 67,
1455
+ "line": 65,
1456
1456
  "character": 17
1457
1457
  },
1458
1458
  "types": [
@@ -1460,7 +1460,7 @@
1460
1460
  "__schema": "TypeRefSchema",
1461
1461
  "location": {
1462
1462
  "filePath": "checkout-version.ts",
1463
- "line": 67,
1463
+ "line": 65,
1464
1464
  "character": 17
1465
1465
  },
1466
1466
  "name": "MergeResultsThreeWay"
@@ -1469,7 +1469,7 @@
1469
1469
  "__schema": "LiteralTypeSchema",
1470
1470
  "location": {
1471
1471
  "filePath": "checkout-version.ts",
1472
- "line": 67,
1472
+ "line": 65,
1473
1473
  "character": 40
1474
1474
  },
1475
1475
  "name": "null"
@@ -1478,7 +1478,7 @@
1478
1478
  "__schema": "KeywordTypeSchema",
1479
1479
  "location": {
1480
1480
  "filePath": "checkout-version.ts",
1481
- "line": 67,
1481
+ "line": 65,
1482
1482
  "character": 47
1483
1483
  },
1484
1484
  "name": "undefined"
@@ -1492,7 +1492,7 @@
1492
1492
  "__schema": "ParameterSchema",
1493
1493
  "location": {
1494
1494
  "filePath": "checkout-version.ts",
1495
- "line": 68,
1495
+ "line": 66,
1496
1496
  "character": 3
1497
1497
  },
1498
1498
  "name": "checkoutProps",
@@ -1500,7 +1500,7 @@
1500
1500
  "__schema": "TypeRefSchema",
1501
1501
  "location": {
1502
1502
  "filePath": "checkout-version.ts",
1503
- "line": 68,
1503
+ "line": 66,
1504
1504
  "character": 18
1505
1505
  },
1506
1506
  "name": "CheckoutProps"
@@ -1513,7 +1513,7 @@
1513
1513
  "__schema": "TypeRefSchema",
1514
1514
  "location": {
1515
1515
  "filePath": "checkout-version.ts",
1516
- "line": 69,
1516
+ "line": 67,
1517
1517
  "character": 4
1518
1518
  },
1519
1519
  "name": "Promise",
@@ -1522,7 +1522,7 @@
1522
1522
  "__schema": "TypeRefSchema",
1523
1523
  "location": {
1524
1524
  "filePath": "checkout-version.ts",
1525
- "line": 69,
1525
+ "line": 67,
1526
1526
  "character": 12
1527
1527
  },
1528
1528
  "name": "ApplyVersionWithComps"
@@ -1547,14 +1547,14 @@
1547
1547
  "__schema": "FunctionLikeSchema",
1548
1548
  "location": {
1549
1549
  "filePath": "checkout-version.ts",
1550
- "line": 124,
1550
+ "line": 122,
1551
1551
  "character": 1
1552
1552
  },
1553
1553
  "doc": {
1554
1554
  "__schema": "DocSchema",
1555
1555
  "location": {
1556
1556
  "filePath": "checkout-version.ts",
1557
- "line": 118,
1557
+ "line": 116,
1558
1558
  "character": 1
1559
1559
  },
1560
1560
  "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 */",
@@ -1568,7 +1568,7 @@
1568
1568
  "__schema": "ParameterSchema",
1569
1569
  "location": {
1570
1570
  "filePath": "checkout-version.ts",
1571
- "line": 125,
1571
+ "line": 123,
1572
1572
  "character": 3
1573
1573
  },
1574
1574
  "name": "filesStatus",
@@ -1576,7 +1576,7 @@
1576
1576
  "__schema": "TypeRefSchema",
1577
1577
  "location": {
1578
1578
  "filePath": "checkout-version.ts",
1579
- "line": 125,
1579
+ "line": 123,
1580
1580
  "character": 16
1581
1581
  },
1582
1582
  "name": "FilesStatus"
@@ -1588,7 +1588,7 @@
1588
1588
  "__schema": "ParameterSchema",
1589
1589
  "location": {
1590
1590
  "filePath": "checkout-version.ts",
1591
- "line": 126,
1591
+ "line": 124,
1592
1592
  "character": 3
1593
1593
  },
1594
1594
  "name": "consumer",
@@ -1596,7 +1596,7 @@
1596
1596
  "__schema": "TypeRefSchema",
1597
1597
  "location": {
1598
1598
  "filePath": "checkout-version.ts",
1599
- "line": 126,
1599
+ "line": 124,
1600
1600
  "character": 13
1601
1601
  },
1602
1602
  "name": "Consumer"
@@ -1608,7 +1608,7 @@
1608
1608
  "__schema": "ParameterSchema",
1609
1609
  "location": {
1610
1610
  "filePath": "checkout-version.ts",
1611
- "line": 127,
1611
+ "line": 125,
1612
1612
  "character": 3
1613
1613
  },
1614
1614
  "name": "componentFromFS",
@@ -1616,7 +1616,7 @@
1616
1616
  "__schema": "TypeRefSchema",
1617
1617
  "location": {
1618
1618
  "filePath": "checkout-version.ts",
1619
- "line": 127,
1619
+ "line": 125,
1620
1620
  "character": 21
1621
1621
  },
1622
1622
  "name": "ConsumerComponent"
@@ -1629,7 +1629,7 @@
1629
1629
  "__schema": "InferenceTypeSchema",
1630
1630
  "location": {
1631
1631
  "filePath": "checkout-version.ts",
1632
- "line": 124,
1632
+ "line": 122,
1633
1633
  "character": 1
1634
1634
  },
1635
1635
  "type": "Promise<void>"
@@ -1652,7 +1652,7 @@
1652
1652
  "__schema": "FunctionLikeSchema",
1653
1653
  "location": {
1654
1654
  "filePath": "checkout-version.ts",
1655
- "line": 109,
1655
+ "line": 107,
1656
1656
  "character": 1
1657
1657
  },
1658
1658
  "signature": "function updateFileStatus(files: SourceFile[], filesStatus: FilesStatus, componentFromFS?: ConsumerComponent): void",
@@ -1662,7 +1662,7 @@
1662
1662
  "__schema": "ParameterSchema",
1663
1663
  "location": {
1664
1664
  "filePath": "checkout-version.ts",
1665
- "line": 109,
1665
+ "line": 107,
1666
1666
  "character": 34
1667
1667
  },
1668
1668
  "name": "files",
@@ -1670,14 +1670,14 @@
1670
1670
  "__schema": "TypeArraySchema",
1671
1671
  "location": {
1672
1672
  "filePath": "checkout-version.ts",
1673
- "line": 109,
1673
+ "line": 107,
1674
1674
  "character": 41
1675
1675
  },
1676
1676
  "type": {
1677
1677
  "__schema": "TypeRefSchema",
1678
1678
  "location": {
1679
1679
  "filePath": "checkout-version.ts",
1680
- "line": 109,
1680
+ "line": 107,
1681
1681
  "character": 41
1682
1682
  },
1683
1683
  "name": "SourceFile"
@@ -1690,7 +1690,7 @@
1690
1690
  "__schema": "ParameterSchema",
1691
1691
  "location": {
1692
1692
  "filePath": "checkout-version.ts",
1693
- "line": 109,
1693
+ "line": 107,
1694
1694
  "character": 55
1695
1695
  },
1696
1696
  "name": "filesStatus",
@@ -1698,7 +1698,7 @@
1698
1698
  "__schema": "TypeRefSchema",
1699
1699
  "location": {
1700
1700
  "filePath": "checkout-version.ts",
1701
- "line": 109,
1701
+ "line": 107,
1702
1702
  "character": 68
1703
1703
  },
1704
1704
  "name": "FilesStatus"
@@ -1710,7 +1710,7 @@
1710
1710
  "__schema": "ParameterSchema",
1711
1711
  "location": {
1712
1712
  "filePath": "checkout-version.ts",
1713
- "line": 109,
1713
+ "line": 107,
1714
1714
  "character": 81
1715
1715
  },
1716
1716
  "name": "componentFromFS",
@@ -1718,7 +1718,7 @@
1718
1718
  "__schema": "TypeRefSchema",
1719
1719
  "location": {
1720
1720
  "filePath": "checkout-version.ts",
1721
- "line": 109,
1721
+ "line": 107,
1722
1722
  "character": 99
1723
1723
  },
1724
1724
  "name": "ConsumerComponent"
@@ -1731,7 +1731,7 @@
1731
1731
  "__schema": "InferenceTypeSchema",
1732
1732
  "location": {
1733
1733
  "filePath": "checkout-version.ts",
1734
- "line": 109,
1734
+ "line": 107,
1735
1735
  "character": 1
1736
1736
  },
1737
1737
  "type": "void"
@@ -1753,7 +1753,7 @@
1753
1753
  "__schema": "FunctionLikeSchema",
1754
1754
  "location": {
1755
1755
  "filePath": "checkout-version.ts",
1756
- "line": 230,
1756
+ "line": 228,
1757
1757
  "character": 1
1758
1758
  },
1759
1759
  "signature": "function throwForFailures(allComponentsStatus: ComponentStatusBase[]): void",
@@ -1763,7 +1763,7 @@
1763
1763
  "__schema": "ParameterSchema",
1764
1764
  "location": {
1765
1765
  "filePath": "checkout-version.ts",
1766
- "line": 230,
1766
+ "line": 228,
1767
1767
  "character": 34
1768
1768
  },
1769
1769
  "name": "allComponentsStatus",
@@ -1771,14 +1771,14 @@
1771
1771
  "__schema": "TypeArraySchema",
1772
1772
  "location": {
1773
1773
  "filePath": "checkout-version.ts",
1774
- "line": 230,
1774
+ "line": 228,
1775
1775
  "character": 55
1776
1776
  },
1777
1777
  "type": {
1778
1778
  "__schema": "TypeRefSchema",
1779
1779
  "location": {
1780
1780
  "filePath": "checkout-version.ts",
1781
- "line": 230,
1781
+ "line": 228,
1782
1782
  "character": 55
1783
1783
  },
1784
1784
  "name": "ComponentStatusBase"
@@ -1792,7 +1792,7 @@
1792
1792
  "__schema": "InferenceTypeSchema",
1793
1793
  "location": {
1794
1794
  "filePath": "checkout-version.ts",
1795
- "line": 230,
1795
+ "line": 228,
1796
1796
  "character": 1
1797
1797
  },
1798
1798
  "type": "void"
@@ -1814,7 +1814,7 @@
1814
1814
  "__schema": "TypeSchema",
1815
1815
  "location": {
1816
1816
  "filePath": "checkout-version.ts",
1817
- "line": 31,
1817
+ "line": 29,
1818
1818
  "character": 1
1819
1819
  },
1820
1820
  "signature": "type ComponentStatus = ComponentStatusBase & {\n mergeResults?: MergeResultsThreeWay | null | undefined;\n}",
@@ -1823,7 +1823,7 @@
1823
1823
  "__schema": "TypeIntersectionSchema",
1824
1824
  "location": {
1825
1825
  "filePath": "checkout-version.ts",
1826
- "line": 31,
1826
+ "line": 29,
1827
1827
  "character": 31
1828
1828
  },
1829
1829
  "types": [
@@ -1831,7 +1831,7 @@
1831
1831
  "__schema": "TypeRefSchema",
1832
1832
  "location": {
1833
1833
  "filePath": "checkout-version.ts",
1834
- "line": 31,
1834
+ "line": 29,
1835
1835
  "character": 31
1836
1836
  },
1837
1837
  "name": "ComponentStatusBase"
@@ -1840,7 +1840,7 @@
1840
1840
  "__schema": "TypeLiteralSchema",
1841
1841
  "location": {
1842
1842
  "filePath": "checkout-version.ts",
1843
- "line": 31,
1843
+ "line": 29,
1844
1844
  "character": 53
1845
1845
  },
1846
1846
  "members": [
@@ -1848,7 +1848,7 @@
1848
1848
  "__schema": "VariableLikeSchema",
1849
1849
  "location": {
1850
1850
  "filePath": "checkout-version.ts",
1851
- "line": 32,
1851
+ "line": 30,
1852
1852
  "character": 3
1853
1853
  },
1854
1854
  "signature": "(property) mergeResults?: MergeResultsThreeWay | null | undefined",
@@ -1857,7 +1857,7 @@
1857
1857
  "__schema": "TypeUnionSchema",
1858
1858
  "location": {
1859
1859
  "filePath": "checkout-version.ts",
1860
- "line": 32,
1860
+ "line": 30,
1861
1861
  "character": 18
1862
1862
  },
1863
1863
  "types": [
@@ -1865,7 +1865,7 @@
1865
1865
  "__schema": "TypeRefSchema",
1866
1866
  "location": {
1867
1867
  "filePath": "checkout-version.ts",
1868
- "line": 32,
1868
+ "line": 30,
1869
1869
  "character": 18
1870
1870
  },
1871
1871
  "name": "MergeResultsThreeWay"
@@ -1874,7 +1874,7 @@
1874
1874
  "__schema": "LiteralTypeSchema",
1875
1875
  "location": {
1876
1876
  "filePath": "checkout-version.ts",
1877
- "line": 32,
1877
+ "line": 30,
1878
1878
  "character": 41
1879
1879
  },
1880
1880
  "name": "null"
@@ -1883,7 +1883,7 @@
1883
1883
  "__schema": "KeywordTypeSchema",
1884
1884
  "location": {
1885
1885
  "filePath": "checkout-version.ts",
1886
- "line": 32,
1886
+ "line": 30,
1887
1887
  "character": 48
1888
1888
  },
1889
1889
  "name": "undefined"
@@ -1910,7 +1910,7 @@
1910
1910
  "__schema": "TypeSchema",
1911
1911
  "location": {
1912
1912
  "filePath": "checkout-version.ts",
1913
- "line": 22,
1913
+ "line": 20,
1914
1914
  "character": 1
1915
1915
  },
1916
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}",
@@ -1919,7 +1919,7 @@
1919
1919
  "__schema": "TypeLiteralSchema",
1920
1920
  "location": {
1921
1921
  "filePath": "checkout-version.ts",
1922
- "line": 22,
1922
+ "line": 20,
1923
1923
  "character": 35
1924
1924
  },
1925
1925
  "members": [
@@ -1927,7 +1927,7 @@
1927
1927
  "__schema": "VariableLikeSchema",
1928
1928
  "location": {
1929
1929
  "filePath": "checkout-version.ts",
1930
- "line": 23,
1930
+ "line": 21,
1931
1931
  "character": 3
1932
1932
  },
1933
1933
  "signature": "(property) currentComponent?: ConsumerComponent | undefined",
@@ -1936,7 +1936,7 @@
1936
1936
  "__schema": "TypeRefSchema",
1937
1937
  "location": {
1938
1938
  "filePath": "checkout-version.ts",
1939
- "line": 23,
1939
+ "line": 21,
1940
1940
  "character": 22
1941
1941
  },
1942
1942
  "name": "ConsumerComponent"
@@ -1947,7 +1947,7 @@
1947
1947
  "__schema": "VariableLikeSchema",
1948
1948
  "location": {
1949
1949
  "filePath": "checkout-version.ts",
1950
- "line": 24,
1950
+ "line": 22,
1951
1951
  "character": 3
1952
1952
  },
1953
1953
  "signature": "(property) componentFromModel?: Version | undefined",
@@ -1956,7 +1956,7 @@
1956
1956
  "__schema": "TypeRefSchema",
1957
1957
  "location": {
1958
1958
  "filePath": "checkout-version.ts",
1959
- "line": 24,
1959
+ "line": 22,
1960
1960
  "character": 24
1961
1961
  },
1962
1962
  "name": "Version"
@@ -1967,7 +1967,7 @@
1967
1967
  "__schema": "VariableLikeSchema",
1968
1968
  "location": {
1969
1969
  "filePath": "checkout-version.ts",
1970
- "line": 25,
1970
+ "line": 23,
1971
1971
  "character": 3
1972
1972
  },
1973
1973
  "signature": "(property) id: ComponentID",
@@ -1976,7 +1976,7 @@
1976
1976
  "__schema": "TypeRefSchema",
1977
1977
  "location": {
1978
1978
  "filePath": "checkout-version.ts",
1979
- "line": 25,
1979
+ "line": 23,
1980
1980
  "character": 3
1981
1981
  },
1982
1982
  "name": "ComponentID",
@@ -1992,7 +1992,7 @@
1992
1992
  "__schema": "VariableLikeSchema",
1993
1993
  "location": {
1994
1994
  "filePath": "checkout-version.ts",
1995
- "line": 26,
1995
+ "line": 24,
1996
1996
  "character": 3
1997
1997
  },
1998
1998
  "signature": "(property) shouldBeRemoved?: boolean | undefined",
@@ -2001,7 +2001,7 @@
2001
2001
  "__schema": "KeywordTypeSchema",
2002
2002
  "location": {
2003
2003
  "filePath": "checkout-version.ts",
2004
- "line": 26,
2004
+ "line": 24,
2005
2005
  "character": 21
2006
2006
  },
2007
2007
  "name": "boolean"
@@ -2012,7 +2012,7 @@
2012
2012
  "__schema": "VariableLikeSchema",
2013
2013
  "location": {
2014
2014
  "filePath": "checkout-version.ts",
2015
- "line": 27,
2015
+ "line": 25,
2016
2016
  "character": 3
2017
2017
  },
2018
2018
  "signature": "(property) unchangedMessage?: string | undefined",
@@ -2021,7 +2021,7 @@
2021
2021
  "__schema": "KeywordTypeSchema",
2022
2022
  "location": {
2023
2023
  "filePath": "checkout-version.ts",
2024
- "line": 27,
2024
+ "line": 25,
2025
2025
  "character": 22
2026
2026
  },
2027
2027
  "name": "string"
@@ -2032,7 +2032,7 @@
2032
2032
  "__schema": "VariableLikeSchema",
2033
2033
  "location": {
2034
2034
  "filePath": "checkout-version.ts",
2035
- "line": 28,
2035
+ "line": 26,
2036
2036
  "character": 3
2037
2037
  },
2038
2038
  "signature": "(property) unchangedLegitimately?: boolean | undefined",
@@ -2041,7 +2041,7 @@
2041
2041
  "__schema": "KeywordTypeSchema",
2042
2042
  "location": {
2043
2043
  "filePath": "checkout-version.ts",
2044
- "line": 28,
2044
+ "line": 26,
2045
2045
  "character": 27
2046
2046
  },
2047
2047
  "name": "boolean"
@@ -2064,7 +2064,7 @@
2064
2064
  "__schema": "TypeSchema",
2065
2065
  "location": {
2066
2066
  "filePath": "checkout-version.ts",
2067
- "line": 35,
2067
+ "line": 33,
2068
2068
  "character": 1
2069
2069
  },
2070
2070
  "signature": "type ApplyVersionWithComps = {\n applyVersionResult: ApplyVersionResult;\n component?: ConsumerComponent | undefined;\n legacyCompToWrite?: ConsumerComponent | undefined;\n}",
@@ -2073,7 +2073,7 @@
2073
2073
  "__schema": "TypeLiteralSchema",
2074
2074
  "location": {
2075
2075
  "filePath": "checkout-version.ts",
2076
- "line": 35,
2076
+ "line": 33,
2077
2077
  "character": 37
2078
2078
  },
2079
2079
  "members": [
@@ -2081,7 +2081,7 @@
2081
2081
  "__schema": "VariableLikeSchema",
2082
2082
  "location": {
2083
2083
  "filePath": "checkout-version.ts",
2084
- "line": 36,
2084
+ "line": 34,
2085
2085
  "character": 3
2086
2086
  },
2087
2087
  "signature": "(property) applyVersionResult: ApplyVersionResult",
@@ -2090,7 +2090,7 @@
2090
2090
  "__schema": "TypeRefSchema",
2091
2091
  "location": {
2092
2092
  "filePath": "checkout-version.ts",
2093
- "line": 36,
2093
+ "line": 34,
2094
2094
  "character": 3
2095
2095
  },
2096
2096
  "name": "ApplyVersionResult",
@@ -2105,7 +2105,7 @@
2105
2105
  "__schema": "VariableLikeSchema",
2106
2106
  "location": {
2107
2107
  "filePath": "checkout-version.ts",
2108
- "line": 37,
2108
+ "line": 35,
2109
2109
  "character": 3
2110
2110
  },
2111
2111
  "signature": "(property) component?: ConsumerComponent | undefined",
@@ -2114,7 +2114,7 @@
2114
2114
  "__schema": "TypeRefSchema",
2115
2115
  "location": {
2116
2116
  "filePath": "checkout-version.ts",
2117
- "line": 37,
2117
+ "line": 35,
2118
2118
  "character": 15
2119
2119
  },
2120
2120
  "name": "ConsumerComponent"
@@ -2125,7 +2125,7 @@
2125
2125
  "__schema": "VariableLikeSchema",
2126
2126
  "location": {
2127
2127
  "filePath": "checkout-version.ts",
2128
- "line": 39,
2128
+ "line": 37,
2129
2129
  "character": 3
2130
2130
  },
2131
2131
  "signature": "(property) legacyCompToWrite?: ConsumerComponent | undefined",
@@ -2134,7 +2134,7 @@
2134
2134
  "__schema": "TypeRefSchema",
2135
2135
  "location": {
2136
2136
  "filePath": "checkout-version.ts",
2137
- "line": 39,
2137
+ "line": 37,
2138
2138
  "character": 23
2139
2139
  },
2140
2140
  "name": "ConsumerComponent"
@@ -3462,7 +3462,7 @@
3462
3462
  "__schema": "TypeSchema",
3463
3463
  "location": {
3464
3464
  "filePath": "checkout-version.ts",
3465
- "line": 22,
3465
+ "line": 20,
3466
3466
  "character": 1
3467
3467
  },
3468
3468
  "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}",
@@ -3471,7 +3471,7 @@
3471
3471
  "__schema": "TypeLiteralSchema",
3472
3472
  "location": {
3473
3473
  "filePath": "checkout-version.ts",
3474
- "line": 22,
3474
+ "line": 20,
3475
3475
  "character": 35
3476
3476
  },
3477
3477
  "members": [
@@ -3479,7 +3479,7 @@
3479
3479
  "__schema": "VariableLikeSchema",
3480
3480
  "location": {
3481
3481
  "filePath": "checkout-version.ts",
3482
- "line": 23,
3482
+ "line": 21,
3483
3483
  "character": 3
3484
3484
  },
3485
3485
  "signature": "(property) currentComponent?: ConsumerComponent | undefined",
@@ -3488,7 +3488,7 @@
3488
3488
  "__schema": "TypeRefSchema",
3489
3489
  "location": {
3490
3490
  "filePath": "checkout-version.ts",
3491
- "line": 23,
3491
+ "line": 21,
3492
3492
  "character": 22
3493
3493
  },
3494
3494
  "name": "ConsumerComponent"
@@ -3499,7 +3499,7 @@
3499
3499
  "__schema": "VariableLikeSchema",
3500
3500
  "location": {
3501
3501
  "filePath": "checkout-version.ts",
3502
- "line": 24,
3502
+ "line": 22,
3503
3503
  "character": 3
3504
3504
  },
3505
3505
  "signature": "(property) componentFromModel?: Version | undefined",
@@ -3508,7 +3508,7 @@
3508
3508
  "__schema": "TypeRefSchema",
3509
3509
  "location": {
3510
3510
  "filePath": "checkout-version.ts",
3511
- "line": 24,
3511
+ "line": 22,
3512
3512
  "character": 24
3513
3513
  },
3514
3514
  "name": "Version"
@@ -3519,7 +3519,7 @@
3519
3519
  "__schema": "VariableLikeSchema",
3520
3520
  "location": {
3521
3521
  "filePath": "checkout-version.ts",
3522
- "line": 25,
3522
+ "line": 23,
3523
3523
  "character": 3
3524
3524
  },
3525
3525
  "signature": "(property) id: ComponentID",
@@ -3528,7 +3528,7 @@
3528
3528
  "__schema": "TypeRefSchema",
3529
3529
  "location": {
3530
3530
  "filePath": "checkout-version.ts",
3531
- "line": 25,
3531
+ "line": 23,
3532
3532
  "character": 3
3533
3533
  },
3534
3534
  "name": "ComponentID",
@@ -3544,7 +3544,7 @@
3544
3544
  "__schema": "VariableLikeSchema",
3545
3545
  "location": {
3546
3546
  "filePath": "checkout-version.ts",
3547
- "line": 26,
3547
+ "line": 24,
3548
3548
  "character": 3
3549
3549
  },
3550
3550
  "signature": "(property) shouldBeRemoved?: boolean | undefined",
@@ -3553,7 +3553,7 @@
3553
3553
  "__schema": "KeywordTypeSchema",
3554
3554
  "location": {
3555
3555
  "filePath": "checkout-version.ts",
3556
- "line": 26,
3556
+ "line": 24,
3557
3557
  "character": 21
3558
3558
  },
3559
3559
  "name": "boolean"
@@ -3564,7 +3564,7 @@
3564
3564
  "__schema": "VariableLikeSchema",
3565
3565
  "location": {
3566
3566
  "filePath": "checkout-version.ts",
3567
- "line": 27,
3567
+ "line": 25,
3568
3568
  "character": 3
3569
3569
  },
3570
3570
  "signature": "(property) unchangedMessage?: string | undefined",
@@ -3573,7 +3573,7 @@
3573
3573
  "__schema": "KeywordTypeSchema",
3574
3574
  "location": {
3575
3575
  "filePath": "checkout-version.ts",
3576
- "line": 27,
3576
+ "line": 25,
3577
3577
  "character": 22
3578
3578
  },
3579
3579
  "name": "string"
@@ -3584,7 +3584,7 @@
3584
3584
  "__schema": "VariableLikeSchema",
3585
3585
  "location": {
3586
3586
  "filePath": "checkout-version.ts",
3587
- "line": 28,
3587
+ "line": 26,
3588
3588
  "character": 3
3589
3589
  },
3590
3590
  "signature": "(property) unchangedLegitimately?: boolean | undefined",
@@ -3593,7 +3593,7 @@
3593
3593
  "__schema": "KeywordTypeSchema",
3594
3594
  "location": {
3595
3595
  "filePath": "checkout-version.ts",
3596
- "line": 28,
3596
+ "line": 26,
3597
3597
  "character": 27
3598
3598
  },
3599
3599
  "name": "boolean"
@@ -3607,7 +3607,7 @@
3607
3607
  "__schema": "TypeSchema",
3608
3608
  "location": {
3609
3609
  "filePath": "checkout-version.ts",
3610
- "line": 31,
3610
+ "line": 29,
3611
3611
  "character": 1
3612
3612
  },
3613
3613
  "signature": "type ComponentStatus = ComponentStatusBase & {\n mergeResults?: MergeResultsThreeWay | null | undefined;\n}",
@@ -3616,7 +3616,7 @@
3616
3616
  "__schema": "TypeIntersectionSchema",
3617
3617
  "location": {
3618
3618
  "filePath": "checkout-version.ts",
3619
- "line": 31,
3619
+ "line": 29,
3620
3620
  "character": 31
3621
3621
  },
3622
3622
  "types": [
@@ -3624,7 +3624,7 @@
3624
3624
  "__schema": "TypeRefSchema",
3625
3625
  "location": {
3626
3626
  "filePath": "checkout-version.ts",
3627
- "line": 31,
3627
+ "line": 29,
3628
3628
  "character": 31
3629
3629
  },
3630
3630
  "name": "ComponentStatusBase"
@@ -3633,7 +3633,7 @@
3633
3633
  "__schema": "TypeLiteralSchema",
3634
3634
  "location": {
3635
3635
  "filePath": "checkout-version.ts",
3636
- "line": 31,
3636
+ "line": 29,
3637
3637
  "character": 53
3638
3638
  },
3639
3639
  "members": [
@@ -3641,7 +3641,7 @@
3641
3641
  "__schema": "VariableLikeSchema",
3642
3642
  "location": {
3643
3643
  "filePath": "checkout-version.ts",
3644
- "line": 32,
3644
+ "line": 30,
3645
3645
  "character": 3
3646
3646
  },
3647
3647
  "signature": "(property) mergeResults?: MergeResultsThreeWay | null | undefined",
@@ -3650,7 +3650,7 @@
3650
3650
  "__schema": "TypeUnionSchema",
3651
3651
  "location": {
3652
3652
  "filePath": "checkout-version.ts",
3653
- "line": 32,
3653
+ "line": 30,
3654
3654
  "character": 18
3655
3655
  },
3656
3656
  "types": [
@@ -3658,7 +3658,7 @@
3658
3658
  "__schema": "TypeRefSchema",
3659
3659
  "location": {
3660
3660
  "filePath": "checkout-version.ts",
3661
- "line": 32,
3661
+ "line": 30,
3662
3662
  "character": 18
3663
3663
  },
3664
3664
  "name": "MergeResultsThreeWay"
@@ -3667,7 +3667,7 @@
3667
3667
  "__schema": "LiteralTypeSchema",
3668
3668
  "location": {
3669
3669
  "filePath": "checkout-version.ts",
3670
- "line": 32,
3670
+ "line": 30,
3671
3671
  "character": 41
3672
3672
  },
3673
3673
  "name": "null"
@@ -3676,7 +3676,7 @@
3676
3676
  "__schema": "KeywordTypeSchema",
3677
3677
  "location": {
3678
3678
  "filePath": "checkout-version.ts",
3679
- "line": 32,
3679
+ "line": 30,
3680
3680
  "character": 48
3681
3681
  },
3682
3682
  "name": "undefined"
@@ -3694,7 +3694,7 @@
3694
3694
  "__schema": "TypeSchema",
3695
3695
  "location": {
3696
3696
  "filePath": "checkout-version.ts",
3697
- "line": 35,
3697
+ "line": 33,
3698
3698
  "character": 1
3699
3699
  },
3700
3700
  "signature": "type ApplyVersionWithComps = {\n applyVersionResult: ApplyVersionResult;\n component?: ConsumerComponent | undefined;\n legacyCompToWrite?: ConsumerComponent | undefined;\n}",
@@ -3703,7 +3703,7 @@
3703
3703
  "__schema": "TypeLiteralSchema",
3704
3704
  "location": {
3705
3705
  "filePath": "checkout-version.ts",
3706
- "line": 35,
3706
+ "line": 33,
3707
3707
  "character": 37
3708
3708
  },
3709
3709
  "members": [
@@ -3711,7 +3711,7 @@
3711
3711
  "__schema": "VariableLikeSchema",
3712
3712
  "location": {
3713
3713
  "filePath": "checkout-version.ts",
3714
- "line": 36,
3714
+ "line": 34,
3715
3715
  "character": 3
3716
3716
  },
3717
3717
  "signature": "(property) applyVersionResult: ApplyVersionResult",
@@ -3720,7 +3720,7 @@
3720
3720
  "__schema": "TypeRefSchema",
3721
3721
  "location": {
3722
3722
  "filePath": "checkout-version.ts",
3723
- "line": 36,
3723
+ "line": 34,
3724
3724
  "character": 3
3725
3725
  },
3726
3726
  "name": "ApplyVersionResult",
@@ -3735,7 +3735,7 @@
3735
3735
  "__schema": "VariableLikeSchema",
3736
3736
  "location": {
3737
3737
  "filePath": "checkout-version.ts",
3738
- "line": 37,
3738
+ "line": 35,
3739
3739
  "character": 3
3740
3740
  },
3741
3741
  "signature": "(property) component?: ConsumerComponent | undefined",
@@ -3744,7 +3744,7 @@
3744
3744
  "__schema": "TypeRefSchema",
3745
3745
  "location": {
3746
3746
  "filePath": "checkout-version.ts",
3747
- "line": 37,
3747
+ "line": 35,
3748
3748
  "character": 15
3749
3749
  },
3750
3750
  "name": "ConsumerComponent"
@@ -3755,7 +3755,7 @@
3755
3755
  "__schema": "VariableLikeSchema",
3756
3756
  "location": {
3757
3757
  "filePath": "checkout-version.ts",
3758
- "line": 39,
3758
+ "line": 37,
3759
3759
  "character": 3
3760
3760
  },
3761
3761
  "signature": "(property) legacyCompToWrite?: ConsumerComponent | undefined",
@@ -3764,7 +3764,7 @@
3764
3764
  "__schema": "TypeRefSchema",
3765
3765
  "location": {
3766
3766
  "filePath": "checkout-version.ts",
3767
- "line": 39,
3767
+ "line": 37,
3768
3768
  "character": 23
3769
3769
  },
3770
3770
  "name": "ConsumerComponent"
@@ -3778,14 +3778,14 @@
3778
3778
  "__schema": "FunctionLikeSchema",
3779
3779
  "location": {
3780
3780
  "filePath": "checkout-version.ts",
3781
- "line": 63,
3781
+ "line": 61,
3782
3782
  "character": 1
3783
3783
  },
3784
3784
  "doc": {
3785
3785
  "__schema": "DocSchema",
3786
3786
  "location": {
3787
3787
  "filePath": "checkout-version.ts",
3788
- "line": 42,
3788
+ "line": 40,
3789
3789
  "character": 1
3790
3790
  },
3791
3791
  "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 */",
@@ -3799,7 +3799,7 @@
3799
3799
  "__schema": "ParameterSchema",
3800
3800
  "location": {
3801
3801
  "filePath": "checkout-version.ts",
3802
- "line": 64,
3802
+ "line": 62,
3803
3803
  "character": 3
3804
3804
  },
3805
3805
  "name": "consumer",
@@ -3807,7 +3807,7 @@
3807
3807
  "__schema": "TypeRefSchema",
3808
3808
  "location": {
3809
3809
  "filePath": "checkout-version.ts",
3810
- "line": 64,
3810
+ "line": 62,
3811
3811
  "character": 13
3812
3812
  },
3813
3813
  "name": "Consumer"
@@ -3819,7 +3819,7 @@
3819
3819
  "__schema": "ParameterSchema",
3820
3820
  "location": {
3821
3821
  "filePath": "checkout-version.ts",
3822
- "line": 65,
3822
+ "line": 63,
3823
3823
  "character": 3
3824
3824
  },
3825
3825
  "name": "id",
@@ -3827,7 +3827,7 @@
3827
3827
  "__schema": "TypeRefSchema",
3828
3828
  "location": {
3829
3829
  "filePath": "checkout-version.ts",
3830
- "line": 65,
3830
+ "line": 63,
3831
3831
  "character": 7
3832
3832
  },
3833
3833
  "name": "ComponentID"
@@ -3839,7 +3839,7 @@
3839
3839
  "__schema": "ParameterSchema",
3840
3840
  "location": {
3841
3841
  "filePath": "checkout-version.ts",
3842
- "line": 66,
3842
+ "line": 64,
3843
3843
  "character": 3
3844
3844
  },
3845
3845
  "name": "componentFromFS",
@@ -3847,7 +3847,7 @@
3847
3847
  "__schema": "TypeUnionSchema",
3848
3848
  "location": {
3849
3849
  "filePath": "checkout-version.ts",
3850
- "line": 66,
3850
+ "line": 64,
3851
3851
  "character": 20
3852
3852
  },
3853
3853
  "types": [
@@ -3855,7 +3855,7 @@
3855
3855
  "__schema": "TypeRefSchema",
3856
3856
  "location": {
3857
3857
  "filePath": "checkout-version.ts",
3858
- "line": 66,
3858
+ "line": 64,
3859
3859
  "character": 20
3860
3860
  },
3861
3861
  "name": "ConsumerComponent"
@@ -3864,7 +3864,7 @@
3864
3864
  "__schema": "LiteralTypeSchema",
3865
3865
  "location": {
3866
3866
  "filePath": "checkout-version.ts",
3867
- "line": 66,
3867
+ "line": 64,
3868
3868
  "character": 40
3869
3869
  },
3870
3870
  "name": "null"
@@ -3873,7 +3873,7 @@
3873
3873
  "__schema": "KeywordTypeSchema",
3874
3874
  "location": {
3875
3875
  "filePath": "checkout-version.ts",
3876
- "line": 66,
3876
+ "line": 64,
3877
3877
  "character": 47
3878
3878
  },
3879
3879
  "name": "undefined"
@@ -3887,7 +3887,7 @@
3887
3887
  "__schema": "ParameterSchema",
3888
3888
  "location": {
3889
3889
  "filePath": "checkout-version.ts",
3890
- "line": 67,
3890
+ "line": 65,
3891
3891
  "character": 3
3892
3892
  },
3893
3893
  "name": "mergeResults",
@@ -3895,7 +3895,7 @@
3895
3895
  "__schema": "TypeUnionSchema",
3896
3896
  "location": {
3897
3897
  "filePath": "checkout-version.ts",
3898
- "line": 67,
3898
+ "line": 65,
3899
3899
  "character": 17
3900
3900
  },
3901
3901
  "types": [
@@ -3903,7 +3903,7 @@
3903
3903
  "__schema": "TypeRefSchema",
3904
3904
  "location": {
3905
3905
  "filePath": "checkout-version.ts",
3906
- "line": 67,
3906
+ "line": 65,
3907
3907
  "character": 17
3908
3908
  },
3909
3909
  "name": "MergeResultsThreeWay"
@@ -3912,7 +3912,7 @@
3912
3912
  "__schema": "LiteralTypeSchema",
3913
3913
  "location": {
3914
3914
  "filePath": "checkout-version.ts",
3915
- "line": 67,
3915
+ "line": 65,
3916
3916
  "character": 40
3917
3917
  },
3918
3918
  "name": "null"
@@ -3921,7 +3921,7 @@
3921
3921
  "__schema": "KeywordTypeSchema",
3922
3922
  "location": {
3923
3923
  "filePath": "checkout-version.ts",
3924
- "line": 67,
3924
+ "line": 65,
3925
3925
  "character": 47
3926
3926
  },
3927
3927
  "name": "undefined"
@@ -3935,7 +3935,7 @@
3935
3935
  "__schema": "ParameterSchema",
3936
3936
  "location": {
3937
3937
  "filePath": "checkout-version.ts",
3938
- "line": 68,
3938
+ "line": 66,
3939
3939
  "character": 3
3940
3940
  },
3941
3941
  "name": "checkoutProps",
@@ -3943,7 +3943,7 @@
3943
3943
  "__schema": "TypeRefSchema",
3944
3944
  "location": {
3945
3945
  "filePath": "checkout-version.ts",
3946
- "line": 68,
3946
+ "line": 66,
3947
3947
  "character": 18
3948
3948
  },
3949
3949
  "name": "CheckoutProps"
@@ -3956,7 +3956,7 @@
3956
3956
  "__schema": "TypeRefSchema",
3957
3957
  "location": {
3958
3958
  "filePath": "checkout-version.ts",
3959
- "line": 69,
3959
+ "line": 67,
3960
3960
  "character": 4
3961
3961
  },
3962
3962
  "name": "Promise",
@@ -3965,7 +3965,7 @@
3965
3965
  "__schema": "TypeRefSchema",
3966
3966
  "location": {
3967
3967
  "filePath": "checkout-version.ts",
3968
- "line": 69,
3968
+ "line": 67,
3969
3969
  "character": 12
3970
3970
  },
3971
3971
  "name": "ApplyVersionWithComps"
@@ -3981,7 +3981,7 @@
3981
3981
  "__schema": "FunctionLikeSchema",
3982
3982
  "location": {
3983
3983
  "filePath": "checkout-version.ts",
3984
- "line": 109,
3984
+ "line": 107,
3985
3985
  "character": 1
3986
3986
  },
3987
3987
  "signature": "function updateFileStatus(files: SourceFile[], filesStatus: FilesStatus, componentFromFS?: ConsumerComponent): void",
@@ -3991,7 +3991,7 @@
3991
3991
  "__schema": "ParameterSchema",
3992
3992
  "location": {
3993
3993
  "filePath": "checkout-version.ts",
3994
- "line": 109,
3994
+ "line": 107,
3995
3995
  "character": 34
3996
3996
  },
3997
3997
  "name": "files",
@@ -3999,14 +3999,14 @@
3999
3999
  "__schema": "TypeArraySchema",
4000
4000
  "location": {
4001
4001
  "filePath": "checkout-version.ts",
4002
- "line": 109,
4002
+ "line": 107,
4003
4003
  "character": 41
4004
4004
  },
4005
4005
  "type": {
4006
4006
  "__schema": "TypeRefSchema",
4007
4007
  "location": {
4008
4008
  "filePath": "checkout-version.ts",
4009
- "line": 109,
4009
+ "line": 107,
4010
4010
  "character": 41
4011
4011
  },
4012
4012
  "name": "SourceFile"
@@ -4019,7 +4019,7 @@
4019
4019
  "__schema": "ParameterSchema",
4020
4020
  "location": {
4021
4021
  "filePath": "checkout-version.ts",
4022
- "line": 109,
4022
+ "line": 107,
4023
4023
  "character": 55
4024
4024
  },
4025
4025
  "name": "filesStatus",
@@ -4027,7 +4027,7 @@
4027
4027
  "__schema": "TypeRefSchema",
4028
4028
  "location": {
4029
4029
  "filePath": "checkout-version.ts",
4030
- "line": 109,
4030
+ "line": 107,
4031
4031
  "character": 68
4032
4032
  },
4033
4033
  "name": "FilesStatus"
@@ -4039,7 +4039,7 @@
4039
4039
  "__schema": "ParameterSchema",
4040
4040
  "location": {
4041
4041
  "filePath": "checkout-version.ts",
4042
- "line": 109,
4042
+ "line": 107,
4043
4043
  "character": 81
4044
4044
  },
4045
4045
  "name": "componentFromFS",
@@ -4047,7 +4047,7 @@
4047
4047
  "__schema": "TypeRefSchema",
4048
4048
  "location": {
4049
4049
  "filePath": "checkout-version.ts",
4050
- "line": 109,
4050
+ "line": 107,
4051
4051
  "character": 99
4052
4052
  },
4053
4053
  "name": "ConsumerComponent"
@@ -4060,7 +4060,7 @@
4060
4060
  "__schema": "InferenceTypeSchema",
4061
4061
  "location": {
4062
4062
  "filePath": "checkout-version.ts",
4063
- "line": 109,
4063
+ "line": 107,
4064
4064
  "character": 1
4065
4065
  },
4066
4066
  "type": "void"
@@ -4073,14 +4073,14 @@
4073
4073
  "__schema": "FunctionLikeSchema",
4074
4074
  "location": {
4075
4075
  "filePath": "checkout-version.ts",
4076
- "line": 124,
4076
+ "line": 122,
4077
4077
  "character": 1
4078
4078
  },
4079
4079
  "doc": {
4080
4080
  "__schema": "DocSchema",
4081
4081
  "location": {
4082
4082
  "filePath": "checkout-version.ts",
4083
- "line": 118,
4083
+ "line": 116,
4084
4084
  "character": 1
4085
4085
  },
4086
4086
  "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 */",
@@ -4094,7 +4094,7 @@
4094
4094
  "__schema": "ParameterSchema",
4095
4095
  "location": {
4096
4096
  "filePath": "checkout-version.ts",
4097
- "line": 125,
4097
+ "line": 123,
4098
4098
  "character": 3
4099
4099
  },
4100
4100
  "name": "filesStatus",
@@ -4102,7 +4102,7 @@
4102
4102
  "__schema": "TypeRefSchema",
4103
4103
  "location": {
4104
4104
  "filePath": "checkout-version.ts",
4105
- "line": 125,
4105
+ "line": 123,
4106
4106
  "character": 16
4107
4107
  },
4108
4108
  "name": "FilesStatus"
@@ -4114,7 +4114,7 @@
4114
4114
  "__schema": "ParameterSchema",
4115
4115
  "location": {
4116
4116
  "filePath": "checkout-version.ts",
4117
- "line": 126,
4117
+ "line": 124,
4118
4118
  "character": 3
4119
4119
  },
4120
4120
  "name": "consumer",
@@ -4122,7 +4122,7 @@
4122
4122
  "__schema": "TypeRefSchema",
4123
4123
  "location": {
4124
4124
  "filePath": "checkout-version.ts",
4125
- "line": 126,
4125
+ "line": 124,
4126
4126
  "character": 13
4127
4127
  },
4128
4128
  "name": "Consumer"
@@ -4134,7 +4134,7 @@
4134
4134
  "__schema": "ParameterSchema",
4135
4135
  "location": {
4136
4136
  "filePath": "checkout-version.ts",
4137
- "line": 127,
4137
+ "line": 125,
4138
4138
  "character": 3
4139
4139
  },
4140
4140
  "name": "componentFromFS",
@@ -4142,7 +4142,7 @@
4142
4142
  "__schema": "TypeRefSchema",
4143
4143
  "location": {
4144
4144
  "filePath": "checkout-version.ts",
4145
- "line": 127,
4145
+ "line": 125,
4146
4146
  "character": 21
4147
4147
  },
4148
4148
  "name": "ConsumerComponent"
@@ -4155,7 +4155,7 @@
4155
4155
  "__schema": "InferenceTypeSchema",
4156
4156
  "location": {
4157
4157
  "filePath": "checkout-version.ts",
4158
- "line": 124,
4158
+ "line": 122,
4159
4159
  "character": 1
4160
4160
  },
4161
4161
  "type": "Promise<void>"
@@ -4169,14 +4169,14 @@
4169
4169
  "__schema": "FunctionLikeSchema",
4170
4170
  "location": {
4171
4171
  "filePath": "checkout-version.ts",
4172
- "line": 156,
4172
+ "line": 154,
4173
4173
  "character": 1
4174
4174
  },
4175
4175
  "doc": {
4176
4176
  "__schema": "DocSchema",
4177
4177
  "location": {
4178
4178
  "filePath": "checkout-version.ts",
4179
- "line": 149,
4179
+ "line": 147,
4180
4180
  "character": 1
4181
4181
  },
4182
4182
  "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 */",
@@ -4190,7 +4190,7 @@
4190
4190
  "__schema": "ParameterSchema",
4191
4191
  "location": {
4192
4192
  "filePath": "checkout-version.ts",
4193
- "line": 157,
4193
+ "line": 155,
4194
4194
  "character": 3
4195
4195
  },
4196
4196
  "name": "componentFiles",
@@ -4198,14 +4198,14 @@
4198
4198
  "__schema": "TypeArraySchema",
4199
4199
  "location": {
4200
4200
  "filePath": "checkout-version.ts",
4201
- "line": 157,
4201
+ "line": 155,
4202
4202
  "character": 19
4203
4203
  },
4204
4204
  "type": {
4205
4205
  "__schema": "TypeRefSchema",
4206
4206
  "location": {
4207
4207
  "filePath": "checkout-version.ts",
4208
- "line": 157,
4208
+ "line": 155,
4209
4209
  "character": 19
4210
4210
  },
4211
4211
  "name": "SourceFile"
@@ -4218,7 +4218,7 @@
4218
4218
  "__schema": "ParameterSchema",
4219
4219
  "location": {
4220
4220
  "filePath": "checkout-version.ts",
4221
- "line": 158,
4221
+ "line": 156,
4222
4222
  "character": 3
4223
4223
  },
4224
4224
  "name": "mergeResults",
@@ -4226,7 +4226,7 @@
4226
4226
  "__schema": "TypeRefSchema",
4227
4227
  "location": {
4228
4228
  "filePath": "checkout-version.ts",
4229
- "line": 158,
4229
+ "line": 156,
4230
4230
  "character": 17
4231
4231
  },
4232
4232
  "name": "MergeResultsThreeWay"
@@ -4238,7 +4238,7 @@
4238
4238
  "__schema": "ParameterSchema",
4239
4239
  "location": {
4240
4240
  "filePath": "checkout-version.ts",
4241
- "line": 159,
4241
+ "line": 157,
4242
4242
  "character": 3
4243
4243
  },
4244
4244
  "name": "mergeStrategy",
@@ -4246,7 +4246,7 @@
4246
4246
  "__schema": "TypeUnionSchema",
4247
4247
  "location": {
4248
4248
  "filePath": "checkout-version.ts",
4249
- "line": 159,
4249
+ "line": 157,
4250
4250
  "character": 18
4251
4251
  },
4252
4252
  "types": [
@@ -4254,7 +4254,7 @@
4254
4254
  "__schema": "TypeRefSchema",
4255
4255
  "location": {
4256
4256
  "filePath": "checkout-version.ts",
4257
- "line": 159,
4257
+ "line": 157,
4258
4258
  "character": 18
4259
4259
  },
4260
4260
  "name": "MergeStrategy"
@@ -4263,7 +4263,7 @@
4263
4263
  "__schema": "LiteralTypeSchema",
4264
4264
  "location": {
4265
4265
  "filePath": "checkout-version.ts",
4266
- "line": 159,
4266
+ "line": 157,
4267
4267
  "character": 34
4268
4268
  },
4269
4269
  "name": "null"
@@ -4272,7 +4272,7 @@
4272
4272
  "__schema": "KeywordTypeSchema",
4273
4273
  "location": {
4274
4274
  "filePath": "checkout-version.ts",
4275
- "line": 159,
4275
+ "line": 157,
4276
4276
  "character": 41
4277
4277
  },
4278
4278
  "name": "undefined"
@@ -4287,7 +4287,7 @@
4287
4287
  "__schema": "TypeLiteralSchema",
4288
4288
  "location": {
4289
4289
  "filePath": "checkout-version.ts",
4290
- "line": 160,
4290
+ "line": 158,
4291
4291
  "character": 4
4292
4292
  },
4293
4293
  "members": [
@@ -4295,7 +4295,7 @@
4295
4295
  "__schema": "VariableLikeSchema",
4296
4296
  "location": {
4297
4297
  "filePath": "checkout-version.ts",
4298
- "line": 160,
4298
+ "line": 158,
4299
4299
  "character": 6
4300
4300
  },
4301
4301
  "signature": "(property) filesStatus: Record<string, any>",
@@ -4304,7 +4304,7 @@
4304
4304
  "__schema": "TypeRefSchema",
4305
4305
  "location": {
4306
4306
  "filePath": "checkout-version.ts",
4307
- "line": 160,
4307
+ "line": 158,
4308
4308
  "character": 19
4309
4309
  },
4310
4310
  "name": "Record",
@@ -4313,7 +4313,7 @@
4313
4313
  "__schema": "KeywordTypeSchema",
4314
4314
  "location": {
4315
4315
  "filePath": "checkout-version.ts",
4316
- "line": 160,
4316
+ "line": 158,
4317
4317
  "character": 26
4318
4318
  },
4319
4319
  "name": "string"
@@ -4322,7 +4322,7 @@
4322
4322
  "__schema": "KeywordTypeSchema",
4323
4323
  "location": {
4324
4324
  "filePath": "checkout-version.ts",
4325
- "line": 160,
4325
+ "line": 158,
4326
4326
  "character": 34
4327
4327
  },
4328
4328
  "name": "any"
@@ -4335,7 +4335,7 @@
4335
4335
  "__schema": "VariableLikeSchema",
4336
4336
  "location": {
4337
4337
  "filePath": "checkout-version.ts",
4338
- "line": 160,
4338
+ "line": 158,
4339
4339
  "character": 40
4340
4340
  },
4341
4341
  "signature": "(property) modifiedFiles: SourceFile[]",
@@ -4344,14 +4344,14 @@
4344
4344
  "__schema": "TypeArraySchema",
4345
4345
  "location": {
4346
4346
  "filePath": "checkout-version.ts",
4347
- "line": 160,
4347
+ "line": 158,
4348
4348
  "character": 55
4349
4349
  },
4350
4350
  "type": {
4351
4351
  "__schema": "TypeRefSchema",
4352
4352
  "location": {
4353
4353
  "filePath": "checkout-version.ts",
4354
- "line": 160,
4354
+ "line": 158,
4355
4355
  "character": 55
4356
4356
  },
4357
4357
  "name": "SourceFile"
@@ -4369,7 +4369,7 @@
4369
4369
  "__schema": "FunctionLikeSchema",
4370
4370
  "location": {
4371
4371
  "filePath": "checkout-version.ts",
4372
- "line": 230,
4372
+ "line": 228,
4373
4373
  "character": 1
4374
4374
  },
4375
4375
  "signature": "function throwForFailures(allComponentsStatus: ComponentStatusBase[]): void",
@@ -4379,7 +4379,7 @@
4379
4379
  "__schema": "ParameterSchema",
4380
4380
  "location": {
4381
4381
  "filePath": "checkout-version.ts",
4382
- "line": 230,
4382
+ "line": 228,
4383
4383
  "character": 34
4384
4384
  },
4385
4385
  "name": "allComponentsStatus",
@@ -4387,14 +4387,14 @@
4387
4387
  "__schema": "TypeArraySchema",
4388
4388
  "location": {
4389
4389
  "filePath": "checkout-version.ts",
4390
- "line": 230,
4390
+ "line": 228,
4391
4391
  "character": 55
4392
4392
  },
4393
4393
  "type": {
4394
4394
  "__schema": "TypeRefSchema",
4395
4395
  "location": {
4396
4396
  "filePath": "checkout-version.ts",
4397
- "line": 230,
4397
+ "line": 228,
4398
4398
  "character": 55
4399
4399
  },
4400
4400
  "name": "ComponentStatusBase"
@@ -4408,7 +4408,7 @@
4408
4408
  "__schema": "InferenceTypeSchema",
4409
4409
  "location": {
4410
4410
  "filePath": "checkout-version.ts",
4411
- "line": 230,
4411
+ "line": 228,
4412
4412
  "character": 1
4413
4413
  },
4414
4414
  "type": "void"
@@ -5183,7 +5183,7 @@
5183
5183
  "_legacy": {
5184
5184
  "scope": "teambit.component",
5185
5185
  "name": "checkout",
5186
- "version": "1.0.332"
5186
+ "version": "1.0.334"
5187
5187
  },
5188
5188
  "_scope": "teambit.component"
5189
5189
  }
@@ -5282,7 +5282,7 @@
5282
5282
  "componentId": {
5283
5283
  "scope": "teambit.component",
5284
5284
  "name": "checkout",
5285
- "version": "1.0.332"
5285
+ "version": "1.0.334"
5286
5286
  },
5287
5287
  "taggedModuleExports": []
5288
5288
  }