@fragment-dev/cli 2026.4.27 → 2026.4.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-KXOV6HHY.js → chunk-2H2UJALX.js} +2 -2
- package/dist/{chunk-LPDBEFWD.js → chunk-ET73SGVV.js} +1 -1
- package/dist/{chunk-PB3KY5ZL.js → chunk-GTWL4UIV.js} +1 -1
- package/dist/{chunk-K4MJG5VG.js → chunk-NESRZR6B.js} +1 -1
- package/dist/{chunk-NMX7BQCI.js → chunk-O3B6JVQV.js} +3 -3
- package/dist/{chunk-ZGV5WNL6.js → chunk-QJGCDFOK.js} +4 -4
- package/dist/{chunk-NA24ZILY.js → chunk-R5UAADAB.js} +2 -2
- package/dist/{chunk-YCLRZPR6.js → chunk-TM5X7AQ2.js} +225 -230
- package/dist/{chunk-AZE2ROHU.js → chunk-UB2XQ6NG.js} +2 -2
- package/dist/commands/gen-graphql.js +6 -6
- package/dist/commands/verify-schema.js +6 -6
- package/dist/commands.js +9 -9
- package/dist/graphql.js +3 -3
- package/dist/index.js +9 -9
- package/dist/utils/formatValidationErrors.js +2 -2
- package/dist/utils/schemaValidation.js +5 -5
- package/oclif.manifest.json +1 -1
- package/package.json +2 -2
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
extractSchemaMetadata,
|
|
3
3
|
isJsonParseError,
|
|
4
4
|
validateSchemaStructure
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-O3B6JVQV.js";
|
|
6
6
|
import {
|
|
7
7
|
DEFAULT_SCHEMA_PATH
|
|
8
8
|
} from "./chunk-A4BSWX5D.js";
|
|
9
9
|
import {
|
|
10
10
|
logValidationErrors
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GTWL4UIV.js";
|
|
12
12
|
import {
|
|
13
13
|
FragmentCommand,
|
|
14
14
|
require_lib
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Schema,
|
|
3
3
|
parseWithError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UB2XQ6NG.js";
|
|
5
5
|
import {
|
|
6
6
|
formatValidationErrors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GTWL4UIV.js";
|
|
8
8
|
import {
|
|
9
9
|
BadRequestError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TM5X7AQ2.js";
|
|
11
11
|
import {
|
|
12
12
|
init_cjs_shims
|
|
13
13
|
} from "./chunk-7GH3YGSC.js";
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
generateQueryFiles,
|
|
4
4
|
schemaToEntryDefinitions,
|
|
5
5
|
validateOutputName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ET73SGVV.js";
|
|
7
7
|
import {
|
|
8
8
|
Schema,
|
|
9
9
|
parseWithError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UB2XQ6NG.js";
|
|
11
11
|
import {
|
|
12
12
|
formatValidationErrors,
|
|
13
13
|
logValidationErrors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GTWL4UIV.js";
|
|
15
15
|
import {
|
|
16
16
|
BadRequestError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TM5X7AQ2.js";
|
|
18
18
|
import {
|
|
19
19
|
FragmentCommand,
|
|
20
20
|
require_lib
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-OASOBTXX.js";
|
|
19
19
|
import {
|
|
20
20
|
VerifySchema
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-2H2UJALX.js";
|
|
22
22
|
import {
|
|
23
23
|
Workspace
|
|
24
24
|
} from "./chunk-BTT5XSZ6.js";
|
|
@@ -66,7 +66,7 @@ import {
|
|
|
66
66
|
} from "./chunk-TUOIGRBA.js";
|
|
67
67
|
import {
|
|
68
68
|
GenGraphQL
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-QJGCDFOK.js";
|
|
70
70
|
import {
|
|
71
71
|
init_cjs_shims
|
|
72
72
|
} from "./chunk-7GH3YGSC.js";
|
|
@@ -418,10 +418,10 @@ var require_util = __commonJS({
|
|
|
418
418
|
return typeof arg === "symbol";
|
|
419
419
|
}
|
|
420
420
|
exports.isSymbol = isSymbol;
|
|
421
|
-
function
|
|
421
|
+
function isUndefined(arg) {
|
|
422
422
|
return arg === void 0;
|
|
423
423
|
}
|
|
424
|
-
exports.isUndefined =
|
|
424
|
+
exports.isUndefined = isUndefined;
|
|
425
425
|
function isRegExp(re) {
|
|
426
426
|
return objectToString2(re) === "[object RegExp]";
|
|
427
427
|
}
|
|
@@ -881,6 +881,228 @@ RestError.prototype.code = "Error";
|
|
|
881
881
|
init_cjs_shims();
|
|
882
882
|
import assert from "assert";
|
|
883
883
|
|
|
884
|
+
// ../../libs/types/index.ts
|
|
885
|
+
init_cjs_shims();
|
|
886
|
+
|
|
887
|
+
// ../../libs/types/accountTypes.ts
|
|
888
|
+
init_cjs_shims();
|
|
889
|
+
var ledgerAccountTypes = [
|
|
890
|
+
"asset",
|
|
891
|
+
"liability",
|
|
892
|
+
"income",
|
|
893
|
+
"expense"
|
|
894
|
+
];
|
|
895
|
+
var LedgerAccountTypeSchema = z.enum(ledgerAccountTypes);
|
|
896
|
+
|
|
897
|
+
// ../../libs/types/workspaceTypes.ts
|
|
898
|
+
init_cjs_shims();
|
|
899
|
+
var workspaceTypes = ["ledger", "payments"];
|
|
900
|
+
var WorkspaceTypeSchema = z.enum(workspaceTypes);
|
|
901
|
+
|
|
902
|
+
// ../../libs/types/currencyCodes.ts
|
|
903
|
+
init_cjs_shims();
|
|
904
|
+
var nonISOCurrencyCodes = [
|
|
905
|
+
// Crypto currencies
|
|
906
|
+
"ADA",
|
|
907
|
+
"BTC",
|
|
908
|
+
"DAI",
|
|
909
|
+
"ETH",
|
|
910
|
+
"SOL",
|
|
911
|
+
"USDC",
|
|
912
|
+
"USDT",
|
|
913
|
+
"USDG",
|
|
914
|
+
"EURC",
|
|
915
|
+
"CADC",
|
|
916
|
+
"CADT",
|
|
917
|
+
"XLM",
|
|
918
|
+
"UNI",
|
|
919
|
+
"BCH",
|
|
920
|
+
"LTC",
|
|
921
|
+
"AAVE",
|
|
922
|
+
"LINK",
|
|
923
|
+
"MATIC",
|
|
924
|
+
"PTS"
|
|
925
|
+
];
|
|
926
|
+
var ISOCurrencyCodes = [
|
|
927
|
+
// Fiat currencies
|
|
928
|
+
"AED",
|
|
929
|
+
"AFN",
|
|
930
|
+
"ALL",
|
|
931
|
+
"AMD",
|
|
932
|
+
"ANG",
|
|
933
|
+
"AOA",
|
|
934
|
+
"ARS",
|
|
935
|
+
"AUD",
|
|
936
|
+
"AWG",
|
|
937
|
+
"AZN",
|
|
938
|
+
"BAM",
|
|
939
|
+
"BBD",
|
|
940
|
+
"BDT",
|
|
941
|
+
"BGN",
|
|
942
|
+
"BHD",
|
|
943
|
+
"BIF",
|
|
944
|
+
"BMD",
|
|
945
|
+
"BND",
|
|
946
|
+
"BOB",
|
|
947
|
+
"BRL",
|
|
948
|
+
"BSD",
|
|
949
|
+
"BTN",
|
|
950
|
+
"BWP",
|
|
951
|
+
"BYR",
|
|
952
|
+
"BZD",
|
|
953
|
+
"CAD",
|
|
954
|
+
"CDF",
|
|
955
|
+
"CHF",
|
|
956
|
+
"CLP",
|
|
957
|
+
"CNY",
|
|
958
|
+
"COP",
|
|
959
|
+
"CRC",
|
|
960
|
+
"CUC",
|
|
961
|
+
"CUP",
|
|
962
|
+
"CVE",
|
|
963
|
+
"CZK",
|
|
964
|
+
"DJF",
|
|
965
|
+
"DKK",
|
|
966
|
+
"DOP",
|
|
967
|
+
"DZD",
|
|
968
|
+
"EGP",
|
|
969
|
+
"ERN",
|
|
970
|
+
"ETB",
|
|
971
|
+
"EUR",
|
|
972
|
+
"FJD",
|
|
973
|
+
"FKP",
|
|
974
|
+
"GBP",
|
|
975
|
+
"GEL",
|
|
976
|
+
"GGP",
|
|
977
|
+
"GHS",
|
|
978
|
+
"GIP",
|
|
979
|
+
"GMD",
|
|
980
|
+
"GNF",
|
|
981
|
+
"GTQ",
|
|
982
|
+
"GYD",
|
|
983
|
+
"HKD",
|
|
984
|
+
"HNL",
|
|
985
|
+
"HRK",
|
|
986
|
+
"HTG",
|
|
987
|
+
"HUF",
|
|
988
|
+
"IDR",
|
|
989
|
+
"ILS",
|
|
990
|
+
"IMP",
|
|
991
|
+
"INR",
|
|
992
|
+
"IQD",
|
|
993
|
+
"IRR",
|
|
994
|
+
"ISK",
|
|
995
|
+
"JMD",
|
|
996
|
+
"JOD",
|
|
997
|
+
"JPY",
|
|
998
|
+
"KES",
|
|
999
|
+
"KGS",
|
|
1000
|
+
"KHR",
|
|
1001
|
+
"KMF",
|
|
1002
|
+
"KPW",
|
|
1003
|
+
"KRW",
|
|
1004
|
+
"KWD",
|
|
1005
|
+
"KYD",
|
|
1006
|
+
"KZT",
|
|
1007
|
+
"LAK",
|
|
1008
|
+
"LBP",
|
|
1009
|
+
"LKR",
|
|
1010
|
+
"LRD",
|
|
1011
|
+
"LSL",
|
|
1012
|
+
"LYD",
|
|
1013
|
+
"MAD",
|
|
1014
|
+
"MDL",
|
|
1015
|
+
"MGA",
|
|
1016
|
+
"MKD",
|
|
1017
|
+
"MMK",
|
|
1018
|
+
"MNT",
|
|
1019
|
+
"MOP",
|
|
1020
|
+
"MUR",
|
|
1021
|
+
"MVR",
|
|
1022
|
+
"MWK",
|
|
1023
|
+
"MXN",
|
|
1024
|
+
"MYR",
|
|
1025
|
+
"MZN",
|
|
1026
|
+
"NAD",
|
|
1027
|
+
"NGN",
|
|
1028
|
+
"NIO",
|
|
1029
|
+
"NOK",
|
|
1030
|
+
"NPR",
|
|
1031
|
+
"NZD",
|
|
1032
|
+
"OMR",
|
|
1033
|
+
"PAB",
|
|
1034
|
+
"PEN",
|
|
1035
|
+
"PGK",
|
|
1036
|
+
"PHP",
|
|
1037
|
+
"PKR",
|
|
1038
|
+
"PLN",
|
|
1039
|
+
"PYG",
|
|
1040
|
+
"QAR",
|
|
1041
|
+
"RON",
|
|
1042
|
+
"RSD",
|
|
1043
|
+
"RUB",
|
|
1044
|
+
"RWF",
|
|
1045
|
+
"SAR",
|
|
1046
|
+
"SBD",
|
|
1047
|
+
"SCR",
|
|
1048
|
+
"SDG",
|
|
1049
|
+
"SEK",
|
|
1050
|
+
"SGD",
|
|
1051
|
+
"SHP",
|
|
1052
|
+
"SLL",
|
|
1053
|
+
"SOS",
|
|
1054
|
+
"SPL",
|
|
1055
|
+
"SRD",
|
|
1056
|
+
"SVC",
|
|
1057
|
+
"SYP",
|
|
1058
|
+
"STN",
|
|
1059
|
+
"SZL",
|
|
1060
|
+
"THB",
|
|
1061
|
+
"TJS",
|
|
1062
|
+
"TMT",
|
|
1063
|
+
"TND",
|
|
1064
|
+
"TOP",
|
|
1065
|
+
"TRY",
|
|
1066
|
+
"TTD",
|
|
1067
|
+
"TVD",
|
|
1068
|
+
"TWD",
|
|
1069
|
+
"TZS",
|
|
1070
|
+
"UAH",
|
|
1071
|
+
"UGX",
|
|
1072
|
+
"USD",
|
|
1073
|
+
"UYU",
|
|
1074
|
+
"UZS",
|
|
1075
|
+
"VEF",
|
|
1076
|
+
"VND",
|
|
1077
|
+
"VUV",
|
|
1078
|
+
"WST",
|
|
1079
|
+
"XAF",
|
|
1080
|
+
"XCD",
|
|
1081
|
+
"XOF",
|
|
1082
|
+
"XPF",
|
|
1083
|
+
"YER",
|
|
1084
|
+
"ZAR",
|
|
1085
|
+
"ZMW"
|
|
1086
|
+
];
|
|
1087
|
+
var currencyCodes = [
|
|
1088
|
+
...nonISOCurrencyCodes,
|
|
1089
|
+
...ISOCurrencyCodes,
|
|
1090
|
+
"LOGICAL",
|
|
1091
|
+
"CUSTOM"
|
|
1092
|
+
];
|
|
1093
|
+
var accountCurrencyCodes = [...currencyCodes, "MULTI"];
|
|
1094
|
+
var currencyModes = ["single", "multi"];
|
|
1095
|
+
var CurrencyModeSchema = z.enum(currencyModes);
|
|
1096
|
+
var CurrencyCodeSchema = z.enum(currencyCodes);
|
|
1097
|
+
var AccountCurrencyCodeSchema = z.enum(accountCurrencyCodes);
|
|
1098
|
+
var CurrencyMatchInputSchema = z.object({
|
|
1099
|
+
customCurrencyId: z.optional(z.string()),
|
|
1100
|
+
code: CurrencyCodeSchema
|
|
1101
|
+
});
|
|
1102
|
+
|
|
1103
|
+
// ../../libs/types/strings.ts
|
|
1104
|
+
init_cjs_shims();
|
|
1105
|
+
|
|
884
1106
|
// ../../node_modules/lodash-es/lodash.js
|
|
885
1107
|
init_cjs_shims();
|
|
886
1108
|
|
|
@@ -1344,234 +1566,7 @@ function memoize(func, resolver) {
|
|
|
1344
1566
|
memoize.Cache = MapCache_default;
|
|
1345
1567
|
var memoize_default = memoize;
|
|
1346
1568
|
|
|
1347
|
-
// ../../node_modules/lodash-es/isUndefined.js
|
|
1348
|
-
init_cjs_shims();
|
|
1349
|
-
function isUndefined(value) {
|
|
1350
|
-
return value === void 0;
|
|
1351
|
-
}
|
|
1352
|
-
var isUndefined_default = isUndefined;
|
|
1353
|
-
|
|
1354
|
-
// ../../libs/types/index.ts
|
|
1355
|
-
init_cjs_shims();
|
|
1356
|
-
|
|
1357
|
-
// ../../libs/types/accountTypes.ts
|
|
1358
|
-
init_cjs_shims();
|
|
1359
|
-
var ledgerAccountTypes = [
|
|
1360
|
-
"asset",
|
|
1361
|
-
"liability",
|
|
1362
|
-
"income",
|
|
1363
|
-
"expense"
|
|
1364
|
-
];
|
|
1365
|
-
var LedgerAccountTypeSchema = z.enum(ledgerAccountTypes);
|
|
1366
|
-
|
|
1367
|
-
// ../../libs/types/workspaceTypes.ts
|
|
1368
|
-
init_cjs_shims();
|
|
1369
|
-
var workspaceTypes = ["ledger", "payments"];
|
|
1370
|
-
var WorkspaceTypeSchema = z.enum(workspaceTypes);
|
|
1371
|
-
|
|
1372
|
-
// ../../libs/types/currencyCodes.ts
|
|
1373
|
-
init_cjs_shims();
|
|
1374
|
-
var nonISOCurrencyCodes = [
|
|
1375
|
-
// Crypto currencies
|
|
1376
|
-
"ADA",
|
|
1377
|
-
"BTC",
|
|
1378
|
-
"DAI",
|
|
1379
|
-
"ETH",
|
|
1380
|
-
"SOL",
|
|
1381
|
-
"USDC",
|
|
1382
|
-
"USDT",
|
|
1383
|
-
"USDG",
|
|
1384
|
-
"EURC",
|
|
1385
|
-
"CADC",
|
|
1386
|
-
"CADT",
|
|
1387
|
-
"XLM",
|
|
1388
|
-
"UNI",
|
|
1389
|
-
"BCH",
|
|
1390
|
-
"LTC",
|
|
1391
|
-
"AAVE",
|
|
1392
|
-
"LINK",
|
|
1393
|
-
"MATIC",
|
|
1394
|
-
"PTS"
|
|
1395
|
-
];
|
|
1396
|
-
var ISOCurrencyCodes = [
|
|
1397
|
-
// Fiat currencies
|
|
1398
|
-
"AED",
|
|
1399
|
-
"AFN",
|
|
1400
|
-
"ALL",
|
|
1401
|
-
"AMD",
|
|
1402
|
-
"ANG",
|
|
1403
|
-
"AOA",
|
|
1404
|
-
"ARS",
|
|
1405
|
-
"AUD",
|
|
1406
|
-
"AWG",
|
|
1407
|
-
"AZN",
|
|
1408
|
-
"BAM",
|
|
1409
|
-
"BBD",
|
|
1410
|
-
"BDT",
|
|
1411
|
-
"BGN",
|
|
1412
|
-
"BHD",
|
|
1413
|
-
"BIF",
|
|
1414
|
-
"BMD",
|
|
1415
|
-
"BND",
|
|
1416
|
-
"BOB",
|
|
1417
|
-
"BRL",
|
|
1418
|
-
"BSD",
|
|
1419
|
-
"BTN",
|
|
1420
|
-
"BWP",
|
|
1421
|
-
"BYR",
|
|
1422
|
-
"BZD",
|
|
1423
|
-
"CAD",
|
|
1424
|
-
"CDF",
|
|
1425
|
-
"CHF",
|
|
1426
|
-
"CLP",
|
|
1427
|
-
"CNY",
|
|
1428
|
-
"COP",
|
|
1429
|
-
"CRC",
|
|
1430
|
-
"CUC",
|
|
1431
|
-
"CUP",
|
|
1432
|
-
"CVE",
|
|
1433
|
-
"CZK",
|
|
1434
|
-
"DJF",
|
|
1435
|
-
"DKK",
|
|
1436
|
-
"DOP",
|
|
1437
|
-
"DZD",
|
|
1438
|
-
"EGP",
|
|
1439
|
-
"ERN",
|
|
1440
|
-
"ETB",
|
|
1441
|
-
"EUR",
|
|
1442
|
-
"FJD",
|
|
1443
|
-
"FKP",
|
|
1444
|
-
"GBP",
|
|
1445
|
-
"GEL",
|
|
1446
|
-
"GGP",
|
|
1447
|
-
"GHS",
|
|
1448
|
-
"GIP",
|
|
1449
|
-
"GMD",
|
|
1450
|
-
"GNF",
|
|
1451
|
-
"GTQ",
|
|
1452
|
-
"GYD",
|
|
1453
|
-
"HKD",
|
|
1454
|
-
"HNL",
|
|
1455
|
-
"HRK",
|
|
1456
|
-
"HTG",
|
|
1457
|
-
"HUF",
|
|
1458
|
-
"IDR",
|
|
1459
|
-
"ILS",
|
|
1460
|
-
"IMP",
|
|
1461
|
-
"INR",
|
|
1462
|
-
"IQD",
|
|
1463
|
-
"IRR",
|
|
1464
|
-
"ISK",
|
|
1465
|
-
"JMD",
|
|
1466
|
-
"JOD",
|
|
1467
|
-
"JPY",
|
|
1468
|
-
"KES",
|
|
1469
|
-
"KGS",
|
|
1470
|
-
"KHR",
|
|
1471
|
-
"KMF",
|
|
1472
|
-
"KPW",
|
|
1473
|
-
"KRW",
|
|
1474
|
-
"KWD",
|
|
1475
|
-
"KYD",
|
|
1476
|
-
"KZT",
|
|
1477
|
-
"LAK",
|
|
1478
|
-
"LBP",
|
|
1479
|
-
"LKR",
|
|
1480
|
-
"LRD",
|
|
1481
|
-
"LSL",
|
|
1482
|
-
"LYD",
|
|
1483
|
-
"MAD",
|
|
1484
|
-
"MDL",
|
|
1485
|
-
"MGA",
|
|
1486
|
-
"MKD",
|
|
1487
|
-
"MMK",
|
|
1488
|
-
"MNT",
|
|
1489
|
-
"MOP",
|
|
1490
|
-
"MUR",
|
|
1491
|
-
"MVR",
|
|
1492
|
-
"MWK",
|
|
1493
|
-
"MXN",
|
|
1494
|
-
"MYR",
|
|
1495
|
-
"MZN",
|
|
1496
|
-
"NAD",
|
|
1497
|
-
"NGN",
|
|
1498
|
-
"NIO",
|
|
1499
|
-
"NOK",
|
|
1500
|
-
"NPR",
|
|
1501
|
-
"NZD",
|
|
1502
|
-
"OMR",
|
|
1503
|
-
"PAB",
|
|
1504
|
-
"PEN",
|
|
1505
|
-
"PGK",
|
|
1506
|
-
"PHP",
|
|
1507
|
-
"PKR",
|
|
1508
|
-
"PLN",
|
|
1509
|
-
"PYG",
|
|
1510
|
-
"QAR",
|
|
1511
|
-
"RON",
|
|
1512
|
-
"RSD",
|
|
1513
|
-
"RUB",
|
|
1514
|
-
"RWF",
|
|
1515
|
-
"SAR",
|
|
1516
|
-
"SBD",
|
|
1517
|
-
"SCR",
|
|
1518
|
-
"SDG",
|
|
1519
|
-
"SEK",
|
|
1520
|
-
"SGD",
|
|
1521
|
-
"SHP",
|
|
1522
|
-
"SLL",
|
|
1523
|
-
"SOS",
|
|
1524
|
-
"SPL",
|
|
1525
|
-
"SRD",
|
|
1526
|
-
"SVC",
|
|
1527
|
-
"SYP",
|
|
1528
|
-
"STN",
|
|
1529
|
-
"SZL",
|
|
1530
|
-
"THB",
|
|
1531
|
-
"TJS",
|
|
1532
|
-
"TMT",
|
|
1533
|
-
"TND",
|
|
1534
|
-
"TOP",
|
|
1535
|
-
"TRY",
|
|
1536
|
-
"TTD",
|
|
1537
|
-
"TVD",
|
|
1538
|
-
"TWD",
|
|
1539
|
-
"TZS",
|
|
1540
|
-
"UAH",
|
|
1541
|
-
"UGX",
|
|
1542
|
-
"USD",
|
|
1543
|
-
"UYU",
|
|
1544
|
-
"UZS",
|
|
1545
|
-
"VEF",
|
|
1546
|
-
"VND",
|
|
1547
|
-
"VUV",
|
|
1548
|
-
"WST",
|
|
1549
|
-
"XAF",
|
|
1550
|
-
"XCD",
|
|
1551
|
-
"XOF",
|
|
1552
|
-
"XPF",
|
|
1553
|
-
"YER",
|
|
1554
|
-
"ZAR",
|
|
1555
|
-
"ZMW"
|
|
1556
|
-
];
|
|
1557
|
-
var currencyCodes = [
|
|
1558
|
-
...nonISOCurrencyCodes,
|
|
1559
|
-
...ISOCurrencyCodes,
|
|
1560
|
-
"LOGICAL",
|
|
1561
|
-
"CUSTOM"
|
|
1562
|
-
];
|
|
1563
|
-
var accountCurrencyCodes = [...currencyCodes, "MULTI"];
|
|
1564
|
-
var currencyModes = ["single", "multi"];
|
|
1565
|
-
var CurrencyModeSchema = z.enum(currencyModes);
|
|
1566
|
-
var CurrencyCodeSchema = z.enum(currencyCodes);
|
|
1567
|
-
var AccountCurrencyCodeSchema = z.enum(accountCurrencyCodes);
|
|
1568
|
-
var CurrencyMatchInputSchema = z.object({
|
|
1569
|
-
customCurrencyId: z.optional(z.string()),
|
|
1570
|
-
code: CurrencyCodeSchema
|
|
1571
|
-
});
|
|
1572
|
-
|
|
1573
1569
|
// ../../libs/types/strings.ts
|
|
1574
|
-
init_cjs_shims();
|
|
1575
1570
|
var UNSAFE_CHARACTERS = ["#", "/", ":"];
|
|
1576
1571
|
var isUnsafeString = (value) => {
|
|
1577
1572
|
return !!UNSAFE_CHARACTERS.find((character) => {
|
|
@@ -1779,7 +1774,7 @@ var quarters = Object.keys(quarterMap);
|
|
|
1779
1774
|
|
|
1780
1775
|
// ../../libs/error-utils/assert.ts
|
|
1781
1776
|
function assertError(predicate, CustomError, options) {
|
|
1782
|
-
if (
|
|
1777
|
+
if (CustomError === void 0) {
|
|
1783
1778
|
throw new InternalError("you must pass in CustomError to assert");
|
|
1784
1779
|
}
|
|
1785
1780
|
try {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getStructuralPath,
|
|
6
6
|
getStructuralSubpaths,
|
|
7
7
|
getSubpaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NESRZR6B.js";
|
|
9
9
|
import {
|
|
10
10
|
BadRequestError,
|
|
11
11
|
CurrencyMatchInputSchema,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
assert_default,
|
|
21
21
|
currencyCodes,
|
|
22
22
|
safe
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-TM5X7AQ2.js";
|
|
24
24
|
import {
|
|
25
25
|
z
|
|
26
26
|
} from "./chunk-5TQBOAE7.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenGraphQL
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-QJGCDFOK.js";
|
|
4
|
+
import "../chunk-ET73SGVV.js";
|
|
5
5
|
import "../chunk-FMY4RHS4.js";
|
|
6
6
|
import "../chunk-73ZTML2E.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-UB2XQ6NG.js";
|
|
8
|
+
import "../chunk-GTWL4UIV.js";
|
|
9
|
+
import "../chunk-NESRZR6B.js";
|
|
10
|
+
import "../chunk-TM5X7AQ2.js";
|
|
11
11
|
import "../chunk-YSPQD7QM.js";
|
|
12
12
|
import "../chunk-UDU5PBTV.js";
|
|
13
13
|
import "../chunk-LJSFUVJW.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VerifySchema
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-2H2UJALX.js";
|
|
4
|
+
import "../chunk-O3B6JVQV.js";
|
|
5
5
|
import "../chunk-A4BSWX5D.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-UB2XQ6NG.js";
|
|
7
|
+
import "../chunk-GTWL4UIV.js";
|
|
8
|
+
import "../chunk-NESRZR6B.js";
|
|
9
|
+
import "../chunk-TM5X7AQ2.js";
|
|
10
10
|
import "../chunk-YSPQD7QM.js";
|
|
11
11
|
import "../chunk-UDU5PBTV.js";
|
|
12
12
|
import "../chunk-LJSFUVJW.js";
|
package/dist/commands.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R5UAADAB.js";
|
|
4
4
|
import "./chunk-DOZX2N25.js";
|
|
5
5
|
import "./chunk-VDZ6HPRI.js";
|
|
6
6
|
import "./chunk-E7SDNECJ.js";
|
|
7
7
|
import "./chunk-MSSYUMEG.js";
|
|
8
8
|
import "./chunk-MSDN6VWB.js";
|
|
9
9
|
import "./chunk-OASOBTXX.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-2H2UJALX.js";
|
|
11
|
+
import "./chunk-O3B6JVQV.js";
|
|
12
12
|
import "./chunk-A4BSWX5D.js";
|
|
13
13
|
import "./chunk-BTT5XSZ6.js";
|
|
14
14
|
import "./chunk-WQBRUOJS.js";
|
|
@@ -28,14 +28,14 @@ import "./chunk-RGW5NRXA.js";
|
|
|
28
28
|
import "./chunk-TUOIGRBA.js";
|
|
29
29
|
import "./chunk-TB6XLFM3.js";
|
|
30
30
|
import "./chunk-JSQLWL2J.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-QJGCDFOK.js";
|
|
32
|
+
import "./chunk-ET73SGVV.js";
|
|
33
33
|
import "./chunk-FMY4RHS4.js";
|
|
34
34
|
import "./chunk-73ZTML2E.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-UB2XQ6NG.js";
|
|
36
|
+
import "./chunk-GTWL4UIV.js";
|
|
37
|
+
import "./chunk-NESRZR6B.js";
|
|
38
|
+
import "./chunk-TM5X7AQ2.js";
|
|
39
39
|
import "./chunk-YSPQD7QM.js";
|
|
40
40
|
import "./chunk-UDU5PBTV.js";
|
|
41
41
|
import "./chunk-LJSFUVJW.js";
|
package/dist/graphql.js
CHANGED
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
isValidGraphQlName,
|
|
9
9
|
schemaToEntryDefinitions,
|
|
10
10
|
validateOutputName
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ET73SGVV.js";
|
|
12
12
|
import "./chunk-FMY4RHS4.js";
|
|
13
13
|
import "./chunk-73ZTML2E.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-NESRZR6B.js";
|
|
15
|
+
import "./chunk-TM5X7AQ2.js";
|
|
16
16
|
import "./chunk-7K4RMTU4.js";
|
|
17
17
|
import "./chunk-5TQBOAE7.js";
|
|
18
18
|
import "./chunk-M5OAS5QZ.js";
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-R5UAADAB.js";
|
|
4
4
|
import "./chunk-DOZX2N25.js";
|
|
5
5
|
import "./chunk-VDZ6HPRI.js";
|
|
6
6
|
import "./chunk-E7SDNECJ.js";
|
|
7
7
|
import "./chunk-MSSYUMEG.js";
|
|
8
8
|
import "./chunk-MSDN6VWB.js";
|
|
9
9
|
import "./chunk-OASOBTXX.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-2H2UJALX.js";
|
|
11
|
+
import "./chunk-O3B6JVQV.js";
|
|
12
12
|
import "./chunk-A4BSWX5D.js";
|
|
13
13
|
import "./chunk-BTT5XSZ6.js";
|
|
14
14
|
import "./chunk-WQBRUOJS.js";
|
|
@@ -28,14 +28,14 @@ import "./chunk-RGW5NRXA.js";
|
|
|
28
28
|
import "./chunk-TUOIGRBA.js";
|
|
29
29
|
import "./chunk-TB6XLFM3.js";
|
|
30
30
|
import "./chunk-JSQLWL2J.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-QJGCDFOK.js";
|
|
32
|
+
import "./chunk-ET73SGVV.js";
|
|
33
33
|
import "./chunk-FMY4RHS4.js";
|
|
34
34
|
import "./chunk-73ZTML2E.js";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-UB2XQ6NG.js";
|
|
36
|
+
import "./chunk-GTWL4UIV.js";
|
|
37
|
+
import "./chunk-NESRZR6B.js";
|
|
38
|
+
import "./chunk-TM5X7AQ2.js";
|
|
39
39
|
import {
|
|
40
40
|
require_lib
|
|
41
41
|
} from "./chunk-YSPQD7QM.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatValidationErrors,
|
|
3
3
|
logValidationErrors
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-GTWL4UIV.js";
|
|
5
|
+
import "../chunk-TM5X7AQ2.js";
|
|
6
6
|
import "../chunk-5TQBOAE7.js";
|
|
7
7
|
import "../chunk-M5OAS5QZ.js";
|
|
8
8
|
import "../chunk-7GH3YGSC.js";
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
extractSchemaMetadata,
|
|
4
4
|
isJsonParseError,
|
|
5
5
|
validateSchemaStructure
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-O3B6JVQV.js";
|
|
7
|
+
import "../chunk-UB2XQ6NG.js";
|
|
8
|
+
import "../chunk-GTWL4UIV.js";
|
|
9
|
+
import "../chunk-NESRZR6B.js";
|
|
10
|
+
import "../chunk-TM5X7AQ2.js";
|
|
11
11
|
import "../chunk-5TQBOAE7.js";
|
|
12
12
|
import "../chunk-M5OAS5QZ.js";
|
|
13
13
|
import "../chunk-7GH3YGSC.js";
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fragment-dev/cli",
|
|
3
|
-
"version": "2026.4.
|
|
3
|
+
"version": "2026.4.28",
|
|
4
4
|
"description": "FRAGMENT CLI",
|
|
5
5
|
"author": "hello@fragment.dev",
|
|
6
6
|
"bin": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"fragment": "FRAGMENT_LOCAL_DEV=true bin/dev.js",
|
|
79
79
|
"build": "node --loader ts-node/esm build.ts",
|
|
80
80
|
"lint": "eslint --fix --cache .",
|
|
81
|
-
"lint-nofix": "eslint
|
|
81
|
+
"lint-nofix": "eslint .",
|
|
82
82
|
"gen-readme": "yarn build && oclif readme && oclif manifest",
|
|
83
83
|
"gen-clients": "graphql-codegen --config codegen.yml",
|
|
84
84
|
"postpack": "shx rm -f oclif.manifest.json",
|