@xano/sdk 1.0.2 → 1.0.3
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 +24 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-E6VSDB2M.js → agent-file-refresh-MQKCS7QZ.js} +10 -10
- package/dist/{answer-shape-BOZSUUBR.js → answer-shape-LVV2SVBK.js} +5 -5
- package/dist/{backend-dir-5ER5P65P.js → backend-dir-DGAQL4K5.js} +10 -10
- package/dist/{backend-slot-7EYY7DU5.js → backend-slot-NSCTWCUX.js} +4 -4
- package/dist/bin.js +62 -61
- package/dist/{branch-2W7SCLTJ.js → branch-ONWPJ4V6.js} +9 -9
- package/dist/branch-commands-R4PPN3Z7.js +79 -0
- package/dist/bundle.js +7 -7
- package/dist/{capture-WAXPD7DR.js → capture-3JNUA6C2.js} +5 -5
- package/dist/{chunk-ZNTK4GCI.js → chunk-2CGPQ7IM.js} +6 -6
- package/dist/{chunk-R3X7ECBS.js → chunk-2LVTBPW2.js} +3 -3
- package/dist/{chunk-PCJLL36N.js → chunk-37AHZ7JX.js} +6 -6
- package/dist/{chunk-4PCJEHA4.js → chunk-37FBPMNE.js} +4 -4
- package/dist/{chunk-5JULOSEF.js → chunk-3H3EPMFY.js} +2 -2
- package/dist/{chunk-YP5ME5RT.js → chunk-3HOGFGKG.js} +30 -3
- package/dist/{chunk-ZDPP6RKB.js → chunk-45ZUMF4E.js} +2 -2
- package/dist/{chunk-2YH2I6RA.js → chunk-46TUUNM3.js} +14 -14
- package/dist/{chunk-FEQICT4D.js → chunk-4APOHK7Y.js} +2 -2
- package/dist/{chunk-TTEIYD5P.js → chunk-4DJTQ6W4.js} +1 -1
- package/dist/{chunk-CIMQZRRE.js → chunk-4MIV244X.js} +3 -3
- package/dist/{chunk-G5IW3EYW.js → chunk-4PQHO74B.js} +26 -15
- package/dist/{chunk-MPSVU34E.js → chunk-5T2CTWTB.js} +6 -6
- package/dist/{chunk-IWGNIWQX.js → chunk-5W7DOMIU.js} +13 -13
- package/dist/{chunk-7THLGPVA.js → chunk-5YL5OC2G.js} +12 -12
- package/dist/{chunk-6RIKXG5I.js → chunk-6JAEMMZ7.js} +5 -5
- package/dist/{chunk-PFFXX6YU.js → chunk-6NYLVUSZ.js} +42 -42
- package/dist/{chunk-JGE7CAWB.js → chunk-6R7S775T.js} +2 -2
- package/dist/{chunk-SZOCJRFC.js → chunk-7GX445AE.js} +2 -2
- package/dist/{chunk-ZH4O6RWX.js → chunk-7KGASMCE.js} +7 -7
- package/dist/{chunk-2DH7VTO5.js → chunk-7KLAMYMS.js} +220 -71
- package/dist/{chunk-DBZASBQS.js → chunk-7KPKDHHI.js} +3 -3
- package/dist/{chunk-27GWNP2I.js → chunk-7THDHQ4R.js} +9 -2
- package/dist/{chunk-CALOC47J.js → chunk-7TXBKK5G.js} +7 -7
- package/dist/{chunk-YU4HSQW7.js → chunk-A2AOUBJS.js} +15 -8
- package/dist/{chunk-PGBSDRT4.js → chunk-A4KBHTMK.js} +29 -29
- package/dist/{chunk-JIEZZ5QU.js → chunk-A6QTTJUI.js} +2 -2
- package/dist/{chunk-DPDHBJNI.js → chunk-AMTJ4G32.js} +5 -5
- package/dist/{chunk-5OT4QGGZ.js → chunk-ANHOEBTJ.js} +4 -4
- package/dist/{chunk-GGZILEUD.js → chunk-BEXZ4XRV.js} +2 -2
- package/dist/{chunk-SSK5OWT6.js → chunk-BUECLQXK.js} +4 -4
- package/dist/{chunk-VSL7ET5S.js → chunk-BUJRS7XB.js} +3 -3
- package/dist/{chunk-FAGYIOLE.js → chunk-CBYQ2ZN3.js} +5 -5
- package/dist/{chunk-L3LYWXVE.js → chunk-CFSFBKHP.js} +2 -2
- package/dist/{chunk-5RA4BBJL.js → chunk-CJPLBFFY.js} +8 -8
- package/dist/{chunk-6EJQ4EJ7.js → chunk-CYB7UQA2.js} +2 -2
- package/dist/{chunk-BPJIHLP2.js → chunk-D3XOH7E7.js} +8 -8
- package/dist/{chunk-SZCQ2HVH.js → chunk-D64XUF5Q.js} +2 -2
- package/dist/{chunk-36X3OZKU.js → chunk-DIG3NITC.js} +3 -3
- package/dist/{chunk-VIPK7FHI.js → chunk-DYG5D3FD.js} +2 -2
- package/dist/{chunk-FFDZFVBD.js → chunk-E65QIWOO.js} +4 -4
- package/dist/{chunk-LQCMKAJ7.js → chunk-EESV6NU2.js} +3 -3
- package/dist/{chunk-VVE3C2X6.js → chunk-EOIJ7MVW.js} +3 -3
- package/dist/{chunk-DMD5I36N.js → chunk-ERJNHEFV.js} +3 -3
- package/dist/{chunk-5WGGTU5K.js → chunk-ETAZIGNT.js} +5 -5
- package/dist/{chunk-6X2I2WMV.js → chunk-EWCDPFW5.js} +4 -4
- package/dist/{chunk-HDIISRNY.js → chunk-F5KILDDO.js} +87 -87
- package/dist/{chunk-JWW4KU7T.js → chunk-FMOEVAGT.js} +2 -2
- package/dist/{chunk-Z6LUIVLY.js → chunk-FPBGAT5D.js} +2 -2
- package/dist/{chunk-CNYP6X7Q.js → chunk-FSYVOCS7.js} +5 -5
- package/dist/{chunk-TAHRVKKZ.js → chunk-FURLOAUM.js} +3 -3
- package/dist/{chunk-64AYI7QR.js → chunk-FWXSTFN2.js} +4 -4
- package/dist/{chunk-2Y4X2VLM.js → chunk-GPI3OWRE.js} +8 -3
- package/dist/{chunk-XNHEGBBT.js → chunk-HHFPIJGL.js} +3 -3
- package/dist/{chunk-D2JAPAQL.js → chunk-HHW5AWVD.js} +8 -8
- package/dist/{chunk-DTZSOJ6M.js → chunk-HMLGM2MW.js} +4 -4
- package/dist/{chunk-5KDJCQEU.js → chunk-HSEQYBDO.js} +2 -2
- package/dist/{chunk-GME75QO6.js → chunk-I2BGYNHD.js} +4 -4
- package/dist/{chunk-XVBGLISP.js → chunk-ICK36EGF.js} +2 -2
- package/dist/{chunk-WT7XRC6A.js → chunk-II747OWE.js} +45 -45
- package/dist/{chunk-VTLE2QDY.js → chunk-IRQCV3OT.js} +4 -4
- package/dist/{chunk-AHPEGODA.js → chunk-IVKRT476.js} +2 -2
- package/dist/{chunk-P7MBT4LJ.js → chunk-IXUPUFCG.js} +2 -2
- package/dist/{chunk-ZP6QRKZX.js → chunk-JTM5D7CT.js} +8 -8
- package/dist/{chunk-NSE7BZB6.js → chunk-K3LE5B5E.js} +72 -72
- package/dist/{chunk-QVZYYBVY.js → chunk-KCAL4QYP.js} +4 -4
- package/dist/{chunk-S3SV2BE7.js → chunk-KTGRGWZW.js} +7 -7
- package/dist/{chunk-5G5J5YRO.js → chunk-KUTFFHUM.js} +2 -2
- package/dist/{chunk-CSKYCZMO.js → chunk-KXYW3DRR.js} +7 -7
- package/dist/{chunk-LZZ7HN4L.js → chunk-LAKHO2B7.js} +8 -8
- package/dist/{chunk-NZOWWHU5.js → chunk-LL6ED5IB.js} +2 -2
- package/dist/{chunk-G4PFESPY.js → chunk-LXNQWHZM.js} +3 -3
- package/dist/{chunk-VGV2RF5X.js → chunk-MEE5RZ6G.js} +2 -2
- package/dist/{chunk-PYT3DC4G.js → chunk-MN2PB6WB.js} +2 -2
- package/dist/{chunk-2UN4TGBK.js → chunk-MNVDVR3M.js} +4 -4
- package/dist/{chunk-GSCW6RMU.js → chunk-NPXM6ZQY.js} +4 -4
- package/dist/{chunk-WQCL3AV7.js → chunk-O7QOWS6M.js} +3 -3
- package/dist/{chunk-D3YR6AIZ.js → chunk-OO63ZU46.js} +7 -7
- package/dist/{chunk-6MR5TI5V.js → chunk-OOGXZL7Z.js} +2 -2
- package/dist/{chunk-EDCCKH7Y.js → chunk-OPG4DYX2.js} +90 -48
- package/dist/{chunk-VUVPZYMM.js → chunk-PWIXETG7.js} +4 -4
- package/dist/{chunk-GQ4PMMCQ.js → chunk-QEZL5MPJ.js} +3 -3
- package/dist/{chunk-OJLJA3XM.js → chunk-QV3GXQRE.js} +2 -2
- package/dist/{chunk-TLQE7ZN3.js → chunk-RX3EMQGN.js} +2 -2
- package/dist/{chunk-JZEWT7NY.js → chunk-SBR2WZXG.js} +4 -4
- package/dist/{chunk-MOELGXVV.js → chunk-SEATQLFB.js} +13 -13
- package/dist/{chunk-RJOGX6LA.js → chunk-SEUCZZCP.js} +2 -2
- package/dist/{chunk-IG5QQQSA.js → chunk-TTVAHCWP.js} +2 -2
- package/dist/{chunk-GUKT7QYA.js → chunk-UDE5C2XN.js} +2 -2
- package/dist/{chunk-AKNCFVKZ.js → chunk-UDZX2ZL4.js} +1 -1
- package/dist/{chunk-NWKXM5RD.js → chunk-UI4OPTYR.js} +2 -2
- package/dist/{chunk-EJ3JCML2.js → chunk-UKUIUS3E.js} +4 -4
- package/dist/{chunk-HYAI62TU.js → chunk-UVF45BVU.js} +14 -9
- package/dist/{chunk-DRRJCODW.js → chunk-UWY3R4TS.js} +8 -8
- package/dist/{chunk-P2HAGF6H.js → chunk-VD32O6KZ.js} +3 -3
- package/dist/{chunk-4POWHT2K.js → chunk-VTMTIBKP.js} +8 -7
- package/dist/{chunk-OY4PS6SO.js → chunk-W5ONYLOP.js} +4 -4
- package/dist/{chunk-BTR2EQ4T.js → chunk-WFG67AYS.js} +3 -3
- package/dist/{chunk-FLLBK7EH.js → chunk-WGA25EV5.js} +3 -3
- package/dist/{chunk-JXUBSUQY.js → chunk-WOGJB2F6.js} +66 -18
- package/dist/{chunk-WP4N63FZ.js → chunk-XCPF7BEJ.js} +5 -5
- package/dist/{chunk-FXFV3KU6.js → chunk-XMDDBEEM.js} +10 -6
- package/dist/{chunk-7K6A4O2T.js → chunk-XXZZGXW2.js} +3 -3
- package/dist/{chunk-C3YIYEWR.js → chunk-YTPGQV5C.js} +7 -7
- package/dist/{chunk-JZCR3EQM.js → chunk-Z5UCPWGU.js} +20 -20
- package/dist/{chunk-YZ2UIG2K.js → chunk-ZH5R7NKN.js} +3 -3
- package/dist/{chunk-WPTLUJJR.js → chunk-ZTUNCVAR.js} +50 -50
- package/dist/{chunk-YYLRKWCZ.js → chunk-ZVYN4FXD.js} +14 -14
- package/dist/chunk-ZY55DO5P.js +24 -0
- package/dist/{chunk-P7PYN6HI.js → chunk-ZZEIC5PT.js} +3 -3
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +60 -59
- package/dist/{codegen-command-VO3RQTFX.js → codegen-command-SW2AP7KR.js} +77 -76
- package/dist/codegen.d.ts +5 -3
- package/dist/codegen.js +10 -6
- package/dist/{commands-QZERBFE2.js → commands-CVFYC4GK.js} +3 -3
- package/dist/{completion-6EKRFJJG.js → completion-AUEQC4XJ.js} +3 -3
- package/dist/{config-PZIRRUP6.js → config-JU6OQC77.js} +4 -4
- package/dist/{deploy-command-UGJPAXFQ.js → deploy-command-RD6W7PXN.js} +67 -66
- package/dist/{deploy-source-N6DMS2C5.js → deploy-source-ULSWF2V7.js} +31 -31
- package/dist/{dev-env-sync-EM4DWMN7.js → dev-env-sync-E2GFIVC5.js} +61 -60
- package/dist/{diagnostics-NSTYAWWN.js → diagnostics-LSMGB4TY.js} +2 -2
- package/dist/{display-name-hint-WT4SRTLI.js → display-name-hint-DMORHANO.js} +11 -11
- package/dist/{emit-BWGtkkOK.d.ts → emit-hOFbgzde.d.ts} +19 -15
- package/dist/env-example-refresh-WFKGILLY.js +127 -0
- package/dist/{env-pull-command-OHNICDTL.js → env-pull-command-QYQEOUE3.js} +51 -51
- package/dist/{env-target-5QFU2TR5.js → env-target-KUWQYHZ7.js} +14 -14
- package/dist/{env-var-command-AZCWUGI5.js → env-var-command-2ZAVIPNY.js} +40 -40
- package/dist/{ephemeral-76VMMZOU.js → ephemeral-BMFY55BQ.js} +9 -9
- package/dist/{ephemeral-command-EOAMMY3V.js → ephemeral-command-UKHBT3OW.js} +52 -52
- package/dist/{ephemeral-state-RRGJZBVF.js → ephemeral-state-6TY4JIPA.js} +12 -12
- package/dist/{generate-command-LPX3ATV6.js → generate-command-YN3HZWHG.js} +81 -80
- package/dist/{gitignore-BPYA5H34.js → gitignore-AU5X5F3I.js} +14 -14
- package/dist/{guards-FFQY3XAT.js → guards-EJU2ONAX.js} +17 -14
- package/dist/{impersonate-command-HLL2FKSY.js → impersonate-command-ZKE77GFT.js} +36 -36
- package/dist/{import-BG36DYZI.js → import-TBTOTU52.js} +5 -5
- package/dist/index.d.ts +151 -9
- package/dist/index.js +27 -26
- package/dist/init-command-NPXBMJNG.js +126 -0
- package/dist/{init-modules-AAH2UPHQ.js → init-modules-5TSTLGH5.js} +8 -8
- package/dist/{init-web-YBUM2BD5.js → init-web-Y2PBNJTQ.js} +3 -3
- package/dist/internal.d.ts +5 -5
- package/dist/internal.js +38 -31
- package/dist/{io-RC56QSN5.js → io-ZUKAGFVE.js} +6 -6
- package/dist/{keep-data-merge-DQR6L5FV.js → keep-data-merge-TDSELE5U.js} +39 -38
- package/dist/{landed-753YLJ5H.js → landed-6VO7CX5P.js} +5 -5
- package/dist/{landing-record-HWZTBTTP.js → landing-record-W7VQ4KV4.js} +21 -21
- package/dist/{live-diff-VJGPLS3E.js → live-diff-2S7E3SBZ.js} +15 -15
- package/dist/{local-engine-choice-QDOR72VD.js → local-engine-choice-OXULXWEP.js} +34 -34
- package/dist/{local-engine-command-CJKBG5M4.js → local-engine-command-5MTGZIZ4.js} +39 -39
- package/dist/{local-engine-deploy-ACJTJ7X5.js → local-engine-deploy-TXAOYRGF.js} +12 -12
- package/dist/{local-engine-process-ZJUPJ7VJ.js → local-engine-process-6VZ7JJBP.js} +7 -7
- package/dist/{local-engine-update-check-REGHKVK7.js → local-engine-update-check-R5SPDVEJ.js} +5 -5
- package/dist/{lock-MRRHW5GS.js → lock-TS465GVY.js} +4 -4
- package/dist/{lock-commands-XTMBIWGO.js → lock-commands-OBXAUSZX.js} +67 -66
- package/dist/{login-command-QSNMIG4D.js → login-command-CB3O3UDZ.js} +26 -26
- package/dist/{logout-command-AL54YZDB.js → logout-command-J5CP5HZZ.js} +17 -17
- package/dist/{loop-XLJ7S37B.js → loop-UFHKSOQ4.js} +16 -16
- package/dist/{marketplace-command-UHZXGJMH.js → marketplace-command-A5S25ZHF.js} +28 -28
- package/dist/{marketplace-resolve-4RQQ46LA.js → marketplace-resolve-GRXMK5YD.js} +6 -6
- package/dist/{meta-client-FFNDXZCQ.js → meta-client-FB73643X.js} +15 -15
- package/dist/{module-manifest-TTQAEXPS.js → module-manifest-GIKFNXPE.js} +4 -4
- package/dist/node.d.ts +6 -6
- package/dist/node.js +69 -68
- package/dist/operation-outcome-V4FUJI7V.js +51 -0
- package/dist/{output-target-MVKAEPEI.js → output-target-6HNPK6KC.js} +15 -15
- package/dist/{plan-disclosure-ZDZISUWI.js → plan-disclosure-BHYG7TZ7.js} +29 -29
- package/dist/{plugin-contributions-3O2MOX3B.js → plugin-contributions-X4V22PJQ.js} +5 -5
- package/dist/{plugin-prompt-4ELLDFBD.js → plugin-prompt-DKNQHW6Y.js} +5 -5
- package/dist/{plugin-questions-JTRIFEHW.js → plugin-questions-CQRVOWFK.js} +4 -4
- package/dist/{preflight-command-4FFDUHNT.js → preflight-command-NZ75PSRL.js} +74 -73
- package/dist/{profile-command-XV4JXLIJ.js → profile-command-KIRI4GA4.js} +27 -27
- package/dist/{profile-pointer-RKGBAGY6.js → profile-pointer-UOO7JNFG.js} +4 -4
- package/dist/{project-dependency-X7RULUFH.js → project-dependency-JGCJZ26H.js} +7 -7
- package/dist/{project-sdk-JYV7APT5.js → project-sdk-FOR4IOXL.js} +4 -4
- package/dist/promote-command-IPDH5OBT.js +141 -0
- package/dist/{prompt-SYH2EYXM.js → prompt-5GUQTCSP.js} +4 -4
- package/dist/{publish-command-KZOCPBMT.js → publish-command-74HMEZ7E.js} +70 -69
- package/dist/pull-command-VO5RRGZ5.js +162 -0
- package/dist/{pull-superseded-B7SOPA2M.js → pull-superseded-GGURV5J3.js} +4 -4
- package/dist/{response-HlXahv4K.d.ts → raw-where-EoWl5fqY.d.ts} +27 -5
- package/dist/release-command-ZHM5FA4M.js +147 -0
- package/dist/{release-ns-command-TCPT6N4H.js → release-ns-command-2TL26YOM.js} +95 -94
- package/dist/{retry-command-5PNYSQFN.js → retry-command-Y5YJGOH3.js} +8 -8
- package/dist/{routes-manifest-UPZQIGKC.js → routes-manifest-3BNZIVST.js} +17 -17
- package/dist/{secrets-file-6524YY62.js → secrets-file-NBBR6DYS.js} +14 -14
- package/dist/{secrets-fill-command-VX3TIYHL.js → secrets-fill-command-X3HQ4JYN.js} +64 -63
- package/dist/{seed-HBA6FWRQ.js → seed-GJHJSEUE.js} +13 -12
- package/dist/{source-resolve-ACQV343A.js → source-resolve-NTI3JFO6.js} +22 -22
- package/dist/{static-host-SFDXSHYY.js → static-host-WM24RG25.js} +5 -5
- package/dist/{status-command-X7W7PRWM.js → status-command-RVMOLYPR.js} +37 -37
- package/dist/{store-DVvwC4C4.d.ts → store-CfgPaVPO.d.ts} +116 -8
- package/dist/{store-CW5SHKXC.js → store-MR7IKXKK.js} +6 -6
- package/dist/{sync-contributions-VN2IEVBA.js → sync-contributions-KGCVRH2J.js} +9 -9
- package/dist/{table-K5YSS6MV.js → table-ZBDPKMNH.js} +12 -11
- package/dist/{tables-command-CJ5TF5JO.js → tables-command-GAOXJPMA.js} +40 -39
- package/dist/{tenant-TDTYXUGJ.js → tenant-GKXMOYLK.js} +10 -10
- package/dist/{tenant-command-SJDTSWGV.js → tenant-command-FAJ7WZTH.js} +98 -97
- package/dist/{test-command-4ICR3BPL.js → test-command-53FRDZ32.js} +35 -35
- package/dist/{tests-NQYQJQWY.js → tests-C55M5EQS.js} +6 -6
- package/dist/{token-JMW2GNLV.js → token-44CKLYWD.js} +13 -13
- package/dist/{toolchain-hooks-VUCFFZ7A.js → toolchain-hooks-BGZBDFAT.js} +3 -3
- package/dist/{toolchain-modules-J7FUTUTL.js → toolchain-modules-MPPH633S.js} +5 -5
- package/dist/{tracked-backend-GOVQ4OGJ.js → tracked-backend-AJLHRGLF.js} +33 -33
- package/dist/update-check-Q4HJHHL5.js +137 -0
- package/dist/{upgrade-command-MWP5JE5V.js → upgrade-command-C63HIBVH.js} +65 -64
- package/dist/{whoami-command-URRENPGI.js → whoami-command-WC5EKB4W.js} +16 -16
- package/dist/{workspace-LLYL5FMC.js → workspace-EJVWTIWX.js} +5 -5
- package/dist/{workspace-binding-DJQ5HZKG.js → workspace-binding-BRPPUSWG.js} +15 -15
- package/dist/{workspace-command-LZJPHSVH.js → workspace-command-Y6STVPYO.js} +91 -90
- package/dist/{workspace-env-M5GF3UPN.js → workspace-env-SIINWNMP.js} +11 -11
- package/dist/{workspace-export-ME52ELKP.js → workspace-export-AIGM6LC7.js} +5 -5
- package/dist/{writable-RQGBSRG6.js → writable-FYJBTJOU.js} +4 -4
- package/dist/xano-BSHYVFSE.js +43 -0
- package/dist/{xanosdk-import-PYZC3KWN.js → xanosdk-import-UKEO7R7O.js} +10 -10
- package/dist/{xanosdk-project-TWV27WO2.js → xanosdk-project-MQTZKITV.js} +12 -12
- package/guides/codes.md +2 -1
- package/llms/lambda.md +1 -1
- package/llms/legacy.md +9 -3
- package/llms/statements-data.md +1 -0
- package/llms/statements-runtime.md +1 -0
- package/llms-full.txt +13 -5
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/branch-commands-BNQUXQW2.js +0 -79
- package/dist/env-example-refresh-KJEKKD2S.js +0 -126
- package/dist/init-command-BC77KHUS.js +0 -125
- package/dist/operation-outcome-KMWK4IBN.js +0 -51
- package/dist/promote-command-VES2PITU.js +0 -140
- package/dist/pull-command-5O2JPLXN.js +0 -161
- package/dist/release-command-GJCCSDJF.js +0 -146
- package/dist/update-check-3CPTCQNK.js +0 -136
- package/dist/xano-EIUBBA6W.js +0 -42
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
keptDuplicates,
|
|
3
3
|
replacedRegistrations,
|
|
4
4
|
reportSuperseded
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IVKRT476.js";
|
|
6
6
|
import {
|
|
7
7
|
rerenderEnvExample
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QEZL5MPJ.js";
|
|
9
9
|
import {
|
|
10
10
|
carriedSeedRows,
|
|
11
11
|
decodeBundle,
|
|
@@ -17,48 +17,48 @@ import {
|
|
|
17
17
|
verifyPulledTree,
|
|
18
18
|
withSourceIdentities,
|
|
19
19
|
writeDocumentationTokens
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7KLAMYMS.js";
|
|
21
21
|
import {
|
|
22
22
|
confirm
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-4APOHK7Y.js";
|
|
24
24
|
import {
|
|
25
25
|
fetchSourceArchive
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-7KGASMCE.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeWorkspaceArchive,
|
|
29
29
|
encodeWorkspaceArchive
|
|
30
30
|
} from "./chunk-3DRXWLJ5.js";
|
|
31
31
|
import {
|
|
32
32
|
ensureSecretPathGitignored
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-FWXSTFN2.js";
|
|
34
34
|
import {
|
|
35
35
|
readVersion,
|
|
36
36
|
refreshAgentGuidance
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-F5KILDDO.js";
|
|
38
38
|
import {
|
|
39
39
|
WORKSPACE_ENV_BASENAME,
|
|
40
40
|
WORKSPACE_ENV_EXAMPLE_BASENAME,
|
|
41
41
|
namesInEnvExample,
|
|
42
42
|
readWorkspaceEnvFile
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-IRQCV3OT.js";
|
|
44
44
|
import {
|
|
45
45
|
memoCredential,
|
|
46
46
|
refuseProfileForLocal,
|
|
47
47
|
selectBackend
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-SEATQLFB.js";
|
|
49
49
|
import {
|
|
50
50
|
getAccessToken
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-CJPLBFFY.js";
|
|
52
52
|
import {
|
|
53
53
|
requireBackendSlot
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-UDE5C2XN.js";
|
|
55
55
|
import {
|
|
56
56
|
contextFlags
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-SEUCZZCP.js";
|
|
58
58
|
import {
|
|
59
59
|
backendDirIn,
|
|
60
60
|
resolveBackendDir
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ERJNHEFV.js";
|
|
62
62
|
import {
|
|
63
63
|
CODEGEN_MARKER,
|
|
64
64
|
DECODE_MARKER,
|
|
@@ -73,11 +73,11 @@ import {
|
|
|
73
73
|
readDecodeRecord,
|
|
74
74
|
removeEmptiedDirs,
|
|
75
75
|
removeFiles
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-HHFPIJGL.js";
|
|
77
77
|
import {
|
|
78
78
|
readLockFile,
|
|
79
79
|
writeLockFile
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-VD32O6KZ.js";
|
|
81
81
|
import {
|
|
82
82
|
decodeMarkerHead,
|
|
83
83
|
decodeMarkerWith
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
terminalText,
|
|
95
95
|
warn,
|
|
96
96
|
writeJson
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-SBR2WZXG.js";
|
|
98
98
|
import {
|
|
99
99
|
WORKSPACE_SECRETS_BASENAME
|
|
100
100
|
} from "./chunk-3JDU4VRL.js";
|
|
@@ -104,7 +104,7 @@ import {
|
|
|
104
104
|
lockKey,
|
|
105
105
|
lockNameForObject,
|
|
106
106
|
withObjects
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-OOGXZL7Z.js";
|
|
108
108
|
import {
|
|
109
109
|
shellQuote
|
|
110
110
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -420,7 +420,7 @@ async function runPullCommand(args) {
|
|
|
420
420
|
);
|
|
421
421
|
}
|
|
422
422
|
if (args.yes !== true) {
|
|
423
|
-
const { yesRerun } = await import("./retry-command-
|
|
423
|
+
const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
|
|
424
424
|
const { rerun, note } = yesRerun(args, "pull");
|
|
425
425
|
const ok = await confirm(`Replace ${backendDir}/ from ${fetched.label}?`, {
|
|
426
426
|
flag: "--yes",
|
|
@@ -891,7 +891,7 @@ function envFillRemedy(kind, args, one = false) {
|
|
|
891
891
|
return `fill ${them} in, or run \`xanosdk env pull${from}${flags}\`.`;
|
|
892
892
|
}
|
|
893
893
|
async function needsYes(args, head, why, details) {
|
|
894
|
-
const { yesRerun } = await import("./retry-command-
|
|
894
|
+
const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
|
|
895
895
|
const { rerun, note } = yesRerun(args, "pull");
|
|
896
896
|
return new CliError("SDK_USAGE", `${head} Re-run as \`${rerun}\` ${why}.${note}`, {
|
|
897
897
|
exitCode: 1,
|
|
@@ -920,4 +920,4 @@ export {
|
|
|
920
920
|
projectWorkspaceName,
|
|
921
921
|
envFillRemedy
|
|
922
922
|
};
|
|
923
|
-
//# sourceMappingURL=chunk-
|
|
923
|
+
//# sourceMappingURL=chunk-Z5UCPWGU.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureExportGitignored
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FWXSTFN2.js";
|
|
4
4
|
import {
|
|
5
5
|
andList
|
|
6
6
|
} from "./chunk-622HUCZT.js";
|
|
7
7
|
import {
|
|
8
8
|
UsageError,
|
|
9
9
|
warn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-SBR2WZXG.js";
|
|
11
11
|
|
|
12
12
|
// src/emit/output-target.ts
|
|
13
13
|
import { accessSync, chmodSync, constants, mkdirSync, statSync, writeFileSync } from "fs";
|
|
@@ -125,4 +125,4 @@ export {
|
|
|
125
125
|
secretsPhrase,
|
|
126
126
|
assertWritableTarget
|
|
127
127
|
};
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
128
|
+
//# sourceMappingURL=chunk-ZH5R7NKN.js.map
|
|
@@ -9,40 +9,40 @@ import {
|
|
|
9
9
|
staticRetryHint,
|
|
10
10
|
unknownStaticOutcome,
|
|
11
11
|
warnStaticTeardown
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KTGRGWZW.js";
|
|
13
13
|
import {
|
|
14
14
|
shownLabel
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZVYN4FXD.js";
|
|
16
16
|
import {
|
|
17
17
|
confirm,
|
|
18
18
|
needsConfirmation
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4APOHK7Y.js";
|
|
20
20
|
import {
|
|
21
21
|
landedRecordFor,
|
|
22
22
|
landingLockPath,
|
|
23
23
|
recordForeignLanding,
|
|
24
24
|
recordLanding
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LAKHO2B7.js";
|
|
26
26
|
import {
|
|
27
27
|
assertStorageModesKept,
|
|
28
28
|
discloseCanonicalMoves,
|
|
29
29
|
movesClause,
|
|
30
30
|
storageChangesPayload
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5T2CTWTB.js";
|
|
32
32
|
import {
|
|
33
33
|
listTables,
|
|
34
34
|
tableRowCounter,
|
|
35
35
|
tableRowIds
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-MNVDVR3M.js";
|
|
37
37
|
import {
|
|
38
38
|
XANOSDK_IMPORT_CONFLICT_CODE,
|
|
39
39
|
XANOSDK_IMPORT_UNIQUENESS_CODE,
|
|
40
40
|
XanoSdkImportRefusal,
|
|
41
41
|
xanosdkImport
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-AMTJ4G32.js";
|
|
43
43
|
import {
|
|
44
44
|
archiveSeedContent
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-7KGASMCE.js";
|
|
46
46
|
import {
|
|
47
47
|
encodeWorkspaceArchive
|
|
48
48
|
} from "./chunk-3DRXWLJ5.js";
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
listBranchListing,
|
|
56
56
|
liveBranchLabel,
|
|
57
57
|
setLiveBranch
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-E65QIWOO.js";
|
|
59
59
|
import {
|
|
60
60
|
compareToLive,
|
|
61
61
|
envValuesOf,
|
|
@@ -66,38 +66,38 @@ import {
|
|
|
66
66
|
sharedSchemaChanges,
|
|
67
67
|
storedColumnsAfter,
|
|
68
68
|
uniqueIndexLabels
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-HMLGM2MW.js";
|
|
70
70
|
import {
|
|
71
71
|
assertBundleFile,
|
|
72
72
|
assertBundleInput,
|
|
73
73
|
loadBundleText,
|
|
74
74
|
resolveLockPath
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-F5KILDDO.js";
|
|
76
76
|
import {
|
|
77
77
|
LookupFailedError,
|
|
78
78
|
isUnansweredLookup,
|
|
79
79
|
unansweredCause
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-46TUUNM3.js";
|
|
81
81
|
import {
|
|
82
82
|
isSignatureRefusal
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-MEE5RZ6G.js";
|
|
84
84
|
import {
|
|
85
85
|
getAccessToken
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-CJPLBFFY.js";
|
|
87
87
|
import {
|
|
88
88
|
ephemeralLandedOn
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-UKUIUS3E.js";
|
|
90
90
|
import {
|
|
91
91
|
pipedYes,
|
|
92
92
|
retryCommand,
|
|
93
93
|
withheldNote
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-FMOEVAGT.js";
|
|
95
95
|
import {
|
|
96
96
|
contextFlags
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-SEUCZZCP.js";
|
|
98
98
|
import {
|
|
99
99
|
backendDirIn
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-ERJNHEFV.js";
|
|
101
101
|
import {
|
|
102
102
|
shellWord
|
|
103
103
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -106,10 +106,10 @@ import {
|
|
|
106
106
|
} from "./chunk-4KHEMC32.js";
|
|
107
107
|
import {
|
|
108
108
|
seedRowsByTableGuid
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-37AHZ7JX.js";
|
|
110
110
|
import {
|
|
111
111
|
readLockFile
|
|
112
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-VD32O6KZ.js";
|
|
113
113
|
import {
|
|
114
114
|
destinationKey,
|
|
115
115
|
groupNames,
|
|
@@ -118,11 +118,11 @@ import {
|
|
|
118
118
|
landedKeyForRow,
|
|
119
119
|
storedColumnsOf,
|
|
120
120
|
withStoredColumns
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-RX3EMQGN.js";
|
|
122
122
|
import {
|
|
123
123
|
TransportError,
|
|
124
124
|
isTimeoutError
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-MN2PB6WB.js";
|
|
126
126
|
import {
|
|
127
127
|
CliError,
|
|
128
128
|
EXIT_OUTCOME_UNKNOWN,
|
|
@@ -142,11 +142,11 @@ import {
|
|
|
142
142
|
warn,
|
|
143
143
|
writeJson,
|
|
144
144
|
writeTargetPayload
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-SBR2WZXG.js";
|
|
146
146
|
import {
|
|
147
147
|
calcSignatureJson,
|
|
148
148
|
signatureHolds
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-EESV6NU2.js";
|
|
150
150
|
import {
|
|
151
151
|
safeNames
|
|
152
152
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -157,14 +157,14 @@ import {
|
|
|
157
157
|
lockKey,
|
|
158
158
|
lockNameForObject,
|
|
159
159
|
sdkKindName2 as sdkKindName
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-OOGXZL7Z.js";
|
|
161
161
|
import {
|
|
162
162
|
shellQuote
|
|
163
163
|
} from "./chunk-5ZSO4T2G.js";
|
|
164
164
|
import {
|
|
165
165
|
REFERENCEABLE_KIND_PAYLOAD_KEYS,
|
|
166
166
|
rawDeriveGuid
|
|
167
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-LL6ED5IB.js";
|
|
168
168
|
import {
|
|
169
169
|
withArticle
|
|
170
170
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -630,7 +630,7 @@ function isTransientReadFailure(err) {
|
|
|
630
630
|
return isUnansweredLookup(err);
|
|
631
631
|
}
|
|
632
632
|
async function readLive(auth, dest, branch) {
|
|
633
|
-
const { exportWorkspaceBundle } = await import("./workspace-export-
|
|
633
|
+
const { exportWorkspaceBundle } = await import("./workspace-export-AIGM6LC7.js");
|
|
634
634
|
let failure;
|
|
635
635
|
for (let attempt = 0; attempt <= LIVE_READ_RETRY_PAUSES_MS.length; attempt++) {
|
|
636
636
|
try {
|
|
@@ -737,7 +737,7 @@ function targetIsEmpty(live) {
|
|
|
737
737
|
async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
738
738
|
if (live === void 0 || req.mode !== "merge") return false;
|
|
739
739
|
if (req.records === true || req.truncate === true) return false;
|
|
740
|
-
const { compareToLive: compareToLive2 } = await import("./live-diff-
|
|
740
|
+
const { compareToLive: compareToLive2 } = await import("./live-diff-2S7E3SBZ.js");
|
|
741
741
|
let result;
|
|
742
742
|
try {
|
|
743
743
|
result = compareToLive2(
|
|
@@ -758,7 +758,7 @@ async function convergedWithLive(live, req, outgoingBundle, pinned) {
|
|
|
758
758
|
async function unchangedWithLive(live, req, outgoingBundle, pinned) {
|
|
759
759
|
if (live === void 0 || req.mode !== "merge") return void 0;
|
|
760
760
|
if (req.records === true || req.truncate === true) return void 0;
|
|
761
|
-
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-
|
|
761
|
+
const { compareToLive: compareToLive2, declaredLabels, payloadOf: payloadOf2, SETTINGS_LABEL } = await import("./live-diff-2S7E3SBZ.js");
|
|
762
762
|
try {
|
|
763
763
|
const outgoing = JSON.parse(outgoingBundle);
|
|
764
764
|
const result = compareToLive2(outgoing, live, new Set(pinned.map((p) => `${p.payloadKey}:${p.name}`)), {
|
|
@@ -786,7 +786,7 @@ function markUnchanged(presented, unchanged, noun) {
|
|
|
786
786
|
}
|
|
787
787
|
var REPLACE_DROPS = "which deletes every table's rows there (only seed rows come back)";
|
|
788
788
|
async function replaceCommandHint(args) {
|
|
789
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-
|
|
789
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./deploy-command-RD6W7PXN.js");
|
|
790
790
|
const valued = /* @__PURE__ */ new Set(["--branch", "--backup-branch", "--expect-live"]);
|
|
791
791
|
const dropped = /* @__PURE__ */ new Set(["--prune", "--reset-data", "--seed", "--set-live", "--dry-run", "--replace", "--yes", "-y"]);
|
|
792
792
|
const argv = [];
|
|
@@ -817,7 +817,7 @@ function landingTableFields(losses) {
|
|
|
817
817
|
};
|
|
818
818
|
}
|
|
819
819
|
async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "workspace", fromBundle = false, replaceHint = "`xanosdk deploy <source> --to <destination> --replace`.", noun = "workspace", failure, stored) {
|
|
820
|
-
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-
|
|
820
|
+
const { NO_TABLE_EFFECTS, tableEffectsOf, discloseTableEffects, tableEffectFields, alteringChanges, droppedAndAdded } = await import("./plan-disclosure-BHYG7TZ7.js");
|
|
821
821
|
const none = {
|
|
822
822
|
...tableEffectFields(NO_TABLE_EFFECTS),
|
|
823
823
|
renamedTables: [],
|
|
@@ -836,7 +836,7 @@ async function warnAboutLiveLosses(live, req, outgoingBundle, setWhere = "worksp
|
|
|
836
836
|
blank();
|
|
837
837
|
return none;
|
|
838
838
|
}
|
|
839
|
-
const { diffAgainstLive, tableAdditions } = await import("./live-diff-
|
|
839
|
+
const { diffAgainstLive, tableAdditions } = await import("./live-diff-2S7E3SBZ.js");
|
|
840
840
|
let diff;
|
|
841
841
|
let additions;
|
|
842
842
|
try {
|
|
@@ -1551,7 +1551,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1551
1551
|
const held = guidsOf(live);
|
|
1552
1552
|
const codePinned = codePinnedTables(outgoingDoc, lock, classified);
|
|
1553
1553
|
const { orphanFixUps } = await import("./cli.js");
|
|
1554
|
-
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-
|
|
1554
|
+
const { setGuidRemedy, clearReplacedCommand } = await import("./keep-data-merge-TDSELE5U.js");
|
|
1555
1555
|
const run = (line) => (line ?? "").replace(/^(renamed|deleted)\? run: /, "");
|
|
1556
1556
|
const out = [];
|
|
1557
1557
|
const seen = /* @__PURE__ */ new Set();
|
|
@@ -1595,7 +1595,7 @@ async function unrecordedTableRenames(args, bundle, live, plan, classified) {
|
|
|
1595
1595
|
return out;
|
|
1596
1596
|
}
|
|
1597
1597
|
async function pendingRenameRefusal(frame, pending, prune, branch) {
|
|
1598
|
-
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-
|
|
1598
|
+
const { pendingRenameLines, pendingRenameFollowUp, pendingRenameDetail, sameNameRepin } = await import("./keep-data-merge-TDSELE5U.js");
|
|
1599
1599
|
const one = pending.length === 1;
|
|
1600
1600
|
const lines = pending.flatMap(
|
|
1601
1601
|
(p) => pendingRenameLines(
|
|
@@ -2051,7 +2051,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2051
2051
|
assertBundleFile(args, { command: "deploy" });
|
|
2052
2052
|
const auth = opts.auth ?? await getAccessToken(args);
|
|
2053
2053
|
const withSeed = req.mode === "replace" || req.records === true;
|
|
2054
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
2054
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-MPPH633S.js");
|
|
2055
2055
|
const toolchain = await discoverToolchainPlugins(process.cwd(), { frozen: args.frozenLock === true });
|
|
2056
2056
|
const loaded = await loadBundleText(
|
|
2057
2057
|
args.dryRun ? { ...args, lockReadOnly: true } : args,
|
|
@@ -2077,15 +2077,15 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2077
2077
|
});
|
|
2078
2078
|
};
|
|
2079
2079
|
if (!args.dryRun && args.file !== void 0) {
|
|
2080
|
-
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-
|
|
2080
|
+
const { ignoreBackendSecretFilesRead } = await import("./deploy-command-RD6W7PXN.js");
|
|
2081
2081
|
await ignoreBackendSecretFilesRead(args);
|
|
2082
2082
|
}
|
|
2083
2083
|
if (args.static !== void 0) {
|
|
2084
|
-
const { assertNoSeedLeaks } = await import("./deploy-command-
|
|
2084
|
+
const { assertNoSeedLeaks } = await import("./deploy-command-RD6W7PXN.js");
|
|
2085
2085
|
await assertNoSeedLeaks(args.static, nonPublicSeedValues);
|
|
2086
2086
|
}
|
|
2087
2087
|
{
|
|
2088
|
-
const { runBundleHooks } = await import("./toolchain-hooks-
|
|
2088
|
+
const { runBundleHooks } = await import("./toolchain-hooks-BGZBDFAT.js");
|
|
2089
2089
|
const { readVersion } = await import("./cli.js");
|
|
2090
2090
|
await runBundleHooks(
|
|
2091
2091
|
toolchain.loaded,
|
|
@@ -2191,8 +2191,8 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2191
2191
|
pinned: pinned.map((p) => p.guid).filter((g) => g !== void 0)
|
|
2192
2192
|
}).catch(async (err) => {
|
|
2193
2193
|
if (err instanceof XanoSdkImportRefusal && err.retryable) {
|
|
2194
|
-
const { importInProgressError } = await import("./keep-data-merge-
|
|
2195
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2194
|
+
const { importInProgressError } = await import("./keep-data-merge-TDSELE5U.js");
|
|
2195
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
|
|
2196
2196
|
const retry = retryCommand2(args);
|
|
2197
2197
|
throw importInProgressError(
|
|
2198
2198
|
describeWriteTarget({ base: destBase, workspaceId, label: destShownLabel }),
|
|
@@ -2312,10 +2312,10 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2312
2312
|
}
|
|
2313
2313
|
const dryRunUpToDate = req.branch === void 0 && (plan.operations.length === 0 || converged);
|
|
2314
2314
|
if (req.mode === "merge" && destIsTenant && live !== void 0 && !dryRunUpToDate) {
|
|
2315
|
-
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-
|
|
2315
|
+
const { liveTableTriggers, tableTriggerMergeError } = await import("./keep-data-merge-TDSELE5U.js");
|
|
2316
2316
|
const triggers = liveTableTriggers(live);
|
|
2317
2317
|
if (triggers.length > 0) {
|
|
2318
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2318
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
|
|
2319
2319
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2320
2320
|
throw tableTriggerMergeError(destNoun, triggers, {
|
|
2321
2321
|
command: replace.command,
|
|
@@ -2324,7 +2324,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2324
2324
|
}
|
|
2325
2325
|
}
|
|
2326
2326
|
if (req.mode === "merge" && live !== void 0 && !dryRunUpToDate && losses.storageChanges.length > 0) {
|
|
2327
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2327
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
|
|
2328
2328
|
const replace = retryCommand2(args, { add: ["--replace"], drop: ["--prune", "--yes", "-y"] });
|
|
2329
2329
|
await assertStorageModesKept(losses.storageChanges, tableRowCounter(auth, { workspaceId, base: destBase }), {
|
|
2330
2330
|
target: destNoun,
|
|
@@ -2407,7 +2407,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2407
2407
|
assertLiveWorkspaceWasRead(live, destNoun, scopeBranch, liveRead.failure, liveKind);
|
|
2408
2408
|
reportPlannedCanonicalMoves(canonicalMoves, "will", movesWhen);
|
|
2409
2409
|
if (req.branch !== void 0 && args.setLive && !args.yes && process.stdin.isTTY !== true) {
|
|
2410
|
-
const { yesRerun } = await import("./retry-command-
|
|
2410
|
+
const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
|
|
2411
2411
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2412
2412
|
throw needsConfirmation(
|
|
2413
2413
|
`Make "${req.branch}" the live branch?${movesClause(canonicalMoves)} (or drop --set-live to stage it)`,
|
|
@@ -2446,7 +2446,7 @@ async function runReleaseCommand(args, dest, opts = {}) {
|
|
|
2446
2446
|
landingRecord: null,
|
|
2447
2447
|
...seeded.length > 0 ? { seedRows: seeded } : {}
|
|
2448
2448
|
});
|
|
2449
|
-
const { yesRerun } = await import("./retry-command-
|
|
2449
|
+
const { yesRerun } = await import("./retry-command-Y5YJGOH3.js");
|
|
2450
2450
|
const { rerun, note } = yesRerun(args, "deploy");
|
|
2451
2451
|
const ok = await confirm(`Apply this plan to ${destNoun}?${seedOverwriteClause(seeded)}${movesClause(canonicalMoves, movesWhen === void 0 ? "It" : "Once live, it")}`, {
|
|
2452
2452
|
flag: "--yes",
|
|
@@ -2493,7 +2493,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2493
2493
|
);
|
|
2494
2494
|
} catch (err) {
|
|
2495
2495
|
if (err instanceof XanoSdkImportRefusal) {
|
|
2496
|
-
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-
|
|
2496
|
+
const { retryCommand: retryCommand2, withheldNote: withheldNote2 } = await import("./retry-command-Y5YJGOH3.js");
|
|
2497
2497
|
const retry = retryCommand2(args);
|
|
2498
2498
|
reportApplyRefusal(
|
|
2499
2499
|
err,
|
|
@@ -2672,7 +2672,7 @@ Retry, or drop \`--backup-branch\` to deploy without one.`,
|
|
|
2672
2672
|
if (isMachineOutput(args)) writeJson(summary);
|
|
2673
2673
|
assertStaticMatchesServedUrls(servedDifferences, planContext);
|
|
2674
2674
|
}
|
|
2675
|
-
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-
|
|
2675
|
+
const { buildStaticEnv, deployStaticTo } = await import("./deploy-command-RD6W7PXN.js");
|
|
2676
2676
|
const env = buildStaticEnv(destBase, args.staticEnv);
|
|
2677
2677
|
const explicit = Object.keys(args.staticEnv).length > 0;
|
|
2678
2678
|
const to = dest?.kind === "tenant" ? `${dest.type === "ephemeral" ? "ephemeral" : "tenant"}:${dest.name ?? ""}` : "workspace";
|
|
@@ -2724,14 +2724,14 @@ function setLiveRollback(previous, args) {
|
|
|
2724
2724
|
async function assertReleaseIdentitiesFree(args, auth, opts) {
|
|
2725
2725
|
const tenant = opts.tenant;
|
|
2726
2726
|
const target = tenant === void 0 ? { baseUrl: auth.instance, workspaceId: auth.workspaceId } : { baseUrl: tenant.base, workspaceId: tenant.workspaceId };
|
|
2727
|
-
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-
|
|
2727
|
+
const { detectXanoSdkImportRoute } = await import("./xanosdk-import-UKEO7R7O.js");
|
|
2728
2728
|
let capable;
|
|
2729
2729
|
try {
|
|
2730
2730
|
capable = await detectXanoSdkImportRoute(auth, target);
|
|
2731
2731
|
} catch (err) {
|
|
2732
2732
|
if (err?.status === 501) capable = false;
|
|
2733
2733
|
else {
|
|
2734
|
-
const { unreachableProbeError } = await import("./keep-data-merge-
|
|
2734
|
+
const { unreachableProbeError } = await import("./keep-data-merge-TDSELE5U.js");
|
|
2735
2735
|
const retry = retryCommand(args, {
|
|
2736
2736
|
add: pipedYes(args) === "" ? [] : ["--yes"],
|
|
2737
2737
|
command: [opts.verb, ...args.positionals.map(shellWord)].join(" ")
|
|
@@ -2820,4 +2820,4 @@ export {
|
|
|
2820
2820
|
setLiveRollback,
|
|
2821
2821
|
assertReleaseIdentitiesFree
|
|
2822
2822
|
};
|
|
2823
|
-
//# sourceMappingURL=chunk-
|
|
2823
|
+
//# sourceMappingURL=chunk-ZTUNCVAR.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
confirm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4APOHK7Y.js";
|
|
4
4
|
import {
|
|
5
5
|
discloseCanonicalMoves,
|
|
6
6
|
movesClause,
|
|
7
7
|
releaseCanonicalMoves
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5T2CTWTB.js";
|
|
9
9
|
import {
|
|
10
10
|
exportWorkspaceBundle
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QV3GXQRE.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_BRANCH_LABEL,
|
|
14
14
|
deleteBranch,
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
liveBranchLabel,
|
|
18
18
|
requireBranch,
|
|
19
19
|
setLiveBranch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-E65QIWOO.js";
|
|
21
21
|
import {
|
|
22
22
|
sectionKind
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HMLGM2MW.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOneName
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-DIG3NITC.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CJPLBFFY.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-FMOEVAGT.js";
|
|
33
33
|
import {
|
|
34
34
|
contextFlags
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-SEUCZZCP.js";
|
|
36
36
|
import {
|
|
37
37
|
shellWord
|
|
38
38
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
warn,
|
|
57
57
|
writeJson,
|
|
58
58
|
writeTargetPayload
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-SBR2WZXG.js";
|
|
60
60
|
import {
|
|
61
61
|
suggestAll
|
|
62
62
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -139,7 +139,7 @@ async function runBranchCommand(args) {
|
|
|
139
139
|
const workspaceId = auth.workspaceId;
|
|
140
140
|
const target = { baseUrl: auth.instance, workspaceId };
|
|
141
141
|
const { branches, unaddressable } = await listBranchListing(auth, target).catch(async (err) => {
|
|
142
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
142
|
+
const { unansweredRead } = await import("./source-resolve-NTI3JFO6.js");
|
|
143
143
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
144
144
|
});
|
|
145
145
|
if (verb === "list") {
|
|
@@ -161,7 +161,7 @@ async function runBranchCommand(args) {
|
|
|
161
161
|
const meant = near.map((n) => `Did you mean "${safeText(n)}"? \`xanosdk workspace branch delete ${shellWord(n)}${again}\` deletes it, after asking to confirm.`);
|
|
162
162
|
const branchesLine = known !== "" ? [`Its branches: ${known}.`] : [];
|
|
163
163
|
if (near.length > 0) {
|
|
164
|
-
const { SourceError } = await import("./source-resolve-
|
|
164
|
+
const { SourceError } = await import("./source-resolve-NTI3JFO6.js");
|
|
165
165
|
throw new SourceError([missed, ...meant, ...branchesLine].join("\n"), "gone", "workspace", near[0], near.length > 1 ? near : void 0);
|
|
166
166
|
}
|
|
167
167
|
warn(missed, "branch.not-found", branchesLine);
|
|
@@ -280,7 +280,7 @@ Check what is serving with \`xanosdk workspace branch list${contextFlags()}\`, t
|
|
|
280
280
|
}
|
|
281
281
|
if (args.expectLive !== void 0) {
|
|
282
282
|
const now = await listBranchListing(auth, target).catch(async (err) => {
|
|
283
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
283
|
+
const { unansweredRead } = await import("./source-resolve-NTI3JFO6.js");
|
|
284
284
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
285
285
|
});
|
|
286
286
|
const drift = liveMismatch(now, args.expectLive);
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
liveBranchMismatch,
|
|
425
425
|
staleSchemaRefs
|
|
426
426
|
};
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-ZVYN4FXD.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
describeEntry
|
|
3
|
+
} from "./chunk-4MIV244X.js";
|
|
4
|
+
|
|
5
|
+
// src/kinds/raw-where.ts
|
|
6
|
+
var RAW_WHERE = /* @__PURE__ */ Symbol.for("xanosdk.view.rawExpression");
|
|
7
|
+
function rawWhere(expression) {
|
|
8
|
+
if (!Array.isArray(expression)) {
|
|
9
|
+
throw new Error(
|
|
10
|
+
`rawWhere() takes a view's stored \`expression\` list \u2014 got ${describeEntry(expression)}.`
|
|
11
|
+
);
|
|
12
|
+
}
|
|
13
|
+
return { [RAW_WHERE]: structuredClone(expression) };
|
|
14
|
+
}
|
|
15
|
+
function isRawWhere(value) {
|
|
16
|
+
return typeof value === "object" && value !== null && Object.hasOwn(value, RAW_WHERE);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export {
|
|
20
|
+
RAW_WHERE,
|
|
21
|
+
rawWhere,
|
|
22
|
+
isRawWhere
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=chunk-ZY55DO5P.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
managedBlockVersion,
|
|
5
5
|
renderAgentsMd,
|
|
6
6
|
upsertManagedBlock
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HHFPIJGL.js";
|
|
8
8
|
import {
|
|
9
9
|
detectPackageManager
|
|
10
10
|
} from "./chunk-WRBKLYSJ.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
projectFileCli,
|
|
19
19
|
projectSdkDir,
|
|
20
20
|
warn
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-SBR2WZXG.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_DARK_MODE
|
|
24
24
|
} from "./chunk-TFFGOFVZ.js";
|
|
@@ -186,4 +186,4 @@ export {
|
|
|
186
186
|
isCI,
|
|
187
187
|
refreshAgentFiles
|
|
188
188
|
};
|
|
189
|
-
//# sourceMappingURL=chunk-
|
|
189
|
+
//# sourceMappingURL=chunk-ZZEIC5PT.js.map
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-
|
|
2
|
-
import './
|
|
1
|
+
import { B as Bundle, L as LockFile, X as Xano, c9 as emit } from './emit-hOFbgzde.js';
|
|
2
|
+
import './raw-where-EoWl5fqY.js';
|
|
3
3
|
import './xdo-CxDr2Q1C.js';
|
|
4
4
|
|
|
5
5
|
/**
|