@xano/sdk 1.0.3 → 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 +30 -4
- package/README.md +232 -334
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-MQKCS7QZ.js → agent-file-refresh-KVLR7M5Y.js} +13 -13
- package/dist/{answer-shape-LVV2SVBK.js → answer-shape-XGR2DGWY.js} +5 -5
- package/dist/{backend-dir-DGAQL4K5.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-R4PPN3Z7.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-ANHOEBTJ.js → chunk-3VX7VAQT.js} +4 -4
- package/dist/{chunk-FWXSTFN2.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-A4KBHTMK.js → chunk-57B56I4B.js} +29 -29
- package/dist/{chunk-OPHB5ORL.js → chunk-57HMNJGB.js} +120 -76
- package/dist/{chunk-JTM5D7CT.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-D3XOH7E7.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-ERJNHEFV.js → chunk-AGD7F7YI.js} +3 -3
- package/dist/{chunk-K3LE5B5E.js → chunk-AGSCOISO.js} +139 -139
- package/dist/{chunk-NPXM6ZQY.js → chunk-AMBEITWL.js} +4 -4
- package/dist/{chunk-5T2CTWTB.js → chunk-BBPAXOU6.js} +5 -5
- package/dist/{chunk-WGA25EV5.js → chunk-BMCZQZMI.js} +4 -4
- package/dist/{chunk-CJPLBFFY.js → chunk-CJ76PSJT.js} +9 -9
- package/dist/{chunk-6NYLVUSZ.js → chunk-CV54PASI.js} +53 -50
- package/dist/{chunk-XCPF7BEJ.js → chunk-DEVGLLNZ.js} +5 -5
- package/dist/{chunk-JTUKLCXS.js → chunk-DXUICABI.js} +1 -1
- package/dist/{chunk-LAKHO2B7.js → chunk-ES5A66IH.js} +8 -8
- package/dist/{chunk-UDE5C2XN.js → chunk-F3557PVM.js} +3 -3
- package/dist/{chunk-HHFPIJGL.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-46TUUNM3.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-OO63ZU46.js → chunk-K6PRKPFX.js} +8 -8
- package/dist/{chunk-W5ONYLOP.js → chunk-KQLACS4Q.js} +4 -4
- package/dist/{chunk-SEATQLFB.js → chunk-KUU7T4ZE.js} +31 -31
- package/dist/{chunk-KXYW3DRR.js → chunk-L3BDO2BI.js} +9 -9
- package/dist/{chunk-IRQCV3OT.js → chunk-LLS2WO2K.js} +4 -4
- package/dist/{chunk-7KLAMYMS.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-FSYVOCS7.js → chunk-MYLPOVX6.js} +12 -13
- package/dist/{chunk-ZH5R7NKN.js → chunk-N6BWB35H.js} +3 -3
- package/dist/{chunk-PWIXETG7.js → chunk-NGAODDLX.js} +5 -5
- package/dist/{chunk-Z5UCPWGU.js → chunk-NNB7VUCH.js} +23 -23
- package/dist/{chunk-QEZL5MPJ.js → chunk-NUU76247.js} +3 -3
- package/dist/{chunk-2CGPQ7IM.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-7KGASMCE.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-AMTJ4G32.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-F5KILDDO.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-FURLOAUM.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-ZZEIC5PT.js → chunk-TUEFTRC2.js} +5 -5
- package/dist/{chunk-EWCDPFW5.js → chunk-U6DR6464.js} +4 -4
- package/dist/{chunk-7TXBKK5G.js → chunk-UIEFE6FU.js} +7 -7
- package/dist/{chunk-3H3EPMFY.js → chunk-UJ6ZZJDD.js} +2 -2
- package/dist/{chunk-YTPGQV5C.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-ZVYN4FXD.js → chunk-YSLMMR2U.js} +14 -14
- package/dist/{chunk-ZTUNCVAR.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-UWY3R4TS.js → chunk-ZHGWR45B.js} +22 -22
- package/dist/cli.d.ts +20 -18
- package/dist/cli.js +50 -50
- package/dist/{codegen-command-SW2AP7KR.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-RD6W7PXN.js → deploy-command-HJZNYCUY.js} +57 -57
- package/dist/{deploy-source-ULSWF2V7.js → deploy-source-5COWTBOC.js} +34 -34
- package/dist/{dev-env-sync-E2GFIVC5.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-QYQEOUE3.js → env-pull-command-Z4RLVEGJ.js} +46 -46
- package/dist/{env-target-KUWQYHZ7.js → env-target-ZHQUS5BO.js} +13 -13
- package/dist/{env-var-command-2ZAVIPNY.js → env-var-command-FKQ4VVQ6.js} +47 -47
- package/dist/{ephemeral-BMFY55BQ.js → ephemeral-L4KUOGEU.js} +9 -9
- package/dist/{ephemeral-command-UKHBT3OW.js → ephemeral-command-GRPFI3TD.js} +47 -47
- package/dist/{ephemeral-state-6TY4JIPA.js → ephemeral-state-VLYU2BXR.js} +11 -11
- package/dist/{generate-command-YN3HZWHG.js → generate-command-XNODJFDQ.js} +68 -68
- package/dist/{gitignore-AU5X5F3I.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-ZKE77GFT.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-NPXBMJNG.js → init-command-TI3HCKXZ.js} +55 -55
- package/dist/{init-modules-5TSTLGH5.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-TDSELE5U.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-W7VQ4KV4.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-5MTGZIZ4.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-OBXAUSZX.js → lock-commands-PKDBNRSD.js} +55 -55
- package/dist/{login-command-CB3O3UDZ.js → login-command-V4U4FA5G.js} +27 -27
- package/dist/{logout-command-J5CP5HZZ.js → logout-command-TV3P545Z.js} +16 -16
- package/dist/{loop-UFHKSOQ4.js → loop-VKHGQ6MP.js} +6 -6
- package/dist/{marketplace-command-A5S25ZHF.js → marketplace-command-LEFOAEAV.js} +31 -31
- package/dist/{marketplace-resolve-GRXMK5YD.js → marketplace-resolve-ME7O7JBJ.js} +7 -7
- package/dist/{meta-client-FB73643X.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-6HNPK6KC.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-NZ75PSRL.js → preflight-command-VKJKXRRI.js} +63 -63
- package/dist/{profile-command-KIRI4GA4.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-JGCJZ26H.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-74HMEZ7E.js → publish-command-HGAB3H4A.js} +131 -60
- package/dist/{pull-command-VO5RRGZ5.js → pull-command-EUEWBRXZ.js} +66 -66
- package/dist/{pull-superseded-GGURV5J3.js → pull-superseded-TOT5S4QU.js} +3 -3
- package/dist/{release-command-ZHM5FA4M.js → release-command-WOVQAMUY.js} +64 -64
- package/dist/{release-ns-command-2TL26YOM.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-NBBR6DYS.js → secrets-file-YWZWVJ52.js} +16 -16
- package/dist/{secrets-fill-command-X3HQ4JYN.js → secrets-fill-command-HIHK3VH2.js} +54 -54
- package/dist/{seed-GJHJSEUE.js → seed-24DTEY5S.js} +7 -7
- package/dist/{source-resolve-NTI3JFO6.js → source-resolve-OWD3MIEO.js} +23 -23
- package/dist/{static-host-WM24RG25.js → static-host-UIR2OLPQ.js} +9 -9
- package/dist/{status-command-RVMOLYPR.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-KGCVRH2J.js → sync-contributions-RBB6JVOL.js} +9 -9
- package/dist/{table-ZBDPKMNH.js → table-MQFVYA4K.js} +8 -8
- package/dist/{tables-command-GAOXJPMA.js → tables-command-5Q4BSUNO.js} +39 -39
- package/dist/{tenant-GKXMOYLK.js → tenant-Q3LPVSSM.js} +10 -10
- package/dist/{tenant-command-FAJ7WZTH.js → tenant-command-BFVU2PEX.js} +84 -84
- package/dist/{test-command-53FRDZ32.js → test-command-F4VUU4QR.js} +40 -40
- package/dist/{tests-C55M5EQS.js → tests-5ZSDFVIJ.js} +6 -6
- package/dist/{token-44CKLYWD.js → token-TERSTNU4.js} +12 -12
- package/dist/{toolchain-hooks-BGZBDFAT.js → toolchain-hooks-QVUZ6HZ4.js} +2 -2
- package/dist/{toolchain-modules-MPPH633S.js → toolchain-modules-FD5ANV2U.js} +5 -5
- package/dist/tracked-backend-B4HTME4S.js +80 -0
- package/dist/{update-check-Q4HJHHL5.js → update-check-O4C2LCZH.js} +53 -53
- package/dist/{upgrade-command-C63HIBVH.js → upgrade-command-NVFWLMTA.js} +56 -56
- package/dist/{whoami-command-WC5EKB4W.js → whoami-command-YKNTISIV.js} +15 -15
- package/dist/{workspace-EJVWTIWX.js → workspace-GGVGE2S5.js} +5 -5
- package/dist/{workspace-binding-BRPPUSWG.js → workspace-binding-OS4ZOX4S.js} +14 -14
- package/dist/{workspace-command-Y6STVPYO.js → workspace-command-GTUNVN7K.js} +77 -77
- package/dist/{workspace-env-SIINWNMP.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-UKEO7R7O.js → xanosdk-import-E3WSIYUE.js} +9 -9
- package/dist/{xanosdk-project-MQTZKITV.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 +14 -14
- package/guides/marketplace.md +7 -4
- 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-WFKGILLY.js +0 -127
- package/dist/local-engine-choice-OXULXWEP.js +0 -79
- package/dist/operation-outcome-V4FUJI7V.js +0 -51
- package/dist/promote-command-IPDH5OBT.js +0 -141
- package/dist/tracked-backend-AJLHRGLF.js +0 -80
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contextFlags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G57RYMKB.js";
|
|
4
4
|
import {
|
|
5
5
|
backendDirFor,
|
|
6
6
|
backendDirIn
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AGD7F7YI.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-ROY4YAEQ.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
LocalFileNotFoundError,
|
|
16
16
|
displayPath,
|
|
17
17
|
relForwardSlash
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XNZURZ7T.js";
|
|
19
19
|
import {
|
|
20
20
|
normalizeDocumentationScopeKey
|
|
21
21
|
} from "./chunk-3JDU4VRL.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
entryWordOf,
|
|
128
128
|
readSecretsFile
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-AMBEITWL.js.map
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
sectionKind,
|
|
5
5
|
tableAdditions,
|
|
6
6
|
vectorSize
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SF2B7MZK.js";
|
|
8
8
|
import {
|
|
9
9
|
ReleaseHttpError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3BJYQGAZ.js";
|
|
11
11
|
import {
|
|
12
12
|
TenantHttpError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4GDEEY2U.js";
|
|
14
14
|
import {
|
|
15
15
|
CliError,
|
|
16
16
|
detail,
|
|
17
17
|
warn,
|
|
18
18
|
withoutUrls
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XNZURZ7T.js";
|
|
20
20
|
import {
|
|
21
21
|
suggest
|
|
22
22
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -677,4 +677,4 @@ export {
|
|
|
677
677
|
CONSTRAINT_PHRASE,
|
|
678
678
|
CONSTRAINT_FIX
|
|
679
679
|
};
|
|
680
|
-
//# sourceMappingURL=chunk-
|
|
680
|
+
//# sourceMappingURL=chunk-BBPAXOU6.js.map
|
|
@@ -6,17 +6,17 @@ import {
|
|
|
6
6
|
declaredDependencies,
|
|
7
7
|
readProjectManifest,
|
|
8
8
|
readToolchainConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DXUICABI.js";
|
|
10
10
|
import {
|
|
11
11
|
fileInPackage,
|
|
12
12
|
loadFile,
|
|
13
13
|
moduleKind,
|
|
14
14
|
readInstalledManifestState
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-M7GJ6YUF.js";
|
|
16
16
|
import {
|
|
17
17
|
UsageError,
|
|
18
18
|
warn
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XNZURZ7T.js";
|
|
20
20
|
|
|
21
21
|
// src/emit/toolchain-modules.ts
|
|
22
22
|
var UNKNOWN_MODULE_VERSION = "unknown";
|
|
@@ -189,4 +189,4 @@ export {
|
|
|
189
189
|
sdkPeerSkew,
|
|
190
190
|
discoverToolchainPlugins
|
|
191
191
|
};
|
|
192
|
-
//# sourceMappingURL=chunk-
|
|
192
|
+
//# sourceMappingURL=chunk-BMCZQZMI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readEphemeralState
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4QBGE3EO.js";
|
|
4
4
|
import {
|
|
5
5
|
OpenIdProvider,
|
|
6
6
|
addProfileHint,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
withCredentialLock,
|
|
31
31
|
writeCredentialFile,
|
|
32
32
|
writeOrRemoveCredentialFile
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OJPZEUPH.js";
|
|
34
34
|
import {
|
|
35
35
|
registerSecret,
|
|
36
36
|
tokenTextProblem
|
|
@@ -44,11 +44,11 @@ import {
|
|
|
44
44
|
noteResolvedAuth,
|
|
45
45
|
retryAfterSeconds,
|
|
46
46
|
serverMessage
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-HLQH3AXB.js";
|
|
48
48
|
import {
|
|
49
49
|
POINTER_FILE,
|
|
50
50
|
findProjectPointer
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-JZWUAEMO.js";
|
|
52
52
|
import {
|
|
53
53
|
DEFAULT_PROFILE,
|
|
54
54
|
ENV_PROFILE,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
describeProfileSelection,
|
|
57
57
|
profileSourceLabel,
|
|
58
58
|
resolveActiveProfile
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-MF4W6FHU.js";
|
|
60
60
|
import {
|
|
61
61
|
readEnvVar
|
|
62
62
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
quotedNames,
|
|
71
71
|
safeText,
|
|
72
72
|
warn
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-XNZURZ7T.js";
|
|
74
74
|
import {
|
|
75
75
|
suggest
|
|
76
76
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -381,7 +381,7 @@ The refresh token may be expired or already spent \u2014 refresh tokens rotate o
|
|
|
381
381
|
);
|
|
382
382
|
}
|
|
383
383
|
assertHttpsOrigin(instance, "instance");
|
|
384
|
-
const { resolveScopedWorkspaceId } = await import("./workspace-
|
|
384
|
+
const { resolveScopedWorkspaceId } = await import("./workspace-GGVGE2S5.js");
|
|
385
385
|
const workspaceId = await resolveScopedWorkspaceId({ access_token: set.access_token, instance });
|
|
386
386
|
return { access_token: set.access_token, instance, workspaceId, credentialType: "oauth-refresh" };
|
|
387
387
|
}
|
|
@@ -499,7 +499,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
499
499
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
500
500
|
const stored = file === null ? [] : profileNames(file);
|
|
501
501
|
if (stored.length < 2) return;
|
|
502
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
502
|
+
const { projectDirFrom } = await import("./xanosdk-project-KH5TZ2KI.js");
|
|
503
503
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
504
504
|
const target = targetOf(saved);
|
|
505
505
|
credentialWarning(
|
|
@@ -862,4 +862,4 @@ export {
|
|
|
862
862
|
notSignedIn,
|
|
863
863
|
assertStoredAuthHost
|
|
864
864
|
};
|
|
865
|
-
//# sourceMappingURL=chunk-
|
|
865
|
+
//# sourceMappingURL=chunk-CJ76PSJT.js.map
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ROUTES_MANIFEST_BASENAME
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TM5LRSBB.js";
|
|
4
4
|
import {
|
|
5
5
|
questionOrCancel
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AESE434J.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureWorkspaceEnvGitignored
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3WHWOKU4.js";
|
|
10
10
|
import {
|
|
11
11
|
readVersion
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-S5KQIFKJ.js";
|
|
13
13
|
import {
|
|
14
14
|
WORKSPACE_ENV_EXAMPLE_FILE,
|
|
15
15
|
renderWorkspaceEnvExample
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LLS2WO2K.js";
|
|
17
17
|
import {
|
|
18
18
|
parseSlot,
|
|
19
19
|
requireBackendSlot
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-F3557PVM.js";
|
|
21
21
|
import {
|
|
22
22
|
XANO_DIR,
|
|
23
23
|
changedOnDisk,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isNonEmptyDir,
|
|
26
26
|
plannedAgentsMd,
|
|
27
27
|
scaffoldProject
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-F6IKWAIU.js";
|
|
29
29
|
import {
|
|
30
30
|
inProject,
|
|
31
31
|
installModules,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
preflightPackages,
|
|
34
34
|
rebaseLocalSpec,
|
|
35
35
|
renderXanoIndexWithModules
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-OGUMHW2X.js";
|
|
37
37
|
import {
|
|
38
38
|
npmViewVersion
|
|
39
39
|
} from "./chunk-ZFDZKNGG.js";
|
|
@@ -42,10 +42,10 @@ import {
|
|
|
42
42
|
} from "./chunk-FWD7AL6N.js";
|
|
43
43
|
import {
|
|
44
44
|
isLocalSpecifier
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MYLPOVX6.js";
|
|
46
46
|
import {
|
|
47
47
|
readToolchainBlock
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-DXUICABI.js";
|
|
49
49
|
import {
|
|
50
50
|
detectInstallRoot,
|
|
51
51
|
detectPackageManager,
|
|
@@ -57,10 +57,10 @@ import {
|
|
|
57
57
|
localPathOf,
|
|
58
58
|
packageNameOf,
|
|
59
59
|
readInstalledManifestState
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-M7GJ6YUF.js";
|
|
61
61
|
import {
|
|
62
62
|
statusLabel
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-HLQH3AXB.js";
|
|
64
64
|
import {
|
|
65
65
|
readEnvVar
|
|
66
66
|
} from "./chunk-X2NL4KUO.js";
|
|
@@ -92,11 +92,11 @@ import {
|
|
|
92
92
|
renderXanoIndex,
|
|
93
93
|
resolveFrameworkFlag,
|
|
94
94
|
sdkDep
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-57HMNJGB.js";
|
|
96
96
|
import {
|
|
97
97
|
ICON_LIBRARIES,
|
|
98
98
|
resolveIconsFlag
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-M6ZFSTIZ.js";
|
|
100
100
|
import {
|
|
101
101
|
UsageError,
|
|
102
102
|
blank,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
unknownFlag,
|
|
120
120
|
warn,
|
|
121
121
|
writeJson
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-XNZURZ7T.js";
|
|
123
123
|
import {
|
|
124
124
|
suggest
|
|
125
125
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -523,8 +523,8 @@ async function confirmForcedOverwrite(targetDir, files, args, agents) {
|
|
|
523
523
|
[...changed.slice(0, 30), ...changed.length > 30 ? [`\u2026 and ${changed.length - 30} more`] : []]
|
|
524
524
|
);
|
|
525
525
|
if (args.yes === true) return true;
|
|
526
|
-
const { confirm } = await import("./prompt-
|
|
527
|
-
const { yesRerun } = await import("./retry-command-
|
|
526
|
+
const { confirm } = await import("./prompt-SURZOUUW.js");
|
|
527
|
+
const { yesRerun } = await import("./retry-command-JRGMZZAC.js");
|
|
528
528
|
const { rerun, note } = yesRerun(args, "init");
|
|
529
529
|
const ok = await confirm(
|
|
530
530
|
`Overwrite ${changed.length === 1 ? "this file" : `these ${changed.length} files`} in ${targetDir}?`,
|
|
@@ -595,7 +595,7 @@ async function runInitCommand(args) {
|
|
|
595
595
|
}
|
|
596
596
|
const source = resolveFromSource(args.from);
|
|
597
597
|
if (source.kind === "file") await refuseUnknownProfileFlag(args, resolve(args.positionals[0] ?? "."));
|
|
598
|
-
const { runInitFromCommand } = await import("./codegen-command-
|
|
598
|
+
const { runInitFromCommand } = await import("./codegen-command-L2OO6OTE.js");
|
|
599
599
|
return runInitFromCommand(args, source);
|
|
600
600
|
}
|
|
601
601
|
rejectPullOnlyFlags(args);
|
|
@@ -614,10 +614,10 @@ async function runInitCommand(args) {
|
|
|
614
614
|
return flagNames().includes(bare) || bare.startsWith("no-") && flagNames().includes(bare.slice(3));
|
|
615
615
|
});
|
|
616
616
|
if (unclaimable.length > 0) throw unknownFlag(unclaimable, { command: "init" });
|
|
617
|
-
const { refusePlugAndPlay } = await import("./project-dependency-
|
|
618
|
-
const { retryCommand } = await import("./retry-command-
|
|
617
|
+
const { refusePlugAndPlay } = await import("./project-dependency-Z4CKOCJI.js");
|
|
618
|
+
const { retryCommand } = await import("./retry-command-JRGMZZAC.js");
|
|
619
619
|
refusePlugAndPlay(targetDir, retryCommand(args, { command: "init" }).command);
|
|
620
|
-
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-
|
|
620
|
+
const { resolveMarketplaceSpecs, withCatalogueRerun } = await import("./marketplace-resolve-ME7O7JBJ.js");
|
|
621
621
|
const resolvedModules = typedModules.length === 0 ? [] : await resolveMarketplaceSpecs(typedModules, "xanosdk init --marketplace").catch(async (err) => {
|
|
622
622
|
throw await withCatalogueRerun(err, args, "init");
|
|
623
623
|
});
|
|
@@ -659,12 +659,12 @@ async function runInitCommand(args) {
|
|
|
659
659
|
}
|
|
660
660
|
let scaffolded = false;
|
|
661
661
|
try {
|
|
662
|
-
const { discoverToolchainPlugins } = await import("./toolchain-modules-
|
|
662
|
+
const { discoverToolchainPlugins } = await import("./toolchain-modules-FD5ANV2U.js");
|
|
663
663
|
const toolchain = await discoverToolchainPlugins(targetDir, { frozen: false, configuring: true });
|
|
664
664
|
const preset = earlyPreset ?? await resolveFrontendPreset(args.framework);
|
|
665
665
|
const choice = await resolveThemeChoice(args);
|
|
666
|
-
const { pluginPrompter } = await import("./plugin-prompt-
|
|
667
|
-
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-
|
|
666
|
+
const { pluginPrompter } = await import("./plugin-prompt-VEQGMZ4T.js");
|
|
667
|
+
const { contributionOutcomes, recordedConfig, runPluginQuestionnaire } = await import("./plugin-contributions-GNFTWDEB.js");
|
|
668
668
|
const { answers: pluginAnswers } = await runPluginQuestionnaire(toolchain.loaded, {
|
|
669
669
|
host: "init",
|
|
670
670
|
unknownFlags: args.unknownFlags,
|
|
@@ -782,10 +782,10 @@ async function runInitCommand(args) {
|
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
if (result.install === "installed") {
|
|
785
|
-
const { skewedProjectSdk } = await import("./project-sdk-
|
|
785
|
+
const { skewedProjectSdk } = await import("./project-sdk-JWZWGXXR.js");
|
|
786
786
|
const installedSdk = skewedProjectSdk(targetDir, readVersion());
|
|
787
787
|
if (installedSdk !== void 0) {
|
|
788
|
-
const { reconcileWithInstalled } = await import("./upgrade-command-
|
|
788
|
+
const { reconcileWithInstalled } = await import("./upgrade-command-NVFWLMTA.js");
|
|
789
789
|
const rendered = reconcileWithInstalled(targetDir);
|
|
790
790
|
if (rendered.length > 0) {
|
|
791
791
|
info(`Rendered ${rendered.join(", ")} with the installed @xano/sdk ${installedSdk.version} (this CLI is ${readVersion()}).`);
|
|
@@ -820,11 +820,14 @@ async function runInitCommand(args) {
|
|
|
820
820
|
detail(
|
|
821
821
|
`Next steps:
|
|
822
822
|
` + cdHint + (result.install === "installed" || sdkResolves(targetDir) ? `` : ` ${installLine}
|
|
823
|
-
`) +
|
|
824
|
-
` + loginNextStep(pin, targetDir) + // A declared name with no line in xano/.env refuses the deploy, so the
|
|
823
|
+
`) + // A declared name with no line in xano/.env refuses the deploy, so the
|
|
825
824
|
// step that supplies it comes first.
|
|
826
825
|
(addonEnv.length > 0 ? ` cp xano/.env.example xano/.env # then set ${addonEnv.join(", ")} \u2014 the add-ons read ${addonEnv.length === 1 ? "it" : "them"}
|
|
827
|
-
` : ``) +
|
|
826
|
+
` : ``) + // The Xano Engine first: it needs no account, so sign-in waits for
|
|
827
|
+
// the cloud deploy that does.
|
|
828
|
+
` npm run xano:deploy # run the backend on the Xano Engine, on this machine
|
|
829
|
+
npm run dev # run the frontend, pointed at it
|
|
830
|
+
` + loginNextStep(pin, targetDir) + ` npm run xano:deploy:ephemeral # build the frontend, then deploy \u2192 live ephemeral URL
|
|
828
831
|
|
|
829
832
|
` + (hadLock !== void 0 ? `xano/xano.lock was kept (${hadLock} ${hadLock === 1 ? "entry" : "entries"}). An entry the new xano/index.ts
|
|
830
833
|
does not export fails \`npm run xano:check\`; once those objects are gone for good,
|
|
@@ -912,18 +915,18 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv) {
|
|
|
912
915
|
const routesPath = join(targetDir, ROUTES_REL);
|
|
913
916
|
try {
|
|
914
917
|
const { loadDefault, checkStandInTokens } = await import("./cli.js");
|
|
915
|
-
const { Xano } = await import("./xano-
|
|
916
|
-
const { createLockContext, lockKey, mergeObserved } = await import("./lock-
|
|
918
|
+
const { Xano } = await import("./xano-6RS5XQZE.js");
|
|
919
|
+
const { createLockContext, lockKey, mergeObserved } = await import("./lock-WXXC3QHL.js");
|
|
917
920
|
const { resetLockOverrides, seedLockOverrides } = await import("./store-6VNCD4D7.js");
|
|
918
|
-
const { readLockFile, writeLockFile } = await import("./io-
|
|
921
|
+
const { readLockFile, writeLockFile } = await import("./io-TAF4WXYQ.js");
|
|
919
922
|
const { setDiagnosticSink } = await import("./diagnostics-LSMGB4TY.js");
|
|
920
|
-
const { planRouteManifest, renderPlannedManifest } = await import("./routes-manifest-
|
|
923
|
+
const { planRouteManifest, renderPlannedManifest } = await import("./routes-manifest-URFMAWJE.js");
|
|
921
924
|
const existing = existsSync(lockPath) ? readLockFile(lockPath) : void 0;
|
|
922
925
|
resetLockOverrides();
|
|
923
926
|
if (existing !== void 0) seedLockOverrides(existing);
|
|
924
927
|
const ctx = createLockContext(existing);
|
|
925
|
-
const { envNamesRead } = await import("./guards-
|
|
926
|
-
const { refreshEnvExample } = await import("./env-example-refresh-
|
|
928
|
+
const { envNamesRead } = await import("./guards-OPSGB6LG.js");
|
|
929
|
+
const { refreshEnvExample } = await import("./env-example-refresh-DWQIOQYR.js");
|
|
927
930
|
const def = await loadDefault(join(targetDir, XANO_DIR, "index.ts"));
|
|
928
931
|
if (!Xano.isXano(def)) return { written, env: declaredEnv };
|
|
929
932
|
const previousSink = setDiagnosticSink(() => {
|
|
@@ -965,21 +968,21 @@ async function writeDerivedFiles(targetDir, renderIndexWithEnv) {
|
|
|
965
968
|
return { written, env: declaredEnv };
|
|
966
969
|
}
|
|
967
970
|
async function refuseUnknownProfileFlag(args, targetDir) {
|
|
968
|
-
const { ENV_PROFILE } = await import("./profile-select-
|
|
971
|
+
const { ENV_PROFILE } = await import("./profile-select-45G5VPJK.js");
|
|
969
972
|
const envRaw = readEnvVar(ENV_PROFILE)?.trim();
|
|
970
973
|
const fromEnv = args.profile === void 0 && envRaw !== void 0;
|
|
971
974
|
const name = args.profile ?? (fromEnv ? envRaw : void 0);
|
|
972
975
|
if (name === void 0) return;
|
|
973
976
|
if (fromEnv && targetDir !== void 0) {
|
|
974
|
-
const { POINTER_FILE } = await import("./profile-pointer-
|
|
977
|
+
const { POINTER_FILE } = await import("./profile-pointer-HG7IXE4I.js");
|
|
975
978
|
if (existsSync(join(targetDir, POINTER_FILE))) return;
|
|
976
979
|
}
|
|
977
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
980
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-5YAQS6KU.js");
|
|
978
981
|
const path = resolveAuthFilePath(args, "read");
|
|
979
982
|
const file = readCredentialFile(path);
|
|
980
983
|
const stored = file === null ? [] : profileNames(file);
|
|
981
984
|
if (stored.includes(name)) return;
|
|
982
|
-
const { ProfileNotFoundError } = await import("./token-
|
|
985
|
+
const { ProfileNotFoundError } = await import("./token-TERSTNU4.js");
|
|
983
986
|
const have = stored.length === 0 ? "Nothing is signed in on this machine." : `Stored profiles: ${quotedNames(stored)}.`;
|
|
984
987
|
throw new ProfileNotFoundError(
|
|
985
988
|
`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})` : ""}.`,
|
|
@@ -988,7 +991,7 @@ async function refuseUnknownProfileFlag(args, targetDir) {
|
|
|
988
991
|
);
|
|
989
992
|
}
|
|
990
993
|
async function envCredentialSet() {
|
|
991
|
-
const { envMetaCredentialVarsSet } = await import("./token-
|
|
994
|
+
const { envMetaCredentialVarsSet } = await import("./token-TERSTNU4.js");
|
|
992
995
|
return envMetaCredentialVarsSet().length > 0;
|
|
993
996
|
}
|
|
994
997
|
function loginNextStep(pin, projectDir) {
|
|
@@ -1003,8 +1006,8 @@ function runFromHere(text, targetDir) {
|
|
|
1003
1006
|
return text.replace(/`npx xanosdk /g, `\`${inProject(targetDir)}xanosdk `);
|
|
1004
1007
|
}
|
|
1005
1008
|
async function planProfilePin(args, targetDir, opts = {}) {
|
|
1006
|
-
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-
|
|
1007
|
-
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-
|
|
1009
|
+
const { POINTER_FILE, readPointerFile } = await import("./profile-pointer-HG7IXE4I.js");
|
|
1010
|
+
const { readCredentialFile, resolveAuthFilePath, profileNames, loginHint } = await import("./store-5YAQS6KU.js");
|
|
1008
1011
|
const credentialPath = resolveAuthFilePath(args, "read");
|
|
1009
1012
|
const file = readCredentialFile(credentialPath);
|
|
1010
1013
|
const signedIn = file !== null && profileNames(file).length > 0 || await envCredentialSet();
|
|
@@ -1034,7 +1037,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1034
1037
|
};
|
|
1035
1038
|
}
|
|
1036
1039
|
if (opts.credentialRead === true) {
|
|
1037
|
-
const { environmentCredentialVars } = await import("./token-
|
|
1040
|
+
const { environmentCredentialVars } = await import("./token-TERSTNU4.js");
|
|
1038
1041
|
const env = environmentCredentialVars();
|
|
1039
1042
|
if (env.complete) {
|
|
1040
1043
|
return {
|
|
@@ -1047,7 +1050,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1047
1050
|
};
|
|
1048
1051
|
}
|
|
1049
1052
|
}
|
|
1050
|
-
const { resolveActiveProfile } = await import("./profile-select-
|
|
1053
|
+
const { resolveActiveProfile } = await import("./profile-select-45G5VPJK.js");
|
|
1051
1054
|
const selection = resolveActiveProfile({
|
|
1052
1055
|
flag: args.profile,
|
|
1053
1056
|
fileDefault: file?.default,
|
|
@@ -1057,7 +1060,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1057
1060
|
});
|
|
1058
1061
|
const stored = file === null ? [] : profileNames(file);
|
|
1059
1062
|
if (!stored.includes(selection.name)) {
|
|
1060
|
-
const env = stored.length === 0 ? (await import("./token-
|
|
1063
|
+
const env = stored.length === 0 ? (await import("./token-TERSTNU4.js")).environmentCredentialVars() : void 0;
|
|
1061
1064
|
const storeEnv = env?.complete === true ? await storeEnvCredentialCommand(credentialPath, targetDir) : "";
|
|
1062
1065
|
return {
|
|
1063
1066
|
name: null,
|
|
@@ -1081,7 +1084,7 @@ async function planProfilePin(args, targetDir, opts = {}) {
|
|
|
1081
1084
|
};
|
|
1082
1085
|
}
|
|
1083
1086
|
}
|
|
1084
|
-
const { writePointerFile } = await import("./profile-pointer-
|
|
1087
|
+
const { writePointerFile } = await import("./profile-pointer-HG7IXE4I.js");
|
|
1085
1088
|
return {
|
|
1086
1089
|
name: selection.name,
|
|
1087
1090
|
signedIn,
|
|
@@ -1098,7 +1101,7 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1098
1101
|
const instance = readEnvVar("XANO_INSTANCE_URL")?.trim();
|
|
1099
1102
|
const workspace = readEnvVar("XANO_WORKSPACE_ID")?.trim();
|
|
1100
1103
|
if (instance === void 0 || workspace === void 0 || readEnvVar("XANO_META_TOKEN") === void 0) return null;
|
|
1101
|
-
const { readProfile, sameOriginAs } = await import("./store-
|
|
1104
|
+
const { readProfile, sameOriginAs } = await import("./store-5YAQS6KU.js");
|
|
1102
1105
|
let record;
|
|
1103
1106
|
try {
|
|
1104
1107
|
record = readProfile(file, name, credentialPath);
|
|
@@ -1114,8 +1117,8 @@ async function envAddressesElsewhere(file, name, credentialPath) {
|
|
|
1114
1117
|
};
|
|
1115
1118
|
}
|
|
1116
1119
|
async function storeEnvCredentialCommand(credentialPath, targetDir) {
|
|
1117
|
-
const { credentialFileFlag, profileAddCommand } = await import("./store-
|
|
1118
|
-
const { DEFAULT_PROFILE } = await import("./profile-select-
|
|
1120
|
+
const { credentialFileFlag, profileAddCommand } = await import("./store-5YAQS6KU.js");
|
|
1121
|
+
const { DEFAULT_PROFILE } = await import("./profile-select-45G5VPJK.js");
|
|
1119
1122
|
const instance = readEnvVar("XANO_INSTANCE_URL");
|
|
1120
1123
|
const workspaceId = readEnvVar("XANO_WORKSPACE_ID");
|
|
1121
1124
|
const flag = credentialFileFlag(credentialPath);
|
|
@@ -1142,4 +1145,4 @@ export {
|
|
|
1142
1145
|
projectCli,
|
|
1143
1146
|
planProfilePin
|
|
1144
1147
|
};
|
|
1145
|
-
//# sourceMappingURL=chunk-
|
|
1148
|
+
//# sourceMappingURL=chunk-CV54PASI.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
projectSdkVersion
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OVV2HXJ6.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-S5KQIFKJ.js";
|
|
11
11
|
import {
|
|
12
12
|
registerSecret
|
|
13
13
|
} from "./chunk-AWQ7BQTQ.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-EUUUMY7J.js";
|
|
17
17
|
import {
|
|
18
18
|
serverMessage
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HLQH3AXB.js";
|
|
20
20
|
import {
|
|
21
21
|
atomicWrite
|
|
22
22
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
noteRunWarning,
|
|
30
30
|
style,
|
|
31
31
|
warn
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XNZURZ7T.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-DEVGLLNZ.js.map
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
ephemeralLandedOn,
|
|
4
4
|
ephemeralStatePath,
|
|
5
5
|
recordEphemeralLanding
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4QBGE3EO.js";
|
|
7
7
|
import {
|
|
8
8
|
contextFlags
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G57RYMKB.js";
|
|
10
10
|
import {
|
|
11
11
|
backendDirIn
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-AGD7F7YI.js";
|
|
13
13
|
import {
|
|
14
14
|
forgetPrunedInLockFile,
|
|
15
15
|
readLockFile,
|
|
16
16
|
recordLandingInLockFile,
|
|
17
17
|
writeLockFile
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-SQPIECXD.js";
|
|
19
19
|
import {
|
|
20
20
|
destinationKey,
|
|
21
21
|
isEphemeralDestinationKey,
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
landedOn,
|
|
24
24
|
withStoredColumns,
|
|
25
25
|
withoutLanding
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-5YBNXNKU.js";
|
|
27
27
|
import {
|
|
28
28
|
displayPath,
|
|
29
29
|
info,
|
|
30
30
|
warn
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-XNZURZ7T.js";
|
|
32
32
|
import {
|
|
33
33
|
displayLockKey
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-OKNE3TWU.js";
|
|
35
35
|
import {
|
|
36
36
|
shellQuote
|
|
37
37
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -260,4 +260,4 @@ export {
|
|
|
260
260
|
holdsLanding,
|
|
261
261
|
forgetLanding
|
|
262
262
|
};
|
|
263
|
-
//# sourceMappingURL=chunk-
|
|
263
|
+
//# sourceMappingURL=chunk-ES5A66IH.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
isKindShaped,
|
|
8
8
|
parseSource,
|
|
9
9
|
sourceSpellings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XNZURZ7T.js";
|
|
11
11
|
|
|
12
12
|
// src/emit/backend-slot.ts
|
|
13
13
|
function commandPath(command, subcommand) {
|
|
@@ -61,7 +61,7 @@ var ROLE_NOUN = {
|
|
|
61
61
|
var KIND_PHRASE = {
|
|
62
62
|
workspace: "the workspace",
|
|
63
63
|
ephemeral: "an ephemeral",
|
|
64
|
-
"local
|
|
64
|
+
"local": "a Xano Engine",
|
|
65
65
|
tenant: "a tenant",
|
|
66
66
|
release: "a release",
|
|
67
67
|
file: "a bundle file"
|
|
@@ -124,4 +124,4 @@ export {
|
|
|
124
124
|
refusedKind,
|
|
125
125
|
parseSlot
|
|
126
126
|
};
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-F3557PVM.js.map
|