@fragment-dev/cli 2026.8.31-9 → 2026.9.1-6
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-WSLNK6AH.js → chunk-4KNYOXDK.js} +11 -11
- package/dist/{chunk-LLGRPASC.js → chunk-4S4ZBAWA.js} +2 -2
- package/dist/{chunk-V7GRLUPZ.js → chunk-63OAB3UI.js} +3 -3
- package/dist/{chunk-ATWSEAHA.js → chunk-C3CCDGQU.js} +4 -4
- package/dist/{chunk-YK3VNOKP.js → chunk-MJNYOK4S.js} +1 -1
- package/dist/{chunk-KCNKKLUY.js → chunk-MQJC7QJK.js} +2 -2
- package/dist/{chunk-HDCHCYP4.js → chunk-S555YKB3.js} +1 -1
- package/dist/{chunk-63YA3V3Q.js → chunk-TPOGVOCD.js} +1 -1
- package/dist/{chunk-CD6IIPMQ.js → chunk-TSEOLBSQ.js} +4 -0
- 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 +1 -1
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getStructuralPath,
|
|
6
6
|
getStructuralSubpaths,
|
|
7
7
|
getSubpaths
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-S555YKB3.js";
|
|
9
9
|
import {
|
|
10
10
|
BadRequestError,
|
|
11
11
|
CurrencyMatchInputSchema,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
getStringParameters,
|
|
23
23
|
safe,
|
|
24
24
|
z
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TSEOLBSQ.js";
|
|
26
26
|
import {
|
|
27
27
|
__commonJS,
|
|
28
28
|
__toESM,
|
|
@@ -5604,12 +5604,12 @@ var transformAndValidateAccounts = ({
|
|
|
5604
5604
|
isTotalBalance
|
|
5605
5605
|
});
|
|
5606
5606
|
errors.push(...accountConsistencyTypeErrors);
|
|
5607
|
-
const walk = (account,
|
|
5608
|
-
{ account,
|
|
5607
|
+
const walk = (account, errorPath, depth, accountPath) => [
|
|
5608
|
+
{ account, errorPath, accountPath, depth },
|
|
5609
5609
|
...(account.children ?? []).flatMap(
|
|
5610
5610
|
(child, idx) => walk(
|
|
5611
5611
|
child,
|
|
5612
|
-
[...
|
|
5612
|
+
[...errorPath, "children", idx],
|
|
5613
5613
|
depth + 1,
|
|
5614
5614
|
`${accountPath}/${child.key}`
|
|
5615
5615
|
)
|
|
@@ -5619,17 +5619,17 @@ var transformAndValidateAccounts = ({
|
|
|
5619
5619
|
(account, idx) => walk(account, ["accounts", idx], 1, account.key)
|
|
5620
5620
|
);
|
|
5621
5621
|
walkedNodes.filter(({ depth }) => depth > MAX_COA_DEPTH).forEach(
|
|
5622
|
-
({ account,
|
|
5622
|
+
({ account, errorPath, accountPath }) => errors.push({
|
|
5623
5623
|
message: `You attempted to add an account (key: ${account.key}), which exceeds the allowed maximum depth of 10 nested accounts. Path: ${accountPath}`,
|
|
5624
|
-
path:
|
|
5624
|
+
path: errorPath
|
|
5625
5625
|
})
|
|
5626
5626
|
);
|
|
5627
5627
|
const seenAccountPaths = /* @__PURE__ */ new Map();
|
|
5628
|
-
walkedNodes.forEach(({ accountPath,
|
|
5628
|
+
walkedNodes.forEach(({ accountPath, errorPath }) => {
|
|
5629
5629
|
if (accountPath) {
|
|
5630
5630
|
seenAccountPaths.set(accountPath, [
|
|
5631
5631
|
...seenAccountPaths.get(accountPath) ?? [],
|
|
5632
|
-
|
|
5632
|
+
errorPath
|
|
5633
5633
|
]);
|
|
5634
5634
|
}
|
|
5635
5635
|
});
|
|
@@ -5656,9 +5656,9 @@ var transformAndValidateAccounts = ({
|
|
|
5656
5656
|
});
|
|
5657
5657
|
if (paymentAccounts.length > 1) {
|
|
5658
5658
|
paymentAccounts.forEach(
|
|
5659
|
-
({ account,
|
|
5659
|
+
({ account, errorPath }) => errors.push({
|
|
5660
5660
|
message: paymentAccountUniquenessMessage({ key: account.key }),
|
|
5661
|
-
path: [...
|
|
5661
|
+
path: [...errorPath, "payment"]
|
|
5662
5662
|
})
|
|
5663
5663
|
);
|
|
5664
5664
|
}
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-PISSWWTD.js";
|
|
28
28
|
import {
|
|
29
29
|
VerifySchema
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MQJC7QJK.js";
|
|
31
31
|
import {
|
|
32
32
|
GenGraphQL
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-C3CCDGQU.js";
|
|
34
34
|
import {
|
|
35
35
|
GetSchema
|
|
36
36
|
} from "./chunk-UZGZUY2H.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Schema,
|
|
3
3
|
parseWithError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4KNYOXDK.js";
|
|
5
5
|
import {
|
|
6
6
|
formatValidationErrors
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MJNYOK4S.js";
|
|
8
8
|
import {
|
|
9
9
|
BadRequestError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TSEOLBSQ.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-TPOGVOCD.js";
|
|
7
7
|
import {
|
|
8
8
|
Schema,
|
|
9
9
|
parseWithError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4KNYOXDK.js";
|
|
11
11
|
import {
|
|
12
12
|
formatValidationErrors,
|
|
13
13
|
logValidationErrors
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MJNYOK4S.js";
|
|
15
15
|
import {
|
|
16
16
|
BadRequestError
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-TSEOLBSQ.js";
|
|
18
18
|
import {
|
|
19
19
|
FragmentCommand,
|
|
20
20
|
require_lib
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
extractSchemaMetadata,
|
|
3
3
|
isJsonParseError,
|
|
4
4
|
validateSchemaStructure
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-63OAB3UI.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-MJNYOK4S.js";
|
|
12
12
|
import {
|
|
13
13
|
FragmentCommand,
|
|
14
14
|
require_lib
|
|
@@ -6112,11 +6112,15 @@ var codes = {
|
|
|
6112
6112
|
type_not_allowed: "workspace_type_not_allowed",
|
|
6113
6113
|
parent_not_found: "workspace_parent_not_found",
|
|
6114
6114
|
parent_access_needed: "workspace_parent_access_needed",
|
|
6115
|
+
parent_not_paid: "workspace_parent_not_paid",
|
|
6115
6116
|
parent_stripe_customer_missing: "workspace_parent_stripe_customer_missing"
|
|
6116
6117
|
},
|
|
6117
6118
|
workspace_access: {
|
|
6118
6119
|
already_exists: "workspace_access_already_exists"
|
|
6119
6120
|
},
|
|
6121
|
+
workspace_member: {
|
|
6122
|
+
cap_limit_exceeded: "cap_limit_exceeded"
|
|
6123
|
+
},
|
|
6120
6124
|
api_client: {
|
|
6121
6125
|
invalid_role: "api_client_invalid_role"
|
|
6122
6126
|
},
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenGraphQL
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-C3CCDGQU.js";
|
|
4
|
+
import "../chunk-TPOGVOCD.js";
|
|
5
5
|
import "../chunk-FMY4RHS4.js";
|
|
6
6
|
import "../chunk-ZMFGVGZP.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-4KNYOXDK.js";
|
|
8
|
+
import "../chunk-MJNYOK4S.js";
|
|
9
|
+
import "../chunk-S555YKB3.js";
|
|
10
|
+
import "../chunk-TSEOLBSQ.js";
|
|
11
11
|
import "../chunk-W33MLXYW.js";
|
|
12
12
|
import "../chunk-34NLRFFT.js";
|
|
13
13
|
import "../chunk-LFCNPXLH.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VerifySchema
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-MQJC7QJK.js";
|
|
4
|
+
import "../chunk-63OAB3UI.js";
|
|
5
5
|
import "../chunk-A4BSWX5D.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-4KNYOXDK.js";
|
|
7
|
+
import "../chunk-MJNYOK4S.js";
|
|
8
|
+
import "../chunk-S555YKB3.js";
|
|
9
|
+
import "../chunk-TSEOLBSQ.js";
|
|
10
10
|
import "../chunk-W33MLXYW.js";
|
|
11
11
|
import "../chunk-34NLRFFT.js";
|
|
12
12
|
import "../chunk-LFCNPXLH.js";
|
package/dist/commands.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4S4ZBAWA.js";
|
|
4
4
|
import "./chunk-EXE547EZ.js";
|
|
5
5
|
import "./chunk-IMKPDURF.js";
|
|
6
6
|
import "./chunk-XDMOC74J.js";
|
|
@@ -10,17 +10,17 @@ import "./chunk-C76SZWZQ.js";
|
|
|
10
10
|
import "./chunk-IJZAXY2T.js";
|
|
11
11
|
import "./chunk-LFLUV5JB.js";
|
|
12
12
|
import "./chunk-PISSWWTD.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-MQJC7QJK.js";
|
|
14
|
+
import "./chunk-63OAB3UI.js";
|
|
15
15
|
import "./chunk-A4BSWX5D.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-C3CCDGQU.js";
|
|
17
|
+
import "./chunk-TPOGVOCD.js";
|
|
18
18
|
import "./chunk-FMY4RHS4.js";
|
|
19
19
|
import "./chunk-ZMFGVGZP.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4KNYOXDK.js";
|
|
21
|
+
import "./chunk-MJNYOK4S.js";
|
|
22
|
+
import "./chunk-S555YKB3.js";
|
|
23
|
+
import "./chunk-TSEOLBSQ.js";
|
|
24
24
|
import "./chunk-UZGZUY2H.js";
|
|
25
25
|
import "./chunk-BYZNYEGH.js";
|
|
26
26
|
import "./chunk-52KK5CBJ.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-TPOGVOCD.js";
|
|
12
12
|
import "./chunk-FMY4RHS4.js";
|
|
13
13
|
import "./chunk-ZMFGVGZP.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-S555YKB3.js";
|
|
15
|
+
import "./chunk-TSEOLBSQ.js";
|
|
16
16
|
import "./chunk-XK2D2Z44.js";
|
|
17
17
|
import "./chunk-7K4RMTU4.js";
|
|
18
18
|
import "./chunk-7GH3YGSC.js";
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
COMMANDS
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4S4ZBAWA.js";
|
|
4
4
|
import "./chunk-EXE547EZ.js";
|
|
5
5
|
import "./chunk-IMKPDURF.js";
|
|
6
6
|
import "./chunk-XDMOC74J.js";
|
|
@@ -10,17 +10,17 @@ import "./chunk-C76SZWZQ.js";
|
|
|
10
10
|
import "./chunk-IJZAXY2T.js";
|
|
11
11
|
import "./chunk-LFLUV5JB.js";
|
|
12
12
|
import "./chunk-PISSWWTD.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-MQJC7QJK.js";
|
|
14
|
+
import "./chunk-63OAB3UI.js";
|
|
15
15
|
import "./chunk-A4BSWX5D.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-C3CCDGQU.js";
|
|
17
|
+
import "./chunk-TPOGVOCD.js";
|
|
18
18
|
import "./chunk-FMY4RHS4.js";
|
|
19
19
|
import "./chunk-ZMFGVGZP.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4KNYOXDK.js";
|
|
21
|
+
import "./chunk-MJNYOK4S.js";
|
|
22
|
+
import "./chunk-S555YKB3.js";
|
|
23
|
+
import "./chunk-TSEOLBSQ.js";
|
|
24
24
|
import "./chunk-UZGZUY2H.js";
|
|
25
25
|
import "./chunk-BYZNYEGH.js";
|
|
26
26
|
import "./chunk-52KK5CBJ.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatValidationErrors,
|
|
3
3
|
logValidationErrors
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-MJNYOK4S.js";
|
|
5
|
+
import "../chunk-TSEOLBSQ.js";
|
|
6
6
|
import "../chunk-XK2D2Z44.js";
|
|
7
7
|
import "../chunk-L7ZGDLYU.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-63OAB3UI.js";
|
|
7
|
+
import "../chunk-4KNYOXDK.js";
|
|
8
|
+
import "../chunk-MJNYOK4S.js";
|
|
9
|
+
import "../chunk-S555YKB3.js";
|
|
10
|
+
import "../chunk-TSEOLBSQ.js";
|
|
11
11
|
import "../chunk-XK2D2Z44.js";
|
|
12
12
|
import "../chunk-L7ZGDLYU.js";
|
|
13
13
|
import "../chunk-7GH3YGSC.js";
|
package/oclif.manifest.json
CHANGED