@xano/sdk 1.0.9 → 1.0.11
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/CHANGELOG.md +25 -0
- package/README.md +85 -86
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-XXCQOTWN.js → agent-file-refresh-CKLYJRIS.js} +6 -6
- package/dist/{agent-skill-command-VDSMXH4M.js → agent-skill-command-QKQG5NIZ.js} +26 -26
- package/dist/{backend-dir-G44PETFO.js → backend-dir-V2FELHYM.js} +5 -5
- package/dist/bin.js +26 -26
- package/dist/{branch-commands-Q6E66PMM.js → branch-commands-ZY2W3ICB.js} +14 -14
- package/dist/bundle.d.ts +2 -2
- package/dist/bundle.js +5 -5
- package/dist/{chunk-HTP2CLRQ.js → chunk-3BI62SPQ.js} +2 -2
- package/dist/{chunk-QGDT52FA.js → chunk-3Q43PZGI.js} +17 -17
- package/dist/{chunk-XLQT3CCF.js → chunk-4BR5TEXI.js} +15 -15
- package/dist/{chunk-QTMXJQZN.js → chunk-4WBZ6T76.js} +2 -2
- package/dist/{chunk-FFB3YCUO.js → chunk-4ZTXYT3T.js} +2 -2
- package/dist/{chunk-WKCA66SH.js → chunk-64ODZADR.js} +7 -7
- package/dist/{chunk-OHTHG3LL.js → chunk-6LECAG3Y.js} +4 -4
- package/dist/{chunk-7KPKDHHI.js → chunk-76SBT7KS.js} +2 -2
- package/dist/{chunk-XPLBTV77.js → chunk-7FPFYYCW.js} +4 -4
- package/dist/{chunk-KDS4PDFD.js → chunk-7YSZSEZL.js} +5 -5
- package/dist/{chunk-DDUOMOIP.js → chunk-AM5T76NQ.js} +6 -6
- package/dist/{chunk-BEXZ4XRV.js → chunk-AXNX4NWN.js} +2 -2
- package/dist/{chunk-3XSTC3TM.js → chunk-B7JRCM2S.js} +2 -2
- package/dist/{chunk-BRANWM4U.js → chunk-C2SAVXAB.js} +2 -2
- package/dist/{chunk-SSOTLVOJ.js → chunk-D2PSNKZD.js} +2 -2
- package/dist/{chunk-6IOQRBRX.js → chunk-D5NAWB4P.js} +2 -2
- package/dist/{chunk-NI56XX5Z.js → chunk-DRWUMFSP.js} +4 -4
- package/dist/{chunk-ETAZIGNT.js → chunk-F2NFNYCB.js} +2 -2
- package/dist/{chunk-OYRQLU66.js → chunk-FDPW2M3S.js} +2 -2
- package/dist/{chunk-5BEK7YKY.js → chunk-FGNDJBT4.js} +2 -2
- package/dist/{chunk-HETQSTGG.js → chunk-FNA5CUVN.js} +2 -2
- package/dist/{chunk-4XHAT7C5.js → chunk-HJZUI2ZU.js} +2 -2
- package/dist/{chunk-DSD2NNTX.js → chunk-HUEFVPYW.js} +2 -2
- package/dist/{chunk-HVSIS47X.js → chunk-HW2JPR5W.js} +22 -22
- package/dist/{chunk-UZUY6VPB.js → chunk-HXRXQAZE.js} +29 -29
- package/dist/{chunk-S5RZYUP2.js → chunk-I5XSXMJQ.js} +2 -2
- package/dist/{chunk-3P35HT64.js → chunk-IDOVZLPK.js} +2 -2
- package/dist/{chunk-6NEV2PEC.js → chunk-IEDQT4Z3.js} +6 -6
- package/dist/{chunk-6JAEMMZ7.js → chunk-IFXPHVPY.js} +3 -3
- package/dist/{chunk-5GIOCDUM.js → chunk-IZI3SYXH.js} +3 -3
- package/dist/{chunk-Y3FM4BSZ.js → chunk-J746QNTP.js} +1 -1
- package/dist/{chunk-6YOH2L3G.js → chunk-JFPLHK6Y.js} +3 -3
- package/dist/{chunk-I53OTC3O.js → chunk-JHQAVWHW.js} +3 -3
- package/dist/{chunk-HBFXR4OJ.js → chunk-KCCZCIDJ.js} +2 -2
- package/dist/{chunk-GAU2FCT7.js → chunk-KDPXO5PO.js} +5 -5
- package/dist/{chunk-SGYDFEXD.js → chunk-KI6U2GD2.js} +7 -7
- package/dist/{chunk-6ZFJEJXZ.js → chunk-KICERNAP.js} +5 -5
- package/dist/{chunk-BUTGFWWA.js → chunk-KSBUHLNF.js} +2 -2
- package/dist/{chunk-WLFANUXE.js → chunk-KYTQW3YT.js} +2 -2
- package/dist/{chunk-U7XSQXOA.js → chunk-LYN3XNDE.js} +74 -68
- package/dist/{chunk-YMVCKGY2.js → chunk-NHXBKFHG.js} +42 -42
- package/dist/{chunk-GHPC52TD.js → chunk-NPW6DSZB.js} +3 -3
- package/dist/{chunk-XTUYIX5H.js → chunk-NU7EME32.js} +30 -30
- package/dist/{chunk-6BOKCTCM.js → chunk-NZ7ML6LG.js} +4 -4
- package/dist/{chunk-T3ZVNOJC.js → chunk-ONNSFD73.js} +10 -10
- package/dist/{chunk-Y2LKSXFK.js → chunk-QAY4RW2E.js} +3 -3
- package/dist/{chunk-5VOGPS5O.js → chunk-RNKP5TA2.js} +2 -2
- package/dist/{chunk-O376UAZS.js → chunk-SFOUFU4C.js} +110 -6
- package/dist/{chunk-ZYPEH64F.js → chunk-SNKABK5L.js} +2 -2
- package/dist/{chunk-EOIJ7MVW.js → chunk-T3HNISBN.js} +3 -3
- package/dist/{chunk-IFCQCM2Q.js → chunk-U4LRDTIM.js} +3 -3
- package/dist/{chunk-CXWCWYX3.js → chunk-UUYKEIHP.js} +2 -2
- package/dist/{chunk-S56YBYMN.js → chunk-VIRFG3WG.js} +2 -2
- package/dist/{chunk-2VWSUG2B.js → chunk-VTZF3ZNR.js} +2 -2
- package/dist/{chunk-LTPF25L2.js → chunk-W2QFR3ZJ.js} +2 -2
- package/dist/{chunk-INAM6KR6.js → chunk-WM7Y3MDE.js} +2 -2
- package/dist/{chunk-EKTIGGFO.js → chunk-WZXEQUIM.js} +4 -4
- package/dist/{chunk-YVXUYDHC.js → chunk-YKCDUHBR.js} +2 -2
- package/dist/{chunk-UVF45BVU.js → chunk-Z6N5N4MN.js} +1 -1
- package/dist/{chunk-ADKC3EII.js → chunk-ZS7VI7RK.js} +3 -3
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +25 -25
- package/dist/{codegen-command-KZJ7LYHW.js → codegen-command-6AB3REIV.js} +40 -40
- package/dist/codegen.d.ts +3 -3
- package/dist/{deploy-command-RXPJAM7M.js → deploy-command-LRJBO4LX.js} +29 -29
- package/dist/{deploy-source-TD77W4SA.js → deploy-source-JTPMMO3B.js} +8 -8
- package/dist/{dev-env-sync-2UCNSIJL.js → dev-env-sync-ODJYGSWT.js} +26 -26
- package/dist/{emit-D-a6JznN.d.ts → emit-YLt3GfsZ.d.ts} +3 -3
- package/dist/{env-example-refresh-QKZI26F2.js → env-example-refresh-DR44A6YZ.js} +41 -41
- package/dist/{env-pull-command-72PQOMKW.js → env-pull-command-47XQO5J2.js} +21 -21
- package/dist/{env-target-AZJ4JXT7.js → env-target-HBY2LQUA.js} +2 -2
- package/dist/{env-var-command-ALJITZDL.js → env-var-command-HTKKTBOC.js} +14 -14
- package/dist/{ephemeral-command-T276HQBO.js → ephemeral-command-T5EFYCEY.js} +22 -22
- package/dist/{generate-command-M6LAT4XU.js → generate-command-36OWZF23.js} +44 -44
- package/dist/{gitignore-V6QHYKIR.js → gitignore-NLLQURLD.js} +7 -7
- package/dist/{guards-4VPSEOAI.js → guards-RU4C7TFG.js} +5 -5
- package/dist/{impersonate-command-S6PYDMHQ.js → impersonate-command-HJYBQV6X.js} +10 -10
- package/dist/index.d.ts +8 -8
- package/dist/index.js +14 -14
- package/dist/{init-command-ENAZKPZA.js → init-command-54M3AA27.js} +29 -29
- package/dist/{init-modules-AIKWWTVQ.js → init-modules-MVULNRKR.js} +2 -2
- package/dist/internal.d.ts +6 -6
- package/dist/internal.js +33 -21
- package/dist/{keep-data-merge-3WPUPPTY.js → keep-data-merge-Y6PYJOPW.js} +15 -15
- package/dist/{lambda-config-reconcile-47X5C2E4.js → lambda-config-reconcile-FXPDH2U5.js} +3 -3
- package/dist/{landing-record-SJ5HG7T5.js → landing-record-LBJMKORB.js} +6 -6
- package/dist/{live-diff-CGTGOH3S.js → live-diff-HARRGFV4.js} +8 -8
- package/dist/{local-engine-choice-BD5O7SAU.js → local-engine-choice-SXSWNCZT.js} +9 -9
- package/dist/{local-engine-command-MXQUXXAA.js → local-engine-command-3GICPJPL.js} +10 -10
- package/dist/{local-engine-mcp-command-6G3TDWDI.js → local-engine-mcp-command-ZUS7LQ7F.js} +10 -10
- package/dist/{lock-commands-SUPQOEVU.js → lock-commands-PTBKQE72.js} +26 -26
- package/dist/{login-command-LTYO3EK7.js → login-command-HH4FA65C.js} +10 -10
- package/dist/{logout-command-QRRT36DY.js → logout-command-WPUWLZSW.js} +3 -3
- package/dist/{loop-XFDS65OD.js → loop-QHZD37KX.js} +8 -8
- package/dist/{marketplace-command-POQH5GVT.js → marketplace-command-ISG2U5NA.js} +14 -14
- package/dist/{meta-client-PDUP4EOW.js → meta-client-P7E6PCB7.js} +2 -2
- package/dist/node.d.ts +7 -7
- package/dist/node.js +32 -32
- package/dist/{operation-outcome-IXMC5SBN.js → operation-outcome-2Z6II4HB.js} +4 -4
- package/dist/{output-target-4XN43WIB.js → output-target-MWYZ5HYN.js} +8 -8
- package/dist/{plan-disclosure-GNLDYV2A.js → plan-disclosure-PQAXSAUH.js} +12 -12
- package/dist/{preflight-command-QWZL4O2N.js → preflight-command-6LCPYVTV.js} +36 -36
- package/dist/{profile-command-V6WFDYZW.js → profile-command-74AR3FB7.js} +11 -11
- package/dist/{promote-command-B3QODJNT.js → promote-command-YD3YQWJG.js} +48 -48
- package/dist/{publish-command-JOL6LXH6.js → publish-command-7VKTBVVP.js} +29 -29
- package/dist/{pull-command-RPGL6LXP.js → pull-command-XIYO7WTF.js} +42 -42
- package/dist/{raw-where-ZMLND6AG.d.ts → raw-where-gWGr-E4t.d.ts} +1 -1
- package/dist/{release-command-USZAWVXO.js → release-command-NADSTRM2.js} +37 -37
- package/dist/{release-ns-command-3XDRQKJD.js → release-ns-command-2VUTJ4A6.js} +46 -46
- package/dist/{routes-manifest-RIZGSOZC.js → routes-manifest-Z7I4TZIL.js} +7 -7
- package/dist/{routes-manifest-file-V5JJVIPH.js → routes-manifest-file-BDJ6XQXF.js} +9 -9
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-ZA6K4J6W.js → secrets-file-KBMEY2SS.js} +6 -6
- package/dist/{secrets-fill-command-MH53XR45.js → secrets-fill-command-YUAJSOZW.js} +28 -28
- package/dist/{source-resolve-I55GN6ZC.js → source-resolve-KB7NWL3I.js} +3 -3
- package/dist/{status-command-I6S2TVAY.js → status-command-YRIB6UJP.js} +13 -13
- package/dist/{store-xUySg-KR.d.ts → store-BM7SQcUt.d.ts} +3 -3
- package/dist/{sync-baseline-3CDL4PKT.js → sync-baseline-JGAAOS25.js} +10 -10
- package/dist/{sync-contributions-4HHBUGJ4.js → sync-contributions-LMLYV7VL.js} +2 -2
- package/dist/{tables-command-L4JRA7JF.js → tables-command-IONX4ZF2.js} +11 -11
- package/dist/{tenant-command-IZ3R4BDG.js → tenant-command-635Y2YCR.js} +54 -54
- package/dist/{test-command-GCKZRRSL.js → test-command-CN76VVUK.js} +11 -11
- package/dist/{token-XQCIFX7R.js → token-WL7SSK64.js} +2 -2
- package/dist/{toolchain-hooks-3ZAAAWPL.js → toolchain-hooks-VI2WOPST.js} +8 -8
- package/dist/{toolchain-modules-C53NXT3S.js → toolchain-modules-OXUU342N.js} +2 -2
- package/dist/{tracked-backend-UHKPD2JU.js → tracked-backend-ON5V2RBJ.js} +10 -10
- package/dist/{update-check-KMAC4VEJ.js → update-check-I75SHTAD.js} +27 -27
- package/dist/{upgrade-command-HQBSUFNE.js → upgrade-command-2J7P5NSX.js} +30 -30
- package/dist/{whoami-command-23UXAC6F.js → whoami-command-HJJK2QJS.js} +4 -4
- package/dist/{workspace-TZMAJ7NF.js → workspace-7QVUA7HI.js} +2 -2
- package/dist/{workspace-binding-RBU22BBX.js → workspace-binding-D7HZTF7N.js} +3 -3
- package/dist/{workspace-command-N4BTEHSW.js → workspace-command-KXTR5SOE.js} +50 -50
- package/dist/{workspace-env-O3RK26FR.js → workspace-env-RASIOYSN.js} +6 -6
- package/dist/{xano-6T6L7TTI.js → xano-2A2GT7EH.js} +7 -7
- package/dist/{xanosdk-import-WPCHIVP6.js → xanosdk-import-767BQ2HP.js} +2 -2
- package/dist/{xanosdk-project-TEAXYQZW.js → xanosdk-project-PETOFVUQ.js} +6 -6
- package/dist/{xdo-CxDr2Q1C.d.ts → xdo-D4OwfF2J.d.ts} +10 -4
- package/guides/codes.md +1 -0
- package/llms/client.md +2 -1
- package/llms/errors.md +2 -0
- package/llms/filters.md +2 -1
- package/llms/kinds-agent-mcp.md +2 -0
- package/llms/values.md +1 -1
- package/llms-full.txt +16 -9
- package/llms.txt +7 -6
- package/manifest.json +2 -2
- package/package.json +2 -2
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pinWrittenText
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D2PSNKZD.js";
|
|
4
4
|
import {
|
|
5
5
|
acquireEngine,
|
|
6
6
|
restartMismatchedEngine
|
|
7
7
|
} from "./chunk-H3ZBAR2L.js";
|
|
8
8
|
import {
|
|
9
9
|
resolveProjectEntry
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NPW6DSZB.js";
|
|
11
11
|
import {
|
|
12
12
|
confirm
|
|
13
13
|
} from "./chunk-HQPL34O6.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
NO_CREDENTIAL,
|
|
41
41
|
SourceError,
|
|
42
42
|
resolveSource
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-WM7Y3MDE.js";
|
|
44
44
|
import {
|
|
45
45
|
clearEngineRecordsNamed,
|
|
46
46
|
clearEngineRecordsStillMatching,
|
|
@@ -84,7 +84,7 @@ async function runLocalEngineCommand(args, opts = {}) {
|
|
|
84
84
|
case "token":
|
|
85
85
|
return runToken(args, opts);
|
|
86
86
|
case "mcp":
|
|
87
|
-
return (await import("./local-engine-mcp-command-
|
|
87
|
+
return (await import("./local-engine-mcp-command-ZUS7LQ7F.js")).runMcp(args, opts);
|
|
88
88
|
case "stop":
|
|
89
89
|
return runStop(args, opts);
|
|
90
90
|
case "update":
|
|
@@ -372,7 +372,7 @@ Run this from the project's root.`
|
|
|
372
372
|
}
|
|
373
373
|
async function repointDevEnvAfterRestart(dir, restarted) {
|
|
374
374
|
if (restarted.previousUrl === void 0) return void 0;
|
|
375
|
-
const { repointDevEnv } = await import("./dev-env-sync-
|
|
375
|
+
const { repointDevEnv } = await import("./dev-env-sync-ODJYGSWT.js");
|
|
376
376
|
try {
|
|
377
377
|
return repointDevEnv(dir, restarted.previousUrl, restarted.url);
|
|
378
378
|
} catch (err) {
|
|
@@ -704,4 +704,4 @@ export {
|
|
|
704
704
|
reportOrphanSweep,
|
|
705
705
|
resolveLiveEngine
|
|
706
706
|
};
|
|
707
|
-
//# sourceMappingURL=chunk-
|
|
707
|
+
//# sourceMappingURL=chunk-AM5T76NQ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
filter,
|
|
5
5
|
isTaggedValue,
|
|
6
6
|
toLambdaValue
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Z6N5N4MN.js";
|
|
8
8
|
|
|
9
9
|
// src/values/generated/filters.generated.ts
|
|
10
10
|
var v = (x) => {
|
|
@@ -1052,4 +1052,4 @@ export {
|
|
|
1052
1052
|
FILTER_REQUIRED_ARGS,
|
|
1053
1053
|
fl
|
|
1054
1054
|
};
|
|
1055
|
-
//# sourceMappingURL=chunk-
|
|
1055
|
+
//# sourceMappingURL=chunk-AXNX4NWN.js.map
|
|
@@ -461,7 +461,7 @@ async function post(auth, url, opts, action) {
|
|
|
461
461
|
const aftermath = !writes ? `A dry run writes nothing, so ${target} is untouched. Retry when the instance is reachable.` : opts.mode === "replace" ? `The request did not complete, so the import may or may not have landed, in whole or in part. A replace rewrites all of ${target}, so it is safe to run again once the instance is reachable.` : `The request did not complete, so the import may or may not have landed, in whole or in part.` + (opts.stateCheck !== void 0 ? ` ${opts.stateCheck}` : "");
|
|
462
462
|
const where = `${transportTarget(url)}${opts.label !== void 0 ? ` (${opts.label})` : ""}`;
|
|
463
463
|
if (res === void 0) {
|
|
464
|
-
const { classifyFailure } = await import("./operation-outcome-
|
|
464
|
+
const { classifyFailure } = await import("./operation-outcome-2Z6II4HB.js");
|
|
465
465
|
if (writes && !isTimeoutError(failure) && classifyFailure(failure, { writeSent: true }) === "no") {
|
|
466
466
|
const untrusted = certificateFailureCode(failure) !== void 0;
|
|
467
467
|
throw new ImportNotSentError(
|
|
@@ -557,4 +557,4 @@ export {
|
|
|
557
557
|
withDefaultBranchPointer,
|
|
558
558
|
xanosdkImport
|
|
559
559
|
};
|
|
560
|
-
//# sourceMappingURL=chunk-
|
|
560
|
+
//# sourceMappingURL=chunk-B7JRCM2S.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
iconLibraryOf,
|
|
3
3
|
reactPreset,
|
|
4
4
|
renderThemeScript
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IZI3SYXH.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultThemeChoice
|
|
8
8
|
} from "./chunk-TFFGOFVZ.js";
|
|
@@ -850,4 +850,4 @@ export {
|
|
|
850
850
|
allFrontendPresets,
|
|
851
851
|
resolveFrameworkFlag
|
|
852
852
|
};
|
|
853
|
-
//# sourceMappingURL=chunk-
|
|
853
|
+
//# sourceMappingURL=chunk-C2SAVXAB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveProjectEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NPW6DSZB.js";
|
|
4
4
|
import {
|
|
5
5
|
isUnusablePin,
|
|
6
6
|
readPin,
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
pinAfterAcquire,
|
|
171
171
|
pinWrittenText
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-D2PSNKZD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7YSZSEZL.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-D5NAWB4P.js.map
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7YSZSEZL.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-DNBP4GJN.js";
|
|
11
11
|
import {
|
|
12
12
|
allFrontendPresets
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-C2SAVXAB.js";
|
|
14
14
|
import {
|
|
15
15
|
README_PATH,
|
|
16
16
|
allIconLibraries,
|
|
17
17
|
readmeBuiltWithVersion,
|
|
18
18
|
refreshReadmeBuiltWith
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IZI3SYXH.js";
|
|
20
20
|
import {
|
|
21
21
|
projectFileCli,
|
|
22
22
|
projectSdkDir,
|
|
@@ -209,4 +209,4 @@ export {
|
|
|
209
209
|
isCI,
|
|
210
210
|
refreshAgentFiles
|
|
211
211
|
};
|
|
212
|
-
//# sourceMappingURL=chunk-
|
|
212
|
+
//# sourceMappingURL=chunk-DRWUMFSP.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-A2AOUBJS.js";
|
|
10
10
|
import {
|
|
11
11
|
isTaggedValue
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-Z6N5N4MN.js";
|
|
13
13
|
import {
|
|
14
14
|
resolveRef
|
|
15
15
|
} from "./chunk-LL6ED5IB.js";
|
|
@@ -188,4 +188,4 @@ export {
|
|
|
188
188
|
assertStoredName,
|
|
189
189
|
assertNameAsStored
|
|
190
190
|
};
|
|
191
|
-
//# sourceMappingURL=chunk-
|
|
191
|
+
//# sourceMappingURL=chunk-F2NFNYCB.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-75MKIQON.js";
|
|
5
5
|
import {
|
|
6
6
|
SourceError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WM7Y3MDE.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
10
|
} from "./chunk-7JKNWDYN.js";
|
|
@@ -82,4 +82,4 @@ export {
|
|
|
82
82
|
SettledWriteFailure,
|
|
83
83
|
classifyFailure
|
|
84
84
|
};
|
|
85
|
-
//# sourceMappingURL=chunk-
|
|
85
|
+
//# sourceMappingURL=chunk-FDPW2M3S.js.map
|
|
@@ -448,7 +448,7 @@ async function sdkPeerSkewOf(dir, pkg) {
|
|
|
448
448
|
const manifest = readInstalledManifest(dir, pkg);
|
|
449
449
|
if (manifest === null) return null;
|
|
450
450
|
const [{ sdkPeerSkew }, { readVersion }] = await Promise.all([
|
|
451
|
-
import("./toolchain-modules-
|
|
451
|
+
import("./toolchain-modules-OXUU342N.js"),
|
|
452
452
|
import("./cli.js")
|
|
453
453
|
]);
|
|
454
454
|
const sdkVersion = readVersion();
|
|
@@ -480,4 +480,4 @@ export {
|
|
|
480
480
|
inProject,
|
|
481
481
|
installModules
|
|
482
482
|
};
|
|
483
|
-
//# sourceMappingURL=chunk-
|
|
483
|
+
//# sourceMappingURL=chunk-FGNDJBT4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
workspaceEnvPathIn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QAY4RW2E.js";
|
|
4
4
|
import {
|
|
5
5
|
addGitignoreRule,
|
|
6
6
|
ensureGitignored,
|
|
@@ -183,4 +183,4 @@ export {
|
|
|
183
183
|
secretPathLabel,
|
|
184
184
|
refuseIfTracked
|
|
185
185
|
};
|
|
186
|
-
//# sourceMappingURL=chunk-
|
|
186
|
+
//# sourceMappingURL=chunk-FNA5CUVN.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
encodeInput,
|
|
3
3
|
f,
|
|
4
4
|
input
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VIRFG3WG.js";
|
|
6
6
|
|
|
7
7
|
// src/kinds/trigger-inputs.ts
|
|
8
8
|
var ERROR_EVENT_DESCRIPTION = `Which event fired the trigger. "new" fires on first capture and on every snapshot re-capture for non-ignored signatures (rate-limited by the ~5min snapshot dedup window). "regression" fires when a previously-fixed signature re-occurs (the fix didn't hold, or the same bug regressed back). "fixed" fires when a user marks a signature as fixed.`;
|
|
@@ -207,4 +207,4 @@ export {
|
|
|
207
207
|
impliedInputs,
|
|
208
208
|
isTriggerObjType
|
|
209
209
|
};
|
|
210
|
-
//# sourceMappingURL=chunk-
|
|
210
|
+
//# sourceMappingURL=chunk-HJZUI2ZU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeFunction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ONNSFD73.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNoProtoKeys
|
|
6
6
|
} from "./chunk-VTMTIBKP.js";
|
|
@@ -14,4 +14,4 @@ function compile(fn) {
|
|
|
14
14
|
export {
|
|
15
15
|
compile
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-HUEFVPYW.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ROUTES_MANIFEST_BASENAME
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SFOUFU4C.js";
|
|
4
4
|
import {
|
|
5
5
|
questionOrCancel
|
|
6
6
|
} from "./chunk-HQPL34O6.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FNA5CUVN.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LYN3XNDE.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QAY4RW2E.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-7YSZSEZL.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-FGNDJBT4.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
FRAMEWORKS,
|
|
72
72
|
allFrontendPresets,
|
|
73
73
|
findFrontendPreset
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-C2SAVXAB.js";
|
|
75
75
|
import {
|
|
76
76
|
BACKEND_TSCONFIG_PATH,
|
|
77
77
|
ICON_LIBRARIES,
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
renderXanoIndex,
|
|
103
103
|
resolveIconsFlag,
|
|
104
104
|
sdkDep
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-IZI3SYXH.js";
|
|
106
106
|
import {
|
|
107
107
|
composeBlock,
|
|
108
108
|
gitattributesSpec,
|
|
@@ -728,7 +728,7 @@ async function runInitCommand(args) {
|
|
|
728
728
|
}
|
|
729
729
|
const source = resolveFromSource(args.from);
|
|
730
730
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
731
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
731
|
+
const { runInitFromCommand } = await import("./codegen-command-6AB3REIV.js");
|
|
732
732
|
return runInitFromCommand(args, source);
|
|
733
733
|
}
|
|
734
734
|
rejectPullOnlyFlags(args);
|
|
@@ -792,7 +792,7 @@ async function runInitCommand(args) {
|
|
|
792
792
|
}
|
|
793
793
|
let scaffolded = false;
|
|
794
794
|
try {
|
|
795
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
795
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-OXUU342N.js");
|
|
796
796
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
797
797
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
798
798
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
@@ -927,7 +927,7 @@ async function runInitCommand(args) {
|
|
|
927
927
|
const { skewedProjectSdk } = await import("./project-sdk-IYMFVQRC.js");
|
|
928
928
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
929
929
|
if (installedSdk !== void 0) {
|
|
930
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
930
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-2J7P5NSX.js");
|
|
931
931
|
const rendered = reconcileWithInstalled(targetDir);
|
|
932
932
|
if (rendered.length > 0) {
|
|
933
933
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -1065,20 +1065,20 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1065
1065
|
const routesPath = join(targetDir, ROUTES_REL);
|
|
1066
1066
|
try {
|
|
1067
1067
|
const { loadDefault, checkStandInTokens } = await import("./cli.js");
|
|
1068
|
-
const { Xano } = await import("./xano-
|
|
1068
|
+
const { Xano } = await import("./xano-2A2GT7EH.js");
|
|
1069
1069
|
const { createLockContext, lockKey, mergeObserved } = await import("./lock-HDCHD2ON.js");
|
|
1070
1070
|
const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
|
|
1071
1071
|
const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
|
|
1072
1072
|
const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
|
|
1073
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
1074
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1075
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1073
|
+
const { planRouteManifest } = await import("./routes-manifest-Z7I4TZIL.js");
|
|
1074
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-BDJ6XQXF.js");
|
|
1075
|
+
const { isEnabled } = await import("./toolchain-modules-OXUU342N.js");
|
|
1076
1076
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1077
1077
|
resetLockOverrides();
|
|
1078
1078
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1079
1079
|
const ctx = createLockContext(existing);
|
|
1080
|
-
const { envNamesRead } = await import("./guards-
|
|
1081
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1080
|
+
const { envNamesRead } = await import("./guards-RU4C7TFG.js");
|
|
1081
|
+
const { refreshEnvExample } = await import("./env-example-refresh-DR44A6YZ.js");
|
|
1082
1082
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1083
1083
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1084
1084
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1145,7 +1145,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1145
1145
|
const file = readCredentialFile(path);
|
|
1146
1146
|
const stored = file === null ? [] : profileNames(file);
|
|
1147
1147
|
if (stored.includes(name)) return;
|
|
1148
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1148
|
+
const { ProfileNotFoundError } = await import("./token-WL7SSK64.js");
|
|
1149
1149
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1150
1150
|
throw new ProfileNotFoundError(
|
|
1151
1151
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -1154,7 +1154,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1154
1154
|
);
|
|
1155
1155
|
}
|
|
1156
1156
|
async function envCredentialSet() {
|
|
1157
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1157
|
+
const { envMetaCredentialVarsSet } = await import("./token-WL7SSK64.js");
|
|
1158
1158
|
return envMetaCredentialVarsSet().length > 0;
|
|
1159
1159
|
}
|
|
1160
1160
|
function loginNextStep(pin, projectDir) {
|
|
@@ -1209,7 +1209,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1209
1209
|
};
|
|
1210
1210
|
}
|
|
1211
1211
|
if (opts.credentialRead === true) {
|
|
1212
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1212
|
+
const { environmentCredentialVars } = await import("./token-WL7SSK64.js");
|
|
1213
1213
|
const env = environmentCredentialVars();
|
|
1214
1214
|
if (env.complete) {
|
|
1215
1215
|
return {
|
|
@@ -1232,7 +1232,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1232
1232
|
});
|
|
1233
1233
|
const stored = file === null ? [] : profileNames(file);
|
|
1234
1234
|
if (!stored.includes(selection.name)) {
|
|
1235
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1235
|
+
const env = stored.length === 0 ? (await import("./token-WL7SSK64.js")).environmentCredentialVars() : void 0;
|
|
1236
1236
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1237
1237
|
return {
|
|
1238
1238
|
name: null,
|
|
@@ -1325,4 +1325,4 @@ export {
|
|
|
1325
1325
|
projectCli,
|
|
1326
1326
|
planProfilePin
|
|
1327
1327
|
};
|
|
1328
|
-
//# sourceMappingURL=chunk-
|
|
1328
|
+
//# sourceMappingURL=chunk-HW2JPR5W.js.map
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
objectDigests,
|
|
15
15
|
syncDigests
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-JFPLHK6Y.js";
|
|
17
17
|
import {
|
|
18
18
|
archiveSeedContent
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-NPW6DSZB.js";
|
|
20
20
|
import {
|
|
21
21
|
shownLabel
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-64ODZADR.js";
|
|
23
23
|
import {
|
|
24
24
|
confirm,
|
|
25
25
|
needsConfirmation
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
discloseCanonicalMoves,
|
|
30
30
|
movesClause,
|
|
31
31
|
storageChangesPayload
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3BI62SPQ.js";
|
|
33
33
|
import {
|
|
34
34
|
listTables,
|
|
35
35
|
tableRowCounter,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
landingLockPath,
|
|
41
41
|
recordForeignLanding,
|
|
42
42
|
recordLanding
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-SNKABK5L.js";
|
|
44
44
|
import {
|
|
45
45
|
recordSync
|
|
46
46
|
} from "./chunk-R3LANPQZ.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
50
50
|
XanoSdkImportRefusal,
|
|
51
51
|
xanosdkImport
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-B7JRCM2S.js";
|
|
53
53
|
import {
|
|
54
54
|
encodeWorkspaceArchive
|
|
55
55
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -73,24 +73,24 @@ import {
|
|
|
73
73
|
sharedSchemaChanges,
|
|
74
74
|
storedColumnsAfter,
|
|
75
75
|
uniqueIndexLabels
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-JHQAVWHW.js";
|
|
77
77
|
import {
|
|
78
78
|
assertBundleFile,
|
|
79
79
|
assertBundleInput,
|
|
80
80
|
loadBundleText,
|
|
81
81
|
resolveLockPath
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-LYN3XNDE.js";
|
|
83
83
|
import {
|
|
84
84
|
LookupFailedError,
|
|
85
85
|
isUnansweredLookup,
|
|
86
86
|
unansweredCause
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-WM7Y3MDE.js";
|
|
88
88
|
import {
|
|
89
89
|
isSignatureRefusal
|
|
90
90
|
} from "./chunk-VJTTTIIB.js";
|
|
91
91
|
import {
|
|
92
92
|
getAccessToken
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-U4LRDTIM.js";
|
|
94
94
|
import {
|
|
95
95
|
readLockFile
|
|
96
96
|
} from "./chunk-CJDPSCMX.js";
|
|
@@ -107,7 +107,7 @@ import {
|
|
|
107
107
|
} from "./chunk-6S263KTM.js";
|
|
108
108
|
import {
|
|
109
109
|
backendDirIn
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-D5NAWB4P.js";
|
|
111
111
|
import {
|
|
112
112
|
shellWord
|
|
113
113
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -744,7 +744,7 @@ function targetIsEmpty(live) {
|
|
|
744
744
|
async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
745
745
|
if (live === void 0 || req.mode !== "merge") return false;
|
|
746
746
|
if (req.records === true || req.truncate === true) return false;
|
|
747
|
-
const { compareToLive: compareToLive2 } = await import("./live-diff-
|
|
747
|
+
const { compareToLive: compareToLive2 } = await import("./live-diff-HARRGFV4.js");
|
|
748
748
|
let result;
|
|
749
749
|
try {
|
|
750
750
|
result = compareToLive2(
|
|
@@ -765,7 +765,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
|
765
765
|
async function unchangedWithLive(live, req, outgoingBundle, pinned) {
|
|
766
766
|
if (live === void 0 || req.mode !== "merge") return void 0;
|
|
767
767
|
if (req.records === true || req.truncate === true) return void 0;
|
|
768
|
-
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-
|
|
768
|
+
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-HARRGFV4.js");
|
|
769
769
|
try {
|
|
770
770
|
const outgoing = JSON.parse(outgoingBundle);
|
|
771
771
|
const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
|
|
@@ -793,7 +793,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
793
793
|
}
|
|
794
794
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
795
795
|
async function replaceCommandHint(args) {
|
|
796
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
796
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-LRJBO4LX.js");
|
|
797
797
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
798
798
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
799
799
|
const argv = [];
|
|
@@ -824,7 +824,7 @@ function landingTableFields(losses) {
|
|
|
824
824
|
};
|
|
825
825
|
}
|
|
826
826
|
async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
|
|
827
|
-
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-
|
|
827
|
+
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-PQAXSAUH.js");
|
|
828
828
|
const none = {
|
|
829
829
|
...tableEffectFields(NO_TABLE_EFFECTS),
|
|
830
830
|
renamedTables: [],
|
|
@@ -843,7 +843,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
|
|
|
843
843
|
blank();
|
|
844
844
|
return none;
|
|
845
845
|
}
|
|
846
|
-
const { diffAgainstLive, tableAdditions } = await import("./live-diff-
|
|
846
|
+
const { diffAgainstLive, tableAdditions } = await import("./live-diff-HARRGFV4.js");
|
|
847
847
|
let diff;
|
|
848
848
|
let additions;
|
|
849
849
|
try {
|
|
@@ -1276,7 +1276,7 @@ async function assertWorkspaceUnchanged(args, ctx) {
|
|
|
1276
1276
|
const { readSyncBaseline } = await import("./sync-record-U65BCPSP.js");
|
|
1277
1277
|
const baseline = readSyncBaseline(ctx.lockPath, ctx.target);
|
|
1278
1278
|
if (baseline === void 0) return [];
|
|
1279
|
-
const { directedComparison } = await import("./sync-baseline-
|
|
1279
|
+
const { directedComparison } = await import("./sync-baseline-JGAAOS25.js");
|
|
1280
1280
|
let compared;
|
|
1281
1281
|
try {
|
|
1282
1282
|
compared = directedComparison(
|
|
@@ -1609,7 +1609,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1609
1609
|
const held = guidsOf(live);
|
|
1610
1610
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1611
1611
|
const { orphanFixUps } = await import("./cli.js");
|
|
1612
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1612
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-Y6PYJOPW.js");
|
|
1613
1613
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1614
1614
|
const out = [];
|
|
1615
1615
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1653,7 +1653,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1653
1653
|
return out;
|
|
1654
1654
|
}
|
|
1655
1655
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1656
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1656
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-Y6PYJOPW.js");
|
|
1657
1657
|
const one = pending.length === 1;
|
|
1658
1658
|
const lines = pending.flatMap(
|
|
1659
1659
|
(p) => pendingRenameLines(
|
|
@@ -2109,7 +2109,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2109
2109
|
assertBundleFile(args, { command: "deploy" });
|
|
2110
2110
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2111
2111
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2112
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2112
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-OXUU342N.js");
|
|
2113
2113
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2114
2114
|
const loaded = await loadBundleText(
|
|
2115
2115
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2135,15 +2135,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2135
2135
|
});
|
|
2136
2136
|
};
|
|
2137
2137
|
if (!args.dryRun && args.file !== void 0) {
|
|
2138
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2138
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-LRJBO4LX.js");
|
|
2139
2139
|
await ignoreBackendSecretFilesRead(args);
|
|
2140
2140
|
}
|
|
2141
2141
|
if (args.static !== void 0) {
|
|
2142
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2142
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-LRJBO4LX.js");
|
|
2143
2143
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2144
2144
|
}
|
|
2145
2145
|
{
|
|
2146
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
2146
|
+
const { runBundleHooks } = await import("./toolchain-hooks-VI2WOPST.js");
|
|
2147
2147
|
const { readVersion } = await import("./cli.js");
|
|
2148
2148
|
await runBundleHooks(
|
|
2149
2149
|
toolchain.loaded,
|
|
@@ -2249,7 +2249,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2249
2249
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2250
2250
|
}).catch(async (err) => {
|
|
2251
2251
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2252
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2252
|
+
const { importInProgressError } = await import("./keep-data-merge-Y6PYJOPW.js");
|
|
2253
2253
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
2254
2254
|
const retry = retryCommand2(args);
|
|
2255
2255
|
throw importInProgressError(
|
|
@@ -2384,7 +2384,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2384
2384
|
});
|
|
2385
2385
|
})() : [];
|
|
2386
2386
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2387
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2387
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-Y6PYJOPW.js");
|
|
2388
2388
|
const triggers = liveTableTriggers(live);
|
|
2389
2389
|
if (triggers.length > 0) {
|
|
2390
2390
|
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-VZYLYDVX.js");
|
|
@@ -2767,7 +2767,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2767
2767
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2768
2768
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2769
2769
|
}
|
|
2770
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2770
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-LRJBO4LX.js");
|
|
2771
2771
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2772
2772
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2773
2773
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2819,14 +2819,14 @@ function setLiveRollback(previous, args) {
|
|
|
2819
2819
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2820
2820
|
const tenant = opts.tenant;
|
|
2821
2821
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2822
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2822
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-767BQ2HP.js");
|
|
2823
2823
|
let capable;
|
|
2824
2824
|
try {
|
|
2825
2825
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2826
2826
|
} catch (err) {
|
|
2827
2827
|
if (err?.status === 501) capable = false;
|
|
2828
2828
|
else {
|
|
2829
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2829
|
+
const { unreachableProbeError } = await import("./keep-data-merge-Y6PYJOPW.js");
|
|
2830
2830
|
const retry = retryCommand(args, {
|
|
2831
2831
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2832
2832
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2915,4 +2915,4 @@ export {
|
|
|
2915
2915
|
setLiveRollback,
|
|
2916
2916
|
assertReleaseIdentitiesFree
|
|
2917
2917
|
};
|
|
2918
|
-
//# sourceMappingURL=chunk-
|
|
2918
|
+
//# sourceMappingURL=chunk-HXRXQAZE.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FNA5CUVN.js";
|
|
4
4
|
import {
|
|
5
5
|
andList
|
|
6
6
|
} from "./chunk-622HUCZT.js";
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
secretsPhrase,
|
|
126
126
|
assertWritableTarget
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-I5XSXMJQ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W2QFR3ZJ.js";
|
|
4
4
|
import {
|
|
5
5
|
sha1Bytes
|
|
6
6
|
} from "./chunk-OHX6MIUZ.js";
|
|
@@ -41,4 +41,4 @@ export {
|
|
|
41
41
|
canonicalJson,
|
|
42
42
|
structuralHash
|
|
43
43
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
44
|
+
//# sourceMappingURL=chunk-IDOVZLPK.js.map
|