@xano/sdk 1.0.4 → 1.0.5
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 +17 -5
- package/README.md +232 -334
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-LB6KIMFY.js → agent-file-refresh-KVLR7M5Y.js} +13 -13
- package/dist/{answer-shape-LVV2SVBK.js → answer-shape-XGR2DGWY.js} +5 -5
- package/dist/{backend-dir-WZADOK3L.js → backend-dir-IE4RMUFH.js} +12 -12
- package/dist/{backend-slot-NSCTWCUX.js → backend-slot-6HBWG5FN.js} +3 -3
- package/dist/bin.js +52 -52
- package/dist/{branch-ONWPJ4V6.js → branch-T2APKPVG.js} +9 -9
- package/dist/{branch-commands-ZT2MJIRS.js → branch-commands-HXXTCSOO.js} +26 -26
- package/dist/{capture-3JNUA6C2.js → capture-HBXFXZEW.js} +4 -4
- package/dist/{chunk-A6QTTJUI.js → chunk-3BJYQGAZ.js} +2 -2
- package/dist/{chunk-5W7DOMIU.js → chunk-3IYVHVM6.js} +2 -2
- package/dist/{chunk-S7E2AHV3.js → chunk-3VX7VAQT.js} +4 -4
- package/dist/{chunk-Y2ZLKBM6.js → chunk-3WHWOKU4.js} +4 -4
- package/dist/{chunk-LXNQWHZM.js → chunk-44CWK6YC.js} +3 -3
- package/dist/{chunk-KCAL4QYP.js → chunk-4GDEEY2U.js} +4 -4
- package/dist/{chunk-KTGRGWZW.js → chunk-4NEBBKOP.js} +7 -7
- package/dist/{chunk-UKUIUS3E.js → chunk-4QBGE3EO.js} +5 -5
- package/dist/{chunk-IVKRT476.js → chunk-4QFBEKXI.js} +2 -2
- package/dist/{chunk-OOXWYAA4.js → chunk-57A5ZKPO.js} +1 -1
- package/dist/{chunk-2B22WWKL.js → chunk-57B56I4B.js} +29 -29
- package/dist/{chunk-OPHB5ORL.js → chunk-57HMNJGB.js} +120 -76
- package/dist/{chunk-O5V3YH5P.js → chunk-5D6DGF3W.js} +8 -8
- package/dist/{chunk-E65QIWOO.js → chunk-5RLAF6RL.js} +4 -4
- package/dist/{chunk-MEE5RZ6G.js → chunk-5XVBT6CQ.js} +2 -2
- package/dist/{chunk-RX3EMQGN.js → chunk-5YBNXNKU.js} +2 -2
- package/dist/{chunk-NA3PXMEF.js → chunk-64WWE3EF.js} +1 -1
- package/dist/{chunk-2LVTBPW2.js → chunk-65SW2BA5.js} +3 -3
- package/dist/{chunk-ET5DSBAC.js → chunk-7DBM6XHR.js} +8 -8
- package/dist/{chunk-DIG3NITC.js → chunk-A4NNCI4O.js} +3 -3
- package/dist/{chunk-4APOHK7Y.js → chunk-AESE434J.js} +2 -2
- package/dist/{chunk-E6H5ZEV3.js → chunk-AGD7F7YI.js} +3 -3
- package/dist/{chunk-44B4V2LR.js → chunk-AGSCOISO.js} +139 -139
- package/dist/{chunk-MLGI2SRQ.js → chunk-AMBEITWL.js} +4 -4
- package/dist/{chunk-5T2CTWTB.js → chunk-BBPAXOU6.js} +5 -5
- package/dist/{chunk-5WGVIXMD.js → chunk-BMCZQZMI.js} +4 -4
- package/dist/{chunk-LUTMOHOW.js → chunk-CJ76PSJT.js} +9 -9
- package/dist/{chunk-D5ZEAF4G.js → chunk-CV54PASI.js} +53 -50
- package/dist/{chunk-MLPDSGJQ.js → chunk-DEVGLLNZ.js} +5 -5
- package/dist/{chunk-JTUKLCXS.js → chunk-DXUICABI.js} +1 -1
- package/dist/{chunk-C4FHQA7R.js → chunk-ES5A66IH.js} +8 -8
- package/dist/{chunk-UDE5C2XN.js → chunk-F3557PVM.js} +3 -3
- package/dist/{chunk-HUSH7LRI.js → chunk-F6IKWAIU.js} +21 -17
- package/dist/{chunk-II747OWE.js → chunk-FV55SRQU.js} +7 -7
- package/dist/{chunk-SEUCZZCP.js → chunk-G57RYMKB.js} +3 -3
- package/dist/{chunk-MNVDVR3M.js → chunk-GMVW6ZZK.js} +4 -4
- package/dist/{chunk-MN2PB6WB.js → chunk-HLQH3AXB.js} +3 -3
- package/dist/{chunk-HSEQYBDO.js → chunk-HOOOOJJP.js} +3 -3
- package/dist/{chunk-IXUPUFCG.js → chunk-I5VEROXW.js} +2 -2
- package/dist/{chunk-UI4OPTYR.js → chunk-IV446ZLJ.js} +2 -2
- package/dist/{chunk-CYB7UQA2.js → chunk-JQOX6HW4.js} +5 -5
- package/dist/{chunk-OPG4DYX2.js → chunk-JSEVKRVJ.js} +3 -3
- package/dist/{chunk-2AUV6NXK.js → chunk-JXKO6JT7.js} +36 -36
- package/dist/{chunk-FPBGAT5D.js → chunk-JZWUAEMO.js} +3 -3
- package/dist/{chunk-6R7S775T.js → chunk-K6CB5TKM.js} +2 -2
- package/dist/{chunk-MCTIKRMN.js → chunk-K6PRKPFX.js} +8 -8
- package/dist/{chunk-W5ONYLOP.js → chunk-KQLACS4Q.js} +4 -4
- package/dist/{chunk-LIVN53UV.js → chunk-KUU7T4ZE.js} +31 -31
- package/dist/{chunk-WFMVKY7I.js → chunk-L3BDO2BI.js} +9 -9
- package/dist/{chunk-664LSWE5.js → chunk-LLS2WO2K.js} +4 -4
- package/dist/{chunk-ESZ2FF57.js → chunk-LZDA6SVD.js} +46 -45
- package/dist/{chunk-UCQ2VUTG.js → chunk-M6ZFSTIZ.js} +2 -2
- package/dist/{chunk-DYG5D3FD.js → chunk-M7GJ6YUF.js} +2 -2
- package/dist/{chunk-XXZZGXW2.js → chunk-MEIJDRHU.js} +2 -2
- package/dist/{chunk-QXTKSOFI.js → chunk-MF4W6FHU.js} +1 -1
- package/dist/{chunk-3FN2BIGB.js → chunk-MYLPOVX6.js} +6 -6
- package/dist/{chunk-FJWZ5OVV.js → chunk-N6BWB35H.js} +3 -3
- package/dist/{chunk-T4DUFQ2S.js → chunk-NGAODDLX.js} +5 -5
- package/dist/{chunk-7PMVIHB3.js → chunk-NNB7VUCH.js} +23 -23
- package/dist/{chunk-6VBTPV2Y.js → chunk-NUU76247.js} +3 -3
- package/dist/{chunk-ZG7E72VI.js → chunk-OGUMHW2X.js} +6 -6
- package/dist/{chunk-I2BGYNHD.js → chunk-OJPZEUPH.js} +7 -7
- package/dist/{chunk-OOGXZL7Z.js → chunk-OKNE3TWU.js} +2 -2
- package/dist/{chunk-KUTFFHUM.js → chunk-OVV2HXJ6.js} +2 -2
- package/dist/{chunk-VRVKNY4A.js → chunk-PIPIA7K7.js} +8 -8
- package/dist/{chunk-AM4FKL4J.js → chunk-PL7AIAWS.js} +12 -12
- package/dist/{chunk-WL2DSNJV.js → chunk-Q22BMRPF.js} +2 -2
- package/dist/{chunk-IJ3SXSZM.js → chunk-QOLOQ35F.js} +6 -6
- package/dist/{chunk-BUECLQXK.js → chunk-QZTJ2556.js} +4 -4
- package/dist/{chunk-O7QOWS6M.js → chunk-RXCT3OCU.js} +12 -12
- package/dist/{chunk-WYEQFD6A.js → chunk-S5KQIFKJ.js} +122 -98
- package/dist/{chunk-CBYQ2ZN3.js → chunk-S5TEJIGP.js} +2 -2
- package/dist/{chunk-HMLGM2MW.js → chunk-SF2B7MZK.js} +3 -3
- package/dist/{chunk-PML67X22.js → chunk-SNGFEESM.js} +3 -3
- package/dist/{chunk-VD32O6KZ.js → chunk-SQPIECXD.js} +3 -3
- package/dist/{chunk-5YL5OC2G.js → chunk-SRX6B544.js} +5 -5
- package/dist/{chunk-CFSFBKHP.js → chunk-TEBS7FE6.js} +2 -2
- package/dist/{chunk-TTVAHCWP.js → chunk-TM5LRSBB.js} +2 -2
- package/dist/{chunk-JP7M7OU7.js → chunk-TUEFTRC2.js} +5 -5
- package/dist/{chunk-EWCDPFW5.js → chunk-U6DR6464.js} +4 -4
- package/dist/{chunk-QAEQGT5I.js → chunk-UIEFE6FU.js} +7 -7
- package/dist/{chunk-3H3EPMFY.js → chunk-UJ6ZZJDD.js} +2 -2
- package/dist/{chunk-3P3HXN76.js → chunk-V4IBHDIY.js} +11 -11
- package/dist/{chunk-XNCP4KYO.js → chunk-VQPDATQT.js} +1 -1
- package/dist/{chunk-4PQHO74B.js → chunk-VZ22VUAS.js} +2 -2
- package/dist/{chunk-BUJRS7XB.js → chunk-WYS6XVZ3.js} +2 -2
- package/dist/{chunk-QV3GXQRE.js → chunk-XIABDKFQ.js} +2 -2
- package/dist/{chunk-EESV6NU2.js → chunk-XJU6UAFV.js} +2 -2
- package/dist/{chunk-SBR2WZXG.js → chunk-XNZURZ7T.js} +59 -52
- package/dist/{chunk-WFG67AYS.js → chunk-Y6NO3DLQ.js} +3 -3
- package/dist/{chunk-37AHZ7JX.js → chunk-Y76ERHLK.js} +5 -5
- package/dist/{chunk-HHW5AWVD.js → chunk-YI76TURL.js} +30 -30
- package/dist/{chunk-OGBMUST4.js → chunk-YSLMMR2U.js} +14 -14
- package/dist/{chunk-45YPFB7B.js → chunk-Z2BRSQ6M.js} +49 -49
- package/dist/{chunk-D64XUF5Q.js → chunk-Z3SNX45M.js} +16 -16
- package/dist/{chunk-FMOEVAGT.js → chunk-Z4VN347O.js} +3 -3
- package/dist/{chunk-L2GLOJAO.js → chunk-ZHGWR45B.js} +22 -22
- package/dist/cli.d.ts +20 -18
- package/dist/cli.js +50 -50
- package/dist/{codegen-command-HTWIW56U.js → codegen-command-L2OO6OTE.js} +63 -63
- package/dist/{commands-CVFYC4GK.js → commands-2E4JB3DB.js} +2 -2
- package/dist/{completion-AUEQC4XJ.js → completion-LPJIH5VQ.js} +11 -11
- package/dist/{config-JU6OQC77.js → config-QDCRKEWD.js} +4 -4
- package/dist/{deploy-command-5WTFHMBT.js → deploy-command-HJZNYCUY.js} +57 -57
- package/dist/{deploy-source-5CET3A5D.js → deploy-source-5COWTBOC.js} +34 -34
- package/dist/{dev-env-sync-X636HLMK.js → dev-env-sync-GZ4QQJGV.js} +51 -51
- package/dist/{display-name-hint-DMORHANO.js → display-name-hint-AHCNH6TF.js} +11 -11
- package/dist/{emit-hOFbgzde.d.ts → emit-DqG6qddr.d.ts} +2 -2
- package/dist/env-example-refresh-DWQIOQYR.js +127 -0
- package/dist/{env-pull-command-WZZ7RL2E.js → env-pull-command-Z4RLVEGJ.js} +46 -46
- package/dist/{env-target-PO3MOLH5.js → env-target-ZHQUS5BO.js} +13 -13
- package/dist/{env-var-command-YKTJZFJN.js → env-var-command-FKQ4VVQ6.js} +47 -47
- package/dist/{ephemeral-BMFY55BQ.js → ephemeral-L4KUOGEU.js} +9 -9
- package/dist/{ephemeral-command-VDSQCOYL.js → ephemeral-command-GRPFI3TD.js} +47 -47
- package/dist/{ephemeral-state-6TY4JIPA.js → ephemeral-state-VLYU2BXR.js} +11 -11
- package/dist/{generate-command-3NTNRQRS.js → generate-command-XNODJFDQ.js} +68 -68
- package/dist/{gitignore-FWPEDX6C.js → gitignore-VWRSZX5F.js} +16 -16
- package/dist/{guards-EJU2ONAX.js → guards-OPSGB6LG.js} +5 -5
- package/dist/{hosted-file-PSHJB3HX.js → hosted-file-S7YUQAH6.js} +2 -2
- package/dist/{impersonate-command-QEJA72Q2.js → impersonate-command-AEKIZHHK.js} +40 -40
- package/dist/{import-TBTOTU52.js → import-PHSSFFLA.js} +5 -5
- package/dist/index.d.ts +4 -4
- package/dist/index.js +10 -10
- package/dist/{init-command-27SFBW2F.js → init-command-TI3HCKXZ.js} +55 -55
- package/dist/{init-modules-HZRQFRLE.js → init-modules-SGSX7XEY.js} +9 -9
- package/dist/{init-web-Y2PBNJTQ.js → init-web-6HX3YLQP.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +24 -25
- package/dist/{io-ZUKAGFVE.js → io-TAF4WXYQ.js} +5 -5
- package/dist/{keep-data-merge-X5LDDCI3.js → keep-data-merge-GUGF7MVZ.js} +28 -28
- package/dist/{lambda-config-reconcile-OUZ4OYAB.js → lambda-config-reconcile-65U6I4KU.js} +3 -3
- package/dist/{landed-6VO7CX5P.js → landed-QA6PRTV2.js} +4 -4
- package/dist/{landing-record-QYECWLQ5.js → landing-record-FCAWLCZU.js} +22 -22
- package/dist/{live-diff-2S7E3SBZ.js → live-diff-IM4W3ELT.js} +5 -5
- package/dist/local-engine-choice-FPJAZSSD.js +79 -0
- package/dist/{local-engine-command-HMTQK7MN.js → local-engine-command-73NHWD6V.js} +92 -92
- package/dist/{local-engine-config-5U3SC434.js → local-engine-config-W3KB7RWM.js} +2 -2
- package/dist/{local-engine-deploy-TXAOYRGF.js → local-engine-deploy-Y4OAWL7K.js} +16 -16
- package/dist/{local-engine-process-6VZ7JJBP.js → local-engine-process-6YPJHKYM.js} +11 -11
- package/dist/{local-engine-state-TJWPWCC4.js → local-engine-state-OCW5YDD7.js} +3 -3
- package/dist/{local-engine-update-check-R5SPDVEJ.js → local-engine-update-check-X7TZGRFL.js} +7 -7
- package/dist/{lock-TS465GVY.js → lock-WXXC3QHL.js} +3 -3
- package/dist/{lock-commands-4VT3L5W5.js → lock-commands-PKDBNRSD.js} +55 -55
- package/dist/{login-command-O6WA4FYL.js → login-command-V4U4FA5G.js} +27 -27
- package/dist/{logout-command-6CPWGFY2.js → logout-command-TV3P545Z.js} +16 -16
- package/dist/{loop-UFHKSOQ4.js → loop-VKHGQ6MP.js} +6 -6
- package/dist/{marketplace-command-HKACSYKS.js → marketplace-command-LEFOAEAV.js} +30 -30
- package/dist/{marketplace-resolve-KLFYVRWS.js → marketplace-resolve-ME7O7JBJ.js} +7 -7
- package/dist/{meta-client-73PX6UGJ.js → meta-client-TEEECA5W.js} +14 -14
- package/dist/{module-manifest-GIKFNXPE.js → module-manifest-7YLGIRCY.js} +3 -3
- package/dist/node.d.ts +4 -4
- package/dist/node.js +56 -56
- package/dist/operation-outcome-GNDD35WL.js +51 -0
- package/dist/{output-target-SZMBNYF4.js → output-target-5FWX3NGZ.js} +17 -17
- package/dist/{plan-disclosure-BHYG7TZ7.js → plan-disclosure-QGL5UYQR.js} +16 -16
- package/dist/{plugin-contributions-X4V22PJQ.js → plugin-contributions-GNFTWDEB.js} +4 -4
- package/dist/{plugin-prompt-DKNQHW6Y.js → plugin-prompt-VEQGMZ4T.js} +4 -4
- package/dist/{plugin-questions-CQRVOWFK.js → plugin-questions-BGRL23GO.js} +3 -3
- package/dist/{preflight-command-EBQ6XQF3.js → preflight-command-VKJKXRRI.js} +63 -63
- package/dist/{profile-command-NPKBJYPM.js → profile-command-P7A3BH26.js} +29 -29
- package/dist/{profile-pointer-UOO7JNFG.js → profile-pointer-HG7IXE4I.js} +4 -4
- package/dist/{profile-select-74TRDEPD.js → profile-select-45G5VPJK.js} +2 -2
- package/dist/{project-dependency-RRMTWOPC.js → project-dependency-Z4CKOCJI.js} +8 -8
- package/dist/{project-sdk-FOR4IOXL.js → project-sdk-JWZWGXXR.js} +3 -3
- package/dist/promote-command-KHTIK44I.js +141 -0
- package/dist/{prompt-5GUQTCSP.js → prompt-SURZOUUW.js} +3 -3
- package/dist/{publish-command-LGLZBOCB.js → publish-command-HGAB3H4A.js} +131 -60
- package/dist/{pull-command-WQFPLITW.js → pull-command-EUEWBRXZ.js} +66 -66
- package/dist/{pull-superseded-GGURV5J3.js → pull-superseded-TOT5S4QU.js} +3 -3
- package/dist/{release-command-2OTNVMIL.js → release-command-WOVQAMUY.js} +64 -64
- package/dist/{release-ns-command-EIBN3JVM.js → release-ns-command-WOQE2BDQ.js} +87 -87
- package/dist/{retry-command-Y5YJGOH3.js → retry-command-JRGMZZAC.js} +8 -8
- package/dist/{routes-manifest-3BNZIVST.js → routes-manifest-URFMAWJE.js} +5 -5
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-FUG7WCES.js → secrets-file-YWZWVJ52.js} +16 -16
- package/dist/{secrets-fill-command-QEOCUOAY.js → secrets-fill-command-HIHK3VH2.js} +54 -54
- package/dist/{seed-GJHJSEUE.js → seed-24DTEY5S.js} +7 -7
- package/dist/{source-resolve-DMDZVPMM.js → source-resolve-OWD3MIEO.js} +23 -23
- package/dist/{static-host-WM24RG25.js → static-host-UIR2OLPQ.js} +9 -9
- package/dist/{status-command-XUH5OGQX.js → status-command-JKTHH5QE.js} +53 -53
- package/dist/{store-MR7IKXKK.js → store-5YAQS6KU.js} +6 -6
- package/dist/{store-CfgPaVPO.d.ts → store-zxw2go0f.d.ts} +3 -3
- package/dist/sveltekit.d.ts +5 -5
- package/dist/sveltekit.js +1 -1
- package/dist/{sync-contributions-DHP7XSTX.js → sync-contributions-RBB6JVOL.js} +9 -9
- package/dist/{table-ZBDPKMNH.js → table-MQFVYA4K.js} +8 -8
- package/dist/{tables-command-X3JK7VSK.js → tables-command-5Q4BSUNO.js} +39 -39
- package/dist/{tenant-GKXMOYLK.js → tenant-Q3LPVSSM.js} +10 -10
- package/dist/{tenant-command-P27EQHBU.js → tenant-command-BFVU2PEX.js} +84 -84
- package/dist/{test-command-A4G2FP7G.js → test-command-F4VUU4QR.js} +40 -40
- package/dist/{tests-C55M5EQS.js → tests-5ZSDFVIJ.js} +6 -6
- package/dist/{token-CMAB35GD.js → token-TERSTNU4.js} +12 -12
- package/dist/{toolchain-hooks-BGZBDFAT.js → toolchain-hooks-QVUZ6HZ4.js} +2 -2
- package/dist/{toolchain-modules-3M7QDJBV.js → toolchain-modules-FD5ANV2U.js} +5 -5
- package/dist/tracked-backend-B4HTME4S.js +80 -0
- package/dist/{update-check-LNNKIMML.js → update-check-O4C2LCZH.js} +53 -53
- package/dist/{upgrade-command-7EUXML3P.js → upgrade-command-NVFWLMTA.js} +56 -56
- package/dist/{whoami-command-KNWFWAX6.js → whoami-command-YKNTISIV.js} +15 -15
- package/dist/{workspace-TGPYOODG.js → workspace-GGVGE2S5.js} +5 -5
- package/dist/{workspace-binding-2TWZBHQY.js → workspace-binding-OS4ZOX4S.js} +14 -14
- package/dist/{workspace-command-T7Z2BDHD.js → workspace-command-GTUNVN7K.js} +77 -77
- package/dist/{workspace-env-VA7XN3UX.js → workspace-env-467C5KHM.js} +13 -13
- package/dist/{workspace-export-AIGM6LC7.js → workspace-export-3XTVGQVM.js} +5 -5
- package/dist/{writable-FYJBTJOU.js → writable-7SSWUQJ3.js} +3 -3
- package/dist/{xano-BSHYVFSE.js → xano-6RS5XQZE.js} +7 -7
- package/dist/{xanosdk-import-J6SRBZHW.js → xanosdk-import-E3WSIYUE.js} +9 -9
- package/dist/{xanosdk-project-6KTCO47O.js → xanosdk-project-KH5TZ2KI.js} +14 -14
- package/guides/README.md +1 -0
- package/guides/authoring.md +3 -5
- package/guides/bundle.md +45 -0
- package/guides/cli.md +32 -30
- package/guides/codegen.md +5 -4
- package/guides/codes.md +9 -9
- package/guides/deploying.md +63 -58
- package/guides/environment.md +13 -13
- package/guides/project-structure.md +14 -0
- package/llms/client.md +3 -4
- package/llms/errors.md +1 -1
- package/llms/tests.md +2 -2
- package/llms-full.txt +14 -15
- package/llms.txt +8 -8
- package/manifest.json +110 -107
- package/package.json +4 -4
- package/dist/env-example-refresh-ZO6XAV44.js +0 -127
- package/dist/local-engine-choice-6BSPEG3E.js +0 -79
- package/dist/operation-outcome-2P4BVSEV.js +0 -51
- package/dist/promote-command-4F2NAE6P.js +0 -141
- package/dist/tracked-backend-PZGUWD5J.js +0 -80
|
@@ -1,102 +1,102 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchWorkspaceBundle
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-LZDA6SVD.js";
|
|
4
|
+
import "./chunk-CV54PASI.js";
|
|
5
|
+
import "./chunk-TM5LRSBB.js";
|
|
6
6
|
import {
|
|
7
7
|
printMicroserviceSection,
|
|
8
8
|
readMicroservices
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U6DR6464.js";
|
|
10
10
|
import {
|
|
11
11
|
confirm
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AESE434J.js";
|
|
13
13
|
import "./chunk-WOGJB2F6.js";
|
|
14
14
|
import {
|
|
15
15
|
listTables
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-GMVW6ZZK.js";
|
|
17
|
+
import "./chunk-PIPIA7K7.js";
|
|
18
|
+
import "./chunk-XIABDKFQ.js";
|
|
19
19
|
import "./chunk-3DRXWLJ5.js";
|
|
20
20
|
import "./chunk-X4DVXBFY.js";
|
|
21
21
|
import {
|
|
22
22
|
listBranches
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-5RLAF6RL.js";
|
|
24
24
|
import {
|
|
25
25
|
reachableWorkspaces,
|
|
26
26
|
refuseUnreachableWorkspace,
|
|
27
27
|
unreachableWorkspaceMessage
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-UIEFE6FU.js";
|
|
29
|
+
import "./chunk-DEVGLLNZ.js";
|
|
30
|
+
import "./chunk-OVV2HXJ6.js";
|
|
31
31
|
import "./chunk-2TFRR6JV.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveOutputTarget,
|
|
34
34
|
secretsPhrase,
|
|
35
35
|
writeExportFile
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-N6BWB35H.js";
|
|
37
37
|
import {
|
|
38
38
|
secretsCarriedBy
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-SF2B7MZK.js";
|
|
40
|
+
import "./chunk-MEIJDRHU.js";
|
|
41
|
+
import "./chunk-3WHWOKU4.js";
|
|
42
42
|
import {
|
|
43
43
|
assertBundleFile,
|
|
44
44
|
assertBundleInput,
|
|
45
45
|
assertEntryFile,
|
|
46
46
|
assertValueFiles,
|
|
47
47
|
loadBundleText
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-S5KQIFKJ.js";
|
|
49
|
+
import "./chunk-A4NNCI4O.js";
|
|
50
|
+
import "./chunk-LLS2WO2K.js";
|
|
51
|
+
import "./chunk-KUU7T4ZE.js";
|
|
52
|
+
import "./chunk-HOOOOJJP.js";
|
|
53
|
+
import "./chunk-NGAODDLX.js";
|
|
54
|
+
import "./chunk-JXKO6JT7.js";
|
|
55
|
+
import "./chunk-3BJYQGAZ.js";
|
|
56
|
+
import "./chunk-5XVBT6CQ.js";
|
|
57
57
|
import {
|
|
58
58
|
getAccessToken
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-CJ76PSJT.js";
|
|
60
|
+
import "./chunk-V4IBHDIY.js";
|
|
61
|
+
import "./chunk-KQLACS4Q.js";
|
|
62
|
+
import "./chunk-4GDEEY2U.js";
|
|
63
63
|
import "./chunk-2MNLRIOX.js";
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-Q22BMRPF.js";
|
|
65
|
+
import "./chunk-PL7AIAWS.js";
|
|
66
|
+
import "./chunk-TUEFTRC2.js";
|
|
67
|
+
import "./chunk-F3557PVM.js";
|
|
68
|
+
import "./chunk-AMBEITWL.js";
|
|
69
|
+
import "./chunk-4QBGE3EO.js";
|
|
70
70
|
import "./chunk-ZYJP6BOO.js";
|
|
71
71
|
import "./chunk-QO6BVGS5.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-UJ6ZZJDD.js";
|
|
73
|
+
import "./chunk-QZTJ2556.js";
|
|
74
|
+
import "./chunk-TEBS7FE6.js";
|
|
75
75
|
import {
|
|
76
76
|
yesRerun
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-Z4VN347O.js";
|
|
78
78
|
import "./chunk-622HUCZT.js";
|
|
79
79
|
import {
|
|
80
80
|
contextFlags
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
81
|
+
} from "./chunk-G57RYMKB.js";
|
|
82
|
+
import "./chunk-AGD7F7YI.js";
|
|
83
|
+
import "./chunk-F6IKWAIU.js";
|
|
84
|
+
import "./chunk-OGUMHW2X.js";
|
|
85
|
+
import "./chunk-3VX7VAQT.js";
|
|
86
86
|
import "./chunk-ZFDZKNGG.js";
|
|
87
87
|
import "./chunk-FWD7AL6N.js";
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-MYLPOVX6.js";
|
|
89
|
+
import "./chunk-DXUICABI.js";
|
|
90
90
|
import {
|
|
91
91
|
describeWrite
|
|
92
92
|
} from "./chunk-4KHEMC32.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-Y76ERHLK.js";
|
|
94
94
|
import "./chunk-ROY4YAEQ.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-SQPIECXD.js";
|
|
96
|
+
import "./chunk-5YBNXNKU.js";
|
|
97
97
|
import "./chunk-WRBKLYSJ.js";
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-M7GJ6YUF.js";
|
|
99
|
+
import "./chunk-OJPZEUPH.js";
|
|
100
100
|
import {
|
|
101
101
|
writeData
|
|
102
102
|
} from "./chunk-AWQ7BQTQ.js";
|
|
@@ -106,19 +106,19 @@ import {
|
|
|
106
106
|
fetchOrExplain,
|
|
107
107
|
httpFailure,
|
|
108
108
|
parseJsonAnswer
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-
|
|
109
|
+
} from "./chunk-HLQH3AXB.js";
|
|
110
|
+
import "./chunk-JZWUAEMO.js";
|
|
111
111
|
import "./chunk-LLNZGEFK.js";
|
|
112
|
-
import "./chunk-
|
|
112
|
+
import "./chunk-MF4W6FHU.js";
|
|
113
113
|
import "./chunk-X2NL4KUO.js";
|
|
114
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-S5TEJIGP.js";
|
|
115
115
|
import "./chunk-XMDDBEEM.js";
|
|
116
|
-
import "./chunk-
|
|
117
|
-
import "./chunk-
|
|
116
|
+
import "./chunk-57HMNJGB.js";
|
|
117
|
+
import "./chunk-M6ZFSTIZ.js";
|
|
118
118
|
import "./chunk-DGWHAVRG.js";
|
|
119
119
|
import "./chunk-7THDHQ4R.js";
|
|
120
120
|
import "./chunk-3YW23UFH.js";
|
|
121
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-K6CB5TKM.js";
|
|
122
122
|
import {
|
|
123
123
|
UsageError,
|
|
124
124
|
blank,
|
|
@@ -138,20 +138,20 @@ import {
|
|
|
138
138
|
warn,
|
|
139
139
|
writeJson,
|
|
140
140
|
writeTargetPayload
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-XNZURZ7T.js";
|
|
142
|
+
import "./chunk-FV55SRQU.js";
|
|
143
|
+
import "./chunk-3IYVHVM6.js";
|
|
144
144
|
import "./chunk-6JAEMMZ7.js";
|
|
145
|
-
import "./chunk-
|
|
145
|
+
import "./chunk-SRX6B544.js";
|
|
146
146
|
import "./chunk-45ZUMF4E.js";
|
|
147
147
|
import "./chunk-7KPKDHHI.js";
|
|
148
|
-
import "./chunk-
|
|
149
|
-
import "./chunk-
|
|
148
|
+
import "./chunk-XJU6UAFV.js";
|
|
149
|
+
import "./chunk-JSEVKRVJ.js";
|
|
150
150
|
import "./chunk-ICK36EGF.js";
|
|
151
151
|
import "./chunk-BEXZ4XRV.js";
|
|
152
152
|
import "./chunk-ETAZIGNT.js";
|
|
153
153
|
import "./chunk-GSGDWJB5.js";
|
|
154
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-VZ22VUAS.js";
|
|
155
155
|
import "./chunk-ERVIASGL.js";
|
|
156
156
|
import "./chunk-VTMTIBKP.js";
|
|
157
157
|
import "./chunk-H2V3N23D.js";
|
|
@@ -159,11 +159,11 @@ import "./chunk-3JDU4VRL.js";
|
|
|
159
159
|
import "./chunk-WTPZRR4I.js";
|
|
160
160
|
import "./chunk-GPI3OWRE.js";
|
|
161
161
|
import "./chunk-UTI5G6OJ.js";
|
|
162
|
-
import "./chunk-
|
|
162
|
+
import "./chunk-OKNE3TWU.js";
|
|
163
163
|
import "./chunk-5ZSO4T2G.js";
|
|
164
164
|
import {
|
|
165
165
|
HOSTED_ROW_PATH_PREFIX
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-VQPDATQT.js";
|
|
167
167
|
import "./chunk-UDZX2ZL4.js";
|
|
168
168
|
import "./chunk-ZY55DO5P.js";
|
|
169
169
|
import "./chunk-A2AOUBJS.js";
|
|
@@ -197,7 +197,7 @@ async function runWorkspaceCommand(args) {
|
|
|
197
197
|
case "reset-tables":
|
|
198
198
|
return runResetTables(args);
|
|
199
199
|
case "branch": {
|
|
200
|
-
const { runBranchCommand } = await import("./branch-commands-
|
|
200
|
+
const { runBranchCommand } = await import("./branch-commands-HXXTCSOO.js");
|
|
201
201
|
return runBranchCommand(args);
|
|
202
202
|
}
|
|
203
203
|
default:
|
|
@@ -226,7 +226,7 @@ async function runDetails(args) {
|
|
|
226
226
|
const auth = await getAccessToken(args);
|
|
227
227
|
const workspaceId = auth.workspaceId;
|
|
228
228
|
const all = await fetchWorkspaces(auth).catch(async (err) => {
|
|
229
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
229
|
+
const { unansweredRead } = await import("./source-resolve-OWD3MIEO.js");
|
|
230
230
|
throw unansweredRead(err, "read the workspace list", "workspace");
|
|
231
231
|
});
|
|
232
232
|
const match = all.find((w) => w.id === workspaceId);
|
|
@@ -286,7 +286,7 @@ async function runExport(args) {
|
|
|
286
286
|
var EXIT_DIFF_MISMATCH = 2;
|
|
287
287
|
async function runDiff(args) {
|
|
288
288
|
if (args.file === void 0 && args.bundle === void 0) {
|
|
289
|
-
const { resolveProjectEntry } = await import("./deploy-source-
|
|
289
|
+
const { resolveProjectEntry } = await import("./deploy-source-5COWTBOC.js");
|
|
290
290
|
const entry = resolveProjectEntry(process.cwd());
|
|
291
291
|
if (entry !== void 0) args = { ...args, file: entry };
|
|
292
292
|
}
|
|
@@ -299,11 +299,11 @@ async function runDiff(args) {
|
|
|
299
299
|
try {
|
|
300
300
|
live = await fetchWorkspaceBundle(auth, args.branch);
|
|
301
301
|
} catch (err) {
|
|
302
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
302
|
+
const { unansweredRead } = await import("./source-resolve-OWD3MIEO.js");
|
|
303
303
|
throw unansweredRead(err, "read the workspace to compare", "workspace");
|
|
304
304
|
}
|
|
305
|
-
const { compareToLive, SETTINGS_LABEL } = await import("./live-diff-
|
|
306
|
-
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-
|
|
305
|
+
const { compareToLive, SETTINGS_LABEL } = await import("./live-diff-IM4W3ELT.js");
|
|
306
|
+
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-WOVQAMUY.js");
|
|
307
307
|
const pinned = codePinnedCanonicals(local.bundle, releaseCanonicalLock(args), args.file !== void 0);
|
|
308
308
|
const result = compareToLive(
|
|
309
309
|
JSON.parse(local.bundle),
|
|
@@ -407,7 +407,7 @@ Pass the entry file: \`xanosdk workspace reset-tables ./index.ts --table <guid>
|
|
|
407
407
|
const local = await loadBundleText(args.write === true && !willRefuse ? args : { ...args, lockReadOnly: true }, target, {
|
|
408
408
|
withSeed: true
|
|
409
409
|
});
|
|
410
|
-
const { seedRowsByTableGuid } = await import("./seed-
|
|
410
|
+
const { seedRowsByTableGuid } = await import("./seed-24DTEY5S.js");
|
|
411
411
|
const seeds = seedRowsByTableGuid(local.content);
|
|
412
412
|
const declared = projectTables(local.bundle);
|
|
413
413
|
const unknown = guids.filter((guid) => !declared.some((t) => t.guid === guid));
|
|
@@ -444,7 +444,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
444
444
|
);
|
|
445
445
|
}
|
|
446
446
|
const destination = credentialWriteTarget(auth);
|
|
447
|
-
const { countTableRows } = await import("./table-
|
|
447
|
+
const { countTableRows } = await import("./table-MQFVYA4K.js");
|
|
448
448
|
const planned = await Promise.all(
|
|
449
449
|
guids.map(async (guid) => {
|
|
450
450
|
const table = byGuid.get(guid);
|
|
@@ -483,7 +483,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
483
483
|
return;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
const { truncateTable, insertTableRows } = await import("./table-
|
|
486
|
+
const { truncateTable, insertTableRows } = await import("./table-MQFVYA4K.js");
|
|
487
487
|
const done = [];
|
|
488
488
|
for (const t of planned) {
|
|
489
489
|
step(`Resetting ${t.name}`);
|
|
@@ -533,4 +533,4 @@ export {
|
|
|
533
533
|
EXIT_DIFF_MISMATCH,
|
|
534
534
|
runWorkspaceCommand
|
|
535
535
|
};
|
|
536
|
-
//# sourceMappingURL=workspace-command-
|
|
536
|
+
//# sourceMappingURL=workspace-command-GTUNVN7K.js.map
|
|
@@ -14,28 +14,28 @@ import {
|
|
|
14
14
|
renderWorkspaceEnvFile,
|
|
15
15
|
valueProblem,
|
|
16
16
|
workspaceEnvPathIn
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-LLS2WO2K.js";
|
|
18
|
+
import "./chunk-AGD7F7YI.js";
|
|
19
|
+
import "./chunk-F6IKWAIU.js";
|
|
20
|
+
import "./chunk-OGUMHW2X.js";
|
|
21
|
+
import "./chunk-3VX7VAQT.js";
|
|
22
22
|
import "./chunk-ZFDZKNGG.js";
|
|
23
23
|
import "./chunk-FWD7AL6N.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-MYLPOVX6.js";
|
|
25
|
+
import "./chunk-DXUICABI.js";
|
|
26
26
|
import "./chunk-4KHEMC32.js";
|
|
27
27
|
import {
|
|
28
28
|
projectRootFrom
|
|
29
29
|
} from "./chunk-ROY4YAEQ.js";
|
|
30
30
|
import "./chunk-WRBKLYSJ.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-M7GJ6YUF.js";
|
|
32
|
+
import "./chunk-HLQH3AXB.js";
|
|
33
33
|
import "./chunk-LLNZGEFK.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-MF4W6FHU.js";
|
|
35
35
|
import "./chunk-X2NL4KUO.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-M6ZFSTIZ.js";
|
|
37
37
|
import "./chunk-DGWHAVRG.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-XNZURZ7T.js";
|
|
39
39
|
import {
|
|
40
40
|
isRepresentableName,
|
|
41
41
|
safeNames
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
valueProblem,
|
|
68
68
|
workspaceEnvPathIn
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=workspace-env-
|
|
70
|
+
//# sourceMappingURL=workspace-env-467C5KHM.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBranchReadSupported,
|
|
3
3
|
exportWorkspaceBundle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XIABDKFQ.js";
|
|
5
5
|
import "./chunk-3DRXWLJ5.js";
|
|
6
6
|
import "./chunk-X4DVXBFY.js";
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HLQH3AXB.js";
|
|
8
|
+
import "./chunk-MF4W6FHU.js";
|
|
9
9
|
import "./chunk-X2NL4KUO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XNZURZ7T.js";
|
|
11
11
|
import "./chunk-GPI3OWRE.js";
|
|
12
12
|
import "./chunk-UTI5G6OJ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
assertBranchReadSupported,
|
|
19
19
|
exportWorkspaceBundle
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=workspace-export-
|
|
21
|
+
//# sourceMappingURL=workspace-export-3XTVGQVM.js.map
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
unreadableError,
|
|
6
6
|
unwritableBlocker,
|
|
7
7
|
unwritableError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UJ6ZZJDD.js";
|
|
9
9
|
import "./chunk-FWD7AL6N.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XNZURZ7T.js";
|
|
11
11
|
import "./chunk-GPI3OWRE.js";
|
|
12
12
|
import "./chunk-UTI5G6OJ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
unwritableBlocker,
|
|
23
23
|
unwritableError
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=writable-
|
|
25
|
+
//# sourceMappingURL=writable-7SSWUQJ3.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
Xano,
|
|
4
4
|
standaloneDefKind,
|
|
5
5
|
workspace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SRX6B544.js";
|
|
7
7
|
import "./chunk-45ZUMF4E.js";
|
|
8
8
|
import "./chunk-7KPKDHHI.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XJU6UAFV.js";
|
|
10
|
+
import "./chunk-JSEVKRVJ.js";
|
|
11
11
|
import "./chunk-ICK36EGF.js";
|
|
12
12
|
import "./chunk-BEXZ4XRV.js";
|
|
13
13
|
import "./chunk-ETAZIGNT.js";
|
|
14
14
|
import "./chunk-GSGDWJB5.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-VZ22VUAS.js";
|
|
16
16
|
import "./chunk-ERVIASGL.js";
|
|
17
17
|
import "./chunk-VTMTIBKP.js";
|
|
18
18
|
import "./chunk-H2V3N23D.js";
|
|
@@ -20,9 +20,9 @@ import "./chunk-3JDU4VRL.js";
|
|
|
20
20
|
import "./chunk-WTPZRR4I.js";
|
|
21
21
|
import "./chunk-GPI3OWRE.js";
|
|
22
22
|
import "./chunk-UTI5G6OJ.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-OKNE3TWU.js";
|
|
24
24
|
import "./chunk-5ZSO4T2G.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-VQPDATQT.js";
|
|
26
26
|
import "./chunk-ZY55DO5P.js";
|
|
27
27
|
import "./chunk-A2AOUBJS.js";
|
|
28
28
|
import "./chunk-UVF45BVU.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
standaloneDefKind,
|
|
41
41
|
workspace
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=xano-
|
|
43
|
+
//# sourceMappingURL=xano-6RS5XQZE.js.map
|
|
@@ -13,23 +13,23 @@ import {
|
|
|
13
13
|
resetXanoSdkImportDetection,
|
|
14
14
|
withDefaultBranchPointer,
|
|
15
15
|
xanosdkImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QOLOQ35F.js";
|
|
17
17
|
import "./chunk-3DRXWLJ5.js";
|
|
18
18
|
import "./chunk-X4DVXBFY.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-5XVBT6CQ.js";
|
|
20
20
|
import "./chunk-4KHEMC32.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-HLQH3AXB.js";
|
|
22
|
+
import "./chunk-MF4W6FHU.js";
|
|
23
23
|
import "./chunk-X2NL4KUO.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-XNZURZ7T.js";
|
|
25
|
+
import "./chunk-XJU6UAFV.js";
|
|
26
26
|
import "./chunk-H2V3N23D.js";
|
|
27
27
|
import "./chunk-3JDU4VRL.js";
|
|
28
28
|
import "./chunk-GPI3OWRE.js";
|
|
29
29
|
import "./chunk-UTI5G6OJ.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-OKNE3TWU.js";
|
|
31
31
|
import "./chunk-5ZSO4T2G.js";
|
|
32
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-VQPDATQT.js";
|
|
33
33
|
import "./chunk-TFFGOFVZ.js";
|
|
34
34
|
import "./chunk-LL6ED5IB.js";
|
|
35
35
|
import "./chunk-4BW2SG2N.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
withDefaultBranchPointer,
|
|
54
54
|
xanosdkImport
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=xanosdk-import-
|
|
56
|
+
//# sourceMappingURL=xanosdk-import-E3WSIYUE.js.map
|
|
@@ -3,28 +3,28 @@ import {
|
|
|
3
3
|
enterProjectRoot,
|
|
4
4
|
isProjectDir,
|
|
5
5
|
projectDirFrom
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NGAODDLX.js";
|
|
7
|
+
import "./chunk-AGD7F7YI.js";
|
|
8
|
+
import "./chunk-F6IKWAIU.js";
|
|
9
|
+
import "./chunk-OGUMHW2X.js";
|
|
10
|
+
import "./chunk-3VX7VAQT.js";
|
|
11
11
|
import "./chunk-ZFDZKNGG.js";
|
|
12
12
|
import "./chunk-FWD7AL6N.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-MYLPOVX6.js";
|
|
14
|
+
import "./chunk-DXUICABI.js";
|
|
15
15
|
import "./chunk-4KHEMC32.js";
|
|
16
16
|
import "./chunk-ROY4YAEQ.js";
|
|
17
17
|
import "./chunk-WRBKLYSJ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-M7GJ6YUF.js";
|
|
19
19
|
import "./chunk-EUUUMY7J.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-HLQH3AXB.js";
|
|
21
|
+
import "./chunk-JZWUAEMO.js";
|
|
22
22
|
import "./chunk-LLNZGEFK.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-MF4W6FHU.js";
|
|
24
24
|
import "./chunk-X2NL4KUO.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-M6ZFSTIZ.js";
|
|
26
26
|
import "./chunk-DGWHAVRG.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-XNZURZ7T.js";
|
|
28
28
|
import "./chunk-GPI3OWRE.js";
|
|
29
29
|
import "./chunk-UTI5G6OJ.js";
|
|
30
30
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
isProjectDir,
|
|
39
39
|
projectDirFrom
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=xanosdk-project-
|
|
41
|
+
//# sourceMappingURL=xanosdk-project-KH5TZ2KI.js.map
|
package/guides/README.md
CHANGED
|
@@ -18,6 +18,7 @@ typed, so your editor's autocomplete is usually the faster lookup — tab-comple
|
|
|
18
18
|
| [Environment & identity](environment.md) | Every environment variable, and how `xano.lock` pins identity |
|
|
19
19
|
| [The typed frontend surface](typed-frontend.md) | Path resolution, input/response inference, bundle cost, the route manifest |
|
|
20
20
|
| [Pulling an existing workspace](codegen.md) | What `xanosdk init --from` writes, how faithful it is, and how to read its report |
|
|
21
|
+
| [Reading a compiled bundle](bundle.md) | `@xano/sdk/bundle`: walking, hashing and diffing compiled JSON from your own tools |
|
|
21
22
|
| [Coverage & agent grounding](coverage.md) | What's covered, what's out of scope, and the files agents read |
|
|
22
23
|
|
|
23
24
|
## The agent-facing surface
|
package/guides/authoring.md
CHANGED
|
@@ -327,8 +327,7 @@ sources.
|
|
|
327
327
|
increment statement exists. A genuinely safe counter needs the arithmetic in the database
|
|
328
328
|
via `s.db.direct_query`, which in turn needs the table's *physical* Postgres name; that
|
|
329
329
|
name is assigned at import and is not knowable from a `table()` def, so it has to be
|
|
330
|
-
hardcoded after inspecting the deployed table. A typed path requires an engine change
|
|
331
|
-
([issue #35](https://github.com/xanots/sdk/issues/35)).
|
|
330
|
+
hardcoded after inspecting the deployed table. A typed path requires an engine change.
|
|
332
331
|
- **A JavaScript body is written as a function, not a `c.text` string.** The lambda
|
|
333
332
|
statement (`s.lambda`) and eight filters (`fl.map`/`filter`/`some`/`every`/`find`/
|
|
334
333
|
`findIndex`/`reduce`/`lambda`) run JavaScript against a small, closed set of injected
|
|
@@ -402,13 +401,12 @@ sources.
|
|
|
402
401
|
with a **literal specifier is not portable**: some instances bundle the body before
|
|
403
402
|
running it and resolve every literal specifier ahead of time, so `await
|
|
404
403
|
import("node:crypto")` comes back as the text `Could not resolve "node:crypto"` with
|
|
405
|
-
HTTP 200; others resolve it at run time and it works
|
|
406
|
-
([issue #265](https://github.com/xanots/sdk/issues/265)).
|
|
404
|
+
HTTP 200; others resolve it at run time and it works.
|
|
407
405
|
- `console` output goes to the **request log**, not stdout.
|
|
408
406
|
|
|
409
407
|
A plain `c.text(...)` body is still accepted and gets the same build-time check — the
|
|
410
408
|
guard sits at the call site, not inside `lam.*` — so an unknown `$identifier` fails
|
|
411
|
-
whichever way you write it
|
|
409
|
+
whichever way you write it.
|
|
412
410
|
- **`c.expression("…")` is carried through verbatim and NOT validated.** Xano SDK does not
|
|
413
411
|
parse it or type-check it; nothing inside participates in `InferResponse`, so a var named
|
|
414
412
|
there is invisible to a rename that updates every typed `ref()`. A malformed expression
|
package/guides/bundle.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Reading a compiled bundle
|
|
2
|
+
|
|
3
|
+
`@xano/sdk` writes a bundle; `@xano/sdk/bundle` reads one back. It is the surface for
|
|
4
|
+
tools that take compiled JSON as input — a graph view, a diff, a linter, a docs generator —
|
|
5
|
+
so none of them has to reverse-engineer the storage shape and then go quietly wrong when the
|
|
6
|
+
engine grows a new one.
|
|
7
|
+
|
|
8
|
+
A bundle is what `export` writes:
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npx xanosdk export ./xano/index.ts --out workspace.json
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
```ts
|
|
15
|
+
import { readFile } from "node:fs/promises";
|
|
16
|
+
import { statementCatalog, walk } from "@xano/sdk/bundle";
|
|
17
|
+
|
|
18
|
+
const bundle = JSON.parse(await readFile("bundle.json", "utf8"));
|
|
19
|
+
const catalog = statementCatalog();
|
|
20
|
+
|
|
21
|
+
for (const { raw, path, depth } of walk(bundle.payload.query[0].run)) {
|
|
22
|
+
console.log(`${" ".repeat(depth)}${path} ${catalog.get(raw.name)?.sPath ?? raw.name}`);
|
|
23
|
+
}
|
|
24
|
+
// 0 db.query
|
|
25
|
+
// 1 conditional
|
|
26
|
+
// 1.if.0 db.add
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
- **`walk(run)`** → every statement in the tree, each with a `path` and a `depth`. The path
|
|
30
|
+
format (`2.if.0`) is the shared address: a lint finding, a review comment and a runtime
|
|
31
|
+
error written by three different tools all name the same node.
|
|
32
|
+
- **`subStacks(raw)`** → the nested stacks a statement carries, keyed by where they are
|
|
33
|
+
stored and labelled by what they mean — a try/catch and a conditional share the same three
|
|
34
|
+
storage keys. Found by shape, so a nesting form added later is still walked.
|
|
35
|
+
- **`statementCatalog()`** → the stored `mvp:*` name to its authoring path, minus the
|
|
36
|
+
namespace (`mvp:dbo_view` → `db.query`, the `sPath` you write after `s.`) — which is
|
|
37
|
+
the point: the stored name is often not the one you'd guess.
|
|
38
|
+
- **`structuralHash(raw)`** → a diff key for a statement and everything under it, with
|
|
39
|
+
engine-filled operands excluded — so adding a column to a table leaves `db.edit` /
|
|
40
|
+
`db.add_or_edit` unchanged. A `db.add` writes every column, so its hash does change.
|
|
41
|
+
- **`tableRefOf(column)` / `linkedTableOf(column)`** → the table a column points at.
|
|
42
|
+
- **`normalize(value)`** → the normalizer `xanosdk preflight` compares with, for diffing a
|
|
43
|
+
stored workspace against a compiled one.
|
|
44
|
+
|
|
45
|
+
Everything on the entry is pure — no filesystem, network, or Node built-ins — so it runs anywhere.
|