@fragment-dev/cli 2026.9.1-3 → 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-N3CORUEQ.js → chunk-4KNYOXDK.js} +9 -9
- package/dist/{chunk-KPFS6LIZ.js → chunk-4S4ZBAWA.js} +2 -2
- package/dist/{chunk-2MSDIARC.js → chunk-63OAB3UI.js} +1 -1
- package/dist/{chunk-VRWIIYJD.js → chunk-C3CCDGQU.js} +1 -1
- package/dist/{chunk-GIJOE3QK.js → chunk-MQJC7QJK.js} +1 -1
- package/dist/commands/gen-graphql.js +2 -2
- package/dist/commands/verify-schema.js +3 -3
- package/dist/commands.js +5 -5
- package/dist/index.js +5 -5
- package/dist/utils/schemaValidation.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
|
@@ -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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GenGraphQL
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-C3CCDGQU.js";
|
|
4
4
|
import "../chunk-TPOGVOCD.js";
|
|
5
5
|
import "../chunk-FMY4RHS4.js";
|
|
6
6
|
import "../chunk-ZMFGVGZP.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-4KNYOXDK.js";
|
|
8
8
|
import "../chunk-MJNYOK4S.js";
|
|
9
9
|
import "../chunk-S555YKB3.js";
|
|
10
10
|
import "../chunk-TSEOLBSQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
+
import "../chunk-4KNYOXDK.js";
|
|
7
7
|
import "../chunk-MJNYOK4S.js";
|
|
8
8
|
import "../chunk-S555YKB3.js";
|
|
9
9
|
import "../chunk-TSEOLBSQ.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,14 +10,14 @@ 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-
|
|
16
|
+
import "./chunk-C3CCDGQU.js";
|
|
17
17
|
import "./chunk-TPOGVOCD.js";
|
|
18
18
|
import "./chunk-FMY4RHS4.js";
|
|
19
19
|
import "./chunk-ZMFGVGZP.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4KNYOXDK.js";
|
|
21
21
|
import "./chunk-MJNYOK4S.js";
|
|
22
22
|
import "./chunk-S555YKB3.js";
|
|
23
23
|
import "./chunk-TSEOLBSQ.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,14 +10,14 @@ 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-
|
|
16
|
+
import "./chunk-C3CCDGQU.js";
|
|
17
17
|
import "./chunk-TPOGVOCD.js";
|
|
18
18
|
import "./chunk-FMY4RHS4.js";
|
|
19
19
|
import "./chunk-ZMFGVGZP.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-4KNYOXDK.js";
|
|
21
21
|
import "./chunk-MJNYOK4S.js";
|
|
22
22
|
import "./chunk-S555YKB3.js";
|
|
23
23
|
import "./chunk-TSEOLBSQ.js";
|
|
@@ -3,8 +3,8 @@ import {
|
|
|
3
3
|
extractSchemaMetadata,
|
|
4
4
|
isJsonParseError,
|
|
5
5
|
validateSchemaStructure
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-63OAB3UI.js";
|
|
7
|
+
import "../chunk-4KNYOXDK.js";
|
|
8
8
|
import "../chunk-MJNYOK4S.js";
|
|
9
9
|
import "../chunk-S555YKB3.js";
|
|
10
10
|
import "../chunk-TSEOLBSQ.js";
|
package/oclif.manifest.json
CHANGED