@xano/sdk 1.0.12 → 1.0.14
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 +36 -36
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-YM5VRRHE.js → agent-file-refresh-3J6YRVFL.js} +12 -11
- package/dist/{agent-skill-command-GVVCBAGF.js → agent-skill-command-VWDMQWCT.js} +51 -50
- package/dist/{answer-shape-CBUQRSXI.js → answer-shape-AVZSKBR6.js} +4 -4
- package/dist/{backend-dir-NZOLU7TL.js → backend-dir-ISP7RVF2.js} +11 -10
- package/dist/{backend-slot-X5AUX2TT.js → backend-slot-DZAUHLTS.js} +3 -3
- package/dist/bin.js +47 -46
- package/dist/{branch-YS2K3VOB.js → branch-IJTBZZFO.js} +8 -8
- package/dist/{branch-commands-Q46PCVHU.js → branch-commands-75IYFTBS.js} +26 -25
- package/dist/{chunk-EMAFZROF.js → chunk-2FDHIBEU.js} +8 -8
- package/dist/{chunk-CPFWVB3V.js → chunk-2KOB4QPW.js} +13 -13
- package/dist/{chunk-PCHIHVX6.js → chunk-2LF734YB.js} +4 -4
- package/dist/{chunk-R7XZW4SB.js → chunk-3H7R4ISR.js} +2 -2
- package/dist/{chunk-ANBIMJPM.js → chunk-3SZ7QRYA.js} +36 -10
- package/dist/{chunk-DB7P2SSK.js → chunk-45K2QZBR.js} +3 -3
- package/dist/{chunk-C2SAVXAB.js → chunk-4MX5LMPQ.js} +2 -2
- package/dist/{chunk-IZI3SYXH.js → chunk-5FJ4M4HB.js} +38 -38
- package/dist/{chunk-LDSZPRGV.js → chunk-5TWLVFYB.js} +4 -4
- package/dist/{chunk-JKGRQW6D.js → chunk-5W7S2SCA.js} +4 -4
- package/dist/{chunk-F2NFNYCB.js → chunk-6ILHYSLR.js} +3 -3
- package/dist/{chunk-IFXPHVPY.js → chunk-6LJS4M6P.js} +3 -3
- package/dist/{chunk-CTUIMNEM.js → chunk-6X73VFCX.js} +2 -2
- package/dist/{chunk-DZUNF7IH.js → chunk-75QC66XI.js} +2 -2
- package/dist/{chunk-5SZSLAAC.js → chunk-7F3V6CFP.js} +3 -3
- package/dist/{chunk-2PAVJ3QD.js → chunk-B7CPSWQX.js} +7 -7
- package/dist/{chunk-4CS4DKQC.js → chunk-BEKEOXNG.js} +2 -2
- package/dist/{chunk-EC5P4W2D.js → chunk-BSGU4HS6.js} +44 -44
- package/dist/{chunk-U5CTYBAN.js → chunk-CB67GIR3.js} +26 -8
- package/dist/{chunk-M7DIIJPW.js → chunk-DBDTQR23.js} +4 -4
- package/dist/{chunk-5RSPMSSQ.js → chunk-DERQSEB5.js} +9 -9
- package/dist/{chunk-RZABQ4YH.js → chunk-DGYXCIBV.js} +4 -4
- package/dist/{chunk-BXVNRUDB.js → chunk-DLDYQNGP.js} +3 -3
- package/dist/{chunk-I2AVVARA.js → chunk-ECQXASG3.js} +2 -2
- package/dist/{chunk-2BHYGUTI.js → chunk-EQXHUWUO.js} +2 -2
- package/dist/{chunk-ONNSFD73.js → chunk-EYVIUX2T.js} +9 -9
- package/dist/{chunk-JFPLHK6Y.js → chunk-FBSGFPZ4.js} +2 -2
- package/dist/{chunk-EGEANMMK.js → chunk-FIERONKM.js} +2 -2
- package/dist/{chunk-K6BQPFRS.js → chunk-GBSHHNSD.js} +3 -3
- package/dist/{chunk-N3XSXGAL.js → chunk-GCINMMFL.js} +2 -2
- package/dist/{chunk-POZ6V4MU.js → chunk-GKQTXUOW.js} +2 -2
- package/dist/{chunk-HJSAGGHU.js → chunk-GOKRKTCX.js} +3 -3
- package/dist/{chunk-D4VKPOD4.js → chunk-GRXX2TOJ.js} +13 -112
- package/dist/{chunk-YJK4NPXC.js → chunk-GVHWIDEJ.js} +3 -3
- package/dist/{chunk-NZ7ML6LG.js → chunk-HINRE3UM.js} +5 -5
- package/dist/{chunk-OKR66IGL.js → chunk-HK554MDD.js} +7 -7
- package/dist/{chunk-WXLZCBPG.js → chunk-HKI5Y5KW.js} +14 -14
- package/dist/{chunk-HA5Y645X.js → chunk-HMYJOQXT.js} +23 -23
- package/dist/{chunk-DILYWJVP.js → chunk-HXFLHA5K.js} +2 -2
- package/dist/{chunk-A2AOUBJS.js → chunk-IHL2O7VY.js} +2 -2
- package/dist/{chunk-FLDFKG24.js → chunk-IKXXTRMN.js} +4 -4
- package/dist/{chunk-UZ55F3UK.js → chunk-IWJ6GFST.js} +4 -4
- package/dist/{chunk-AMHAGMJM.js → chunk-J3XLCYTQ.js} +80 -80
- package/dist/{chunk-2K2G5TSR.js → chunk-J62TYONQ.js} +3 -3
- package/dist/{chunk-MFEO3EHL.js → chunk-KDEU5FUJ.js} +3 -3
- package/dist/{chunk-VA4JK4TW.js → chunk-KMKUH2IO.js} +3 -3
- package/dist/{chunk-VTMTIBKP.js → chunk-L34DM6QB.js} +2 -2
- package/dist/{chunk-PBIV4DE2.js → chunk-L4WG4BKJ.js} +68 -68
- package/dist/{chunk-7XOQXZ6W.js → chunk-LB76VK6D.js} +7 -7
- package/dist/{chunk-E763QI3G.js → chunk-LJZIBT75.js} +2 -2
- package/dist/{chunk-ETMP7SJ3.js → chunk-LPQZICYN.js} +6 -6
- package/dist/{chunk-UFFIU57H.js → chunk-LSJ3SQEU.js} +4 -4
- package/dist/{chunk-RFB4EXM5.js → chunk-LW7TOIS7.js} +8 -8
- package/dist/{chunk-TOW4EJON.js → chunk-MAXDJZQR.js} +5 -5
- package/dist/{chunk-7NNLRNXE.js → chunk-MIS6F4HM.js} +4 -4
- package/dist/{chunk-WZXEQUIM.js → chunk-MTBKTGZT.js} +2 -2
- package/dist/{chunk-74NRFGL7.js → chunk-MYIIBV6A.js} +5 -5
- package/dist/{chunk-3RZ4UJWV.js → chunk-N6LGLNAC.js} +4 -4
- package/dist/{chunk-H7GMGZHI.js → chunk-NDV6CBR7.js} +2 -2
- package/dist/{chunk-RNVGXJJZ.js → chunk-NOW522B4.js} +13 -13
- package/dist/{chunk-DFCYAEBE.js → chunk-NUZXSIEA.js} +3 -3
- package/dist/{chunk-DYGRTWAI.js → chunk-O44MJTLR.js} +3 -3
- package/dist/{chunk-DH32QXVI.js → chunk-OLQN4Z5R.js} +53 -61
- package/dist/{chunk-2RDZDDPR.js → chunk-P4OWRYE7.js} +28 -28
- package/dist/{chunk-373AVIL2.js → chunk-QAEBBTYR.js} +7 -7
- package/dist/{chunk-6IOBEJWA.js → chunk-QJ25N4W6.js} +4 -4
- package/dist/{chunk-OK7CBTFW.js → chunk-QKHNJ7LE.js} +5 -5
- package/dist/{chunk-3ZVSOZZC.js → chunk-QRMKQYCB.js} +2 -2
- package/dist/{chunk-4GSXWOBS.js → chunk-QX5XQEYB.js} +5 -7
- package/dist/{chunk-4COXXP55.js → chunk-RDZBXTZ3.js} +4 -4
- package/dist/{chunk-U4DSFCH5.js → chunk-RPBB7P4Q.js} +2 -2
- package/dist/{chunk-W5MKVFBQ.js → chunk-RV2BDU7V.js} +5 -5
- package/dist/{chunk-XFQAA2SU.js → chunk-RVAEPPRH.js} +2 -2
- package/dist/{chunk-6QJORUHC.js → chunk-RYWNNJK5.js} +2 -2
- package/dist/{chunk-JPAUQ7MK.js → chunk-SAEIVQLP.js} +3 -3
- package/dist/{chunk-H5FAYLCR.js → chunk-SPLRKCFV.js} +2 -2
- package/dist/{chunk-3XZ44H2E.js → chunk-SUKO4SZG.js} +63 -55
- package/dist/{chunk-B5N6EWOM.js → chunk-UQ2OD7D4.js} +3 -3
- package/dist/{chunk-G3A3XKCS.js → chunk-VBSCWV5H.js} +49 -49
- package/dist/chunk-VYJYDMY6.js +9 -0
- package/dist/{chunk-C4TZP5PQ.js → chunk-WS2X5BB2.js} +5 -5
- package/dist/{chunk-P5JF3U65.js → chunk-WS4BA75E.js} +37 -4
- package/dist/{chunk-SAYHY2N3.js → chunk-XCFQLP6G.js} +8 -8
- package/dist/{chunk-OCNTMJSY.js → chunk-XPSDDTUZ.js} +3 -3
- package/dist/{chunk-OBRMA2VK.js → chunk-XY4OBD26.js} +3 -3
- package/dist/{chunk-XVOODRNK.js → chunk-Y5XAPLZS.js} +4 -4
- package/dist/{chunk-WQNN6WLB.js → chunk-YFQCDLCQ.js} +14 -14
- package/dist/{chunk-SAKWZG5I.js → chunk-YL3WVBR5.js} +9 -9
- package/dist/{chunk-XM56DAM7.js → chunk-YR3MNGWZ.js} +8 -8
- package/dist/{chunk-HUEFVPYW.js → chunk-YTQYP7UJ.js} +3 -3
- package/dist/{chunk-KICERNAP.js → chunk-Z3DQ7ULY.js} +4 -4
- package/dist/{chunk-JHQAVWHW.js → chunk-Z4BQPABS.js} +2 -2
- package/dist/{chunk-6LECAG3Y.js → chunk-ZMJRAMLA.js} +4 -4
- package/dist/{chunk-AUYXBKGR.js → chunk-ZOHEHIFS.js} +2 -2
- package/dist/{chunk-A3CT26GX.js → chunk-ZRXDPCMN.js} +2 -2
- package/dist/cli.js +45 -44
- package/dist/{codegen-command-H3HO7UFA.js → codegen-command-JWOW6HE5.js} +63 -62
- package/dist/codegen.js +2 -2
- package/dist/{commands-IFRAGWGK.js → commands-5ILSWDSV.js} +2 -2
- package/dist/{completion-RTXCODHS.js → completion-UNKBVVDT.js} +2 -2
- package/dist/{config-EHFXNFSP.js → config-NTOASFCA.js} +3 -3
- package/dist/{deploy-command-7PWQJ4VV.js → deploy-command-WESYWFJN.js} +52 -51
- package/dist/{deploy-source-CJHEVGOS.js → deploy-source-ZQQNMDFX.js} +27 -26
- package/dist/{dev-env-sync-VVLYQUPR.js → dev-env-sync-4XJT7WOT.js} +46 -45
- package/dist/{display-name-hint-BKPMISQU.js → display-name-hint-MYXCCAOP.js} +10 -10
- package/dist/{env-example-refresh-GLFC2FTE.js → env-example-refresh-4V2OCDJE.js} +64 -63
- package/dist/{env-pull-command-OY3SXNJC.js → env-pull-command-SK5FS477.js} +42 -41
- package/dist/{env-target-PDDDAA5I.js → env-target-TEFSYACA.js} +9 -9
- package/dist/{env-var-command-UTYDJN24.js → env-var-command-IJHKA2WJ.js} +37 -36
- package/dist/{ephemeral-CART6DIR.js → ephemeral-VLPRDNEJ.js} +8 -8
- package/dist/{ephemeral-command-ALIHUF7G.js → ephemeral-command-WCO5J4SN.js} +43 -42
- package/dist/{ephemeral-state-HPKSKC4Y.js → ephemeral-state-RUOU2GFS.js} +7 -7
- package/dist/{generate-command-S37XFYPD.js → generate-command-3WCOUOEQ.js} +68 -67
- package/dist/{gitignore-DKDWGWPS.js → gitignore-WYS3GMOX.js} +15 -14
- package/dist/{guards-RU4C7TFG.js → guards-PPIBIMFZ.js} +6 -6
- package/dist/{impersonate-command-HPCSKJAV.js → impersonate-command-UMYVQTCG.js} +33 -32
- package/dist/{import-RUBCGLCA.js → import-T4ZTOTBT.js} +4 -4
- package/dist/index.js +11 -11
- package/dist/{init-command-RWXBXJPG.js → init-command-UR5MSXIH.js} +50 -51
- package/dist/{init-modules-LFLW2PQC.js → init-modules-7KALFI5C.js} +7 -7
- package/dist/{init-web-OGKACAOC.js → init-web-DYE2FEXL.js} +2 -2
- package/dist/internal.js +72 -66
- package/dist/{keep-data-merge-7JGGZKDM.js → keep-data-merge-OVHCIEBG.js} +24 -24
- package/dist/{lambda-config-reconcile-FXPDH2U5.js → lambda-config-reconcile-VOBVZPWS.js} +3 -3
- package/dist/{landing-record-QJV7KNS4.js → landing-record-AIHNW4AZ.js} +17 -16
- package/dist/{live-diff-HARRGFV4.js → live-diff-UMSOGPX3.js} +6 -6
- package/dist/{local-engine-choice-NNSHE5FO.js → local-engine-choice-XDGTATKJ.js} +30 -29
- package/dist/{local-engine-command-UGIZ4UO6.js → local-engine-command-VQWNQ7UK.js} +35 -34
- package/dist/{local-engine-deploy-ZZVHBI2X.js → local-engine-deploy-4N4NFZ4T.js} +11 -11
- package/dist/{local-engine-lookup-QFRKO35F.js → local-engine-lookup-AQTUGSBT.js} +2 -2
- package/dist/{local-engine-mcp-bridge-T2EFRRAF.js → local-engine-mcp-bridge-AMYRH4SY.js} +9 -9
- package/dist/{local-engine-mcp-command-YUSZC7MF.js → local-engine-mcp-command-AIMNMXQG.js} +41 -48
- package/dist/{local-engine-process-XH35DURU.js → local-engine-process-OD5OSWDG.js} +6 -6
- package/dist/{local-engine-update-check-HAXE7BVG.js → local-engine-update-check-G3YCBXRE.js} +4 -4
- package/dist/{lock-commands-VT4R2DEE.js → lock-commands-H3YV2D6M.js} +50 -49
- package/dist/{login-command-4D3KPQUY.js → login-command-NMM3JNDZ.js} +23 -22
- package/dist/{logout-command-ALKHCJKS.js → logout-command-7DYC6G32.js} +13 -12
- package/dist/{loop-QHZD37KX.js → loop-DJNIHC7O.js} +6 -6
- package/dist/{marketplace-command-64TE2NGV.js → marketplace-command-UCSHDZGO.js} +33 -33
- package/dist/{marketplace-resolve-HPCRNV5O.js → marketplace-resolve-JR4BBJ6K.js} +5 -5
- package/dist/{meta-client-7MLLUZB4.js → meta-client-CD3TXQP6.js} +10 -10
- package/dist/{module-manifest-EFE6JBZW.js → module-manifest-63I5GRK4.js} +3 -3
- package/dist/node.js +50 -49
- package/dist/{operation-outcome-TYAOVNOM.js → operation-outcome-2ONIIDRU.js} +19 -19
- package/dist/{output-target-63ECBUX2.js → output-target-67LHZKCO.js} +16 -15
- package/dist/{plan-disclosure-WEMB5ZJ2.js → plan-disclosure-T7DF4SRJ.js} +16 -16
- package/dist/{plugin-contributions-U5PAZKBE.js → plugin-contributions-YYEP7IWH.js} +4 -4
- package/dist/{plugin-prompt-O5PAMV5B.js → plugin-prompt-GKCQKNYI.js} +4 -4
- package/dist/{plugin-questions-ZVYNKDRB.js → plugin-questions-P7MA3TYI.js} +3 -3
- package/dist/plugin.d.ts +2 -1
- package/dist/{preflight-command-OUVAX5IJ.js → preflight-command-TJ7FURXB.js} +56 -55
- package/dist/{profile-command-NUO5U2HQ.js → profile-command-LDPLTJEJ.js} +24 -23
- package/dist/{profile-pointer-VTOZDBHM.js → profile-pointer-JJ7K5O2R.js} +3 -3
- package/dist/{project-dependency-EZNTHMWI.js → project-dependency-X3KCWBK5.js} +6 -6
- package/dist/{project-sdk-ZGJM4WYQ.js → project-sdk-YHJZRCNB.js} +3 -3
- package/dist/promote-command-RURHOLNR.js +148 -0
- package/dist/{prompt-F7UVH4GP.js → prompt-QNMJIWNI.js} +3 -3
- package/dist/{publish-command-KVGNFBSU.js → publish-command-IIRN6NWN.js} +55 -54
- package/dist/{pull-command-OVXIMVUB.js → pull-command-ITO76ENU.js} +66 -65
- package/dist/{pull-superseded-77UZ7CHH.js → pull-superseded-6HADGGC5.js} +3 -3
- package/dist/{release-command-E54WUJKB.js → release-command-CVGIUD4M.js} +60 -59
- package/dist/{release-ns-command-SLRL3O3W.js → release-ns-command-YLCQPVH3.js} +78 -77
- package/dist/{retry-command-S5QALD5Z.js → retry-command-LFZYEVRU.js} +7 -7
- package/dist/{routes-manifest-ET2TTSCL.js → routes-manifest-R3TQRB24.js} +6 -6
- package/dist/{routes-manifest-file-IX4TOZCO.js → routes-manifest-file-GYNYFKAH.js} +9 -9
- package/dist/scaffold.d.ts +0 -5
- package/dist/scaffold.js +2 -2
- package/dist/{secrets-file-4NQWGCJG.js → secrets-file-PCNAFXNV.js} +15 -14
- package/dist/{secrets-fill-command-5NNHSYFX.js → secrets-fill-command-G7NQMRXU.js} +49 -48
- package/dist/{seed-5YLQRT2D.js → seed-4CD55LB4.js} +6 -6
- package/dist/{source-resolve-HSJSVKUC.js → source-resolve-U4SJR7ZA.js} +17 -17
- package/dist/{static-host-TQP3FXPI.js → static-host-MO4VDHL7.js} +4 -4
- package/dist/{status-command-UFIMW7SZ.js → status-command-CD72PXIT.js} +60 -34
- package/dist/{store-ZE5BXCOW.js → store-AJX4MC7Y.js} +5 -5
- package/dist/{sync-baseline-JGAAOS25.js → sync-baseline-BJDKG4F2.js} +7 -7
- package/dist/{sync-contributions-35ZAYBUH.js → sync-contributions-XK6LHISZ.js} +8 -8
- package/dist/{sync-record-ILWS44DG.js → sync-record-NE62ERA3.js} +9 -9
- package/dist/{table-V3LTQUY6.js → table-WPRAM4VW.js} +8 -8
- package/dist/{tables-command-TISOU6DR.js → tables-command-NMTKR52H.js} +35 -34
- package/dist/{tenant-7WUS7Q6V.js → tenant-IIYECNWO.js} +9 -9
- package/dist/{tenant-command-ITCPN43T.js → tenant-command-XQAWT46C.js} +83 -82
- package/dist/{test-command-7SFAJ6HX.js → test-command-W4AD4KT4.js} +32 -31
- package/dist/{tests-ENFUACKD.js → tests-JWQRHFCT.js} +5 -5
- package/dist/{token-OXGOA6WE.js → token-P3VQ6ITJ.js} +9 -8
- package/dist/{toolchain-hooks-QIFGPGH2.js → toolchain-hooks-UAJBPSTC.js} +8 -8
- package/dist/{toolchain-modules-Q3Z6APPF.js → toolchain-modules-S3MPHCUI.js} +4 -4
- package/dist/{toolchain-peers-K44IINPG.js → toolchain-peers-FQJBTKEB.js} +7 -7
- package/dist/{tracked-backend-IYTIZZYV.js → tracked-backend-WWEPNUD5.js} +30 -29
- package/dist/{update-check-LSCQRDRR.js → update-check-O7QC5TBB.js} +48 -47
- package/dist/{upgrade-command-RQEQJO5Y.js → upgrade-command-J6LRNHYF.js} +51 -50
- package/dist/{whoami-command-NT3FVBZM.js → whoami-command-KWRP2CII.js} +12 -11
- package/dist/{workspace-5RHOJC7K.js → workspace-3YNK4XO4.js} +4 -4
- package/dist/{workspace-binding-YUU6KB53.js → workspace-binding-TTDNXHO5.js} +11 -10
- package/dist/{workspace-command-QSJHX5RS.js → workspace-command-W4ANGLCZ.js} +79 -78
- package/dist/{workspace-env-M7RYVJB3.js → workspace-env-6LJGCTZA.js} +12 -11
- package/dist/{workspace-export-GHMUSX2P.js → workspace-export-PUEXKZNS.js} +4 -4
- package/dist/{writable-Y6CE2CGK.js → writable-LMMG4AFZ.js} +3 -3
- package/dist/{xano-2A2GT7EH.js → xano-Z3SRHYOR.js} +7 -7
- package/dist/{xanosdk-import-4TLNYFKC.js → xanosdk-import-PNNMZ4SF.js} +5 -5
- package/dist/{xanosdk-project-4NH6332J.js → xanosdk-project-YW3BQY2E.js} +13 -12
- package/guides/README.md +3 -3
- package/guides/authoring.md +24 -18
- package/guides/bundle.md +2 -2
- package/guides/cli.md +204 -191
- package/guides/codegen.md +20 -19
- package/guides/codes.md +3 -3
- package/guides/coverage.md +5 -4
- package/guides/deploying.md +140 -133
- package/guides/environment.md +38 -38
- package/guides/marketplace.md +35 -29
- package/guides/module-contract.md +20 -15
- package/guides/object-kinds.md +12 -9
- package/guides/project-structure.md +4 -4
- package/guides/scaffold.md +44 -32
- package/guides/typed-frontend.md +10 -9
- package/llms/client.md +4 -4
- package/llms/errors.md +2 -2
- package/llms/fields.md +1 -1
- package/llms/kinds-agent-mcp.md +1 -1
- package/llms/kinds-knowledge.md +2 -2
- package/llms/kinds-realtime.md +2 -2
- package/llms/lock.md +3 -3
- package/llms/object-kinds.md +2 -2
- package/llms/statements-calls.md +1 -1
- package/llms/statements-runtime.md +2 -2
- package/llms/tests.md +3 -3
- package/llms/toolchain.md +2 -2
- package/llms-full.txt +61 -58
- package/llms.txt +36 -33
- package/manifest.json +2 -2
- package/package.json +1 -1
- package/skills/xano-backend/SKILL.md +7 -7
- package/dist/promote-command-MGLAYQDY.js +0 -147
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBranchReadSupported,
|
|
3
3
|
exportWorkspaceBundle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3H7R4ISR.js";
|
|
5
5
|
import "./chunk-3DRXWLJ5.js";
|
|
6
6
|
import "./chunk-X4DVXBFY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-HXFLHA5K.js";
|
|
8
8
|
import "./chunk-MF4W6FHU.js";
|
|
9
9
|
import "./chunk-X2NL4KUO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-GRXX2TOJ.js";
|
|
11
11
|
import "./chunk-YEH5OIPF.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-PUEXKZNS.js.map
|
|
@@ -5,9 +5,9 @@ import {
|
|
|
5
5
|
unreadableError,
|
|
6
6
|
unwritableBlocker,
|
|
7
7
|
unwritableError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ZOHEHIFS.js";
|
|
9
9
|
import "./chunk-FWD7AL6N.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-GRXX2TOJ.js";
|
|
11
11
|
import "./chunk-YEH5OIPF.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-LMMG4AFZ.js.map
|
|
@@ -3,18 +3,18 @@ import {
|
|
|
3
3
|
Xano,
|
|
4
4
|
standaloneDefKind,
|
|
5
5
|
workspace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Z3DQ7ULY.js";
|
|
7
7
|
import "./chunk-45ZUMF4E.js";
|
|
8
8
|
import "./chunk-76SBT7KS.js";
|
|
9
9
|
import "./chunk-7FIMUFBP.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-HINRE3UM.js";
|
|
11
11
|
import "./chunk-ICK36EGF.js";
|
|
12
12
|
import "./chunk-AXNX4NWN.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-6ILHYSLR.js";
|
|
14
14
|
import "./chunk-GSGDWJB5.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-UQ2OD7D4.js";
|
|
16
16
|
import "./chunk-ERVIASGL.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-L34DM6QB.js";
|
|
18
18
|
import "./chunk-H2V3N23D.js";
|
|
19
19
|
import "./chunk-3JDU4VRL.js";
|
|
20
20
|
import "./chunk-WTPZRR4I.js";
|
|
@@ -24,7 +24,7 @@ import "./chunk-5KJBWIDZ.js";
|
|
|
24
24
|
import "./chunk-5ZSO4T2G.js";
|
|
25
25
|
import "./chunk-VQPDATQT.js";
|
|
26
26
|
import "./chunk-ZY55DO5P.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-IHL2O7VY.js";
|
|
28
28
|
import "./chunk-Z6N5N4MN.js";
|
|
29
29
|
import "./chunk-VAX3UZOY.js";
|
|
30
30
|
import "./chunk-LL6ED5IB.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
standaloneDefKind,
|
|
41
41
|
workspace
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=xano-
|
|
43
|
+
//# sourceMappingURL=xano-Z3SRHYOR.js.map
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
resetXanoSdkImportDetection,
|
|
14
14
|
withDefaultBranchPointer,
|
|
15
15
|
xanosdkImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-IWJ6GFST.js";
|
|
17
17
|
import "./chunk-3DRXWLJ5.js";
|
|
18
18
|
import "./chunk-X4DVXBFY.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-RYWNNJK5.js";
|
|
20
|
+
import "./chunk-HXFLHA5K.js";
|
|
21
21
|
import "./chunk-4KHEMC32.js";
|
|
22
22
|
import "./chunk-MF4W6FHU.js";
|
|
23
23
|
import "./chunk-X2NL4KUO.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-GRXX2TOJ.js";
|
|
25
25
|
import "./chunk-7FIMUFBP.js";
|
|
26
26
|
import "./chunk-H2V3N23D.js";
|
|
27
27
|
import "./chunk-3JDU4VRL.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
withDefaultBranchPointer,
|
|
54
54
|
xanosdkImport
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=xanosdk-import-
|
|
56
|
+
//# sourceMappingURL=xanosdk-import-PNNMZ4SF.js.map
|
|
@@ -3,29 +3,30 @@ import {
|
|
|
3
3
|
enterProjectRoot,
|
|
4
4
|
isProjectDir,
|
|
5
5
|
projectDirFrom
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QJ25N4W6.js";
|
|
7
7
|
import "./chunk-EUUUMY7J.js";
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-KDEU5FUJ.js";
|
|
9
|
+
import "./chunk-SUKO4SZG.js";
|
|
10
|
+
import "./chunk-YL3WVBR5.js";
|
|
11
|
+
import "./chunk-5W7S2SCA.js";
|
|
12
12
|
import "./chunk-ZFDZKNGG.js";
|
|
13
13
|
import "./chunk-FWD7AL6N.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-WS2X5BB2.js";
|
|
15
15
|
import "./chunk-DXUICABI.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-HXFLHA5K.js";
|
|
17
17
|
import "./chunk-4KHEMC32.js";
|
|
18
18
|
import "./chunk-DNBP4GJN.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-SPLRKCFV.js";
|
|
20
20
|
import "./chunk-WAVNUTMT.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-ECQXASG3.js";
|
|
22
22
|
import "./chunk-LLNZGEFK.js";
|
|
23
23
|
import "./chunk-HU7F56VF.js";
|
|
24
24
|
import "./chunk-MF4W6FHU.js";
|
|
25
25
|
import "./chunk-X2NL4KUO.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-5FJ4M4HB.js";
|
|
27
27
|
import "./chunk-LJM5CIY4.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-VYJYDMY6.js";
|
|
29
|
+
import "./chunk-GRXX2TOJ.js";
|
|
29
30
|
import "./chunk-YEH5OIPF.js";
|
|
30
31
|
import "./chunk-UTI5G6OJ.js";
|
|
31
32
|
import "./chunk-5ZSO4T2G.js";
|
|
@@ -39,4 +40,4 @@ export {
|
|
|
39
40
|
isProjectDir,
|
|
40
41
|
projectDirFrom
|
|
41
42
|
};
|
|
42
|
-
//# sourceMappingURL=xanosdk-project-
|
|
43
|
+
//# sourceMappingURL=xanosdk-project-YW3BQY2E.js.map
|
package/guides/README.md
CHANGED
|
@@ -6,7 +6,7 @@ typed, so your editor's autocomplete is usually the faster lookup — tab-comple
|
|
|
6
6
|
|
|
7
7
|
| Guide | What's in it |
|
|
8
8
|
|---|---|
|
|
9
|
-
| [The scaffolded project](scaffold.md) | What `
|
|
9
|
+
| [The scaffolded project](scaffold.md) | What `npx @xano/sdk init` writes, the two frontend presets, no frontend, existing apps, add-ons, SvelteKit rules |
|
|
10
10
|
| [Project structure](project-structure.md) | How a `xano/` project is laid out, and why registration is explicit |
|
|
11
11
|
| [The marketplace](marketplace.md) | Finding add-ons, the two kinds of module, and the install/reinstall/remove lifecycle |
|
|
12
12
|
| [The module contract](module-contract.md) | Building an add-on: the manifest fields, the plugin types, every hook, and what is refused |
|
|
@@ -14,10 +14,10 @@ typed, so your editor's autocomplete is usually the faster lookup — tab-comple
|
|
|
14
14
|
| [Authoring reference](authoring.md) | Tables and fields, statements, values, inputs, middleware, request history |
|
|
15
15
|
| [CLI](cli.md) | Every command, the agent skill, shell completion, and what failures look like |
|
|
16
16
|
| [Warning and error codes](codes.md) | Every code the CLI and the build emit, with what it means (generated) |
|
|
17
|
-
| [Signing in & deploying](deploying.md) | Auth, ephemerals, `--static`, releasing to production, `
|
|
17
|
+
| [Signing in & deploying](deploying.md) | Auth, ephemerals, `--static`, releasing to production, `npx @xano/sdk preflight` |
|
|
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
|
-
| [Pulling an existing workspace](codegen.md) | What `
|
|
20
|
+
| [Pulling an existing workspace](codegen.md) | What `npx @xano/sdk init --from` writes, how faithful it is, and how to read its report |
|
|
21
21
|
| [Reading a compiled bundle](bundle.md) | `@xano/sdk/bundle`: walking, hashing and diffing compiled JSON from your own tools |
|
|
22
22
|
| [Coverage & agent grounding](coverage.md) | What's covered, what's out of scope, and the files agents read |
|
|
23
23
|
|
package/guides/authoring.md
CHANGED
|
@@ -553,9 +553,11 @@ query({
|
|
|
553
553
|
happened by the time the override lands.
|
|
554
554
|
- A `resultStrategy: "replace"` middleware attached `post` rewrites the response at runtime,
|
|
555
555
|
which `InferResponse` can't see — declare `responseShape` on the endpoint.
|
|
556
|
-
- `workspaceConfig` also carries `realtime`, `documentation`, and `swagger
|
|
557
|
-
server-shaped and carried verbatim rather than authored
|
|
558
|
-
workspace-level block, not the realtime primitives you author.
|
|
556
|
+
- `workspaceConfig` also carries `realtime`, `documentation`, and `swagger`. `realtime` is
|
|
557
|
+
server-shaped and carried verbatim rather than authored — it is the **legacy**
|
|
558
|
+
workspace-level block, not the realtime primitives you author. `documentation` is the
|
|
559
|
+
authored gate on the hosted docs (omit it to leave the target's alone), and `swagger` is a
|
|
560
|
+
boolean (default `false`).
|
|
559
561
|
|
|
560
562
|
**The canonical rate-limit middleware.** Build the per-user key with the filter chain
|
|
561
563
|
(`"prefix" + auth("id")` doesn't exist):
|
|
@@ -651,16 +653,17 @@ workspaceConfig({ name: "my-app", env: { STRIPE_KEY: "" } });
|
|
|
651
653
|
|
|
652
654
|
```bash
|
|
653
655
|
# xano/.env — gitignored, preserved across a pull, and read with no flag by every
|
|
654
|
-
# command that compiles a bundle (deploy, export, preflight
|
|
656
|
+
# command that compiles a bundle (deploy, export, preflight, workspace diff,
|
|
657
|
+
# workspace reset-tables, and release create's comparison).
|
|
655
658
|
STRIPE_KEY=sk_live_...
|
|
656
659
|
```
|
|
657
660
|
|
|
658
|
-
`xano/.env.example` is generated beside it listing the declared names, and `
|
|
661
|
+
`xano/.env.example` is generated beside it listing the declared names, and `npx @xano/sdk env pull`
|
|
659
662
|
fills `xano/.env` from a running backend after confirming. Two flags override the default:
|
|
660
663
|
|
|
661
664
|
```bash
|
|
662
|
-
|
|
663
|
-
|
|
665
|
+
npx @xano/sdk deploy --backend-env-file ci.env # REPLACES the default (CI has no xano/.env)
|
|
666
|
+
npx @xano/sdk deploy --env-var STRIPE_KEY=sk_live_... # one value, beats both files
|
|
664
667
|
```
|
|
665
668
|
|
|
666
669
|
A deploy REPLACES the workspace's env set, so a declared name that no file and no flag
|
|
@@ -685,15 +688,15 @@ groups that legitimately share a name keep their own tokens.
|
|
|
685
688
|
|
|
686
689
|
A literal `token` in source fails the export — there is no migration path, because declaring
|
|
687
690
|
the gate covers every use and the literal form's only distinguishing property is that it commits
|
|
688
|
-
a secret. `
|
|
691
|
+
a secret. `npx @xano/sdk pull` writes the value to the sidecar, reports every scope it carried, and
|
|
689
692
|
every build reads it back, so pull-then-deploy restores the gate with no step in between.
|
|
690
693
|
|
|
691
694
|
A gate you write here is the other direction: there is no live value to pull, because the
|
|
692
|
-
object has never had one. `
|
|
695
|
+
object has never had one. `npx @xano/sdk secrets fill` mints one for every declared gate the sidecar
|
|
693
696
|
has no value for, and leaves every value it already holds alone:
|
|
694
697
|
|
|
695
698
|
```bash
|
|
696
|
-
|
|
699
|
+
npx @xano/sdk secrets fill # or `npx @xano/sdk secrets fill ./xano/index.ts`
|
|
697
700
|
```
|
|
698
701
|
|
|
699
702
|
It writes nothing when every gate is already filled, so it is safe to re-run. A minted token
|
|
@@ -731,7 +734,7 @@ values stay inert. Two consequences to plan around:
|
|
|
731
734
|
- A release carries no env values. A **newly declared** name the target does not hold yet
|
|
732
735
|
is not created by `promote` or `tenant deploy`: the release's objects read it as null there
|
|
733
736
|
until it is set. Both commands name every env var the release reads that the target lacks,
|
|
734
|
-
before the confirmation, with the `printf %s "$VALUE" |
|
|
737
|
+
before the confirmation, with the `printf %s "$VALUE" | npx @xano/sdk env set NAME --to … --yes`
|
|
735
738
|
that sets it.
|
|
736
739
|
- `deploy --to workspace --replace` rebuilds the workspace, so the env set becomes exactly what the config
|
|
737
740
|
declares. Every env var the target holds that your config does not declare is DROPPED —
|
|
@@ -740,7 +743,7 @@ values stay inert. Two consequences to plan around:
|
|
|
740
743
|
holds: by definition the project never declared it. Declare the name to keep it, or merge
|
|
741
744
|
without `--replace`.
|
|
742
745
|
|
|
743
|
-
> ⚠️ The refusal is part of the COMPILE, so `
|
|
746
|
+
> ⚠️ The refusal is part of the COMPILE, so `npx @xano/sdk deploy --bundle <path>` does not get it:
|
|
744
747
|
> a pre-built bundle carries whatever env it was built with, and deploying it sends exactly
|
|
745
748
|
> that. A build-once-deploy-the-artifact pipeline therefore has to resolve its values at
|
|
746
749
|
> BUILD time — pass `--backend-env-file`/`--env-var` to the `export` that produces the bundle, and
|
|
@@ -840,7 +843,7 @@ Four things that are easy to get wrong:
|
|
|
840
843
|
- **`create_only` is the whole idempotency mechanism.** Without it the write always succeeds
|
|
841
844
|
and the branch always runs, so the guard reads as present and does nothing.
|
|
842
845
|
- **Redis is an instance capability.** On an instance without cache support every
|
|
843
|
-
`s.redis.*` statement fails at request time; `
|
|
846
|
+
`s.redis.*` statement fails at request time; `npx @xano/sdk export` lists what a bundle needs.
|
|
844
847
|
The unique index on `webhook_events.provider_event_id` above is the durable fallback — the insert fails on a
|
|
845
848
|
duplicate rather than being skipped, so wrap it in `s.try_catch` if you take that route.
|
|
846
849
|
|
|
@@ -886,9 +889,12 @@ with `allRows: true`, which wipes the table and returns the deleted count — th
|
|
|
886
889
|
longer be reached by forgetting an argument. Reach for `s.db.truncate({ table, reset: true })`
|
|
887
890
|
when the id sequence should restart too.
|
|
888
891
|
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
+
A deploy without `--keep-data` is a full replace, so it re-seeds cleanly — no duplicate
|
|
893
|
+
rows. The scaffolded `xano:deploy` passes `--keep-data`, which merges and leaves table rows
|
|
894
|
+
alone (`--reset` forces the replace and re-seed). A `--to` merge writes seed rows only with
|
|
895
|
+
`--seed`, and `workspace reset-tables` puts named tables back to their seeds. Seed data
|
|
896
|
+
travels only in the deploy package (resolved at deploy time); it never enters the compiled
|
|
897
|
+
workspace bundle.
|
|
892
898
|
|
|
893
899
|
For data in a file, use `seedFile`:
|
|
894
900
|
|
|
@@ -898,7 +904,7 @@ seed: seedFile("./products.seed.json", import.meta.url),
|
|
|
898
904
|
|
|
899
905
|
The path resolves against the file that declares the table, and it is read with `node:fs`
|
|
900
906
|
at deploy time. Note the tradeoff: inline rows are typed against the table schema at compile
|
|
901
|
-
time, while a `seedFile`/thunk seed is opaque to the typechecker — `
|
|
907
|
+
time, while a `seedFile`/thunk seed is opaque to the typechecker — `npx @xano/sdk export`/`deploy`
|
|
902
908
|
validates it instead, naming the row index, the offending column and the table's known
|
|
903
909
|
columns. A thunk (`seed: () => import("./products.seed.json")`) also works and is
|
|
904
910
|
the right shape for *computed* seeds — but be aware it does **not** keep seed values out of
|
|
@@ -908,7 +914,7 @@ ships the seed to the browser. `seedFile` stores a path string, which a bundler
|
|
|
908
914
|
to follow.
|
|
909
915
|
|
|
910
916
|
Either way, keep secrets out of `seed` — it is throwaway fixture data for disposable
|
|
911
|
-
environments. As a backstop, `
|
|
917
|
+
environments. As a backstop, `npx @xano/sdk deploy <entry> --static <dir>` and `npx @xano/sdk deploy <entry> --to workspace --static <dir>`
|
|
912
918
|
refuse to publish a frontend build containing seed values from password columns or columns
|
|
913
919
|
your schema marks `access: "internal"` or `sensitive`. If the data is deliberately public (a
|
|
914
920
|
demo login the frontend shows), declare it on the table: `publicSeed: ["password"]`.
|
package/guides/bundle.md
CHANGED
|
@@ -8,7 +8,7 @@ engine grows a new one.
|
|
|
8
8
|
A bundle is what `export` writes:
|
|
9
9
|
|
|
10
10
|
```bash
|
|
11
|
-
npx
|
|
11
|
+
npx @xano/sdk export ./xano/index.ts --out bundle.json
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
```ts
|
|
@@ -39,7 +39,7 @@ for (const { raw, path, depth } of walk(bundle.payload.query[0].run)) {
|
|
|
39
39
|
engine-filled operands excluded — so adding a column to a table leaves `db.edit` /
|
|
40
40
|
`db.add_or_edit` unchanged. A `db.add` writes every column, so its hash does change.
|
|
41
41
|
- **`tableRefOf(column)` / `linkedTableOf(column)`** → the table a column points at.
|
|
42
|
-
- **`normalize(value)`** → the normalizer `
|
|
42
|
+
- **`normalize(value)`** → the normalizer `npx @xano/sdk preflight` compares with, for diffing a
|
|
43
43
|
stored workspace against a compiled one.
|
|
44
44
|
|
|
45
45
|
Everything on the entry is pure — no filesystem, network, or Node built-ins — so it runs anywhere.
|