@xano/sdk 1.0.11 → 1.0.13
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 +28 -0
- package/README.md +13 -12
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-CKLYJRIS.js → agent-file-refresh-DAFGNMQX.js} +9 -9
- package/dist/{agent-skill-command-QKQG5NIZ.js → agent-skill-command-6M46ZGOL.js} +34 -34
- package/dist/{answer-shape-UMQRXMCX.js → answer-shape-CBUQRSXI.js} +4 -4
- package/dist/{backend-dir-V2FELHYM.js → backend-dir-J2J7JNS6.js} +9 -9
- package/dist/{backend-slot-TTRNOQF5.js → backend-slot-X5AUX2TT.js} +3 -3
- package/dist/bin.js +35 -35
- package/dist/{branch-Q7CDJRU6.js → branch-YS2K3VOB.js} +8 -8
- package/dist/{branch-commands-ZY2W3ICB.js → branch-commands-BUKVE637.js} +20 -20
- package/dist/{chunk-4JKXGPXB.js → chunk-2BHYGUTI.js} +2 -2
- package/dist/{chunk-VHV25AAO.js → chunk-373AVIL2.js} +7 -7
- package/dist/{chunk-YP76ZCQ5.js → chunk-3RZ4UJWV.js} +3 -3
- package/dist/{chunk-TG65NWUR.js → chunk-3ZVSOZZC.js} +2 -2
- package/dist/{chunk-76UAME77.js → chunk-4CS4DKQC.js} +2 -2
- package/dist/{chunk-KYTQW3YT.js → chunk-5ONWBQ2C.js} +7 -7
- package/dist/{chunk-NPW6DSZB.js → chunk-5SMUND4J.js} +6 -6
- package/dist/{chunk-B7JRCM2S.js → chunk-5XDKKE5Y.js} +4 -4
- package/dist/{chunk-WM7Y3MDE.js → chunk-6HTXQAMG.js} +14 -14
- package/dist/{chunk-NHXBKFHG.js → chunk-6OOZJQJK.js} +67 -67
- package/dist/{chunk-VJTTTIIB.js → chunk-6QJORUHC.js} +2 -2
- package/dist/{chunk-YE7MHW45.js → chunk-7NNLRNXE.js} +4 -4
- package/dist/{chunk-6S263KTM.js → chunk-A3CT26GX.js} +2 -2
- package/dist/{chunk-ULUUOUQX.js → chunk-AUYXBKGR.js} +2 -2
- package/dist/{chunk-4WBZ6T76.js → chunk-BXVNRUDB.js} +3 -3
- package/dist/{chunk-6PTITS3M.js → chunk-C4TZP5PQ.js} +5 -5
- package/dist/{chunk-3Q43PZGI.js → chunk-CGZSF756.js} +24 -24
- package/dist/{chunk-HFOGQIII.js → chunk-CTUIMNEM.js} +2 -2
- package/dist/{chunk-C6KBZH7M.js → chunk-D4VKPOD4.js} +2 -2
- package/dist/{chunk-HVPSDQJB.js → chunk-DB7P2SSK.js} +3 -3
- package/dist/{chunk-GN5SQMIQ.js → chunk-DFCYAEBE.js} +2 -2
- package/dist/{chunk-TR7EOUQE.js → chunk-DILYWJVP.js} +2 -2
- package/dist/{chunk-HXRXQAZE.js → chunk-DPSR5GRE.js} +43 -43
- package/dist/{chunk-ZO3QWFNV.js → chunk-DYGRTWAI.js} +3 -3
- package/dist/{chunk-VD7YTLWL.js → chunk-DZUNF7IH.js} +2 -2
- package/dist/{chunk-DY3EJWWH.js → chunk-EGEANMMK.js} +2 -2
- package/dist/{chunk-HW2JPR5W.js → chunk-EKS7SAZS.js} +40 -40
- package/dist/{chunk-ZS7VI7RK.js → chunk-ENAUSLMP.js} +3 -3
- package/dist/{chunk-QAY4RW2E.js → chunk-ENBGJJJH.js} +4 -4
- package/dist/{chunk-J746QNTP.js → chunk-FBWMKHLO.js} +3 -3
- package/dist/{chunk-QXOBZSQD.js → chunk-FLDFKG24.js} +4 -4
- package/dist/{chunk-D5NAWB4P.js → chunk-GRWYO2MS.js} +3 -3
- package/dist/{chunk-QL3ZJWGG.js → chunk-H5FAYLCR.js} +2 -2
- package/dist/{chunk-KSBUHLNF.js → chunk-H6VVSGKN.js} +7 -7
- package/dist/{chunk-7JKNWDYN.js → chunk-H7GMGZHI.js} +2 -2
- package/dist/{chunk-FGNDJBT4.js → chunk-HDANNK4A.js} +6 -6
- package/dist/{chunk-KI6U2GD2.js → chunk-HEMWBHQS.js} +13 -13
- package/dist/{chunk-5QOV52V4.js → chunk-I2AVVARA.js} +2 -2
- package/dist/{chunk-B3NH5UBI.js → chunk-JKGRQW6D.js} +4 -4
- package/dist/{chunk-XQO4A4Q4.js → chunk-K6BQPFRS.js} +3 -3
- package/dist/{chunk-NFSUGVDY.js → chunk-M7DIIJPW.js} +4 -4
- package/dist/{chunk-4BR5TEXI.js → chunk-MLKJUEG3.js} +21 -21
- package/dist/{chunk-C2GHFADU.js → chunk-N3XSXGAL.js} +2 -2
- package/dist/{chunk-U4LRDTIM.js → chunk-NMHTB346.js} +8 -8
- package/dist/{chunk-4ZTXYT3T.js → chunk-O6PWEJUV.js} +8 -8
- package/dist/{chunk-S42TFTM5.js → chunk-OBRMA2VK.js} +3 -3
- package/dist/{chunk-3UZQ5TMG.js → chunk-OCNTMJSY.js} +3 -3
- package/dist/{chunk-IB6SKACE.js → chunk-P5JF3U65.js} +4 -4
- package/dist/{chunk-AM5T76NQ.js → chunk-P6HXDOFG.js} +13 -13
- package/dist/{chunk-75MKIQON.js → chunk-PCHIHVX6.js} +4 -4
- package/dist/{chunk-PBK257CI.js → chunk-POZ6V4MU.js} +2 -2
- package/dist/{chunk-VTZF3ZNR.js → chunk-QWWQM4XZ.js} +7 -7
- package/dist/{chunk-QC3MKMDK.js → chunk-R7XZW4SB.js} +2 -2
- package/dist/{chunk-KDPXO5PO.js → chunk-RAGFXELQ.js} +5 -5
- package/dist/{chunk-DRWUMFSP.js → chunk-RQHXYL77.js} +3 -3
- package/dist/{chunk-OBJ7FQDX.js → chunk-RZABQ4YH.js} +2 -2
- package/dist/{chunk-KCCZCIDJ.js → chunk-SBS2IYTN.js} +3 -3
- package/dist/{chunk-LYN3XNDE.js → chunk-TANWE2ZY.js} +102 -122
- package/dist/{chunk-NU7EME32.js → chunk-U4BGBU3R.js} +27 -27
- package/dist/{chunk-SFOUFU4C.js → chunk-U4DSFCH5.js} +55 -5
- package/dist/{chunk-UUYKEIHP.js → chunk-UDCKYLBW.js} +4 -4
- package/dist/{chunk-D2PSNKZD.js → chunk-UECNKDDA.js} +8 -8
- package/dist/{chunk-R4NOZBOY.js → chunk-UFFIU57H.js} +4 -4
- package/dist/{chunk-RNKP5TA2.js → chunk-UKC65HBQ.js} +4 -4
- package/dist/{chunk-R3LANPQZ.js → chunk-VA4JK4TW.js} +3 -3
- package/dist/{chunk-I5XSXMJQ.js → chunk-VFRL4G72.js} +3 -3
- package/dist/{chunk-3BI62SPQ.js → chunk-W5MKVFBQ.js} +4 -4
- package/dist/{chunk-YKCDUHBR.js → chunk-WQZCFVAD.js} +5 -5
- package/dist/{chunk-HQPL34O6.js → chunk-XFQAA2SU.js} +2 -2
- package/dist/{chunk-SNKABK5L.js → chunk-XL7EA62X.js} +5 -5
- package/dist/{chunk-H3ZBAR2L.js → chunk-XM56DAM7.js} +8 -8
- package/dist/{chunk-PFW7WFAT.js → chunk-XVOODRNK.js} +4 -4
- package/dist/{chunk-FDPW2M3S.js → chunk-XYVPF63S.js} +8 -8
- package/dist/{chunk-7MPI7NIW.js → chunk-YJK4NPXC.js} +3 -3
- package/dist/{chunk-64ODZADR.js → chunk-ZACMAKZE.js} +13 -13
- package/dist/{chunk-7FPFYYCW.js → chunk-ZGNWMGN3.js} +7 -7
- package/dist/{chunk-7YSZSEZL.js → chunk-ZISPEBNM.js} +6 -3
- package/dist/{chunk-FNA5CUVN.js → chunk-ZSMHS7BU.js} +4 -4
- package/dist/cli.js +33 -33
- package/dist/{codegen-command-6AB3REIV.js → codegen-command-BAFON45M.js} +47 -47
- package/dist/{commands-FOHIPDKZ.js → commands-IFRAGWGK.js} +2 -2
- package/dist/{completion-XUBGMKGV.js → completion-RTXCODHS.js} +2 -2
- package/dist/{config-544VCRKP.js → config-EHFXNFSP.js} +3 -3
- package/dist/{deploy-command-LRJBO4LX.js → deploy-command-JW7R3BPW.js} +40 -40
- package/dist/{deploy-source-JTPMMO3B.js → deploy-source-ZUPLAL7L.js} +25 -25
- package/dist/{dev-env-sync-ODJYGSWT.js → dev-env-sync-W7OTV7OD.js} +34 -34
- package/dist/{display-name-hint-EZQK2PDU.js → display-name-hint-BKPMISQU.js} +10 -10
- package/dist/{env-example-refresh-DR44A6YZ.js → env-example-refresh-TS7WBVZQ.js} +48 -48
- package/dist/{env-pull-command-47XQO5J2.js → env-pull-command-5IYXQ2WK.js} +35 -35
- package/dist/{env-target-HBY2LQUA.js → env-target-TQBPLU2S.js} +9 -9
- package/dist/{env-var-command-HTKKTBOC.js → env-var-command-AKCWYZPB.js} +35 -35
- package/dist/{ephemeral-H24NF6WP.js → ephemeral-CART6DIR.js} +8 -8
- package/dist/{ephemeral-command-T5EFYCEY.js → ephemeral-command-SJYH6XRS.js} +36 -36
- package/dist/{ephemeral-state-YLZQIOBF.js → ephemeral-state-HPKSKC4Y.js} +7 -7
- package/dist/{generate-command-36OWZF23.js → generate-command-FSCFZPOJ.js} +52 -52
- package/dist/{gitignore-NLLQURLD.js → gitignore-6IJ66XME.js} +13 -13
- package/dist/{impersonate-command-HJYBQV6X.js → impersonate-command-IH4HMSS3.js} +31 -31
- package/dist/{import-TXYVFYJS.js → import-RUBCGLCA.js} +4 -4
- package/dist/{init-command-54M3AA27.js → init-command-STB4YSAK.js} +38 -38
- package/dist/{init-modules-MVULNRKR.js → init-modules-YIZYPCMM.js} +7 -7
- package/dist/{init-web-MSXDARRF.js → init-web-OGKACAOC.js} +2 -2
- package/dist/internal.js +5 -5
- package/dist/{keep-data-merge-Y6PYJOPW.js → keep-data-merge-VRKS64JK.js} +18 -18
- package/dist/{landing-record-LBJMKORB.js → landing-record-5EFK7RI6.js} +15 -15
- package/dist/{local-engine-choice-SXSWNCZT.js → local-engine-choice-TRTEJVMV.js} +28 -28
- package/dist/{local-engine-command-3GICPJPL.js → local-engine-command-2FK2PE2P.js} +33 -33
- package/dist/{local-engine-deploy-ID4JJXB5.js → local-engine-deploy-ZZVHBI2X.js} +11 -11
- package/dist/{local-engine-lookup-IC7BKAYP.js → local-engine-lookup-QFRKO35F.js} +2 -2
- package/dist/{local-engine-mcp-bridge-3SOJMZ5T.js → local-engine-mcp-bridge-T2EFRRAF.js} +4 -4
- package/dist/{local-engine-mcp-command-ZUS7LQ7F.js → local-engine-mcp-command-FB7EOGG6.js} +35 -35
- package/dist/{local-engine-process-HG5BGG3F.js → local-engine-process-XH35DURU.js} +6 -6
- package/dist/{local-engine-update-check-SKZR7YSC.js → local-engine-update-check-HAXE7BVG.js} +4 -4
- package/dist/{lock-commands-PTBKQE72.js → lock-commands-7PBZIRWR.js} +38 -38
- package/dist/{login-command-HH4FA65C.js → login-command-2O6GRMTH.js} +21 -21
- package/dist/{logout-command-WPUWLZSW.js → logout-command-RZXGW3O2.js} +12 -12
- package/dist/{marketplace-command-ISG2U5NA.js → marketplace-command-NCMLGIMS.js} +28 -28
- package/dist/{marketplace-resolve-PWEYJ2XS.js → marketplace-resolve-HPCRNV5O.js} +5 -5
- package/dist/{meta-client-P7E6PCB7.js → meta-client-DYYM5F5G.js} +10 -10
- package/dist/{module-manifest-KY7J63HG.js → module-manifest-EFE6JBZW.js} +3 -3
- package/dist/node.js +35 -35
- package/dist/{operation-outcome-2Z6II4HB.js → operation-outcome-SHNROAFA.js} +19 -19
- package/dist/{output-target-MWYZ5HYN.js → output-target-PSSR3E4N.js} +14 -14
- package/dist/{plan-disclosure-PQAXSAUH.js → plan-disclosure-WEMB5ZJ2.js} +11 -11
- package/dist/{plugin-contributions-PAGG6SUP.js → plugin-contributions-U5PAZKBE.js} +4 -4
- package/dist/{plugin-prompt-2MX6LF6X.js → plugin-prompt-O5PAMV5B.js} +4 -4
- package/dist/{plugin-questions-AP6VUTOB.js → plugin-questions-ZVYNKDRB.js} +3 -3
- package/dist/plugin.d.ts +2 -1
- package/dist/{preflight-command-6LCPYVTV.js → preflight-command-6F7JF3YQ.js} +42 -42
- package/dist/{profile-command-74AR3FB7.js → profile-command-5AOGD6GV.js} +22 -22
- package/dist/{profile-pointer-4HJQH5ZR.js → profile-pointer-VTOZDBHM.js} +3 -3
- package/dist/{project-dependency-ORX45I74.js → project-dependency-EZNTHMWI.js} +6 -6
- package/dist/{project-sdk-IYMFVQRC.js → project-sdk-ZGJM4WYQ.js} +3 -3
- package/dist/{promote-command-YD3YQWJG.js → promote-command-O2NRRFLK.js} +57 -57
- package/dist/{prompt-ZZUYWFQX.js → prompt-F7UVH4GP.js} +3 -3
- package/dist/{publish-command-7VKTBVVP.js → publish-command-6VVSJPLI.js} +43 -43
- package/dist/{pull-command-XIYO7WTF.js → pull-command-GE2WUEUF.js} +50 -50
- package/dist/{pull-superseded-UZ3MB53B.js → pull-superseded-77UZ7CHH.js} +3 -3
- package/dist/{release-command-NADSTRM2.js → release-command-55RTR674.js} +46 -46
- package/dist/{release-ns-command-2VUTJ4A6.js → release-ns-command-5XPZ2B6N.js} +65 -65
- package/dist/{retry-command-VZYLYDVX.js → retry-command-S5QALD5Z.js} +7 -7
- package/dist/{routes-manifest-Z7I4TZIL.js → routes-manifest-ET2TTSCL.js} +12 -2
- package/dist/{routes-manifest-file-BDJ6XQXF.js → routes-manifest-file-42FTJHRY.js} +5 -5
- package/dist/{secrets-file-KBMEY2SS.js → secrets-file-N5IF265R.js} +13 -13
- package/dist/{secrets-fill-command-YUAJSOZW.js → secrets-fill-command-35WKBURT.js} +37 -37
- package/dist/{seed-KEPIS7UZ.js → seed-5YLQRT2D.js} +3 -3
- package/dist/{source-resolve-KB7NWL3I.js → source-resolve-JXGOVJD3.js} +17 -17
- package/dist/{static-host-JAOT3N3E.js → static-host-TQP3FXPI.js} +4 -4
- package/dist/{status-command-YRIB6UJP.js → status-command-G3DFRMU7.js} +32 -32
- package/dist/{store-YFNDD6GZ.js → store-ZE5BXCOW.js} +5 -5
- package/dist/{sync-contributions-LMLYV7VL.js → sync-contributions-7T4CSPVQ.js} +8 -8
- package/dist/{sync-record-U65BCPSP.js → sync-record-ILWS44DG.js} +9 -9
- package/dist/{table-E5YTK7QX.js → table-V3LTQUY6.js} +5 -5
- package/dist/{tables-command-IONX4ZF2.js → tables-command-7NUOZBHX.js} +30 -30
- package/dist/{tenant-DAXJ4P4D.js → tenant-7WUS7Q6V.js} +9 -9
- package/dist/{tenant-command-635Y2YCR.js → tenant-command-JGEHRKN7.js} +67 -67
- package/dist/{test-command-CN76VVUK.js → test-command-2LNEA6GK.js} +30 -30
- package/dist/{tests-CLDZWLKF.js → tests-ENFUACKD.js} +5 -5
- package/dist/{token-WL7SSK64.js → token-DWNH44NW.js} +8 -8
- package/dist/{toolchain-hooks-VI2WOPST.js → toolchain-hooks-QIFGPGH2.js} +4 -4
- package/dist/{toolchain-modules-OXUU342N.js → toolchain-modules-F4DUMWTO.js} +4 -4
- package/dist/{toolchain-peers-AIKWKJH7.js → toolchain-peers-K44IINPG.js} +7 -7
- package/dist/{tracked-backend-ON5V2RBJ.js → tracked-backend-ZFXVLBBJ.js} +28 -28
- package/dist/{update-check-I75SHTAD.js → update-check-KBHT63GJ.js} +36 -36
- package/dist/{upgrade-command-2J7P5NSX.js → upgrade-command-CI543AZP.js} +38 -38
- package/dist/{whoami-command-HJJK2QJS.js → whoami-command-77DXENWD.js} +11 -11
- package/dist/{workspace-7QVUA7HI.js → workspace-RI5C77BZ.js} +4 -4
- package/dist/{workspace-binding-D7HZTF7N.js → workspace-binding-PR57NBGH.js} +10 -10
- package/dist/{workspace-command-KXTR5SOE.js → workspace-command-6HHVFQKW.js} +61 -61
- package/dist/{workspace-env-RASIOYSN.js → workspace-env-2APJEASO.js} +10 -10
- package/dist/{workspace-export-UHY22VBI.js → workspace-export-GHMUSX2P.js} +4 -4
- package/dist/{writable-2A6MBSFD.js → writable-Y6CE2CGK.js} +3 -3
- package/dist/{xanosdk-import-767BQ2HP.js → xanosdk-import-HBQH3ZBS.js} +5 -5
- package/dist/{xanosdk-project-PETOFVUQ.js → xanosdk-project-W45IR3Q7.js} +11 -11
- package/guides/authoring.md +13 -7
- package/guides/bundle.md +1 -1
- package/guides/cli.md +29 -19
- package/guides/codegen.md +3 -2
- package/guides/codes.md +2 -2
- package/guides/coverage.md +4 -3
- package/guides/deploying.md +17 -10
- package/guides/environment.md +12 -12
- package/guides/marketplace.md +12 -6
- package/guides/module-contract.md +11 -6
- package/guides/object-kinds.md +8 -5
- package/guides/scaffold.md +24 -12
- package/guides/typed-frontend.md +20 -5
- package/llms/kinds-knowledge.md +2 -2
- package/llms/object-kinds.md +2 -2
- package/llms-full.txt +6 -6
- package/llms.txt +2 -2
- package/manifest.json +3 -3
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +2 -2
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
passwordHashesWarning,
|
|
6
6
|
passwordOrigin
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-O6PWEJUV.js";
|
|
8
8
|
import {
|
|
9
9
|
isAwaited,
|
|
10
10
|
microserviceLine,
|
|
11
11
|
readyRatio,
|
|
12
12
|
waitForMicroservices
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UFFIU57H.js";
|
|
14
14
|
import {
|
|
15
15
|
EXIT_STATIC_FAILED,
|
|
16
16
|
assertStaticHostExists,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
staticRetryHint,
|
|
26
26
|
unknownStaticOutcome,
|
|
27
27
|
warnStaticTeardown
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-373AVIL2.js";
|
|
29
29
|
import {
|
|
30
30
|
HostedFilesUnresolvedError,
|
|
31
31
|
ImportNotSentError,
|
|
32
32
|
XanoSdkImportRefusal,
|
|
33
33
|
xanosdkImport
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-5XDKKE5Y.js";
|
|
35
35
|
import {
|
|
36
36
|
archiveHostedFiles,
|
|
37
37
|
decodeWorkspaceArchive,
|
|
@@ -48,19 +48,19 @@ import {
|
|
|
48
48
|
missingLockDir,
|
|
49
49
|
refuseCompileValueFlags,
|
|
50
50
|
refuseValueFlagsBesideBundle
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-TANWE2ZY.js";
|
|
52
52
|
import {
|
|
53
53
|
recordDeployed
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-POZ6V4MU.js";
|
|
55
55
|
import {
|
|
56
56
|
lookupEphemeral
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-6HTXQAMG.js";
|
|
58
58
|
import {
|
|
59
59
|
getAccessToken
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-NMHTB346.js";
|
|
61
61
|
import {
|
|
62
62
|
otherCredentialRefusal
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-QWWQM4XZ.js";
|
|
64
64
|
import {
|
|
65
65
|
engineNameForProject,
|
|
66
66
|
getEngineRecord
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
namedEphemeral,
|
|
76
76
|
renameEphemeral,
|
|
77
77
|
waitUntilReady
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-XVOODRNK.js";
|
|
79
79
|
import {
|
|
80
80
|
readLockFile
|
|
81
81
|
} from "./chunk-CJDPSCMX.js";
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
readEphemeralState,
|
|
90
90
|
recordStaticUrl,
|
|
91
91
|
setEnvironment
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-OBRMA2VK.js";
|
|
93
93
|
import {
|
|
94
94
|
selectDeployArm
|
|
95
95
|
} from "./chunk-ZYJP6BOO.js";
|
|
@@ -98,21 +98,21 @@ import {
|
|
|
98
98
|
retryCommand,
|
|
99
99
|
withheldNote,
|
|
100
100
|
yesRerun
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-N3XSXGAL.js";
|
|
102
102
|
import {
|
|
103
103
|
andList
|
|
104
104
|
} from "./chunk-622HUCZT.js";
|
|
105
105
|
import {
|
|
106
106
|
contextFlags,
|
|
107
107
|
credentialFileOf
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-A3CT26GX.js";
|
|
109
109
|
import {
|
|
110
110
|
SENT_AFTERMATH,
|
|
111
111
|
TransportError,
|
|
112
112
|
certificateFailureCode,
|
|
113
113
|
closeSentence,
|
|
114
114
|
withoutReadAftermath
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-DILYWJVP.js";
|
|
116
116
|
import {
|
|
117
117
|
describeWrite,
|
|
118
118
|
noteLanded
|
|
@@ -151,7 +151,7 @@ import {
|
|
|
151
151
|
withSpinner,
|
|
152
152
|
writeJson,
|
|
153
153
|
writeTargetPayload
|
|
154
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-D4VKPOD4.js";
|
|
155
155
|
import {
|
|
156
156
|
codePinnedTables
|
|
157
157
|
} from "./chunk-5KJBWIDZ.js";
|
|
@@ -204,7 +204,7 @@ function deriveDisplay(bundleText, cwd, source) {
|
|
|
204
204
|
return basename(cwd) || "xanosdk-app";
|
|
205
205
|
}
|
|
206
206
|
async function assertNoSeedLeaks(dir, values, opts = {}) {
|
|
207
|
-
const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-
|
|
207
|
+
const { assertStaticDir, findSeedLeaks, StaticDirError } = await import("./static-host-TQP3FXPI.js");
|
|
208
208
|
try {
|
|
209
209
|
assertStaticDir(dir, "--static", void 0, opts);
|
|
210
210
|
} catch (err) {
|
|
@@ -266,7 +266,7 @@ async function runDeployedTests(auth, summary, args) {
|
|
|
266
266
|
try {
|
|
267
267
|
return await runTestsOrThrow(auth, summary, args, settled, notRun);
|
|
268
268
|
} catch (err) {
|
|
269
|
-
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-
|
|
269
|
+
const { isSuiteUnreachable, suiteUnreachableCheck } = await import("./test-command-2LNEA6GK.js");
|
|
270
270
|
const message = err instanceof Error ? err.message : String(err);
|
|
271
271
|
const reason = isSuiteUnreachable(err) ? `${message.split("\n")[0] ?? message}
|
|
272
272
|
${suiteUnreachableCheck(
|
|
@@ -291,12 +291,12 @@ function testRunAllCommand(summary, args) {
|
|
|
291
291
|
return `xanosdk test run-all --on ${on}${kind}${concurrency}${flags}`;
|
|
292
292
|
}
|
|
293
293
|
async function testSummaryOf(outcomes, notRun = []) {
|
|
294
|
-
const { suiteCounts, testRow } = await import("./test-command-
|
|
294
|
+
const { suiteCounts, testRow } = await import("./test-command-2LNEA6GK.js");
|
|
295
295
|
return { ...suiteCounts(outcomes, notRun), tests: outcomes.map(testRow) };
|
|
296
296
|
}
|
|
297
297
|
async function runTestsOrThrow(auth, summary, args, settled, notRun) {
|
|
298
|
-
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-
|
|
299
|
-
const { qualifiedName } = await import("./tests-
|
|
298
|
+
const { runSuite, printTally, noTestsFound, EXIT_TESTS_FAILED } = await import("./test-command-2LNEA6GK.js");
|
|
299
|
+
const { qualifiedName } = await import("./tests-ENFUACKD.js");
|
|
300
300
|
if (summary.url === void 0) {
|
|
301
301
|
warn("Skipped --test: the ephemeral reported no base URL to run against.", "deploy.tests-not-run");
|
|
302
302
|
return void 0;
|
|
@@ -339,15 +339,15 @@ async function ignoreBackendSecretFilesRead(args) {
|
|
|
339
339
|
if (args.bundle !== void 0 || args.file === void 0) return;
|
|
340
340
|
const paths = [];
|
|
341
341
|
if (args.envFile === void 0) {
|
|
342
|
-
const { defaultWorkspaceEnvPath } = await import("./workspace-env-
|
|
342
|
+
const { defaultWorkspaceEnvPath } = await import("./workspace-env-2APJEASO.js");
|
|
343
343
|
paths.push(defaultWorkspaceEnvPath(args.file));
|
|
344
344
|
}
|
|
345
345
|
if (args.secretsFile === void 0) {
|
|
346
|
-
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-
|
|
346
|
+
const { defaultWorkspaceSecretsPath } = await import("./secrets-file-N5IF265R.js");
|
|
347
347
|
paths.push(defaultWorkspaceSecretsPath(args.file));
|
|
348
348
|
}
|
|
349
|
-
const { gitSaysIgnored } = await import("./store-
|
|
350
|
-
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-
|
|
349
|
+
const { gitSaysIgnored } = await import("./store-ZE5BXCOW.js");
|
|
350
|
+
const { ensureSecretPathGitignored, refuseIfTracked, secretPathLabel } = await import("./gitignore-6IJ66XME.js");
|
|
351
351
|
for (const path of paths) {
|
|
352
352
|
if (!existsSync(path)) continue;
|
|
353
353
|
if (gitSaysIgnored(path) !== false) continue;
|
|
@@ -416,14 +416,14 @@ function shipsStoredFiles(bundle) {
|
|
|
416
416
|
return Array.isArray(payload?.vault) && payload.vault.length > 0;
|
|
417
417
|
}
|
|
418
418
|
async function soleTrackedEphemeral() {
|
|
419
|
-
const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-
|
|
419
|
+
const { readEphemeralState: readEphemeralState2 } = await import("./ephemeral-state-HPKSKC4Y.js");
|
|
420
420
|
const names = new Set(Object.values(readEphemeralState2(process.cwd()).environments).map((r) => r.name));
|
|
421
421
|
return names.size === 1 ? [...names][0] : void 0;
|
|
422
422
|
}
|
|
423
423
|
async function runDeployToDestination(args, to) {
|
|
424
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
425
|
-
const { resolveSource, describeBackend } = await import("./source-resolve-
|
|
426
|
-
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-
|
|
424
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-X5AUX2TT.js");
|
|
425
|
+
const { resolveSource, describeBackend } = await import("./source-resolve-JXGOVJD3.js");
|
|
426
|
+
const { looksLikeSource, resolveProjectEntry } = await import("./deploy-source-ZUPLAL7L.js");
|
|
427
427
|
const dest = parseSlot(requireBackendSlot("deploy", void 0, "to"), to, to.trim() === "ephemeral" ? await soleTrackedEphemeral() : void 0);
|
|
428
428
|
if (dest.kind !== "workspace" && dest.kind !== "tenant") {
|
|
429
429
|
throw new Error(`Internal: \`deploy --to\` parsed ${withArticle(dest.kind)}, which its slot does not accept.`);
|
|
@@ -432,7 +432,7 @@ async function runDeployToDestination(args, to) {
|
|
|
432
432
|
const flags = contextFlags(args);
|
|
433
433
|
const release = /^release:(.*)$/.exec(args.file)?.[1];
|
|
434
434
|
const releaseWord = release === void 0 || release === "" ? "<name>" : shellQuote(release);
|
|
435
|
-
const { pipedYes: pipedYes2 } = await import("./retry-command-
|
|
435
|
+
const { pipedYes: pipedYes2 } = await import("./retry-command-S5QALD5Z.js");
|
|
436
436
|
const yes = args.dryRun === true ? "" : pipedYes2(args);
|
|
437
437
|
const tenantLanding = `\`xanosdk tenant deploy ${dest.kind === "tenant" ? shellQuote(dest.name) : "<tenant>"} ${releaseWord}${yes}${flags}\``;
|
|
438
438
|
const landing = `${args.branch === void 0 ? "" : ` --branch ${shellQuote(args.branch)}`}${args.setLive === true ? " --set-live" : ""}`;
|
|
@@ -473,7 +473,7 @@ async function runDeployToDestination(args, to) {
|
|
|
473
473
|
}
|
|
474
474
|
const named = describeBackend(resolved);
|
|
475
475
|
if (dest.kind === "tenant" && !isEphemeral && resolved.backend.kind === "hosted") {
|
|
476
|
-
const { tenantHasWorkspace } = await import("./tenant-
|
|
476
|
+
const { tenantHasWorkspace } = await import("./tenant-7WUS7Q6V.js");
|
|
477
477
|
if (!await tenantHasWorkspace(resolved.backend.auth, resolved.target.base)) {
|
|
478
478
|
throw tenantWithoutWorkspace(dest.name, named, typed, args);
|
|
479
479
|
}
|
|
@@ -498,7 +498,7 @@ async function runDeployToDestination(args, to) {
|
|
|
498
498
|
)
|
|
499
499
|
);
|
|
500
500
|
};
|
|
501
|
-
const { runReleaseCommand } = await import("./release-command-
|
|
501
|
+
const { runReleaseCommand } = await import("./release-command-55RTR674.js");
|
|
502
502
|
return runReleaseCommand(args, {
|
|
503
503
|
base: resolved.target.base,
|
|
504
504
|
workspaceId: resolved.target.workspaceId,
|
|
@@ -639,9 +639,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
639
639
|
const { startedAt } = ctx;
|
|
640
640
|
const dir = process.cwd();
|
|
641
641
|
const fetchedSource = sourceCredential !== void 0 && args.file !== void 0 ? { credential: sourceCredential, spec: args.file } : void 0;
|
|
642
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
642
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
|
|
643
643
|
const toolchain = await discoverToolchainPlugins(dir, { frozen: args.frozenLock === true });
|
|
644
|
-
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-
|
|
644
|
+
const { archive, shownSource, bundleObject, bundleText, content, passwordColumns, classifiedLock, commitLock, nonPublicSeedValues } = fetchedSource ? await import("./deploy-source-ZUPLAL7L.js").then(async (m) => {
|
|
645
645
|
const f = await m.fetchSourceArchive(fetchedSource.credential, fetchedSource.spec, dir);
|
|
646
646
|
const decoded = decodeWorkspaceArchive(f.archive);
|
|
647
647
|
noteReleaseCarriesNoEnv(fetchedSource.spec, m.gatedApiGroups(decoded));
|
|
@@ -684,7 +684,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
684
684
|
}
|
|
685
685
|
step(`Deploying ${shownSource} \u2192 Xano Engine`);
|
|
686
686
|
{
|
|
687
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
687
|
+
const { runBundleHooks } = await import("./toolchain-hooks-QIFGPGH2.js");
|
|
688
688
|
const { readVersion } = await import("./cli.js");
|
|
689
689
|
await runBundleHooks(
|
|
690
690
|
toolchain.loaded,
|
|
@@ -702,9 +702,9 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
702
702
|
"; nothing was deployed"
|
|
703
703
|
);
|
|
704
704
|
}
|
|
705
|
-
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-
|
|
705
|
+
const { chooseLocalEngine, explainOverrideFailure, pinAfterAcquire } = await import("./local-engine-choice-TRTEJVMV.js");
|
|
706
706
|
const choice = await chooseLocalEngine(dest.downloadUrl, dir, isMachineOutput(args));
|
|
707
|
-
const { ensureProjectEngine } = await import("./local-engine-deploy-
|
|
707
|
+
const { ensureProjectEngine } = await import("./local-engine-deploy-ZZVHBI2X.js");
|
|
708
708
|
const pin = pinAfterAcquire(choice, dir);
|
|
709
709
|
const flags = { keepData: args.keepData, reset: args.reset };
|
|
710
710
|
const { engine, reused, previousUrl, hadRecord, priorFilled, engineVersion, replaced, sweptOrphans } = await withSpinner(
|
|
@@ -753,7 +753,7 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
753
753
|
};
|
|
754
754
|
try {
|
|
755
755
|
if (arm.arm === "merge") {
|
|
756
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
756
|
+
const { mergeKeepingData } = await import("./keep-data-merge-VRKS64JK.js");
|
|
757
757
|
merged = await mergeKeepingData({
|
|
758
758
|
auth: bearer,
|
|
759
759
|
baseUrl: engine.url,
|
|
@@ -795,10 +795,10 @@ async function deployToLocalEngine(args, dest, sourceCredential, ctx) {
|
|
|
795
795
|
}
|
|
796
796
|
} catch (err) {
|
|
797
797
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
798
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
798
|
+
const { importInProgressError } = await import("./keep-data-merge-VRKS64JK.js");
|
|
799
799
|
throw importInProgressError(`Xano Engine ${engine.name}`, rerunOf(args), err);
|
|
800
800
|
}
|
|
801
|
-
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-
|
|
801
|
+
const { explainUnsupportedEngineImport } = await import("./local-engine-deploy-ZZVHBI2X.js");
|
|
802
802
|
const unsupported = explainUnsupportedEngineImport(err, engineVersion, {
|
|
803
803
|
latest: await latestEngineRelease(err),
|
|
804
804
|
resetRerun: arm.arm === "merge" ? `${rerunOf(args).command} --reset` : void 0
|
|
@@ -918,7 +918,7 @@ async function publishStaticToLocalEngine(args, dir, engine, engineVersion) {
|
|
|
918
918
|
}
|
|
919
919
|
}
|
|
920
920
|
async function parseDeploySource(raw) {
|
|
921
|
-
const { requireBackendSlot, parseSlot } = await import("./backend-slot-
|
|
921
|
+
const { requireBackendSlot, parseSlot } = await import("./backend-slot-X5AUX2TT.js");
|
|
922
922
|
const source = parseSlot(requireBackendSlot("deploy", void 0, "subject"), raw);
|
|
923
923
|
if (source.kind === "file") throw new Error(`Internal: "${raw}" parsed as a bundle path on the fetch arm.`);
|
|
924
924
|
return source;
|
|
@@ -1118,15 +1118,15 @@ async function runDeploy(args) {
|
|
|
1118
1118
|
if (args.reset && !args.keepData) {
|
|
1119
1119
|
info("`--reset` changes nothing here: it only overrides `--keep-data`, and without it a deploy already replaces the environment.");
|
|
1120
1120
|
}
|
|
1121
|
-
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-
|
|
1121
|
+
const { looksLikeSource, resolveProjectEntry, fetchSourceArchive, passwordSeedColumns, archiveSeedContent, gatedApiGroups } = await import("./deploy-source-ZUPLAL7L.js");
|
|
1122
1122
|
const fetching = args.file !== void 0 && looksLikeSource(args.file);
|
|
1123
1123
|
const sourceSpec = fetching ? await parseDeploySource(args.file) : void 0;
|
|
1124
1124
|
if (sourceSpec !== void 0) refuseValueFlagsForSource(args, args.file, sourceSpec);
|
|
1125
1125
|
if (destination.kind === "local") {
|
|
1126
1126
|
refuseSameEngine(sourceSpec, process.cwd());
|
|
1127
|
-
const { refuseProfileForLocal } = await import("./tracked-backend-
|
|
1127
|
+
const { refuseProfileForLocal } = await import("./tracked-backend-ZFXVLBBJ.js");
|
|
1128
1128
|
refuseProfileForLocal(args.profile, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind], void 0, {});
|
|
1129
|
-
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-
|
|
1129
|
+
const { refuseCredentialFlagsForLocal } = await import("./local-engine-choice-TRTEJVMV.js");
|
|
1130
1130
|
refuseCredentialFlagsForLocal(args, sourceSpec === void 0 ? ["local"] : ["local", sourceSpec.kind]);
|
|
1131
1131
|
}
|
|
1132
1132
|
if (!fetching) {
|
|
@@ -1142,7 +1142,7 @@ async function runDeploy(args) {
|
|
|
1142
1142
|
}
|
|
1143
1143
|
refuseMissingStaticDir(args);
|
|
1144
1144
|
if (destination.kind === "local") {
|
|
1145
|
-
const { memoCredential } = await import("./tracked-backend-
|
|
1145
|
+
const { memoCredential } = await import("./tracked-backend-ZFXVLBBJ.js");
|
|
1146
1146
|
return deployToLocalEngine(
|
|
1147
1147
|
args,
|
|
1148
1148
|
destination,
|
|
@@ -1154,7 +1154,7 @@ async function runDeploy(args) {
|
|
|
1154
1154
|
const auth = await getAccessToken(args);
|
|
1155
1155
|
refuseSameEphemeral(sourceSpec, auth, process.cwd(), contextFlags(args), args.keepData && !args.reset);
|
|
1156
1156
|
await noteRunScopeFor(auth);
|
|
1157
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
1157
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-F4DUMWTO.js");
|
|
1158
1158
|
const toolchain = await discoverToolchainPlugins(process.cwd(), {
|
|
1159
1159
|
frozen: args.frozenLock === true
|
|
1160
1160
|
});
|
|
@@ -1198,7 +1198,7 @@ async function runDeploy(args) {
|
|
|
1198
1198
|
);
|
|
1199
1199
|
}
|
|
1200
1200
|
{
|
|
1201
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
1201
|
+
const { runBundleHooks } = await import("./toolchain-hooks-QIFGPGH2.js");
|
|
1202
1202
|
const { readVersion } = await import("./cli.js");
|
|
1203
1203
|
await runBundleHooks(
|
|
1204
1204
|
toolchain.loaded,
|
|
@@ -1288,7 +1288,7 @@ async function runDeploy(args) {
|
|
|
1288
1288
|
}).finally(() => noteLanded(void 0));
|
|
1289
1289
|
if (staticSummary !== void 0) summary.static = staticSummary;
|
|
1290
1290
|
if (summary.ephemeral !== void 0) {
|
|
1291
|
-
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-
|
|
1291
|
+
const { landingLockPath, recordLanding, recordForeignLanding } = await import("./landing-record-5EFK7RI6.js");
|
|
1292
1292
|
const dest = { kind: "ephemeral", name: summary.ephemeral.name };
|
|
1293
1293
|
const { storedColumnsAfter } = await import("./live-diff-HARRGFV4.js");
|
|
1294
1294
|
const sent = JSON.parse(bundle);
|
|
@@ -1352,7 +1352,7 @@ async function runDeploy(args) {
|
|
|
1352
1352
|
async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts = {}) {
|
|
1353
1353
|
if (args.noDevEnv || summary.url === void 0) return;
|
|
1354
1354
|
if (opts.staticServing === true || summary.static !== void 0 && summary.static.error === void 0) {
|
|
1355
|
-
const { staleDevEnv } = await import("./dev-env-sync-
|
|
1355
|
+
const { staleDevEnv } = await import("./dev-env-sync-W7OTV7OD.js");
|
|
1356
1356
|
let stale;
|
|
1357
1357
|
try {
|
|
1358
1358
|
stale = staleDevEnv(cwd, summary.url);
|
|
@@ -1366,7 +1366,7 @@ async function syncDevEnvAfterDeploy(args, summary, cwd = process.cwd(), opts =
|
|
|
1366
1366
|
}
|
|
1367
1367
|
return;
|
|
1368
1368
|
}
|
|
1369
|
-
const { syncDevEnv } = await import("./dev-env-sync-
|
|
1369
|
+
const { syncDevEnv } = await import("./dev-env-sync-W7OTV7OD.js");
|
|
1370
1370
|
try {
|
|
1371
1371
|
const written = syncDevEnv(cwd, summary.url);
|
|
1372
1372
|
if (written === void 0) return;
|
|
@@ -1466,22 +1466,22 @@ function rerunOf(args) {
|
|
|
1466
1466
|
return { command: retry.command, note: withheldNote(retry.withheld) };
|
|
1467
1467
|
}
|
|
1468
1468
|
async function latestEngineRelease(err) {
|
|
1469
|
-
const { ImportHttpError } = await import("./import-
|
|
1469
|
+
const { ImportHttpError } = await import("./import-RUBCGLCA.js");
|
|
1470
1470
|
if (!(err instanceof ImportHttpError) || err.status !== 501) return void 0;
|
|
1471
1471
|
const { resolveEnginePlatform } = await import("./local-engine-config-6CB6FOEJ.js");
|
|
1472
1472
|
const platform = resolveEnginePlatform();
|
|
1473
1473
|
if (platform === void 0) return void 0;
|
|
1474
|
-
const { latestKnownVersion } = await import("./local-engine-update-check-
|
|
1474
|
+
const { latestKnownVersion } = await import("./local-engine-update-check-HAXE7BVG.js");
|
|
1475
1475
|
return latestKnownVersion({ platform });
|
|
1476
1476
|
}
|
|
1477
1477
|
async function mergeGuards(args, lock, outgoing) {
|
|
1478
1478
|
const interactive = process.stdin.isTTY === true && !isMachineOutput(args);
|
|
1479
|
-
const pinned = outgoing === void 0 ? [] : (await import("./release-command-
|
|
1479
|
+
const pinned = outgoing === void 0 ? [] : (await import("./release-command-55RTR674.js")).pinnedCanonicalGuids(outgoing.bundle, lock, outgoing.compiled);
|
|
1480
1480
|
const guards = {
|
|
1481
1481
|
...pinned.length > 0 ? { pinned } : {},
|
|
1482
1482
|
allowForeignDeletes: args.yes === true,
|
|
1483
1483
|
...interactive ? {
|
|
1484
|
-
confirm: async (q) => (await import("./prompt-
|
|
1484
|
+
confirm: async (q) => (await import("./prompt-F7UVH4GP.js")).confirm(q, {
|
|
1485
1485
|
flag: "--yes",
|
|
1486
1486
|
refusal: { details: { deployed: false }, ...yesRerun(args, "deploy") }
|
|
1487
1487
|
})
|
|
@@ -1497,7 +1497,7 @@ async function mergeGuards(args, lock, outgoing) {
|
|
|
1497
1497
|
for (const guid of e.replaced ?? []) replaced.set(guid, key.slice("dbo:".length));
|
|
1498
1498
|
}
|
|
1499
1499
|
const { orphanFixUps, resolveLockPath, composedChildren } = await import("./cli.js");
|
|
1500
|
-
const { clearReplacedCommand } = await import("./keep-data-merge-
|
|
1500
|
+
const { clearReplacedCommand } = await import("./keep-data-merge-VRKS64JK.js");
|
|
1501
1501
|
const lockPath = resolveLockPath(args, entry);
|
|
1502
1502
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1503
1503
|
const keys = Object.keys(lock.objects);
|
|
@@ -1736,9 +1736,9 @@ Re-run as \`${rerun}\` to answer yes without being asked.${note}`,
|
|
|
1736
1736
|
{ exitCode: 1, details: { reason: "needs-confirmation", ...details } }
|
|
1737
1737
|
);
|
|
1738
1738
|
}
|
|
1739
|
-
const { confirm } = await import("./prompt-
|
|
1739
|
+
const { confirm } = await import("./prompt-F7UVH4GP.js");
|
|
1740
1740
|
if (await confirm(question, { flag: "--yes", refusal: { details, rerun, note } })) return;
|
|
1741
|
-
const { KeepDataDeclined } = await import("./keep-data-merge-
|
|
1741
|
+
const { KeepDataDeclined } = await import("./keep-data-merge-VRKS64JK.js");
|
|
1742
1742
|
throw new KeepDataDeclined(label, "deployed");
|
|
1743
1743
|
}
|
|
1744
1744
|
function recordedEntry(file) {
|
|
@@ -1773,7 +1773,7 @@ async function refuseOtherProfileEphemeral(state, auth) {
|
|
|
1773
1773
|
{ hintFor: { command: "deploy" } }
|
|
1774
1774
|
);
|
|
1775
1775
|
if (refusal === void 0) return;
|
|
1776
|
-
const { reachableFirst } = await import("./env-target-
|
|
1776
|
+
const { reachableFirst } = await import("./env-target-TQBPLU2S.js");
|
|
1777
1777
|
throw await reachableFirst(refusal, auth);
|
|
1778
1778
|
}
|
|
1779
1779
|
async function refuseKeepDataElsewhere(state, auth) {
|
|
@@ -1787,7 +1787,7 @@ async function refuseKeepDataElsewhere(state, auth) {
|
|
|
1787
1787
|
{ hintFor: { command: "deploy" } }
|
|
1788
1788
|
);
|
|
1789
1789
|
if (refusal === void 0) return;
|
|
1790
|
-
const { reachableFirst } = await import("./env-target-
|
|
1790
|
+
const { reachableFirst } = await import("./env-target-TQBPLU2S.js");
|
|
1791
1791
|
throw await reachableFirst(refusal, auth);
|
|
1792
1792
|
}
|
|
1793
1793
|
async function reconcileRename(err, auth, name, display) {
|
|
@@ -1822,7 +1822,7 @@ If no deploy is running in this project, its guard was left behind: remove \`${s
|
|
|
1822
1822
|
}
|
|
1823
1823
|
async function deployEphemeral(auth, ctx) {
|
|
1824
1824
|
const dir = process.cwd();
|
|
1825
|
-
const { assertReadWritable } = await import("./writable-
|
|
1825
|
+
const { assertReadWritable } = await import("./writable-Y6CE2CGK.js");
|
|
1826
1826
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1827
1827
|
const guard = await takeCreateGuard(dir, ctx.args);
|
|
1828
1828
|
try {
|
|
@@ -1841,7 +1841,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1841
1841
|
};
|
|
1842
1842
|
const parentWorkspaceId = auth.workspaceId;
|
|
1843
1843
|
const dir = process.cwd();
|
|
1844
|
-
const { assertReadWritable, assertWritable } = await import("./writable-
|
|
1844
|
+
const { assertReadWritable, assertWritable } = await import("./writable-Y6CE2CGK.js");
|
|
1845
1845
|
assertReadWritable(ephemeralStatePath(dir));
|
|
1846
1846
|
if (ctx.lockPath !== void 0) assertWritable(ctx.lockPath, "build without a lock with `--no-lock`");
|
|
1847
1847
|
const state = readEphemeralState(dir);
|
|
@@ -1899,7 +1899,7 @@ async function deployEphemeralGuarded(auth, ctx, createGuard) {
|
|
|
1899
1899
|
}).finally(() => creating?.clear()).catch(async (err) => {
|
|
1900
1900
|
if (isEphemeralDisabled(err)) throw ephemeralDisabledError(source);
|
|
1901
1901
|
if (err.status === 404) {
|
|
1902
|
-
const { refuseUnreachableWorkspace } = await import("./workspace-binding-
|
|
1902
|
+
const { refuseUnreachableWorkspace } = await import("./workspace-binding-PR57NBGH.js");
|
|
1903
1903
|
await refuseUnreachableWorkspace(auth);
|
|
1904
1904
|
}
|
|
1905
1905
|
throw unknownCreateOutcome(err, display, flags, retryCommand(args, { creates: true }));
|
|
@@ -1967,7 +1967,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
1967
1967
|
if (arm.arm === "replace") refuseStaticHostAReplaceClears(args, true);
|
|
1968
1968
|
else await assertStaticHostExists(args, auth, { baseUrl, workspaceId: 1 });
|
|
1969
1969
|
if (arm.arm === "replace") {
|
|
1970
|
-
const { gateForeignReplace } = await import("./keep-data-merge-
|
|
1970
|
+
const { gateForeignReplace } = await import("./keep-data-merge-VRKS64JK.js");
|
|
1971
1971
|
const { allowForeignDeletes, confirm } = await mergeGuards(args, void 0);
|
|
1972
1972
|
await gateForeignReplace({
|
|
1973
1973
|
auth,
|
|
@@ -2039,7 +2039,7 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2039
2039
|
let merged;
|
|
2040
2040
|
try {
|
|
2041
2041
|
if (arm.arm === "merge") {
|
|
2042
|
-
const { mergeKeepingData } = await import("./keep-data-merge-
|
|
2042
|
+
const { mergeKeepingData } = await import("./keep-data-merge-VRKS64JK.js");
|
|
2043
2043
|
merged = await mergeKeepingData({
|
|
2044
2044
|
auth,
|
|
2045
2045
|
baseUrl,
|
|
@@ -2093,11 +2093,11 @@ ${createdButFailedNote(fresh.name, false, args, false, { untracked: true })}`);
|
|
|
2093
2093
|
if (!lockCommitted) ctx.warnOrphansUncommitted?.();
|
|
2094
2094
|
if (err instanceof Error && err.name === "KeepDataDeclined") throw err;
|
|
2095
2095
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2096
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2096
|
+
const { importInProgressError } = await import("./keep-data-merge-VRKS64JK.js");
|
|
2097
2097
|
const retry = retryCommand(args);
|
|
2098
2098
|
throw importInProgressError(namedEphemeral(target), { command: retry.command, note: withheldNote(retry.withheld) }, err);
|
|
2099
2099
|
}
|
|
2100
|
-
const { withSignatureHint } = await import("./release-command-
|
|
2100
|
+
const { withSignatureHint } = await import("./release-command-55RTR674.js");
|
|
2101
2101
|
importFailure = withSignatureHint(err, args.bundle);
|
|
2102
2102
|
}
|
|
2103
2103
|
if (arm.arm === "merge" && renamedTo !== void 0) target = { ...target, display: renamedTo };
|
|
@@ -2261,7 +2261,7 @@ ${createdButFailedNote(target.name, unknown, args, landedUnresolved, { futile })
|
|
|
2261
2261
|
};
|
|
2262
2262
|
}
|
|
2263
2263
|
async function deployStaticTo(dir, auth, target, env, explicit, host, skipLiveness, routing, dirLabel, opts = {}) {
|
|
2264
|
-
const { deployStaticHost } = await import("./static-host-
|
|
2264
|
+
const { deployStaticHost } = await import("./static-host-TQP3FXPI.js");
|
|
2265
2265
|
const where = target.label && target.label !== "" ? target.label : `workspace #${target.workspaceId}`;
|
|
2266
2266
|
if (target.announced !== true) step(`Deploying static frontend ${dir} \u2192 ${where}${host ? ` (host: ${host})` : ""}`);
|
|
2267
2267
|
const sh = await describeWrite(
|
|
@@ -2391,4 +2391,4 @@ export {
|
|
|
2391
2391
|
unknownCreateOutcome,
|
|
2392
2392
|
deployStaticTo
|
|
2393
2393
|
};
|
|
2394
|
-
//# sourceMappingURL=chunk-
|
|
2394
|
+
//# sourceMappingURL=chunk-6OOZJQJK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
httpFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DILYWJVP.js";
|
|
4
4
|
|
|
5
5
|
// src/deploy/import.ts
|
|
6
6
|
var ImportHttpError = class extends Error {
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
ImportHttpError,
|
|
24
24
|
isSignatureRefusal
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
26
|
+
//# sourceMappingURL=chunk-6QJORUHC.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
impersonateEphemeral,
|
|
6
6
|
projectTenant
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XVOODRNK.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteAnswer,
|
|
10
10
|
hasString,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
listAnswer,
|
|
13
13
|
recordAnswer,
|
|
14
14
|
writeTransportFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-3ZVSOZZC.js";
|
|
16
16
|
import {
|
|
17
17
|
SENT_AFTERMATH,
|
|
18
18
|
fetchOrExplain,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readBodyText,
|
|
21
21
|
safeHttpFailure,
|
|
22
22
|
writeStatusAftermath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-DILYWJVP.js";
|
|
24
24
|
|
|
25
25
|
// src/deploy/tenant.ts
|
|
26
26
|
var TIMEOUT_MS = 3e4;
|
|
@@ -219,4 +219,4 @@ export {
|
|
|
219
219
|
deleteTenant,
|
|
220
220
|
impersonateTenant
|
|
221
221
|
};
|
|
222
|
-
//# sourceMappingURL=chunk-
|
|
222
|
+
//# sourceMappingURL=chunk-7NNLRNXE.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
recordedCredentialFile,
|
|
4
4
|
recordedCredentialPath,
|
|
5
5
|
resolveAuthFilePath
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-P5JF3U65.js";
|
|
7
7
|
import {
|
|
8
8
|
readEnvVar
|
|
9
9
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -73,4 +73,4 @@ export {
|
|
|
73
73
|
ENV_CREDENTIAL_VARS,
|
|
74
74
|
recordedByEnvCredential
|
|
75
75
|
};
|
|
76
|
-
//# sourceMappingURL=chunk-
|
|
76
|
+
//# sourceMappingURL=chunk-A3CT26GX.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
UsageError,
|
|
6
6
|
displayPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D4VKPOD4.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/writable.ts
|
|
10
10
|
import { accessSync, constants, existsSync, statSync } from "fs";
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
unreadableError,
|
|
64
64
|
assertReadWritable
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-AUYXBKGR.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
MANIFEST_HEADER,
|
|
3
3
|
ROUTES_MANIFEST_BASENAME,
|
|
4
4
|
RouteManifestError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-U4DSFCH5.js";
|
|
6
6
|
import {
|
|
7
7
|
byCodeUnit
|
|
8
8
|
} from "./chunk-WAVNUTMT.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
detail,
|
|
17
17
|
info,
|
|
18
18
|
warn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D4VKPOD4.js";
|
|
20
20
|
|
|
21
21
|
// src/emit/routes-manifest-modules.ts
|
|
22
22
|
var MODULE_DIALECT = {
|
|
@@ -254,4 +254,4 @@ export {
|
|
|
254
254
|
fireRoutesManifest,
|
|
255
255
|
anyDeclares
|
|
256
256
|
};
|
|
257
|
-
//# sourceMappingURL=chunk-
|
|
257
|
+
//# sourceMappingURL=chunk-BXVNRUDB.js.map
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
parseJsonAnswer,
|
|
8
8
|
serverMessage,
|
|
9
9
|
statusLabel
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DILYWJVP.js";
|
|
11
11
|
import {
|
|
12
12
|
localPackageName,
|
|
13
13
|
packageNameOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-H5FAYLCR.js";
|
|
15
15
|
import {
|
|
16
16
|
readEnvVar
|
|
17
17
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
CliError,
|
|
20
20
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
21
21
|
info
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-D4VKPOD4.js";
|
|
23
23
|
import {
|
|
24
24
|
suggest
|
|
25
25
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -359,7 +359,7 @@ async function unlistedModuleError(command, name) {
|
|
|
359
359
|
}
|
|
360
360
|
async function withCatalogueRerun(err, args, command) {
|
|
361
361
|
if (!isCatalogueOutage(err)) return err;
|
|
362
|
-
const { retryCommand } = await import("./retry-command-
|
|
362
|
+
const { retryCommand } = await import("./retry-command-S5QALD5Z.js");
|
|
363
363
|
const rerun = retryCommand(args, { command }).command;
|
|
364
364
|
return new CliError("SDK_ERROR", `${err.message}
|
|
365
365
|
Run \`${rerun}\` again once it answers.`, {
|
|
@@ -386,4 +386,4 @@ export {
|
|
|
386
386
|
unlistedModuleError,
|
|
387
387
|
withCatalogueRerun
|
|
388
388
|
};
|
|
389
|
-
//# sourceMappingURL=chunk-
|
|
389
|
+
//# sourceMappingURL=chunk-C4TZP5PQ.js.map
|