@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
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
ephemeralLandedOn,
|
|
10
10
|
ephemeralStatePath,
|
|
11
11
|
recordEphemeralLanding
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-XY4OBD26.js";
|
|
13
13
|
import {
|
|
14
14
|
contextFlags
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZRXDPCMN.js";
|
|
16
16
|
import {
|
|
17
17
|
backendDirIn
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KDEU5FUJ.js";
|
|
19
19
|
import {
|
|
20
20
|
destinationKey,
|
|
21
21
|
isEphemeralDestinationKey,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
displayPath,
|
|
29
29
|
info,
|
|
30
30
|
warn
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
32
32
|
import {
|
|
33
33
|
displayLockKey
|
|
34
34
|
} from "./chunk-5KJBWIDZ.js";
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
holdsLanding,
|
|
261
261
|
forgetLanding
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-MAXDJZQR.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
impersonateEphemeral,
|
|
6
6
|
projectTenant
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Y5XAPLZS.js";
|
|
8
8
|
import {
|
|
9
9
|
deleteAnswer,
|
|
10
10
|
hasString,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
listAnswer,
|
|
13
13
|
recordAnswer,
|
|
14
14
|
writeTransportFailure
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QRMKQYCB.js";
|
|
16
16
|
import {
|
|
17
17
|
SENT_AFTERMATH,
|
|
18
18
|
fetchOrExplain,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readBodyText,
|
|
21
21
|
safeHttpFailure,
|
|
22
22
|
writeStatusAftermath
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-HXFLHA5K.js";
|
|
24
24
|
|
|
25
25
|
// src/deploy/tenant.ts
|
|
26
26
|
var TIMEOUT_MS = 3e4;
|
|
@@ -219,4 +219,4 @@ export {
|
|
|
219
219
|
deleteTenant,
|
|
220
220
|
impersonateTenant
|
|
221
221
|
};
|
|
222
|
-
//# sourceMappingURL=chunk-
|
|
222
|
+
//# sourceMappingURL=chunk-MIS6F4HM.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
HEADER_NAME,
|
|
4
4
|
generated,
|
|
5
5
|
literalText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HINRE3UM.js";
|
|
7
7
|
import {
|
|
8
8
|
fl
|
|
9
9
|
} from "./chunk-AXNX4NWN.js";
|
|
@@ -238,4 +238,4 @@ export {
|
|
|
238
238
|
TEST_EXPECT_TYPES,
|
|
239
239
|
expect
|
|
240
240
|
};
|
|
241
|
-
//# sourceMappingURL=chunk-
|
|
241
|
+
//# sourceMappingURL=chunk-MTBKTGZT.js.map
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectSdkVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DGYXCIBV.js";
|
|
4
4
|
import {
|
|
5
5
|
compareSemver,
|
|
6
6
|
parseSemver
|
|
7
7
|
} from "./chunk-2TFRR6JV.js";
|
|
8
8
|
import {
|
|
9
9
|
readVersion
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-J3XLCYTQ.js";
|
|
11
11
|
import {
|
|
12
12
|
readPathEnvVar
|
|
13
13
|
} from "./chunk-EUUUMY7J.js";
|
|
14
14
|
import {
|
|
15
15
|
serverMessage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HXFLHA5K.js";
|
|
17
17
|
import {
|
|
18
18
|
atomicWrite
|
|
19
19
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
noteRunWarning,
|
|
30
30
|
style,
|
|
31
31
|
warn
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
33
33
|
|
|
34
34
|
// src/emit/update-check.ts
|
|
35
35
|
import { existsSync, readFileSync, mkdirSync } from "fs";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
runExitedClean,
|
|
352
352
|
maybeNotifyUpdate
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-MYIIBV6A.js.map
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
listAnswer,
|
|
4
4
|
notTheAnswer,
|
|
5
5
|
writeTransportFailure
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QRMKQYCB.js";
|
|
7
7
|
import {
|
|
8
8
|
SENT_AFTERMATH,
|
|
9
9
|
fetchOrExplain,
|
|
10
10
|
readBodyText,
|
|
11
11
|
safeHttpFailure,
|
|
12
12
|
withWriteStatusAftermath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HXFLHA5K.js";
|
|
14
14
|
import {
|
|
15
15
|
isNonPublicColumn
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UQ2OD7D4.js";
|
|
17
17
|
|
|
18
18
|
// src/deploy/table.ts
|
|
19
19
|
var TIMEOUT_MS = 3e4;
|
|
@@ -184,4 +184,4 @@ export {
|
|
|
184
184
|
truncateTable,
|
|
185
185
|
insertTableRows
|
|
186
186
|
};
|
|
187
|
-
//# sourceMappingURL=chunk-
|
|
187
|
+
//# sourceMappingURL=chunk-N6LGLNAC.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
safeHttpFailure,
|
|
11
11
|
statusLabel,
|
|
12
12
|
writeStatusAftermath
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HXFLHA5K.js";
|
|
14
14
|
|
|
15
15
|
// src/deploy/release.ts
|
|
16
16
|
var TIMEOUT_MS = 3e4;
|
|
@@ -405,4 +405,4 @@ export {
|
|
|
405
405
|
exportRelease,
|
|
406
406
|
deleteRelease
|
|
407
407
|
};
|
|
408
|
-
//# sourceMappingURL=chunk-
|
|
408
|
+
//# sourceMappingURL=chunk-NDV6CBR7.js.map
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readDeployed
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GKQTXUOW.js";
|
|
4
4
|
import {
|
|
5
5
|
LookupFailedError,
|
|
6
6
|
SourceError,
|
|
7
7
|
resolveSource
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HKI5Y5KW.js";
|
|
9
9
|
import {
|
|
10
10
|
isProjectDir
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QJ25N4W6.js";
|
|
12
12
|
import {
|
|
13
13
|
NotSignedInError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3SZ7QRYA.js";
|
|
15
15
|
import {
|
|
16
16
|
otherCredentialRefusal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LB76VK6D.js";
|
|
18
18
|
import {
|
|
19
19
|
getEngineRecord
|
|
20
20
|
} from "./chunk-5Y5HWQ2P.js";
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
parseSlot,
|
|
24
24
|
refusedKind,
|
|
25
25
|
slotValueMissing
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-75QC66XI.js";
|
|
27
27
|
import {
|
|
28
28
|
getEnvironment,
|
|
29
29
|
readEphemeralState,
|
|
30
30
|
unreadableEphemeralState
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XY4OBD26.js";
|
|
32
32
|
import {
|
|
33
33
|
ENV_CREDENTIAL_VARS,
|
|
34
34
|
ORIGIN_READ_ONLY_BY_REFRESH,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
credentialFileFlagFor,
|
|
37
37
|
recordedByEnvCredential,
|
|
38
38
|
typedCredentialFlags
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZRXDPCMN.js";
|
|
40
40
|
import {
|
|
41
41
|
globalAuthFilePath,
|
|
42
42
|
localAuthFilePath,
|
|
@@ -44,16 +44,16 @@ import {
|
|
|
44
44
|
profileAddCommand,
|
|
45
45
|
readCredentialFile,
|
|
46
46
|
recordedCredentialPath
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-WS4BA75E.js";
|
|
48
48
|
import {
|
|
49
49
|
backendDirIn
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KDEU5FUJ.js";
|
|
51
51
|
import {
|
|
52
52
|
UsageError,
|
|
53
53
|
displayPath,
|
|
54
54
|
pastePath,
|
|
55
55
|
sourceSpellings
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
57
57
|
import {
|
|
58
58
|
shellQuote
|
|
59
59
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -86,7 +86,7 @@ async function selectBackend(slot, raw, ctx) {
|
|
|
86
86
|
}
|
|
87
87
|
const decided = decide({ cwd, pointer, state, scope, engineRecorded: getEngineRecord(cwd, env) !== void 0 }, slot);
|
|
88
88
|
if ("refusal" in decided) {
|
|
89
|
-
const { reachableFirst } = await import("./env-target-
|
|
89
|
+
const { reachableFirst } = await import("./env-target-TEFSYACA.js");
|
|
90
90
|
throw await reachableFirst(decided.refusal, scope);
|
|
91
91
|
}
|
|
92
92
|
refuseUnservable(slot, decided.kind);
|
|
@@ -368,4 +368,4 @@ export {
|
|
|
368
368
|
NothingTrackedError,
|
|
369
369
|
nestedBackendEntries
|
|
370
370
|
};
|
|
371
|
-
//# sourceMappingURL=chunk-
|
|
371
|
+
//# sourceMappingURL=chunk-NOW522B4.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-HU7F56VF.js";
|
|
4
4
|
import {
|
|
5
5
|
LocalFileNotFoundError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
7
7
|
import {
|
|
8
8
|
buildContentEnvelope
|
|
9
9
|
} from "./chunk-7FIMUFBP.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
seedFailure,
|
|
18
18
|
tableColumns,
|
|
19
19
|
tableIndexes
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-UQ2OD7D4.js";
|
|
21
21
|
import {
|
|
22
22
|
DiagnosticError
|
|
23
23
|
} from "./chunk-YEH5OIPF.js";
|
|
@@ -404,4 +404,4 @@ export {
|
|
|
404
404
|
collectNonPublicSeedValues,
|
|
405
405
|
seedRowsByTableGuid
|
|
406
406
|
};
|
|
407
|
-
//# sourceMappingURL=chunk-
|
|
407
|
+
//# sourceMappingURL=chunk-NUZXSIEA.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
questionOrCancel
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RVAEPPRH.js";
|
|
4
4
|
import {
|
|
5
5
|
style,
|
|
6
6
|
terminalText
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/plugin-prompt.ts
|
|
10
10
|
import { createInterface } from "readline/promises";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
promptPluginQuestion,
|
|
55
55
|
pluginPrompter
|
|
56
56
|
};
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-O44MJTLR.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ROUTES_MANIFEST_BASENAME
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RPBB7P4Q.js";
|
|
4
4
|
import {
|
|
5
5
|
questionOrCancel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RVAEPPRH.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5TWLVFYB.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-J3XLCYTQ.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DERQSEB5.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-75QC66XI.js";
|
|
21
21
|
import {
|
|
22
22
|
MERGED_IN_EXISTING,
|
|
23
23
|
XANO_DIR,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
existingProjectClashes,
|
|
27
27
|
isNonEmptyDir,
|
|
28
28
|
scaffoldProject
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-SUKO4SZG.js";
|
|
30
30
|
import {
|
|
31
31
|
inProject,
|
|
32
32
|
installModules,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
preflightPackages,
|
|
35
35
|
rebaseLocalSpec,
|
|
36
36
|
renderXanoIndexWithModules
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YL3WVBR5.js";
|
|
38
38
|
import {
|
|
39
39
|
npmViewVersion
|
|
40
40
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -43,14 +43,14 @@ import {
|
|
|
43
43
|
} from "./chunk-FWD7AL6N.js";
|
|
44
44
|
import {
|
|
45
45
|
isLocalSpecifier
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WS2X5BB2.js";
|
|
47
47
|
import {
|
|
48
48
|
readToolchainBlock,
|
|
49
49
|
readToolchainConfig
|
|
50
50
|
} from "./chunk-DXUICABI.js";
|
|
51
51
|
import {
|
|
52
52
|
statusLabel
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-HXFLHA5K.js";
|
|
54
54
|
import {
|
|
55
55
|
detectInstallRoot,
|
|
56
56
|
detectPackageManager,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
localPathOf,
|
|
63
63
|
packageNameOf,
|
|
64
64
|
readInstalledManifestState
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-SPLRKCFV.js";
|
|
66
66
|
import {
|
|
67
67
|
readEnvVar
|
|
68
68
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
FRAMEWORKS,
|
|
72
72
|
allFrontendPresets,
|
|
73
73
|
findFrontendPreset
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-4MX5LMPQ.js";
|
|
75
75
|
import {
|
|
76
76
|
BACKEND_TSCONFIG_PATH,
|
|
77
77
|
ICON_LIBRARIES,
|
|
@@ -102,16 +102,16 @@ import {
|
|
|
102
102
|
renderXanoIndex,
|
|
103
103
|
resolveIconsFlag,
|
|
104
104
|
sdkDep
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-5FJ4M4HB.js";
|
|
106
106
|
import {
|
|
107
107
|
composeBlock,
|
|
108
108
|
gitattributesSpec,
|
|
109
109
|
upsertBlock
|
|
110
110
|
} from "./chunk-LJM5CIY4.js";
|
|
111
111
|
import {
|
|
112
|
+
PROJECT_CLI,
|
|
112
113
|
UsageError,
|
|
113
114
|
blank,
|
|
114
|
-
cliPrefixAt,
|
|
115
115
|
detail,
|
|
116
116
|
displayPath,
|
|
117
117
|
error,
|
|
@@ -119,10 +119,8 @@ import {
|
|
|
119
119
|
flagNames,
|
|
120
120
|
info,
|
|
121
121
|
isMachineOutput,
|
|
122
|
-
projectFileCli,
|
|
123
122
|
projectSdkDir,
|
|
124
123
|
quotedNames,
|
|
125
|
-
spellProjectCli,
|
|
126
124
|
spellProjectSdkDir,
|
|
127
125
|
step,
|
|
128
126
|
style,
|
|
@@ -130,7 +128,7 @@ import {
|
|
|
130
128
|
unknownFlag,
|
|
131
129
|
warn,
|
|
132
130
|
writeJson
|
|
133
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-GRXX2TOJ.js";
|
|
134
132
|
import {
|
|
135
133
|
suggest
|
|
136
134
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -353,7 +351,6 @@ function templateVarsFor(appName, dir, env = process.env) {
|
|
|
353
351
|
appName,
|
|
354
352
|
sdkVersion: readVersion(),
|
|
355
353
|
install,
|
|
356
|
-
cli: projectFileCli(dir, install.manager),
|
|
357
354
|
sdkDir: projectSdkDir(dir, install.manager)
|
|
358
355
|
};
|
|
359
356
|
}
|
|
@@ -522,7 +519,7 @@ function moduleGitattributes(dir, contributions) {
|
|
|
522
519
|
return [{ path: ".gitattributes", content: text }];
|
|
523
520
|
}
|
|
524
521
|
function spelledForProject(vars, files) {
|
|
525
|
-
return files.map((f) => ({ ...f, content: spellProjectSdkDir(
|
|
522
|
+
return files.map((f) => ({ ...f, content: spellProjectSdkDir(f.content, vars.sdkDir) }));
|
|
526
523
|
}
|
|
527
524
|
function buildFileSet(targetDir, vars, preset, mode, choice, contributions = {}, existingXanoSdk) {
|
|
528
525
|
return [
|
|
@@ -652,8 +649,8 @@ Nothing was written. ` + (process.stdin.isTTY === true ? `Re-run with --force to
|
|
|
652
649
|
...listed.length > 30 ? [`\u2026 and ${listed.length - 30} more`] : []
|
|
653
650
|
]);
|
|
654
651
|
if (args.yes === true) return scripts;
|
|
655
|
-
const { confirm } = await import("./prompt-
|
|
656
|
-
const { yesRerun } = await import("./retry-command-
|
|
652
|
+
const { confirm } = await import("./prompt-QNMJIWNI.js");
|
|
653
|
+
const { yesRerun } = await import("./retry-command-LFZYEVRU.js");
|
|
657
654
|
const { rerun, note } = yesRerun(args, "init");
|
|
658
655
|
const noun = scripts.length === 0 ? "file" : changed.length === 0 ? "script" : "file and script";
|
|
659
656
|
const ok = await confirm(
|
|
@@ -728,7 +725,7 @@ async function runInitCommand(args) {
|
|
|
728
725
|
}
|
|
729
726
|
const source = resolveFromSource(args.from);
|
|
730
727
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
731
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
728
|
+
const { runInitFromCommand } = await import("./codegen-command-JWOW6HE5.js");
|
|
732
729
|
return runInitFromCommand(args, source);
|
|
733
730
|
}
|
|
734
731
|
rejectPullOnlyFlags(args);
|
|
@@ -748,10 +745,10 @@ async function runInitCommand(args) {
|
|
|
748
745
|
return flagNames().includes(bare) || bare.startsWith("no-") && flagNames().includes(bare.slice(3));
|
|
749
746
|
});
|
|
750
747
|
if (unclaimable.length > 0) throw unknownFlag(unclaimable, { command: "init" });
|
|
751
|
-
const { refusePlugAndPlay } = await import("./project-dependency-
|
|
752
|
-
const { retryCommand } = await import("./retry-command-
|
|
748
|
+
const { refusePlugAndPlay } = await import("./project-dependency-X3KCWBK5.js");
|
|
749
|
+
const { retryCommand } = await import("./retry-command-LFZYEVRU.js");
|
|
753
750
|
refusePlugAndPlay(targetDir, retryCommand(args, { command: "init" }).command);
|
|
754
|
-
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-
|
|
751
|
+
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-JR4BBJ6K.js");
|
|
755
752
|
const resolvedModules = typedModules.length === 0 ? [] : await resolveMarketplaceSpecs(typedModules, "xanosdk init --marketplace").catch(async (err) => {
|
|
756
753
|
throw await withCatalogueRerun(err, args, "init");
|
|
757
754
|
});
|
|
@@ -785,20 +782,20 @@ async function runInitCommand(args) {
|
|
|
785
782
|
blank();
|
|
786
783
|
moduleOutcome = await installModules(targetDir, modules);
|
|
787
784
|
if (moduleOutcome.toolchain.length > 0) {
|
|
788
|
-
const { addToolchainPeers } = await import("./toolchain-peers-
|
|
785
|
+
const { addToolchainPeers } = await import("./toolchain-peers-FQJBTKEB.js");
|
|
789
786
|
const rerun = retryCommand(args, { command: "init" }).command;
|
|
790
787
|
for (const pkg of moduleOutcome.toolchain) await addToolchainPeers(targetDir, pkg, rerun);
|
|
791
788
|
}
|
|
792
789
|
}
|
|
793
790
|
let scaffolded = false;
|
|
794
791
|
try {
|
|
795
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
792
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-S3MPHCUI.js");
|
|
796
793
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
797
794
|
const preset = flagFrontend !== void 0 ? flagFrontend : await resolveFrontendPreset(args.framework);
|
|
798
795
|
if (preset === null && flagFrontend === void 0) refuseFrontendOnlyFlags(args, "no frontend was chosen");
|
|
799
796
|
const choice = await resolveThemeChoice(args);
|
|
800
|
-
const { pluginPrompter } = await import("./plugin-prompt-
|
|
801
|
-
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-
|
|
797
|
+
const { pluginPrompter } = await import("./plugin-prompt-GKCQKNYI.js");
|
|
798
|
+
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-YYEP7IWH.js");
|
|
802
799
|
const { answers: pluginAnswers } = await runPluginQuestionnaire(toolchain.loaded, {
|
|
803
800
|
host: "init",
|
|
804
801
|
unknownFlags: args.unknownFlags,
|
|
@@ -884,7 +881,7 @@ async function runInitCommand(args) {
|
|
|
884
881
|
if (outcome.installed.length > 0) {
|
|
885
882
|
writeFileSync(
|
|
886
883
|
join(targetDir, "xano", "index.ts"),
|
|
887
|
-
|
|
884
|
+
renderXanoIndexWithModules(appName, outcome.registered, outcome.unwired),
|
|
888
885
|
"utf8"
|
|
889
886
|
);
|
|
890
887
|
}
|
|
@@ -898,7 +895,7 @@ async function runInitCommand(args) {
|
|
|
898
895
|
if (result.install === "installed" && sdkResolves(targetDir)) {
|
|
899
896
|
const derivation = await writeDerivedFiles(
|
|
900
897
|
targetDir,
|
|
901
|
-
(env) =>
|
|
898
|
+
(env) => renderXanoIndexWithModules(appName, outcome.registered, outcome.unwired, env),
|
|
902
899
|
toolchain
|
|
903
900
|
);
|
|
904
901
|
derived = derivation.written;
|
|
@@ -924,10 +921,10 @@ async function runInitCommand(args) {
|
|
|
924
921
|
}
|
|
925
922
|
}
|
|
926
923
|
if (result.install === "installed") {
|
|
927
|
-
const { skewedProjectSdk } = await import("./project-sdk-
|
|
924
|
+
const { skewedProjectSdk } = await import("./project-sdk-YHJZRCNB.js");
|
|
928
925
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
929
926
|
if (installedSdk !== void 0) {
|
|
930
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
927
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-J6LRNHYF.js");
|
|
931
928
|
const rendered = reconcileWithInstalled(targetDir);
|
|
932
929
|
if (rendered.length > 0) {
|
|
933
930
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -970,11 +967,11 @@ async function runInitCommand(args) {
|
|
|
970
967
|
// the cloud deploy that does.
|
|
971
968
|
` npm run xano:deploy # run the backend on the Xano Engine, on this machine
|
|
972
969
|
` + (preset === null ? `` : ` npm run dev # run the frontend, pointed at it
|
|
973
|
-
`) + loginNextStep(pin
|
|
970
|
+
`) + loginNextStep(pin) + `${ephemeralNextStep(preset !== null)}
|
|
974
971
|
|
|
975
972
|
` + (hadLock !== void 0 ? `xano/xano.lock was kept (${hadLock} ${hadLock === 1 ? "entry" : "entries"}). An entry the new xano/index.ts
|
|
976
973
|
does not export fails \`npm run xano:check\`; once those objects are gone for good,
|
|
977
|
-
\`${
|
|
974
|
+
\`${PROJECT_CLI} lock prune ./xano/index.ts --yes\` drops them.` : (derived.includes(LOCK_REL) ? `xano/xano.lock was written for the add-ons' objects \u2014 commit it. It pins each
|
|
978
975
|
` : `The first export or deploy writes xano/xano.lock \u2014 commit it. It pins each
|
|
979
976
|
`) + `object's identity, so renaming one later renames it instead of deleting and
|
|
980
977
|
recreating it. See "xano.lock \u2014 commit it" in the README.`) + (derived.includes(ROUTES_REL) ? `
|
|
@@ -1065,20 +1062,20 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv, toolchain) {
|
|
|
1065
1062
|
const routesPath = join(targetDir, ROUTES_REL);
|
|
1066
1063
|
try {
|
|
1067
1064
|
const { loadDefault, checkStandInTokens } = await import("./cli.js");
|
|
1068
|
-
const { Xano } = await import("./xano-
|
|
1065
|
+
const { Xano } = await import("./xano-Z3SRHYOR.js");
|
|
1069
1066
|
const { createLockContext, lockKey, mergeObserved } = await import("./lock-HDCHD2ON.js");
|
|
1070
1067
|
const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
|
|
1071
1068
|
const { readLockFile, writeLockFile } = await import("./io-PGTCBSIQ.js");
|
|
1072
1069
|
const { setDiagnosticSink } = await import("./diagnostics-FNVNRYMB.js");
|
|
1073
|
-
const { planRouteManifest } = await import("./routes-manifest-
|
|
1074
|
-
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-
|
|
1075
|
-
const { isEnabled } = await import("./toolchain-modules-
|
|
1070
|
+
const { planRouteManifest } = await import("./routes-manifest-R3TQRB24.js");
|
|
1071
|
+
const { renderManifestFile, reportModuleFailures } = await import("./routes-manifest-file-GYNYFKAH.js");
|
|
1072
|
+
const { isEnabled } = await import("./toolchain-modules-S3MPHCUI.js");
|
|
1076
1073
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
1077
1074
|
resetLockOverrides();
|
|
1078
1075
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
1079
1076
|
const ctx = createLockContext(existing);
|
|
1080
|
-
const { envNamesRead } = await import("./guards-
|
|
1081
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
1077
|
+
const { envNamesRead } = await import("./guards-PPIBIMFZ.js");
|
|
1078
|
+
const { refreshEnvExample } = await import("./env-example-refresh-4V2OCDJE.js");
|
|
1082
1079
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
1083
1080
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
1084
1081
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -1137,15 +1134,15 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1137
1134
|
const name = args.profile ?? (fromEnv ? envRaw : void 0);
|
|
1138
1135
|
if (name === void 0) return;
|
|
1139
1136
|
if (fromEnv && targetDir !== void 0) {
|
|
1140
|
-
const { POINTER_FILE } = await import("./profile-pointer-
|
|
1137
|
+
const { POINTER_FILE } = await import("./profile-pointer-JJ7K5O2R.js");
|
|
1141
1138
|
if (existsSync(join(targetDir, POINTER_FILE))) return;
|
|
1142
1139
|
}
|
|
1143
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
1140
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-AJX4MC7Y.js");
|
|
1144
1141
|
const path = resolveAuthFilePath(args, "read");
|
|
1145
1142
|
const file = readCredentialFile(path);
|
|
1146
1143
|
const stored = file === null ? [] : profileNames(file);
|
|
1147
1144
|
if (stored.includes(name)) return;
|
|
1148
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
1145
|
+
const { ProfileNotFoundError } = await import("./token-P3VQ6ITJ.js");
|
|
1149
1146
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
1150
1147
|
throw new ProfileNotFoundError(
|
|
1151
1148
|
`No credential profile "${name}" in ${path} (from ${fromEnv ? `$${ENV_PROFILE}` : "--profile"}), so there is nothing to pin this project to. ${have} Run ${loginHint(name)} to add it, or name a stored one${fromEnv ? ` (or unset ${ENV_PROFILE})` : ""}.`,
|
|
@@ -1154,11 +1151,11 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
1154
1151
|
);
|
|
1155
1152
|
}
|
|
1156
1153
|
async function envCredentialSet() {
|
|
1157
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
1154
|
+
const { envMetaCredentialVarsSet } = await import("./token-P3VQ6ITJ.js");
|
|
1158
1155
|
return envMetaCredentialVarsSet().length > 0;
|
|
1159
1156
|
}
|
|
1160
|
-
function loginNextStep(pin
|
|
1161
|
-
return pin.signedIn ? "" : ` ${
|
|
1157
|
+
function loginNextStep(pin) {
|
|
1158
|
+
return pin.signedIn ? "" : ` ${PROJECT_CLI} login # authenticate with Xano
|
|
1162
1159
|
`;
|
|
1163
1160
|
}
|
|
1164
1161
|
function ephemeralNextStep(frontend) {
|
|
@@ -1170,16 +1167,12 @@ function deployNextCommand(cdArg, install, manager) {
|
|
|
1170
1167
|
function runFiles(...groups) {
|
|
1171
1168
|
return [...new Set(groups.flat())].sort();
|
|
1172
1169
|
}
|
|
1173
|
-
function projectCli(projectDir) {
|
|
1174
|
-
const prefix = cliPrefixAt(projectDir);
|
|
1175
|
-
return prefix === "xanosdk" || prefix === "npx @xano/sdk" ? "npx xanosdk" : prefix;
|
|
1176
|
-
}
|
|
1177
1170
|
function runFromHere(text, targetDir) {
|
|
1178
|
-
return text.replace(/`npx
|
|
1171
|
+
return text.replace(/`npx @xano\/sdk /g, `\`${inProject(targetDir)}xanosdk `);
|
|
1179
1172
|
}
|
|
1180
1173
|
async function planProfilePin(args, targetDir, opts = {}) {
|
|
1181
|
-
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-
|
|
1182
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
1174
|
+
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-JJ7K5O2R.js");
|
|
1175
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-AJX4MC7Y.js");
|
|
1183
1176
|
const credentialPath = resolveAuthFilePath(args, "read");
|
|
1184
1177
|
const file = readCredentialFile(credentialPath);
|
|
1185
1178
|
const signedIn = file !== null && profileNames(file).length > 0 || await envCredentialSet();
|
|
@@ -1209,7 +1202,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1209
1202
|
};
|
|
1210
1203
|
}
|
|
1211
1204
|
if (opts.credentialRead === true) {
|
|
1212
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1205
|
+
const { environmentCredentialVars } = await import("./token-P3VQ6ITJ.js");
|
|
1213
1206
|
const env = environmentCredentialVars();
|
|
1214
1207
|
if (env.complete) {
|
|
1215
1208
|
return {
|
|
@@ -1232,7 +1225,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1232
1225
|
});
|
|
1233
1226
|
const stored = file === null ? [] : profileNames(file);
|
|
1234
1227
|
if (!stored.includes(selection.name)) {
|
|
1235
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1228
|
+
const env = stored.length === 0 ? (await import("./token-P3VQ6ITJ.js")).environmentCredentialVars() : void 0;
|
|
1236
1229
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1237
1230
|
return {
|
|
1238
1231
|
name: null,
|
|
@@ -1256,7 +1249,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1256
1249
|
};
|
|
1257
1250
|
}
|
|
1258
1251
|
}
|
|
1259
|
-
const { writePointerFile } = await import("./profile-pointer-
|
|
1252
|
+
const { writePointerFile } = await import("./profile-pointer-JJ7K5O2R.js");
|
|
1260
1253
|
return {
|
|
1261
1254
|
name: selection.name,
|
|
1262
1255
|
signedIn,
|
|
@@ -1273,7 +1266,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1273
1266
|
const instance = readEnvVar("XANO_INSTANCE_URL")?.trim();
|
|
1274
1267
|
const workspace = readEnvVar("XANO_WORKSPACE_ID")?.trim();
|
|
1275
1268
|
if (instance === void 0 || workspace === void 0 || readEnvVar("XANO_META_TOKEN") === void 0) return null;
|
|
1276
|
-
const { readProfile, sameOriginAs } = await import("./store-
|
|
1269
|
+
const { readProfile, sameOriginAs } = await import("./store-AJX4MC7Y.js");
|
|
1277
1270
|
let record;
|
|
1278
1271
|
try {
|
|
1279
1272
|
record = readProfile(file, name, credentialPath);
|
|
@@ -1289,7 +1282,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1289
1282
|
};
|
|
1290
1283
|
}
|
|
1291
1284
|
async function storeEnvCredentialCommand(credentialPath, targetDir) {
|
|
1292
|
-
const { credentialFileFlag, profileAddCommand } = await import("./store-
|
|
1285
|
+
const { credentialFileFlag, profileAddCommand } = await import("./store-AJX4MC7Y.js");
|
|
1293
1286
|
const { DEFAULT_PROFILE } = await import("./profile-select-45G5VPJK.js");
|
|
1294
1287
|
const instance = readEnvVar("XANO_INSTANCE_URL");
|
|
1295
1288
|
const workspaceId = readEnvVar("XANO_WORKSPACE_ID");
|
|
@@ -1322,7 +1315,6 @@ export {
|
|
|
1322
1315
|
ephemeralNextStep,
|
|
1323
1316
|
deployNextCommand,
|
|
1324
1317
|
runFiles,
|
|
1325
|
-
projectCli,
|
|
1326
1318
|
planProfilePin
|
|
1327
1319
|
};
|
|
1328
|
-
//# sourceMappingURL=chunk-
|
|
1320
|
+
//# sourceMappingURL=chunk-OLQN4Z5R.js.map
|