@xano/sdk 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +24 -0
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-T7BL3JDV.js → agent-file-refresh-MQKCS7QZ.js} +10 -10
- package/dist/{answer-shape-K67TAAPY.js → answer-shape-LVV2SVBK.js} +5 -5
- package/dist/{backend-dir-2EYNX36R.js → backend-dir-DGAQL4K5.js} +10 -10
- package/dist/{backend-slot-7QXW2QYC.js → backend-slot-NSCTWCUX.js} +4 -4
- package/dist/bin.js +62 -61
- package/dist/{branch-NCRNWQBQ.js → branch-ONWPJ4V6.js} +9 -9
- package/dist/branch-commands-R4PPN3Z7.js +79 -0
- package/dist/bundle.js +7 -7
- package/dist/{capture-WAXPD7DR.js → capture-3JNUA6C2.js} +5 -5
- package/dist/{chunk-RLHYFD2R.js → chunk-2CGPQ7IM.js} +6 -6
- package/dist/{chunk-73IVBKMA.js → chunk-2LVTBPW2.js} +3 -3
- package/dist/{chunk-U64O2MXY.js → chunk-37AHZ7JX.js} +6 -6
- package/dist/{chunk-N5GKCWE5.js → chunk-37FBPMNE.js} +4 -4
- package/dist/{chunk-JZGVVJSI.js → chunk-3H3EPMFY.js} +2 -2
- package/dist/{chunk-L5JYN3NM.js → chunk-3HOGFGKG.js} +30 -3
- package/dist/{chunk-ZDPP6RKB.js → chunk-45ZUMF4E.js} +2 -2
- package/dist/{chunk-ES3TNTLS.js → chunk-46TUUNM3.js} +14 -14
- package/dist/{chunk-65HWOMGV.js → chunk-4APOHK7Y.js} +2 -2
- package/dist/{chunk-TTEIYD5P.js → chunk-4DJTQ6W4.js} +1 -1
- package/dist/{chunk-CIMQZRRE.js → chunk-4MIV244X.js} +3 -3
- package/dist/{chunk-HVRUQXGD.js → chunk-4PQHO74B.js} +26 -15
- package/dist/{chunk-BWPNT55T.js → chunk-5T2CTWTB.js} +6 -6
- package/dist/{chunk-6IUMKYWI.js → chunk-5W7DOMIU.js} +13 -13
- package/dist/{chunk-CTMO46PK.js → chunk-5YL5OC2G.js} +12 -12
- package/dist/{chunk-2CMJZDCL.js → chunk-6JAEMMZ7.js} +5 -5
- package/dist/{chunk-AAX2S6OU.js → chunk-6NYLVUSZ.js} +42 -42
- package/dist/{chunk-JGE7CAWB.js → chunk-6R7S775T.js} +2 -2
- package/dist/{chunk-G554NZNI.js → chunk-7GX445AE.js} +2 -2
- package/dist/{chunk-BU5GWPBO.js → chunk-7KGASMCE.js} +7 -7
- package/dist/{chunk-NK2633D7.js → chunk-7KLAMYMS.js} +220 -71
- package/dist/{chunk-K5BBGTYZ.js → chunk-7KPKDHHI.js} +3 -3
- package/dist/{chunk-27GWNP2I.js → chunk-7THDHQ4R.js} +9 -2
- package/dist/{chunk-LCMQNVHL.js → chunk-7TXBKK5G.js} +7 -7
- package/dist/{chunk-YU4HSQW7.js → chunk-A2AOUBJS.js} +15 -8
- package/dist/{chunk-OIQH34Q5.js → chunk-A4KBHTMK.js} +29 -29
- package/dist/{chunk-2ZUEE4EK.js → chunk-A6QTTJUI.js} +2 -2
- package/dist/{chunk-ZPSPKPXK.js → chunk-AMTJ4G32.js} +5 -5
- package/dist/{chunk-6QXLMMT3.js → chunk-ANHOEBTJ.js} +4 -4
- package/dist/{chunk-6HO3NCSJ.js → chunk-BEXZ4XRV.js} +2 -2
- package/dist/{chunk-7G3CTU7I.js → chunk-BUECLQXK.js} +4 -4
- package/dist/{chunk-MJ4ZVHKN.js → chunk-BUJRS7XB.js} +3 -3
- package/dist/{chunk-3KZCLN4Z.js → chunk-CBYQ2ZN3.js} +5 -5
- package/dist/{chunk-6PBR37LN.js → chunk-CFSFBKHP.js} +2 -2
- package/dist/{chunk-PV7BGEF2.js → chunk-CJPLBFFY.js} +8 -8
- package/dist/{chunk-APWXY5SL.js → chunk-CYB7UQA2.js} +2 -2
- package/dist/{chunk-TGPYAMVT.js → chunk-D3XOH7E7.js} +8 -8
- package/dist/{chunk-6ELFRN3P.js → chunk-D64XUF5Q.js} +2 -2
- package/dist/{chunk-ZIY7RNUT.js → chunk-DIG3NITC.js} +3 -3
- package/dist/{chunk-3LDULPRE.js → chunk-DYG5D3FD.js} +2 -2
- package/dist/{chunk-TRJCALW3.js → chunk-E65QIWOO.js} +4 -4
- package/dist/{chunk-LQCMKAJ7.js → chunk-EESV6NU2.js} +3 -3
- package/dist/{chunk-IGOLHKWF.js → chunk-EOIJ7MVW.js} +3 -3
- package/dist/{chunk-KUI7V576.js → chunk-ERJNHEFV.js} +3 -3
- package/dist/{chunk-5V5XU32D.js → chunk-ETAZIGNT.js} +5 -5
- package/dist/{chunk-FXRQOWTE.js → chunk-EWCDPFW5.js} +4 -4
- package/dist/{chunk-JLUAWKX2.js → chunk-F5KILDDO.js} +87 -87
- package/dist/{chunk-T5KELPAR.js → chunk-FMOEVAGT.js} +2 -2
- package/dist/{chunk-5FBYXK5P.js → chunk-FPBGAT5D.js} +2 -2
- package/dist/{chunk-2GNFDZA2.js → chunk-FSYVOCS7.js} +5 -5
- package/dist/{chunk-ZFKZMSM3.js → chunk-FURLOAUM.js} +3 -3
- package/dist/{chunk-OFEID2IX.js → chunk-FWXSTFN2.js} +4 -4
- package/dist/{chunk-2EZ3ZJZZ.js → chunk-GPI3OWRE.js} +16 -5
- package/dist/{chunk-AWMTT5U7.js → chunk-HHFPIJGL.js} +3 -3
- package/dist/{chunk-MZ4EQX7X.js → chunk-HHW5AWVD.js} +8 -8
- package/dist/{chunk-45UIT5T2.js → chunk-HMLGM2MW.js} +4 -4
- package/dist/{chunk-LPECSJ2J.js → chunk-HSEQYBDO.js} +2 -2
- package/dist/{chunk-XW6KISBB.js → chunk-I2BGYNHD.js} +4 -4
- package/dist/{chunk-XVBGLISP.js → chunk-ICK36EGF.js} +2 -2
- package/dist/{chunk-MXHSQOC4.js → chunk-II747OWE.js} +45 -45
- package/dist/{chunk-JTGBGL37.js → chunk-IRQCV3OT.js} +4 -4
- package/dist/{chunk-D53J55C5.js → chunk-IVKRT476.js} +2 -2
- package/dist/{chunk-H5C7MBCR.js → chunk-IXUPUFCG.js} +2 -2
- package/dist/{chunk-TPCOHYPG.js → chunk-JTM5D7CT.js} +8 -8
- package/dist/{chunk-TLJWHLBK.js → chunk-K3LE5B5E.js} +72 -72
- package/dist/{chunk-A3UDOZB6.js → chunk-KCAL4QYP.js} +4 -4
- package/dist/{chunk-FQJ2TTHP.js → chunk-KTGRGWZW.js} +7 -7
- package/dist/{chunk-D7VGG3WS.js → chunk-KUTFFHUM.js} +2 -2
- package/dist/{chunk-VAL32UEI.js → chunk-KXYW3DRR.js} +7 -7
- package/dist/{chunk-OFISBMQ6.js → chunk-LAKHO2B7.js} +8 -8
- package/dist/{chunk-NZOWWHU5.js → chunk-LL6ED5IB.js} +2 -2
- package/dist/{chunk-6ZGJCBZS.js → chunk-LXNQWHZM.js} +3 -3
- package/dist/{chunk-AN6BL47T.js → chunk-MEE5RZ6G.js} +2 -2
- package/dist/{chunk-YLDALTWZ.js → chunk-MN2PB6WB.js} +2 -2
- package/dist/{chunk-C6RIMRU4.js → chunk-MNVDVR3M.js} +4 -4
- package/dist/{chunk-HSBVDFU2.js → chunk-NPXM6ZQY.js} +4 -4
- package/dist/{chunk-IFSNSRUJ.js → chunk-O7QOWS6M.js} +3 -3
- package/dist/{chunk-2KETYQPN.js → chunk-OO63ZU46.js} +7 -7
- package/dist/{chunk-6MR5TI5V.js → chunk-OOGXZL7Z.js} +2 -2
- package/dist/{chunk-YGZHHAAB.js → chunk-OPG4DYX2.js} +94 -52
- package/dist/{chunk-TNM7VE7N.js → chunk-PWIXETG7.js} +4 -4
- package/dist/{chunk-DBMN5YLZ.js → chunk-QEZL5MPJ.js} +3 -3
- package/dist/{chunk-CJHQKJU4.js → chunk-QV3GXQRE.js} +2 -2
- package/dist/{chunk-TLQE7ZN3.js → chunk-RX3EMQGN.js} +2 -2
- package/dist/{chunk-PTHVMXZI.js → chunk-SBR2WZXG.js} +4 -4
- package/dist/{chunk-SAC4DYYP.js → chunk-SEATQLFB.js} +13 -13
- package/dist/{chunk-NAQDMEHV.js → chunk-SEUCZZCP.js} +2 -2
- package/dist/{chunk-RTJRZFFY.js → chunk-TTVAHCWP.js} +2 -2
- package/dist/{chunk-STSFNCY4.js → chunk-UDE5C2XN.js} +2 -2
- package/dist/{chunk-AKNCFVKZ.js → chunk-UDZX2ZL4.js} +1 -1
- package/dist/{chunk-NWKXM5RD.js → chunk-UI4OPTYR.js} +2 -2
- package/dist/{chunk-5QU2P5CA.js → chunk-UKUIUS3E.js} +4 -4
- package/dist/{chunk-OXA6PSZT.js → chunk-UVF45BVU.js} +35 -16
- package/dist/{chunk-PA43WZWS.js → chunk-UWY3R4TS.js} +8 -8
- package/dist/{chunk-P2HAGF6H.js → chunk-VD32O6KZ.js} +3 -3
- package/dist/{chunk-4POWHT2K.js → chunk-VTMTIBKP.js} +8 -7
- package/dist/{chunk-UZ6QQWJT.js → chunk-W5ONYLOP.js} +4 -4
- package/dist/{chunk-IDOTCMDV.js → chunk-WFG67AYS.js} +3 -3
- package/dist/{chunk-IC23IKRU.js → chunk-WGA25EV5.js} +3 -3
- package/dist/{chunk-TPHWJ7UG.js → chunk-WOGJB2F6.js} +66 -18
- package/dist/{chunk-YY2UY7PZ.js → chunk-XCPF7BEJ.js} +5 -5
- package/dist/{chunk-FXFV3KU6.js → chunk-XMDDBEEM.js} +10 -6
- package/dist/{chunk-HRVBLCVJ.js → chunk-XXZZGXW2.js} +3 -3
- package/dist/{chunk-CHRP4RHP.js → chunk-YTPGQV5C.js} +7 -7
- package/dist/{chunk-SKMZGS3L.js → chunk-Z5UCPWGU.js} +20 -20
- package/dist/{chunk-UF7TI3BS.js → chunk-ZH5R7NKN.js} +3 -3
- package/dist/{chunk-FXGJ7TEQ.js → chunk-ZTUNCVAR.js} +50 -50
- package/dist/{chunk-UCZZ6KRR.js → chunk-ZVYN4FXD.js} +14 -14
- package/dist/chunk-ZY55DO5P.js +24 -0
- package/dist/{chunk-NM2X7SQ3.js → chunk-ZZEIC5PT.js} +3 -3
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +60 -59
- package/dist/{codegen-command-XEHCGZHH.js → codegen-command-SW2AP7KR.js} +77 -76
- package/dist/codegen.d.ts +5 -3
- package/dist/codegen.js +10 -6
- package/dist/{commands-GJMJ4XYZ.js → commands-CVFYC4GK.js} +3 -3
- package/dist/{completion-ZQLO6PB6.js → completion-AUEQC4XJ.js} +3 -3
- package/dist/{config-MBYGCAFK.js → config-JU6OQC77.js} +4 -4
- package/dist/{deploy-command-V2EMVVK2.js → deploy-command-RD6W7PXN.js} +67 -66
- package/dist/{deploy-source-4BRH7JMY.js → deploy-source-ULSWF2V7.js} +31 -31
- package/dist/{dev-env-sync-4334IEDW.js → dev-env-sync-E2GFIVC5.js} +61 -60
- package/dist/{diagnostics-UEAAHWVF.js → diagnostics-LSMGB4TY.js} +2 -2
- package/dist/{display-name-hint-ABBPVQIR.js → display-name-hint-DMORHANO.js} +11 -11
- package/dist/{emit-CyhBDxli.d.ts → emit-hOFbgzde.d.ts} +19 -15
- package/dist/env-example-refresh-WFKGILLY.js +127 -0
- package/dist/{env-pull-command-E6UITJ75.js → env-pull-command-QYQEOUE3.js} +51 -51
- package/dist/{env-target-76MVYUD4.js → env-target-KUWQYHZ7.js} +14 -14
- package/dist/{env-var-command-J2LKNUEQ.js → env-var-command-2ZAVIPNY.js} +40 -40
- package/dist/{ephemeral-P7F3PMAD.js → ephemeral-BMFY55BQ.js} +9 -9
- package/dist/{ephemeral-command-YZATIADS.js → ephemeral-command-UKHBT3OW.js} +52 -52
- package/dist/{ephemeral-state-PYCBSOGX.js → ephemeral-state-6TY4JIPA.js} +12 -12
- package/dist/{generate-command-XSKLN7ST.js → generate-command-YN3HZWHG.js} +81 -80
- package/dist/{gitignore-W23MIWX6.js → gitignore-AU5X5F3I.js} +14 -14
- package/dist/{guards-4EBNCZDC.js → guards-EJU2ONAX.js} +17 -14
- package/dist/{impersonate-command-YZMTA7NW.js → impersonate-command-ZKE77GFT.js} +36 -36
- package/dist/{import-EQSFU6JC.js → import-TBTOTU52.js} +5 -5
- package/dist/index.d.ts +151 -9
- package/dist/index.js +27 -26
- package/dist/init-command-NPXBMJNG.js +126 -0
- package/dist/{init-modules-IAVCXWX3.js → init-modules-5TSTLGH5.js} +8 -8
- package/dist/{init-web-M4YZSZK6.js → init-web-Y2PBNJTQ.js} +3 -3
- package/dist/internal.d.ts +5 -5
- package/dist/internal.js +38 -30
- package/dist/{io-RC56QSN5.js → io-ZUKAGFVE.js} +6 -6
- package/dist/{keep-data-merge-M4ULDZB6.js → keep-data-merge-TDSELE5U.js} +39 -38
- package/dist/{landed-753YLJ5H.js → landed-6VO7CX5P.js} +5 -5
- package/dist/{landing-record-JLN6BCQY.js → landing-record-W7VQ4KV4.js} +21 -21
- package/dist/{live-diff-YONW2VI3.js → live-diff-2S7E3SBZ.js} +15 -15
- package/dist/{local-engine-choice-QOQJZ5P2.js → local-engine-choice-OXULXWEP.js} +34 -34
- package/dist/{local-engine-command-YVNO5ETS.js → local-engine-command-5MTGZIZ4.js} +39 -39
- package/dist/{local-engine-deploy-AWA65WR2.js → local-engine-deploy-TXAOYRGF.js} +12 -12
- package/dist/{local-engine-process-SQLSK3AB.js → local-engine-process-6VZ7JJBP.js} +7 -7
- package/dist/{local-engine-update-check-6L645VBL.js → local-engine-update-check-R5SPDVEJ.js} +5 -5
- package/dist/{lock-MRRHW5GS.js → lock-TS465GVY.js} +4 -4
- package/dist/{lock-commands-GU3TKPWU.js → lock-commands-OBXAUSZX.js} +67 -66
- package/dist/{login-command-FPKDGYUR.js → login-command-CB3O3UDZ.js} +26 -26
- package/dist/{logout-command-MQD3L46D.js → logout-command-J5CP5HZZ.js} +17 -17
- package/dist/{loop-ALIZLOSX.js → loop-UFHKSOQ4.js} +16 -16
- package/dist/{marketplace-command-25ZYWSHI.js → marketplace-command-A5S25ZHF.js} +28 -28
- package/dist/{marketplace-resolve-LY32JES5.js → marketplace-resolve-GRXMK5YD.js} +6 -6
- package/dist/{meta-client-JPGG2ZHS.js → meta-client-FB73643X.js} +15 -15
- package/dist/{module-manifest-JFGHU2TC.js → module-manifest-GIKFNXPE.js} +4 -4
- package/dist/node.d.ts +8 -8
- package/dist/node.js +69 -68
- package/dist/operation-outcome-V4FUJI7V.js +51 -0
- package/dist/{output-target-NTJAO4VA.js → output-target-6HNPK6KC.js} +15 -15
- package/dist/{plan-disclosure-6G4MLZKD.js → plan-disclosure-BHYG7TZ7.js} +29 -29
- package/dist/{plugin-contributions-WRNY5ABG.js → plugin-contributions-X4V22PJQ.js} +5 -5
- package/dist/{plugin-prompt-4VA3B4FF.js → plugin-prompt-DKNQHW6Y.js} +5 -5
- package/dist/{plugin-questions-JTSYA74Q.js → plugin-questions-CQRVOWFK.js} +4 -4
- package/dist/{preflight-command-OPIVTVIJ.js → preflight-command-NZ75PSRL.js} +74 -73
- package/dist/{profile-command-RW7LJZWN.js → profile-command-KIRI4GA4.js} +27 -27
- package/dist/{profile-pointer-GRWJU3YD.js → profile-pointer-UOO7JNFG.js} +4 -4
- package/dist/{project-dependency-KSH63ODT.js → project-dependency-JGCJZ26H.js} +7 -7
- package/dist/{project-sdk-REPPOIBD.js → project-sdk-FOR4IOXL.js} +4 -4
- package/dist/promote-command-IPDH5OBT.js +141 -0
- package/dist/{prompt-II3F3LND.js → prompt-5GUQTCSP.js} +4 -4
- package/dist/{publish-command-WIQCLPIU.js → publish-command-74HMEZ7E.js} +70 -69
- package/dist/pull-command-VO5RRGZ5.js +162 -0
- package/dist/{pull-superseded-GJWLG7XO.js → pull-superseded-GGURV5J3.js} +4 -4
- package/dist/{response-HlXahv4K.d.ts → raw-where-EoWl5fqY.d.ts} +27 -5
- package/dist/release-command-ZHM5FA4M.js +147 -0
- package/dist/{release-ns-command-HGKCE56Y.js → release-ns-command-2TL26YOM.js} +95 -94
- package/dist/{retry-command-AS5EVREX.js → retry-command-Y5YJGOH3.js} +8 -8
- package/dist/{routes-manifest-SNWUVBT6.js → routes-manifest-3BNZIVST.js} +17 -17
- package/dist/{secrets-file-O5GABAHH.js → secrets-file-NBBR6DYS.js} +14 -14
- package/dist/{secrets-fill-command-XSONDOOT.js → secrets-fill-command-X3HQ4JYN.js} +64 -63
- package/dist/{seed-VU7C3QYS.js → seed-GJHJSEUE.js} +13 -12
- package/dist/{source-resolve-UE7DHWYR.js → source-resolve-NTI3JFO6.js} +22 -22
- package/dist/{static-host-B2Y6AG3W.js → static-host-WM24RG25.js} +5 -5
- package/dist/{status-command-QIC7QCWJ.js → status-command-RVMOLYPR.js} +37 -37
- package/dist/{store-DuYfzKlW.d.ts → store-CfgPaVPO.d.ts} +125 -5
- package/dist/{store-ARM6VMO5.js → store-MR7IKXKK.js} +6 -6
- package/dist/{sync-contributions-WEKCYMP6.js → sync-contributions-KGCVRH2J.js} +9 -9
- package/dist/{table-ENAVMITR.js → table-ZBDPKMNH.js} +12 -11
- package/dist/{tables-command-VBIAU4HI.js → tables-command-GAOXJPMA.js} +40 -39
- package/dist/{tenant-IIHPOHGP.js → tenant-GKXMOYLK.js} +10 -10
- package/dist/{tenant-command-JXDHHIZH.js → tenant-command-FAJ7WZTH.js} +98 -97
- package/dist/{test-command-ST2BXOEH.js → test-command-53FRDZ32.js} +35 -35
- package/dist/{tests-BGGIOK3L.js → tests-C55M5EQS.js} +6 -6
- package/dist/{token-OZV2UJQA.js → token-44CKLYWD.js} +13 -13
- package/dist/{toolchain-hooks-GHKLUJOH.js → toolchain-hooks-BGZBDFAT.js} +3 -3
- package/dist/{toolchain-modules-DCKB4AVK.js → toolchain-modules-MPPH633S.js} +5 -5
- package/dist/{tracked-backend-JX2YUXTZ.js → tracked-backend-AJLHRGLF.js} +33 -33
- package/dist/update-check-Q4HJHHL5.js +137 -0
- package/dist/{upgrade-command-PKZPJKAV.js → upgrade-command-C63HIBVH.js} +65 -64
- package/dist/{whoami-command-IN2DJHSI.js → whoami-command-WC5EKB4W.js} +16 -16
- package/dist/{workspace-4STTFOPC.js → workspace-EJVWTIWX.js} +5 -5
- package/dist/{workspace-binding-T3HVSO4V.js → workspace-binding-BRPPUSWG.js} +15 -15
- package/dist/{workspace-command-3NQQRB7E.js → workspace-command-Y6STVPYO.js} +91 -90
- package/dist/{workspace-env-MWJFQ6O3.js → workspace-env-SIINWNMP.js} +11 -11
- package/dist/{workspace-export-OJSH2HIW.js → workspace-export-AIGM6LC7.js} +5 -5
- package/dist/{writable-VA7OISSK.js → writable-FYJBTJOU.js} +4 -4
- package/dist/xano-BSHYVFSE.js +43 -0
- package/dist/{xanosdk-import-N6OTERC6.js → xanosdk-import-UKEO7R7O.js} +10 -10
- package/dist/{xanosdk-project-7RIKS2ZQ.js → xanosdk-project-MQTZKITV.js} +12 -12
- package/guides/codes.md +2 -1
- package/llms/lambda.md +1 -0
- package/llms/legacy.md +9 -3
- package/llms/statements-data.md +1 -0
- package/llms/statements-runtime.md +1 -0
- package/llms-full.txt +13 -4
- package/llms.txt +1 -1
- package/manifest.json +1 -1
- package/package.json +1 -1
- package/dist/branch-commands-D7MVAOSY.js +0 -79
- package/dist/env-example-refresh-GQKAQDWO.js +0 -126
- package/dist/init-command-CEYEFIS2.js +0 -125
- package/dist/operation-outcome-QH6IZEV5.js +0 -51
- package/dist/promote-command-TYPJDNRW.js +0 -140
- package/dist/pull-command-4LVTKE4S.js +0 -161
- package/dist/release-command-JJ3QDX3T.js +0 -146
- package/dist/update-check-K557PAI7.js +0 -136
- package/dist/xano-ICFUSPFR.js +0 -42
|
@@ -1,102 +1,102 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fetchWorkspaceBundle
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7KLAMYMS.js";
|
|
4
|
+
import "./chunk-6NYLVUSZ.js";
|
|
5
|
+
import "./chunk-TTVAHCWP.js";
|
|
6
6
|
import {
|
|
7
7
|
printMicroserviceSection,
|
|
8
8
|
readMicroservices
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EWCDPFW5.js";
|
|
10
10
|
import {
|
|
11
11
|
confirm
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-4APOHK7Y.js";
|
|
13
|
+
import "./chunk-WOGJB2F6.js";
|
|
14
14
|
import {
|
|
15
15
|
listTables
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-MNVDVR3M.js";
|
|
17
|
+
import "./chunk-7KGASMCE.js";
|
|
18
|
+
import "./chunk-QV3GXQRE.js";
|
|
19
19
|
import "./chunk-3DRXWLJ5.js";
|
|
20
20
|
import "./chunk-X4DVXBFY.js";
|
|
21
21
|
import {
|
|
22
22
|
listBranches
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-E65QIWOO.js";
|
|
24
24
|
import {
|
|
25
25
|
reachableWorkspaces,
|
|
26
26
|
refuseUnreachableWorkspace,
|
|
27
27
|
unreachableWorkspaceMessage
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-7TXBKK5G.js";
|
|
29
|
+
import "./chunk-XCPF7BEJ.js";
|
|
30
|
+
import "./chunk-KUTFFHUM.js";
|
|
31
31
|
import "./chunk-2TFRR6JV.js";
|
|
32
32
|
import {
|
|
33
33
|
resolveOutputTarget,
|
|
34
34
|
secretsPhrase,
|
|
35
35
|
writeExportFile
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-ZH5R7NKN.js";
|
|
37
37
|
import {
|
|
38
38
|
secretsCarriedBy
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-HMLGM2MW.js";
|
|
40
|
+
import "./chunk-XXZZGXW2.js";
|
|
41
|
+
import "./chunk-FWXSTFN2.js";
|
|
42
42
|
import {
|
|
43
43
|
assertBundleFile,
|
|
44
44
|
assertBundleInput,
|
|
45
45
|
assertEntryFile,
|
|
46
46
|
assertValueFiles,
|
|
47
47
|
loadBundleText
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-F5KILDDO.js";
|
|
49
|
+
import "./chunk-DIG3NITC.js";
|
|
50
|
+
import "./chunk-IRQCV3OT.js";
|
|
51
|
+
import "./chunk-SEATQLFB.js";
|
|
52
|
+
import "./chunk-HSEQYBDO.js";
|
|
53
|
+
import "./chunk-PWIXETG7.js";
|
|
54
|
+
import "./chunk-46TUUNM3.js";
|
|
55
|
+
import "./chunk-A6QTTJUI.js";
|
|
56
|
+
import "./chunk-MEE5RZ6G.js";
|
|
57
57
|
import {
|
|
58
58
|
getAccessToken
|
|
59
|
-
} from "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
59
|
+
} from "./chunk-CJPLBFFY.js";
|
|
60
|
+
import "./chunk-YTPGQV5C.js";
|
|
61
|
+
import "./chunk-W5ONYLOP.js";
|
|
62
|
+
import "./chunk-KCAL4QYP.js";
|
|
63
63
|
import "./chunk-2MNLRIOX.js";
|
|
64
64
|
import "./chunk-WL2DSNJV.js";
|
|
65
65
|
import "./chunk-AM4FKL4J.js";
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-ZZEIC5PT.js";
|
|
67
|
+
import "./chunk-UDE5C2XN.js";
|
|
68
|
+
import "./chunk-NPXM6ZQY.js";
|
|
69
|
+
import "./chunk-UKUIUS3E.js";
|
|
70
70
|
import "./chunk-ZYJP6BOO.js";
|
|
71
71
|
import "./chunk-QO6BVGS5.js";
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-
|
|
72
|
+
import "./chunk-3H3EPMFY.js";
|
|
73
|
+
import "./chunk-BUECLQXK.js";
|
|
74
|
+
import "./chunk-CFSFBKHP.js";
|
|
75
75
|
import {
|
|
76
76
|
yesRerun
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-FMOEVAGT.js";
|
|
78
78
|
import "./chunk-622HUCZT.js";
|
|
79
79
|
import {
|
|
80
80
|
contextFlags
|
|
81
|
-
} from "./chunk-
|
|
82
|
-
import "./chunk-
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
85
|
-
import "./chunk-
|
|
81
|
+
} from "./chunk-SEUCZZCP.js";
|
|
82
|
+
import "./chunk-ERJNHEFV.js";
|
|
83
|
+
import "./chunk-HHFPIJGL.js";
|
|
84
|
+
import "./chunk-2CGPQ7IM.js";
|
|
85
|
+
import "./chunk-ANHOEBTJ.js";
|
|
86
86
|
import "./chunk-ZFDZKNGG.js";
|
|
87
87
|
import "./chunk-FWD7AL6N.js";
|
|
88
|
-
import "./chunk-
|
|
88
|
+
import "./chunk-FSYVOCS7.js";
|
|
89
89
|
import "./chunk-JTUKLCXS.js";
|
|
90
90
|
import {
|
|
91
91
|
describeWrite
|
|
92
92
|
} from "./chunk-4KHEMC32.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-37AHZ7JX.js";
|
|
94
94
|
import "./chunk-ROY4YAEQ.js";
|
|
95
|
-
import "./chunk-
|
|
96
|
-
import "./chunk-
|
|
95
|
+
import "./chunk-VD32O6KZ.js";
|
|
96
|
+
import "./chunk-RX3EMQGN.js";
|
|
97
97
|
import "./chunk-WRBKLYSJ.js";
|
|
98
|
-
import "./chunk-
|
|
99
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-DYG5D3FD.js";
|
|
99
|
+
import "./chunk-I2BGYNHD.js";
|
|
100
100
|
import {
|
|
101
101
|
writeData
|
|
102
102
|
} from "./chunk-AWQ7BQTQ.js";
|
|
@@ -106,19 +106,19 @@ import {
|
|
|
106
106
|
fetchOrExplain,
|
|
107
107
|
httpFailure,
|
|
108
108
|
parseJsonAnswer
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import "./chunk-
|
|
109
|
+
} from "./chunk-MN2PB6WB.js";
|
|
110
|
+
import "./chunk-FPBGAT5D.js";
|
|
111
111
|
import "./chunk-LLNZGEFK.js";
|
|
112
112
|
import "./chunk-QXTKSOFI.js";
|
|
113
113
|
import "./chunk-X2NL4KUO.js";
|
|
114
|
-
import "./chunk-
|
|
115
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-CBYQ2ZN3.js";
|
|
115
|
+
import "./chunk-XMDDBEEM.js";
|
|
116
116
|
import "./chunk-OPHB5ORL.js";
|
|
117
117
|
import "./chunk-UCQ2VUTG.js";
|
|
118
118
|
import "./chunk-DGWHAVRG.js";
|
|
119
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-7THDHQ4R.js";
|
|
120
120
|
import "./chunk-3YW23UFH.js";
|
|
121
|
-
import "./chunk-
|
|
121
|
+
import "./chunk-6R7S775T.js";
|
|
122
122
|
import {
|
|
123
123
|
UsageError,
|
|
124
124
|
blank,
|
|
@@ -138,46 +138,47 @@ import {
|
|
|
138
138
|
warn,
|
|
139
139
|
writeJson,
|
|
140
140
|
writeTargetPayload
|
|
141
|
-
} from "./chunk-
|
|
142
|
-
import "./chunk-
|
|
143
|
-
import "./chunk-
|
|
144
|
-
import "./chunk-
|
|
145
|
-
import "./chunk-
|
|
146
|
-
import "./chunk-
|
|
147
|
-
import "./chunk-
|
|
148
|
-
import "./chunk-
|
|
149
|
-
import "./chunk-
|
|
150
|
-
import "./chunk-
|
|
151
|
-
import "./chunk-
|
|
152
|
-
import "./chunk-
|
|
141
|
+
} from "./chunk-SBR2WZXG.js";
|
|
142
|
+
import "./chunk-II747OWE.js";
|
|
143
|
+
import "./chunk-5W7DOMIU.js";
|
|
144
|
+
import "./chunk-6JAEMMZ7.js";
|
|
145
|
+
import "./chunk-5YL5OC2G.js";
|
|
146
|
+
import "./chunk-45ZUMF4E.js";
|
|
147
|
+
import "./chunk-7KPKDHHI.js";
|
|
148
|
+
import "./chunk-EESV6NU2.js";
|
|
149
|
+
import "./chunk-OPG4DYX2.js";
|
|
150
|
+
import "./chunk-ICK36EGF.js";
|
|
151
|
+
import "./chunk-BEXZ4XRV.js";
|
|
152
|
+
import "./chunk-ETAZIGNT.js";
|
|
153
153
|
import "./chunk-GSGDWJB5.js";
|
|
154
|
-
import "./chunk-
|
|
154
|
+
import "./chunk-4PQHO74B.js";
|
|
155
155
|
import "./chunk-ERVIASGL.js";
|
|
156
|
-
import "./chunk-
|
|
156
|
+
import "./chunk-VTMTIBKP.js";
|
|
157
157
|
import "./chunk-H2V3N23D.js";
|
|
158
158
|
import "./chunk-3JDU4VRL.js";
|
|
159
159
|
import "./chunk-WTPZRR4I.js";
|
|
160
|
+
import "./chunk-GPI3OWRE.js";
|
|
160
161
|
import "./chunk-UTI5G6OJ.js";
|
|
161
|
-
import "./chunk-
|
|
162
|
-
import "./chunk-6MR5TI5V.js";
|
|
162
|
+
import "./chunk-OOGXZL7Z.js";
|
|
163
163
|
import "./chunk-5ZSO4T2G.js";
|
|
164
164
|
import {
|
|
165
165
|
HOSTED_ROW_PATH_PREFIX
|
|
166
166
|
} from "./chunk-XNCP4KYO.js";
|
|
167
|
-
import "./chunk-
|
|
168
|
-
import "./chunk-
|
|
167
|
+
import "./chunk-UDZX2ZL4.js";
|
|
168
|
+
import "./chunk-ZY55DO5P.js";
|
|
169
|
+
import "./chunk-A2AOUBJS.js";
|
|
169
170
|
import "./chunk-TFFGOFVZ.js";
|
|
170
171
|
import "./chunk-EHP3WPEG.js";
|
|
171
|
-
import "./chunk-
|
|
172
|
+
import "./chunk-3HOGFGKG.js";
|
|
172
173
|
import "./chunk-Q7DGTQ5G.js";
|
|
173
|
-
import "./chunk-
|
|
174
|
-
import "./chunk-
|
|
175
|
-
import "./chunk-
|
|
174
|
+
import "./chunk-7GX445AE.js";
|
|
175
|
+
import "./chunk-37FBPMNE.js";
|
|
176
|
+
import "./chunk-UVF45BVU.js";
|
|
176
177
|
import "./chunk-VAX3UZOY.js";
|
|
177
|
-
import "./chunk-
|
|
178
|
+
import "./chunk-LL6ED5IB.js";
|
|
178
179
|
import "./chunk-4BW2SG2N.js";
|
|
179
|
-
import "./chunk-
|
|
180
|
-
import "./chunk-
|
|
180
|
+
import "./chunk-4DJTQ6W4.js";
|
|
181
|
+
import "./chunk-4MIV244X.js";
|
|
181
182
|
import "./chunk-OHX6MIUZ.js";
|
|
182
183
|
import "./chunk-36JUQZVQ.js";
|
|
183
184
|
import "./chunk-PZ5AY32C.js";
|
|
@@ -196,7 +197,7 @@ async function runWorkspaceCommand(args) {
|
|
|
196
197
|
case "reset-tables":
|
|
197
198
|
return runResetTables(args);
|
|
198
199
|
case "branch": {
|
|
199
|
-
const { runBranchCommand } = await import("./branch-commands-
|
|
200
|
+
const { runBranchCommand } = await import("./branch-commands-R4PPN3Z7.js");
|
|
200
201
|
return runBranchCommand(args);
|
|
201
202
|
}
|
|
202
203
|
default:
|
|
@@ -225,7 +226,7 @@ async function runDetails(args) {
|
|
|
225
226
|
const auth = await getAccessToken(args);
|
|
226
227
|
const workspaceId = auth.workspaceId;
|
|
227
228
|
const all = await fetchWorkspaces(auth).catch(async (err) => {
|
|
228
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
229
|
+
const { unansweredRead } = await import("./source-resolve-NTI3JFO6.js");
|
|
229
230
|
throw unansweredRead(err, "read the workspace list", "workspace");
|
|
230
231
|
});
|
|
231
232
|
const match = all.find((w) => w.id === workspaceId);
|
|
@@ -285,7 +286,7 @@ async function runExport(args) {
|
|
|
285
286
|
var EXIT_DIFF_MISMATCH = 2;
|
|
286
287
|
async function runDiff(args) {
|
|
287
288
|
if (args.file === void 0 && args.bundle === void 0) {
|
|
288
|
-
const { resolveProjectEntry } = await import("./deploy-source-
|
|
289
|
+
const { resolveProjectEntry } = await import("./deploy-source-ULSWF2V7.js");
|
|
289
290
|
const entry = resolveProjectEntry(process.cwd());
|
|
290
291
|
if (entry !== void 0) args = { ...args, file: entry };
|
|
291
292
|
}
|
|
@@ -298,11 +299,11 @@ async function runDiff(args) {
|
|
|
298
299
|
try {
|
|
299
300
|
live = await fetchWorkspaceBundle(auth, args.branch);
|
|
300
301
|
} catch (err) {
|
|
301
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
302
|
+
const { unansweredRead } = await import("./source-resolve-NTI3JFO6.js");
|
|
302
303
|
throw unansweredRead(err, "read the workspace to compare", "workspace");
|
|
303
304
|
}
|
|
304
|
-
const { compareToLive, SETTINGS_LABEL } = await import("./live-diff-
|
|
305
|
-
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-
|
|
305
|
+
const { compareToLive, SETTINGS_LABEL } = await import("./live-diff-2S7E3SBZ.js");
|
|
306
|
+
const { codePinnedCanonicals, releaseCanonicalLock } = await import("./release-command-ZHM5FA4M.js");
|
|
306
307
|
const pinned = codePinnedCanonicals(local.bundle, releaseCanonicalLock(args), args.file !== void 0);
|
|
307
308
|
const result = compareToLive(
|
|
308
309
|
JSON.parse(local.bundle),
|
|
@@ -406,7 +407,7 @@ Pass the entry file: \`xanosdk workspace reset-tables ./index.ts --table <guid>
|
|
|
406
407
|
const local = await loadBundleText(args.write === true && !willRefuse ? args : { ...args, lockReadOnly: true }, target, {
|
|
407
408
|
withSeed: true
|
|
408
409
|
});
|
|
409
|
-
const { seedRowsByTableGuid } = await import("./seed-
|
|
410
|
+
const { seedRowsByTableGuid } = await import("./seed-GJHJSEUE.js");
|
|
410
411
|
const seeds = seedRowsByTableGuid(local.content);
|
|
411
412
|
const declared = projectTables(local.bundle);
|
|
412
413
|
const unknown = guids.filter((guid) => !declared.some((t) => t.guid === guid));
|
|
@@ -443,7 +444,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
443
444
|
);
|
|
444
445
|
}
|
|
445
446
|
const destination = credentialWriteTarget(auth);
|
|
446
|
-
const { countTableRows } = await import("./table-
|
|
447
|
+
const { countTableRows } = await import("./table-ZBDPKMNH.js");
|
|
447
448
|
const planned = await Promise.all(
|
|
448
449
|
guids.map(async (guid) => {
|
|
449
450
|
const table = byGuid.get(guid);
|
|
@@ -482,7 +483,7 @@ ${declared.map((t) => ` ${t.guid} ${t.name}${seeds.has(t.guid) ? " (seeded)"
|
|
|
482
483
|
return;
|
|
483
484
|
}
|
|
484
485
|
}
|
|
485
|
-
const { truncateTable, insertTableRows } = await import("./table-
|
|
486
|
+
const { truncateTable, insertTableRows } = await import("./table-ZBDPKMNH.js");
|
|
486
487
|
const done = [];
|
|
487
488
|
for (const t of planned) {
|
|
488
489
|
step(`Resetting ${t.name}`);
|
|
@@ -532,4 +533,4 @@ export {
|
|
|
532
533
|
EXIT_DIFF_MISMATCH,
|
|
533
534
|
runWorkspaceCommand
|
|
534
535
|
};
|
|
535
|
-
//# sourceMappingURL=workspace-command-
|
|
536
|
+
//# sourceMappingURL=workspace-command-Y6STVPYO.js.map
|
|
@@ -14,34 +14,34 @@ import {
|
|
|
14
14
|
renderWorkspaceEnvFile,
|
|
15
15
|
valueProblem,
|
|
16
16
|
workspaceEnvPathIn
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-IRQCV3OT.js";
|
|
18
|
+
import "./chunk-ERJNHEFV.js";
|
|
19
|
+
import "./chunk-HHFPIJGL.js";
|
|
20
|
+
import "./chunk-2CGPQ7IM.js";
|
|
21
|
+
import "./chunk-ANHOEBTJ.js";
|
|
22
22
|
import "./chunk-ZFDZKNGG.js";
|
|
23
23
|
import "./chunk-FWD7AL6N.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-FSYVOCS7.js";
|
|
25
25
|
import "./chunk-JTUKLCXS.js";
|
|
26
26
|
import "./chunk-4KHEMC32.js";
|
|
27
27
|
import {
|
|
28
28
|
projectRootFrom
|
|
29
29
|
} from "./chunk-ROY4YAEQ.js";
|
|
30
30
|
import "./chunk-WRBKLYSJ.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-DYG5D3FD.js";
|
|
32
|
+
import "./chunk-MN2PB6WB.js";
|
|
33
33
|
import "./chunk-LLNZGEFK.js";
|
|
34
34
|
import "./chunk-QXTKSOFI.js";
|
|
35
35
|
import "./chunk-X2NL4KUO.js";
|
|
36
36
|
import "./chunk-UCQ2VUTG.js";
|
|
37
37
|
import "./chunk-DGWHAVRG.js";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-SBR2WZXG.js";
|
|
39
39
|
import {
|
|
40
40
|
isRepresentableName,
|
|
41
41
|
safeNames
|
|
42
42
|
} from "./chunk-GSGDWJB5.js";
|
|
43
|
+
import "./chunk-GPI3OWRE.js";
|
|
43
44
|
import "./chunk-UTI5G6OJ.js";
|
|
44
|
-
import "./chunk-2EZ3ZJZZ.js";
|
|
45
45
|
import "./chunk-5ZSO4T2G.js";
|
|
46
46
|
import "./chunk-TFFGOFVZ.js";
|
|
47
47
|
import "./chunk-OHX6MIUZ.js";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
valueProblem,
|
|
68
68
|
workspaceEnvPathIn
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=workspace-env-
|
|
70
|
+
//# sourceMappingURL=workspace-env-SIINWNMP.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertBranchReadSupported,
|
|
3
3
|
exportWorkspaceBundle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QV3GXQRE.js";
|
|
5
5
|
import "./chunk-3DRXWLJ5.js";
|
|
6
6
|
import "./chunk-X4DVXBFY.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-MN2PB6WB.js";
|
|
8
8
|
import "./chunk-QXTKSOFI.js";
|
|
9
9
|
import "./chunk-X2NL4KUO.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-SBR2WZXG.js";
|
|
11
|
+
import "./chunk-GPI3OWRE.js";
|
|
11
12
|
import "./chunk-UTI5G6OJ.js";
|
|
12
|
-
import "./chunk-2EZ3ZJZZ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
14
14
|
import "./chunk-TFFGOFVZ.js";
|
|
15
15
|
import "./chunk-36JUQZVQ.js";
|
|
@@ -18,4 +18,4 @@ export {
|
|
|
18
18
|
assertBranchReadSupported,
|
|
19
19
|
exportWorkspaceBundle
|
|
20
20
|
};
|
|
21
|
-
//# sourceMappingURL=workspace-export-
|
|
21
|
+
//# sourceMappingURL=workspace-export-AIGM6LC7.js.map
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
unreadableError,
|
|
6
6
|
unwritableBlocker,
|
|
7
7
|
unwritableError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3H3EPMFY.js";
|
|
9
9
|
import "./chunk-FWD7AL6N.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-SBR2WZXG.js";
|
|
11
|
+
import "./chunk-GPI3OWRE.js";
|
|
11
12
|
import "./chunk-UTI5G6OJ.js";
|
|
12
|
-
import "./chunk-2EZ3ZJZZ.js";
|
|
13
13
|
import "./chunk-5ZSO4T2G.js";
|
|
14
14
|
import "./chunk-TFFGOFVZ.js";
|
|
15
15
|
import "./chunk-36JUQZVQ.js";
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
unwritableBlocker,
|
|
23
23
|
unwritableError
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=writable-
|
|
25
|
+
//# sourceMappingURL=writable-FYJBTJOU.js.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import {
|
|
2
|
+
XANO_ORIGIN,
|
|
3
|
+
Xano,
|
|
4
|
+
standaloneDefKind,
|
|
5
|
+
workspace
|
|
6
|
+
} from "./chunk-5YL5OC2G.js";
|
|
7
|
+
import "./chunk-45ZUMF4E.js";
|
|
8
|
+
import "./chunk-7KPKDHHI.js";
|
|
9
|
+
import "./chunk-EESV6NU2.js";
|
|
10
|
+
import "./chunk-OPG4DYX2.js";
|
|
11
|
+
import "./chunk-ICK36EGF.js";
|
|
12
|
+
import "./chunk-BEXZ4XRV.js";
|
|
13
|
+
import "./chunk-ETAZIGNT.js";
|
|
14
|
+
import "./chunk-GSGDWJB5.js";
|
|
15
|
+
import "./chunk-4PQHO74B.js";
|
|
16
|
+
import "./chunk-ERVIASGL.js";
|
|
17
|
+
import "./chunk-VTMTIBKP.js";
|
|
18
|
+
import "./chunk-H2V3N23D.js";
|
|
19
|
+
import "./chunk-3JDU4VRL.js";
|
|
20
|
+
import "./chunk-WTPZRR4I.js";
|
|
21
|
+
import "./chunk-GPI3OWRE.js";
|
|
22
|
+
import "./chunk-UTI5G6OJ.js";
|
|
23
|
+
import "./chunk-OOGXZL7Z.js";
|
|
24
|
+
import "./chunk-5ZSO4T2G.js";
|
|
25
|
+
import "./chunk-XNCP4KYO.js";
|
|
26
|
+
import "./chunk-ZY55DO5P.js";
|
|
27
|
+
import "./chunk-A2AOUBJS.js";
|
|
28
|
+
import "./chunk-UVF45BVU.js";
|
|
29
|
+
import "./chunk-VAX3UZOY.js";
|
|
30
|
+
import "./chunk-LL6ED5IB.js";
|
|
31
|
+
import "./chunk-4BW2SG2N.js";
|
|
32
|
+
import "./chunk-4DJTQ6W4.js";
|
|
33
|
+
import "./chunk-4MIV244X.js";
|
|
34
|
+
import "./chunk-OHX6MIUZ.js";
|
|
35
|
+
import "./chunk-36JUQZVQ.js";
|
|
36
|
+
import "./chunk-PZ5AY32C.js";
|
|
37
|
+
export {
|
|
38
|
+
XANO_ORIGIN,
|
|
39
|
+
Xano,
|
|
40
|
+
standaloneDefKind,
|
|
41
|
+
workspace
|
|
42
|
+
};
|
|
43
|
+
//# sourceMappingURL=xano-BSHYVFSE.js.map
|
|
@@ -13,27 +13,27 @@ import {
|
|
|
13
13
|
resetXanoSdkImportDetection,
|
|
14
14
|
withDefaultBranchPointer,
|
|
15
15
|
xanosdkImport
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AMTJ4G32.js";
|
|
17
17
|
import "./chunk-3DRXWLJ5.js";
|
|
18
18
|
import "./chunk-X4DVXBFY.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-MEE5RZ6G.js";
|
|
20
20
|
import "./chunk-4KHEMC32.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-MN2PB6WB.js";
|
|
22
22
|
import "./chunk-QXTKSOFI.js";
|
|
23
23
|
import "./chunk-X2NL4KUO.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-SBR2WZXG.js";
|
|
25
|
+
import "./chunk-EESV6NU2.js";
|
|
26
26
|
import "./chunk-H2V3N23D.js";
|
|
27
27
|
import "./chunk-3JDU4VRL.js";
|
|
28
|
+
import "./chunk-GPI3OWRE.js";
|
|
28
29
|
import "./chunk-UTI5G6OJ.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-6MR5TI5V.js";
|
|
30
|
+
import "./chunk-OOGXZL7Z.js";
|
|
31
31
|
import "./chunk-5ZSO4T2G.js";
|
|
32
32
|
import "./chunk-XNCP4KYO.js";
|
|
33
33
|
import "./chunk-TFFGOFVZ.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LL6ED5IB.js";
|
|
35
35
|
import "./chunk-4BW2SG2N.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-4MIV244X.js";
|
|
37
37
|
import "./chunk-OHX6MIUZ.js";
|
|
38
38
|
import "./chunk-36JUQZVQ.js";
|
|
39
39
|
import "./chunk-PZ5AY32C.js";
|
|
@@ -53,4 +53,4 @@ export {
|
|
|
53
53
|
withDefaultBranchPointer,
|
|
54
54
|
xanosdkImport
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=xanosdk-import-
|
|
56
|
+
//# sourceMappingURL=xanosdk-import-UKEO7R7O.js.map
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
enterProjectRoot,
|
|
4
4
|
isProjectDir,
|
|
5
5
|
projectDirFrom
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-PWIXETG7.js";
|
|
7
|
+
import "./chunk-ERJNHEFV.js";
|
|
8
|
+
import "./chunk-HHFPIJGL.js";
|
|
9
|
+
import "./chunk-2CGPQ7IM.js";
|
|
10
|
+
import "./chunk-ANHOEBTJ.js";
|
|
11
11
|
import "./chunk-ZFDZKNGG.js";
|
|
12
12
|
import "./chunk-FWD7AL6N.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-FSYVOCS7.js";
|
|
14
14
|
import "./chunk-JTUKLCXS.js";
|
|
15
15
|
import "./chunk-4KHEMC32.js";
|
|
16
16
|
import "./chunk-ROY4YAEQ.js";
|
|
17
17
|
import "./chunk-WRBKLYSJ.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-DYG5D3FD.js";
|
|
19
19
|
import "./chunk-EUUUMY7J.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-MN2PB6WB.js";
|
|
21
|
+
import "./chunk-FPBGAT5D.js";
|
|
22
22
|
import "./chunk-LLNZGEFK.js";
|
|
23
23
|
import "./chunk-QXTKSOFI.js";
|
|
24
24
|
import "./chunk-X2NL4KUO.js";
|
|
25
25
|
import "./chunk-UCQ2VUTG.js";
|
|
26
26
|
import "./chunk-DGWHAVRG.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-SBR2WZXG.js";
|
|
28
|
+
import "./chunk-GPI3OWRE.js";
|
|
28
29
|
import "./chunk-UTI5G6OJ.js";
|
|
29
|
-
import "./chunk-2EZ3ZJZZ.js";
|
|
30
30
|
import "./chunk-5ZSO4T2G.js";
|
|
31
31
|
import "./chunk-TFFGOFVZ.js";
|
|
32
32
|
import "./chunk-OHX6MIUZ.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
isProjectDir,
|
|
39
39
|
projectDirFrom
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=xanosdk-project-
|
|
41
|
+
//# sourceMappingURL=xanosdk-project-MQTZKITV.js.map
|
package/guides/codes.md
CHANGED
|
@@ -344,7 +344,7 @@ Raised while a workspace compiles (`export`, `deploy`, `release`, …). A warnin
|
|
|
344
344
|
| `query.auth-table-unregistered` | query "…": `auth` is a table def that isn't registered on this workspace — add it with `registerTables([…])`. |
|
|
345
345
|
| `query.input-name-mangled` | query "…" (…) has an input named …, which a query string cannot deliver — the request parser rewrites param names, so `?…=…` … and the input stays empty. |
|
|
346
346
|
| `query.path-segment-candidate` | query "…" (…) looks up one row by the `…` input, but the path declares no `{…}` segment — so the value arrives as `?…=…` instead of addressing the resource. |
|
|
347
|
-
| `query.route-shadowed` | queries
|
|
347
|
+
| `query.route-shadowed` | Two queries in one api group and verb that one request path can match; the route created first answers for both. |
|
|
348
348
|
| `realtime.conversation-no-limit` | realtimeChannel "…" sets `conversation: { enabled: true }` with no `limit` — `limit` defaults to 0 and 0 means retain NONE, so nothing is recorded or replayed. |
|
|
349
349
|
| `realtime.deliver-explicit` | realtimeMessage "…" sets `deliverTo: "explicit"`, which delivers to NOBODY — nothing selects recipients from inside a handler, and `s.realtime.publish` is no… |
|
|
350
350
|
| `realtime.deliver-falsy-return` | realtimeChannelTrigger "…" gates `deliver` and returns `…` — only an explicit NULL drops a message; `false`, `0` and `""` DELIVER IT UNCHANGED. |
|
|
@@ -381,6 +381,7 @@ Raised while a workspace compiles (`export`, `deploy`, `release`, …). A warnin
|
|
|
381
381
|
| `statement.unknown-input` | …: `…` of … "…" passes `…`, which that … does not declare — the engine drops it, so the target never sees the value. |
|
|
382
382
|
| `storage.stored-file-input` | … "…": `s.storage.…` reads `inp("…")`…, an `input.…()` — that input takes an already-stored file, so an upload to it is refused (`400 Missing param: path`) b… |
|
|
383
383
|
| `switch.missing-break` | … has a `s.switch` whose case … omits `break: true`, so a match there FALLS THROUGH and also runs …. |
|
|
384
|
+
| `table.column-default-unfit` | A JSON-storage column's `default` its type cannot hold: the table deploys, then every insert that leaves the column unset is refused. |
|
|
384
385
|
| `table.column-name-unusable` | A stored column name the rule refuses (inserts, filters or reads fail on it), kept on a pulled table. |
|
|
385
386
|
| `table.reserved-column-name` | table "…": the column name `…` is reserved by the engine — it is the key a block statement stores its sub-stack under, and an insert's parameter map collides… |
|
|
386
387
|
| `table.view-duplicate` | …: `id` "…" is also the id of … — each view needs its own uuid. |
|
package/llms/lambda.md
CHANGED
|
@@ -34,6 +34,7 @@ For a body built away from its call site:
|
|
|
34
34
|
|
|
35
35
|
- `lam.fn(({ $result, $this }) => $result + $this, { surface?, capture? })` — name a `surface` to check it here, or omit it and the call site checks it.
|
|
36
36
|
- `lam.raw("return 1", { surface })` — text, same validation.
|
|
37
|
+
- `lam.raw(code, { surface, unchecked: true })` — sends a body that does not parse or declares a top-level `import`/`export` (a fixture pinning the engine's syntax-error answer, or a pulled body); skips those syntax checks only, here and at the `s.lambda` / `fl.*` site.
|
|
37
38
|
- `lam.file("./lambdas/total.ts")` — a default-exported function in its own module (path relative to the caller), read as text at build time. NODE ONLY: `import { lam } from "@xano/sdk/node"` (isomorphic `lam` has no `file`). Only the default export's BODY is sent, so a value import, a second export or a top-level helper is refused — move helpers inside; `import type` / `import { type X }` are free. `@xano/sdk/lambda-globals` types the globals below program-wide: keep modules in `xano/lambdas/` (its scaffold tsconfig loads it) or `import type {} from` it under their own tsconfig.
|
|
38
39
|
|
|
39
40
|
Nothing from the enclosing scope crosses: the body is sent as TEXT, so a closed-over
|
package/llms/legacy.md
CHANGED
|
@@ -14,9 +14,9 @@ two things are the same object; check which list it came from.
|
|
|
14
14
|
- `realtimeTrigger()` — the SUPERSEDED realtime trigger, against the workspace-global realtime layer — a different object from the current `channel`, despite the similar name. For a join hook use `realtimeChannelTrigger({ actions: { join: true } })`; for message handling use a `realtimeMessage()` handler, which is the current equivalent of its `message` action (a message is an authored unit now, not a trigger action).
|
|
15
15
|
- `s.api.realtime_event` — publishes to the SUPERSEDED workspace-global realtime layer, NOT to a `realtimeChannel()` — its `channel` is a string against that layer, so pointing it at a current-layer channel path publishes into the void. Use `s.realtime.publish` instead: it names the owning `realtimeServer()`, so it addresses a real `realtimeChannel()`.
|
|
16
16
|
|
|
17
|
-
Retired statement VERSIONS — no `s.` surface exists. Pulled code shows
|
|
18
|
-
`raw({ name: "…" })` and they keep running as stored, so leave them; author
|
|
19
|
-
replacement only for NEW code. Never swap one for the other —
|
|
17
|
+
Retired statements and statement VERSIONS — no `s.` surface exists. Pulled code shows
|
|
18
|
+
them as `raw({ name: "…" })` and they keep running as stored, so leave them; author
|
|
19
|
+
the replacement only for NEW code. Never swap one for the other — the stored shapes differ.
|
|
20
20
|
|
|
21
21
|
- `mvp:crypto_jwe_decode` → `mvp:crypto_jwe_decode2`
|
|
22
22
|
- `mvp:crypto_jwe_encode` → `mvp:crypto_jwe_encode3`
|
|
@@ -24,6 +24,8 @@ replacement only for NEW code. Never swap one for the other — each version bro
|
|
|
24
24
|
- `mvp:crypto_jws_decode` → `mvp:crypto_jws_decode2`
|
|
25
25
|
- `mvp:crypto_jws_encode` → `mvp:crypto_jws_encode2`
|
|
26
26
|
- `mvp:connect_ncscale_send_log` — retired, no replacement
|
|
27
|
+
- `mvp:dbo_get` → `mvp:dbo_getby`
|
|
28
|
+
- `mvp:guid` — retired, no replacement
|
|
27
29
|
|
|
28
30
|
Statements the engine writes but will NOT import back — no `s.` surface exists, and
|
|
29
31
|
unlike the retired versions above these must be FIXED, not left alone. Pulled code shows
|
|
@@ -42,3 +44,7 @@ statement the catalog cannot model round-trips verbatim through `raw()`
|
|
|
42
44
|
(`@xano/sdk/codegen`); and an object ALREADY EMPTY upstream decodes to a def with
|
|
43
45
|
no `stack`, reported as `empty-source` — faithful, not a decode failure. Workspace env
|
|
44
46
|
var VALUES go to `xano/.env` (owner-only, gitignored); `xano/workspace.ts` declares each as `""`.
|
|
47
|
+
|
|
48
|
+
Markers for stored shapes the checks refuse — keep them, not for new code:
|
|
49
|
+
`uncheckedAs: true`, `lam.raw(body, { unchecked: true })`, `rawWhere([...])` from
|
|
50
|
+
`@xano/sdk/codegen` (view filter), `"key" as never` (a key the target dropped; remove once declared).
|
package/llms/statements-data.md
CHANGED
|
@@ -36,6 +36,7 @@ primary key `id`):
|
|
|
36
36
|
- `bind: [{ table, as?, join?, where? }]` — joins (`context.bind[]`). `join` defaults to `"inner"`. `as` defaults to the table name; two joins to the same table need distinct aliases.
|
|
37
37
|
- ⚠ In `where`/`sort`/`eval` a JOINED column takes a dotted path (`col("team_row.id")`); THIS query's own columns stay **bare** (`col("team")`). Qualifying your own by table name needs `tableAlias` (same rule as `aggregate`) — without it the engine reads the operand as text and 400s `ParseError: Invalid value for param` naming the OTHER operand, so it throws at export instead.
|
|
38
38
|
- `bind: [{ table: team, as: "team_row", join: "left", where: expr(col("team"), "=", col("team_row.id")) }]`
|
|
39
|
+
- `bind: [{ expand: "blog.categories", as: "cat" }]` joins one row per element of a LIST column already in the query; read it as `col("cat.<key>")`.
|
|
39
40
|
- ⚠ A join does NOT put the joined table's columns on the returned row — with or without a `bind`, a row is the QUERIED table's columns, which is what `InferResponse` types. There is no `row.team_row`. To read a joined column, PROJECT it with an `eval` whose `name` is the dotted path: `eval: [{ name: "team_row.name", as: "team_name" }]` puts `team_name` on the row and on the inferred type. A bare `name` there is `Unsupported parameter reference` at runtime (it qualifies to the base table), and a dotted joined column in `output` is dropped with no error.
|
|
40
41
|
- `returnType` — `"list"` (default) | `"single"` | `"count"` | `"exists"` | `"stream"` | `"aggregate"`. Drives `context.return.type` AND the `InferResponse` shape: `count`→`number`, `exists`→`boolean`, `single`→`Row|null`, `stream`→`Row[]` (pageable, no envelope), `list`→`Row[]`/envelope, `aggregate`→rows keyed by the `aggregate.group`/`eval` aliases. ⚠ A bare `count` of ZERO serializes as an EMPTY body, not `0` — a client parsing JSON gets a parse error on the one result it most needs to handle. Wrap it: `response: { count: ref("n") }`.
|
|
41
42
|
- `eval: [{ name, as, filters? }]` — computed columns (`context.eval[]`). Each `as` grafts onto the row as an `unknown` key in `InferResponse`; shadowing a real column throws. Write `name` **bare** (`"embedding"`) — it is alias-qualified on emit exactly like `aggregate` (a bare eval name is `Unsupported param format` at runtime), and the statement declares the alias it used. An `as` alias is `sort`able in the SAME query.
|
|
@@ -31,6 +31,7 @@ Runtime behavior (what the `as:` output holds, and misses):
|
|
|
31
31
|
- ⚠ **Spreading a `Statement[]` helper into a stack kills the whole walk.** The trace needs the stack's TUPLE type, so `...myHelper()` where the helper returns `Statement[]` widens it and EVERY `as` in that stack — including ones declared after the spread — stops resolving. The response then types as `StackTupleWidened`, whose name says so. Fix: return `statements(s.a(...), s.b(...))` from the helper (a const-generic identity export — the tuple survives the spread). A helper that builds its array in a LOOP cannot be a tuple; declare `responseShape` there.
|
|
32
32
|
- **Addons** enrich returned rows. `db.query`/`get`/`add`/`edit`/`patch` accept `addon: [{ addon, as, input?, output?, children? }]`; `db.add_or_edit`/`del`/`has`/`truncate` take no `addon`.
|
|
33
33
|
- `addon` is the target (name or def handle). `as` is the destination on the row — a bare alias (`"_user"`) or a dotted `offset.alias`, authored relative to a row. Under a metadata paging envelope the `items[]` offset is prefixed automatically; writing it yourself is tolerated and not double-prefixed.
|
|
34
|
+
- `envelope: true` grafts once onto a paged query's envelope instead of each row.
|
|
34
35
|
- `input` maps addon inputs — bind a parent-row column with `out(col)`. `output` restricts addon columns. `children` nests addons.
|
|
35
36
|
- The DEFINITION side — the `addon({...})` factory and `registerAddons` — is a def shape in `llms/kinds-core.md`.
|
|
36
37
|
- Attaching a typed `addon({ table, output })` handle merges its alias (the last `as` segment) onto the row in `InferResponse`: `{cols} | null` for `single`, `{cols}[]` for `list`, `number` for `count`, `boolean` for `exists`, and for `aggregate` an array keyed by the `group`/`eval` aliases (`unknown` values; `unknown` when neither is declared).
|