@xano/sdk 1.0.19 → 1.0.20
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/README.md +5 -2
- package/dist/.build-fingerprint +1 -1
- package/dist/{agent-file-refresh-5IP25UYO.js → agent-file-refresh-MOEDX5OL.js} +13 -11
- package/dist/{agent-skill-command-BPM4S6C7.js → agent-skill-command-A4QEVNTP.js} +49 -47
- package/dist/ai-models-command-SN2UKVC5.js +270 -0
- package/dist/{answer-shape-ZRQS7ZC4.js → answer-shape-BCGPH73R.js} +5 -5
- package/dist/{backend-dir-RLILKCMR.js → backend-dir-66VVLCUF.js} +16 -14
- package/dist/{backend-slot-7BATLL3X.js → backend-slot-WSWAHL2W.js} +3 -3
- package/dist/bin.js +53 -51
- package/dist/{branch-SJKKUCMZ.js → branch-6DBHVVUT.js} +11 -11
- package/dist/{branch-commands-5HKCBRLN.js → branch-commands-KUEGS6XL.js} +29 -28
- package/dist/bundle.js +3 -3
- package/dist/{chunk-2HBJU76D.js → chunk-2SWJ3267.js} +40 -22
- package/dist/{chunk-UJ5HLRYH.js → chunk-2VHEZDZZ.js} +35 -35
- package/dist/{chunk-BT6CJNEO.js → chunk-34OZQNKR.js} +4 -4
- package/dist/chunk-37BT62SX.js +17 -0
- package/dist/{chunk-QK2WIASY.js → chunk-3H765RXT.js} +7 -7
- package/dist/{chunk-2IC3K22K.js → chunk-3HK7VELD.js} +2 -2
- package/dist/{chunk-5AHHO2QA.js → chunk-3OR2RCXJ.js} +118 -94
- package/dist/{chunk-ZYZ7GRX3.js → chunk-4DVP42ZC.js} +2 -2
- package/dist/{chunk-Q45RTKWW.js → chunk-4GI22VPJ.js} +6 -6
- package/dist/{chunk-2NUOFHPX.js → chunk-4PHCBKJI.js} +7 -7
- package/dist/{chunk-ROWYW3JF.js → chunk-4QRDNBPY.js} +2 -2
- package/dist/{chunk-SINL5WMI.js → chunk-4Y3SWNPE.js} +2 -2
- package/dist/{chunk-6SEPZQYB.js → chunk-4ZV4MDKP.js} +2 -2
- package/dist/{chunk-XKHQLKUL.js → chunk-52VELHIH.js} +3 -3
- package/dist/{chunk-IFHFJR5O.js → chunk-5ABAIJVV.js} +6 -6
- package/dist/{chunk-L4L6YITX.js → chunk-5BLBX2Q5.js} +13 -10
- package/dist/chunk-5KSVMHFS.js +81 -0
- package/dist/{chunk-MOVRSULZ.js → chunk-5Z4WQQHC.js} +2 -2
- package/dist/{chunk-ZHFSIQ6E.js → chunk-6534P3VH.js} +25 -2
- package/dist/{chunk-Q6AKSLD2.js → chunk-6L32HAIP.js} +2 -2
- package/dist/chunk-6SXKKDGF.js +9 -0
- package/dist/{chunk-OTQF4B37.js → chunk-6TAYTKFM.js} +4 -4
- package/dist/{chunk-7UQZ7C4W.js → chunk-745NOWB7.js} +6 -6
- package/dist/{chunk-XAE4NIZ2.js → chunk-7J7YRAZB.js} +4 -4
- package/dist/{chunk-E34VGSCI.js → chunk-7LLVSTXY.js} +9 -1
- package/dist/{chunk-YT5UN2F4.js → chunk-7Z43XRBL.js} +14 -14
- package/dist/{chunk-E7VF2JVJ.js → chunk-AD7YILOU.js} +10 -10
- package/dist/{chunk-AICWDCLJ.js → chunk-BBFHZMQA.js} +2 -2
- package/dist/{chunk-YP4QTC4F.js → chunk-BFM2P47R.js} +6 -6
- package/dist/{chunk-KG3RDXN5.js → chunk-C6ERQFEB.js} +4 -4
- package/dist/{chunk-54CJ74BH.js → chunk-C7KO5KKB.js} +4 -4
- package/dist/chunk-CBACTYIC.js +278 -0
- package/dist/{chunk-V2MIBJZU.js → chunk-CGLYG2VF.js} +2 -2
- package/dist/{chunk-Z73I7Q2H.js → chunk-CJ5WRCVE.js} +80 -2
- package/dist/{chunk-GTB7JL3M.js → chunk-CJIXD67B.js} +6 -6
- package/dist/{chunk-JUCL5MUZ.js → chunk-CP7OSHLK.js} +8 -8
- package/dist/{chunk-D4N72H35.js → chunk-CPR2F3WN.js} +9 -9
- package/dist/{chunk-WGKKDGSA.js → chunk-DAXFWXSV.js} +8 -8
- package/dist/{chunk-MSYMEP7Y.js → chunk-DJ7JH4UE.js} +7 -7
- package/dist/{chunk-XDGLYIB2.js → chunk-DORGB2Y2.js} +2 -2
- package/dist/{chunk-5JUWB6XL.js → chunk-E7YXNU57.js} +7 -7
- package/dist/{chunk-GA6HTO3O.js → chunk-EBSJUSID.js} +2 -2
- package/dist/{chunk-PLOBHRGV.js → chunk-EJXJE2H3.js} +49 -49
- package/dist/{chunk-O2BLNQEC.js → chunk-EME5G4YP.js} +2 -2
- package/dist/{chunk-RVWWNNZQ.js → chunk-EOWNLLLV.js} +4 -4
- package/dist/{chunk-QIT2GGNB.js → chunk-EPD5J3WA.js} +2 -2
- package/dist/{chunk-554FJWNH.js → chunk-EQ2KB5YF.js} +4 -4
- package/dist/{chunk-GT7PZCTK.js → chunk-FVBJKM6N.js} +3 -3
- package/dist/{chunk-F3IA3YWI.js → chunk-FVZ5C3PF.js} +22 -2
- package/dist/{chunk-KVF7YQ2W.js → chunk-G3ZUGFIS.js} +9 -9
- package/dist/{chunk-RKTVXFBV.js → chunk-GUHJV7C5.js} +31 -3
- package/dist/{chunk-ASUDP4OS.js → chunk-HGUQIBYY.js} +8 -8
- package/dist/{chunk-DO5VZIY4.js → chunk-HUXMRYUX.js} +3 -3
- package/dist/{chunk-G2XSDIYS.js → chunk-I52AKG2O.js} +4 -4
- package/dist/{chunk-VCFRALU7.js → chunk-I5YD7QPI.js} +28 -11
- package/dist/{chunk-YYBBJPCL.js → chunk-IUBGFCJJ.js} +14 -18
- package/dist/{chunk-UH5VQGNR.js → chunk-JXX2QXPP.js} +2 -2
- package/dist/{chunk-2DUYJR5N.js → chunk-KHX6VQ4M.js} +2 -2
- package/dist/{chunk-NYIFU3BR.js → chunk-KMXXOJL2.js} +21 -19
- package/dist/{chunk-4HMF5TRB.js → chunk-KNLPGIRY.js} +8 -8
- package/dist/{chunk-KYQRIL4V.js → chunk-LLG33KGY.js} +26 -26
- package/dist/{chunk-WGGATSIP.js → chunk-LMX4VE4H.js} +2 -2
- package/dist/{chunk-DXUICABI.js → chunk-LZDH5COS.js} +21 -2
- package/dist/{chunk-E5M5P23K.js → chunk-M5GXZEX7.js} +21 -215
- package/dist/{chunk-B6ZHSM2D.js → chunk-MAAQ4ZSN.js} +73 -73
- package/dist/{chunk-Q4LJCCH5.js → chunk-MGC5S6OE.js} +75 -9
- package/dist/{chunk-5Y5HWQ2P.js → chunk-MKRREVNB.js} +4 -4
- package/dist/{chunk-OTYK2V44.js → chunk-OAWBNCME.js} +24 -24
- package/dist/{chunk-64UVVLDT.js → chunk-OG6WYZNA.js} +7 -7
- package/dist/{chunk-AJBOGO5U.js → chunk-OQMXCNN7.js} +59 -31
- package/dist/{chunk-EPB6FAR5.js → chunk-OSMPI45P.js} +3 -3
- package/dist/{chunk-3X4B5GWY.js → chunk-P3WIMLG2.js} +3 -3
- package/dist/{chunk-GJZMKMWO.js → chunk-PC7XEO7F.js} +2 -2
- package/dist/{chunk-MF4W6FHU.js → chunk-Q4R2ABFL.js} +1 -1
- package/dist/{chunk-LRN6QX44.js → chunk-QBSSSKIC.js} +3 -3
- package/dist/{chunk-NH5Z2NOD.js → chunk-QZ2PC6B7.js} +3 -3
- package/dist/{chunk-LCOCRJ4K.js → chunk-RQGSZ7AR.js} +16 -2
- package/dist/{chunk-3FNEHRJF.js → chunk-RSWPVU6X.js} +8 -8
- package/dist/chunk-RVBDZMCC.js +264 -0
- package/dist/{chunk-WLZSKD7E.js → chunk-SQVETROU.js} +3 -3
- package/dist/{chunk-AJPICYPW.js → chunk-SWQA6SZI.js} +113 -94
- package/dist/{chunk-QETVFGD7.js → chunk-T6GI2AFJ.js} +16 -16
- package/dist/{chunk-FRJB3NTE.js → chunk-T6KQYCAU.js} +3 -3
- package/dist/{chunk-YYDM4DNP.js → chunk-TDSRZDQP.js} +2 -2
- package/dist/{chunk-K23RUXSH.js → chunk-TEZKQQDT.js} +44 -16
- package/dist/{chunk-BCN6OZLF.js → chunk-TN7ZBZRW.js} +3 -3
- package/dist/{chunk-WDWIXCGB.js → chunk-UN73LNM5.js} +4 -4
- package/dist/{chunk-RKNCISPM.js → chunk-VEA6EXJL.js} +3 -3
- package/dist/{chunk-6FCAFWD5.js → chunk-VO62TKK5.js} +3 -77
- package/dist/{chunk-HM5X73PY.js → chunk-WK5QDV25.js} +2 -2
- package/dist/{chunk-JORPZKBE.js → chunk-X3LYWTZ5.js} +3 -3
- package/dist/{chunk-CO7US54H.js → chunk-X7IBJLAD.js} +2 -2
- package/dist/{chunk-PKBC7G5H.js → chunk-XDIPEWLU.js} +25 -1
- package/dist/{chunk-OJ6YGRPV.js → chunk-YAZEB255.js} +3 -3
- package/dist/{chunk-RGPHFHJU.js → chunk-YFVD3LNL.js} +2 -2
- package/dist/{chunk-HUGNB6UN.js → chunk-YRLSJBSY.js} +71 -49
- package/dist/{chunk-35SI4GBM.js → chunk-YSSAJQH4.js} +3 -3
- package/dist/{chunk-UQNDODRU.js → chunk-Z7IINILG.js} +5 -5
- package/dist/{chunk-PRSNMSVG.js → chunk-ZCXWOGFL.js} +3 -3
- package/dist/cli.d.ts +10 -1
- package/dist/cli.js +48 -46
- package/dist/{codegen-command-OF3TPC66.js → codegen-command-GGGU6YAP.js} +68 -66
- package/dist/{commands-Z2QZOORB.js → commands-EN4RLPOP.js} +2 -2
- package/dist/{completion-LFXXNQGR.js → completion-KH45QD3E.js} +2 -2
- package/dist/{config-7GGINOFY.js → config-AKHBFTKA.js} +8 -8
- package/dist/{deploy-command-MGYR2TKC.js → deploy-command-WOHYD22D.js} +55 -53
- package/dist/{deploy-source-UHCHCI5Z.js → deploy-source-QK7Y4Y3V.js} +34 -33
- package/dist/{dev-env-sync-XWZVXEI2.js → dev-env-sync-AMFPULCP.js} +51 -49
- package/dist/{display-name-hint-5GLJGPQ6.js → display-name-hint-QMT562BI.js} +13 -13
- package/dist/{emit-DlOKIJER.d.ts → emit-BfHifhJy.d.ts} +120 -7
- package/dist/{env-example-refresh-FACP4FQE.js → env-example-refresh-F5RTDVJ5.js} +69 -67
- package/dist/{env-pull-command-SHK4TI6U.js → env-pull-command-J2ARE33T.js} +52 -50
- package/dist/{env-target-ZQSPPN4A.js → env-target-WA4BR6GW.js} +13 -13
- package/dist/{env-var-command-Q2ZHKWAQ.js → env-var-command-WEC22FI5.js} +55 -54
- package/dist/{ephemeral-2DXWP3VK.js → ephemeral-MNHEWSZ6.js} +11 -11
- package/dist/{ephemeral-command-FKOSN56R.js → ephemeral-command-EJLS42VJ.js} +64 -62
- package/dist/{ephemeral-state-56XEDUJW.js → ephemeral-state-QTT5JHD5.js} +11 -11
- package/dist/{generate-command-2JCMZ6CG.js → generate-command-2WHFL4CB.js} +77 -75
- package/dist/{gitignore-Z5N6DEEV.js → gitignore-OKB3X335.js} +19 -17
- package/dist/{guards-LQ7PSXOL.js → guards-N4PUFKN5.js} +3 -2
- package/dist/{impersonate-command-R24VBFQA.js → impersonate-command-EIWI3FBD.js} +44 -42
- package/dist/{import-VJQGIS33.js → import-7HFTOT7M.js} +5 -5
- package/dist/index.d.ts +142 -7
- package/dist/index.js +7 -6
- package/dist/{init-command-UOCNESZK.js → init-command-POIWZKZ4.js} +52 -50
- package/dist/{init-modules-5DYK7V4J.js → init-modules-S7BR4NIJ.js} +11 -9
- package/dist/{init-web-25QJ4JWB.js → init-web-YCPD6BYN.js} +2 -2
- package/dist/internal.d.ts +4 -4
- package/dist/internal.js +169 -24
- package/dist/{keep-data-merge-HLIXZC77.js → keep-data-merge-NXP77QML.js} +32 -31
- package/dist/{landing-record-FYKDJIUF.js → landing-record-MK44WCRY.js} +23 -21
- package/dist/{live-diff-YOFOJCFX.js → live-diff-GZ6JUNP6.js} +5 -4
- package/dist/local-engine-ai-3XLJLOBP.js +47 -0
- package/dist/{local-engine-choice-4ZA2HZXH.js → local-engine-choice-7QBML5XF.js} +43 -36
- package/dist/local-engine-command-N7VDPABW.js +93 -0
- package/dist/{local-engine-config-6CB6FOEJ.js → local-engine-config-MVNWKHZ4.js} +15 -3
- package/dist/{local-engine-deploy-XAEDT55W.js → local-engine-deploy-RYZZYEDQ.js} +21 -18
- package/dist/{local-engine-lookup-WBYTY2JE.js → local-engine-lookup-2VSUWEQY.js} +6 -6
- package/dist/{local-engine-mcp-bridge-3H5OXBWQ.js → local-engine-mcp-bridge-ECGTK7LF.js} +6 -6
- package/dist/{local-engine-mcp-command-SUAVS5UA.js → local-engine-mcp-command-A257D3WK.js} +52 -44
- package/dist/{local-engine-process-35B2KQED.js → local-engine-process-P5T2766M.js} +19 -11
- package/dist/local-engine-release-OK6GKULS.js +40 -0
- package/dist/{local-engine-state-JZHTKHDG.js → local-engine-state-BOKHLNRQ.js} +4 -4
- package/dist/{local-engine-update-check-VXJZSIJU.js → local-engine-update-check-C72LSVUQ.js} +7 -7
- package/dist/{lock-commands-ZT6YTQYA.js → lock-commands-KMWLIGT2.js} +55 -53
- package/dist/{login-command-ONGJASKA.js → login-command-E2KMN6DV.js} +39 -32
- package/dist/{logout-command-PLYGFHBQ.js → logout-command-AIB446AQ.js} +16 -16
- package/dist/{loop-CLLBQSJF.js → loop-EMTBWN4X.js} +5 -4
- package/dist/{marketplace-command-LNNAA7ZK.js → marketplace-command-YLBFUBHL.js} +42 -40
- package/dist/{marketplace-resolve-63QWMQZU.js → marketplace-resolve-LT76KHJD.js} +9 -7
- package/dist/{meta-client-JND42QEJ.js → meta-client-AOPF5IQN.js} +15 -15
- package/dist/{module-manifest-NWJWAQLQ.js → module-manifest-B432UFBK.js} +3 -3
- package/dist/node.d.ts +5 -5
- package/dist/node.js +61 -59
- package/dist/{operation-outcome-U6IWKLBK.js → operation-outcome-GBSISFAP.js} +26 -26
- package/dist/{output-target-QJSHZBVY.js → output-target-NHJLT4YI.js} +20 -18
- package/dist/{plan-disclosure-XTAEE4BE.js → plan-disclosure-5HM7CMRW.js} +19 -18
- package/dist/{plugin-contributions-DD6R6RL6.js → plugin-contributions-MEXUR7TY.js} +4 -4
- package/dist/{plugin-prompt-UX2TT5NS.js → plugin-prompt-XM4ATAWA.js} +4 -4
- package/dist/{plugin-questions-WE2F4ZC4.js → plugin-questions-VGU3B4LE.js} +3 -3
- package/dist/{preflight-command-ZKUQSIL2.js → preflight-command-O52GLYGA.js} +60 -58
- package/dist/{profile-command-PJUA5ZMX.js → profile-command-NOKUVV3M.js} +38 -36
- package/dist/{profile-pointer-RCPHVTJV.js → profile-pointer-DHOU26Q2.js} +5 -5
- package/dist/{profile-select-45G5VPJK.js → profile-select-ZANK43KE.js} +2 -2
- package/dist/project-config-SGRYMHBT.js +37 -0
- package/dist/{project-dependency-TPVV3YIX.js → project-dependency-WTH776QE.js} +10 -8
- package/dist/{project-sdk-DKZBK5H5.js → project-sdk-FYNY7RTO.js} +3 -3
- package/dist/promote-command-2NMTINVS.js +150 -0
- package/dist/{prompt-OYQHQWKI.js → prompt-JVYQH4OR.js} +3 -3
- package/dist/{publish-command-JSYK6HOW.js → publish-command-LB2XULJA.js} +65 -63
- package/dist/{pull-command-K5X367MA.js → pull-command-UVNPFY2E.js} +71 -69
- package/dist/{pull-superseded-3SSM3JFT.js → pull-superseded-7EZ7M54I.js} +3 -3
- package/dist/{release-command-OC7MT4FV.js → release-command-BGSDY3BE.js} +66 -64
- package/dist/{release-ns-command-EHNEAEDU.js → release-ns-command-IVXK7HEG.js} +93 -91
- package/dist/{retry-command-WP4ZI6CJ.js → retry-command-HG4IFE65.js} +10 -10
- package/dist/{routes-manifest-file-A2PW7IQ7.js → routes-manifest-file-3MDX3JB3.js} +4 -4
- package/dist/{secrets-file-2RHMJFXQ.js → secrets-file-NFNUKRGZ.js} +19 -17
- package/dist/{secrets-fill-command-HYMF6EZM.js → secrets-fill-command-U5L7IKUO.js} +52 -50
- package/dist/{seed-W5FNE6IB.js → seed-M33F4OJW.js} +3 -3
- package/dist/{source-resolve-PMA7SHZE.js → source-resolve-MAMVIHDF.js} +24 -24
- package/dist/{static-host-3HPZKVKK.js → static-host-HCKD26Q3.js} +5 -5
- package/dist/{status-command-CROHQRPI.js → status-command-VXIN37ET.js} +52 -51
- package/dist/{store-Dg9FLJkx.d.ts → store-Dt-5vOSe.d.ts} +149 -1
- package/dist/{store-B63BQV6R.js → store-ZWQFSXH5.js} +8 -8
- package/dist/{sync-baseline-LSGKNCKM.js → sync-baseline-XLRJQZCS.js} +7 -6
- package/dist/{sync-contributions-QDEWZ3IU.js → sync-contributions-PGMYJKLG.js} +17 -13
- package/dist/{sync-record-AWFCSS4D.js → sync-record-UFEJDNLR.js} +13 -13
- package/dist/{table-WJ7YDJ6Q.js → table-JHPGUJ2Z.js} +6 -6
- package/dist/{tables-command-BKVDHAGJ.js → tables-command-FNBHVJG3.js} +41 -40
- package/dist/{tenant-IXIW3FOI.js → tenant-SSWC7B3V.js} +12 -12
- package/dist/{tenant-command-Y7VCGDMY.js → tenant-command-PHNX3PXS.js} +96 -94
- package/dist/{test-command-2RAUNIU5.js → test-command-DMMF3RMK.js} +44 -43
- package/dist/{tests-N4MMBABH.js → tests-ZFQWDWS2.js} +6 -6
- package/dist/{token-4I26OGWH.js → token-IHOPB74T.js} +14 -12
- package/dist/{toolchain-hooks-IJWV3ZQS.js → toolchain-hooks-IRPM6LYL.js} +3 -3
- package/dist/{toolchain-modules-XM4JXHQC.js → toolchain-modules-V56JXU2E.js} +9 -5
- package/dist/{toolchain-peers-EMOYN4U7.js → toolchain-peers-NOIM44ED.js} +11 -9
- package/dist/{tracked-backend-EZE6H3EZ.js → tracked-backend-VKWZKKBG.js} +39 -36
- package/dist/{update-check-QLB5DV3B.js → update-check-DZ4YVDNS.js} +51 -49
- package/dist/{upgrade-command-4DCDBDB5.js → upgrade-command-EP5WQWFA.js} +55 -53
- package/dist/{whoami-command-WI4VT3IN.js → whoami-command-UV6EEDBY.js} +15 -15
- package/dist/{workspace-DIM3SBPV.js → workspace-6LVJ3LZE.js} +5 -5
- package/dist/{workspace-binding-43PBQEE4.js → workspace-binding-AUZIERMF.js} +14 -14
- package/dist/{workspace-command-FWTHIFVI.js → workspace-command-VXOY6KPE.js} +96 -94
- package/dist/{workspace-env-5PJVWQ2O.js → workspace-env-ZNGE3DFN.js} +17 -15
- package/dist/{workspace-export-3KMWNZDD.js → workspace-export-A4L6272C.js} +5 -5
- package/dist/{writable-X7BCN7XE.js → writable-762DMPHW.js} +3 -3
- package/dist/{xano-RLSNDM7O.js → xano-XZN5SRDH.js} +4 -3
- package/dist/{xanosdk-import-VOJEAK5Q.js → xanosdk-import-FENZ7XMW.js} +6 -6
- package/dist/{xanosdk-project-PV3ORVP5.js → xanosdk-project-K4RKLLNO.js} +16 -14
- package/guides/cli.md +3 -0
- package/guides/coverage.md +4 -4
- package/llms/kinds-agent-mcp.md +3 -1
- package/llms/statements-ai.md +21 -0
- package/llms/statements-catalog.md +1 -8
- package/llms-full.txt +33 -15
- package/llms.txt +7 -6
- package/manifest.json +651 -3
- package/package.json +2 -1
- package/skills/xano-backend/SKILL.md +2 -2
- package/dist/local-engine-command-WQS4SD6N.js +0 -85
- package/dist/promote-command-NDYP66LD.js +0 -148
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
exportWorkspaceBundle
|
|
3
|
+
} from "./chunk-KHX6VQ4M.js";
|
|
1
4
|
import {
|
|
2
5
|
confirm
|
|
3
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BBFHZMQA.js";
|
|
4
7
|
import {
|
|
5
8
|
discloseCanonicalMoves,
|
|
6
9
|
movesClause,
|
|
7
10
|
releaseCanonicalMoves
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import {
|
|
10
|
-
exportWorkspaceBundle
|
|
11
|
-
} from "./chunk-2DUYJR5N.js";
|
|
11
|
+
} from "./chunk-Z7IINILG.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFAULT_BRANCH_LABEL,
|
|
14
14
|
deleteBranch,
|
|
@@ -17,22 +17,22 @@ import {
|
|
|
17
17
|
liveBranchLabel,
|
|
18
18
|
requireBranch,
|
|
19
19
|
setLiveBranch
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-C7KO5KKB.js";
|
|
21
21
|
import {
|
|
22
22
|
sectionKind
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P3WIMLG2.js";
|
|
24
24
|
import {
|
|
25
25
|
assertOneName
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-ZCXWOGFL.js";
|
|
27
27
|
import {
|
|
28
28
|
getAccessToken
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-TEZKQQDT.js";
|
|
30
30
|
import {
|
|
31
31
|
pipedYes
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-PC7XEO7F.js";
|
|
33
33
|
import {
|
|
34
34
|
contextFlags
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4DVP42ZC.js";
|
|
36
36
|
import {
|
|
37
37
|
shellWord
|
|
38
38
|
} from "./chunk-FWD7AL6N.js";
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
warn,
|
|
57
57
|
writeJson,
|
|
58
58
|
writeTargetPayload
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-6534P3VH.js";
|
|
60
60
|
import {
|
|
61
61
|
suggestAll
|
|
62
62
|
} from "./chunk-UTI5G6OJ.js";
|
|
@@ -139,7 +139,7 @@ async function runBranchCommand(args) {
|
|
|
139
139
|
const workspaceId = auth.workspaceId;
|
|
140
140
|
const target = { baseUrl: auth.instance, workspaceId };
|
|
141
141
|
const { branches, unaddressable } = await listBranchListing(auth, target).catch(async (err) => {
|
|
142
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
142
|
+
const { unansweredRead } = await import("./source-resolve-MAMVIHDF.js");
|
|
143
143
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
144
144
|
});
|
|
145
145
|
if (verb === "list") {
|
|
@@ -161,7 +161,7 @@ async function runBranchCommand(args) {
|
|
|
161
161
|
const meant = near.map((n) => `Did you mean "${safeText(n)}"? \`xanosdk workspace branch delete ${shellWord(n)}${again}\` deletes it, after asking to confirm.`);
|
|
162
162
|
const branchesLine = known !== "" ? [`Its branches: ${known}.`] : [];
|
|
163
163
|
if (near.length > 0) {
|
|
164
|
-
const { SourceError } = await import("./source-resolve-
|
|
164
|
+
const { SourceError } = await import("./source-resolve-MAMVIHDF.js");
|
|
165
165
|
throw new SourceError([missed, ...meant, ...branchesLine].join("\n"), "gone", "workspace", near[0], near.length > 1 ? near : void 0);
|
|
166
166
|
}
|
|
167
167
|
warn(missed, "branch.not-found", branchesLine);
|
|
@@ -280,7 +280,7 @@ Check what is serving with \`xanosdk workspace branch list${contextFlags()}\`, t
|
|
|
280
280
|
}
|
|
281
281
|
if (args.expectLive !== void 0) {
|
|
282
282
|
const now = await listBranchListing(auth, target).catch(async (err) => {
|
|
283
|
-
const { unansweredRead } = await import("./source-resolve-
|
|
283
|
+
const { unansweredRead } = await import("./source-resolve-MAMVIHDF.js");
|
|
284
284
|
throw unansweredRead(err, `list the branches of workspace ${workspaceId}`, "workspace");
|
|
285
285
|
});
|
|
286
286
|
const drift = liveMismatch(now, args.expectLive);
|
|
@@ -424,4 +424,4 @@ export {
|
|
|
424
424
|
liveBranchMismatch,
|
|
425
425
|
staleSchemaRefs
|
|
426
426
|
};
|
|
427
|
-
//# sourceMappingURL=chunk-
|
|
427
|
+
//# sourceMappingURL=chunk-T6GI2AFJ.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
listAnswer,
|
|
5
5
|
recordAnswer,
|
|
6
6
|
writeTransportFailure
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4Y3SWNPE.js";
|
|
8
8
|
import {
|
|
9
9
|
appendSentence,
|
|
10
10
|
fetchOrExplain,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
serverMessage,
|
|
13
13
|
statusLabel,
|
|
14
14
|
transportTarget
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
16
16
|
|
|
17
17
|
// src/deploy/tests.ts
|
|
18
18
|
function labelledMessage(text) {
|
|
@@ -252,4 +252,4 @@ export {
|
|
|
252
252
|
TestRunUnansweredError,
|
|
253
253
|
runTest
|
|
254
254
|
};
|
|
255
|
-
//# sourceMappingURL=chunk-
|
|
255
|
+
//# sourceMappingURL=chunk-T6KQYCAU.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
UsageError,
|
|
6
6
|
displayPath
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6534P3VH.js";
|
|
8
8
|
|
|
9
9
|
// src/emit/writable.ts
|
|
10
10
|
import { accessSync, constants, existsSync, statSync } from "fs";
|
|
@@ -63,4 +63,4 @@ export {
|
|
|
63
63
|
unreadableError,
|
|
64
64
|
assertReadWritable
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-TDSRZDQP.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readEphemeralState
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DAXFWXSV.js";
|
|
4
4
|
import {
|
|
5
5
|
OpenIdProvider,
|
|
6
6
|
addProfileHint,
|
|
@@ -30,21 +30,25 @@ import {
|
|
|
30
30
|
withCredentialLock,
|
|
31
31
|
writeCredentialFile,
|
|
32
32
|
writeOrRemoveCredentialFile
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OQMXCNN7.js";
|
|
34
34
|
import {
|
|
35
35
|
expandHome,
|
|
36
36
|
readPathEnvVar
|
|
37
37
|
} from "./chunk-EUUUMY7J.js";
|
|
38
|
+
import {
|
|
39
|
+
POINTER_FILE,
|
|
40
|
+
findProjectPointer
|
|
41
|
+
} from "./chunk-5ABAIJVV.js";
|
|
42
|
+
import {
|
|
43
|
+
registerSecret,
|
|
44
|
+
tokenTextProblem
|
|
45
|
+
} from "./chunk-4GPIOIAC.js";
|
|
38
46
|
import {
|
|
39
47
|
RATE_LIMIT_MAX_WAIT_S,
|
|
40
48
|
noteResolvedAuth,
|
|
41
49
|
retryAfterSeconds,
|
|
42
50
|
serverMessage
|
|
43
|
-
} from "./chunk-
|
|
44
|
-
import {
|
|
45
|
-
POINTER_FILE,
|
|
46
|
-
findProjectPointer
|
|
47
|
-
} from "./chunk-IFHFJR5O.js";
|
|
51
|
+
} from "./chunk-QZ2PC6B7.js";
|
|
48
52
|
import {
|
|
49
53
|
DEFAULT_PROFILE,
|
|
50
54
|
ENV_PROFILE,
|
|
@@ -52,14 +56,10 @@ import {
|
|
|
52
56
|
describeProfileSelection,
|
|
53
57
|
profileSourceLabel,
|
|
54
58
|
resolveActiveProfile
|
|
55
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-Q4R2ABFL.js";
|
|
56
60
|
import {
|
|
57
61
|
readEnvVar
|
|
58
62
|
} from "./chunk-X2NL4KUO.js";
|
|
59
|
-
import {
|
|
60
|
-
registerSecret,
|
|
61
|
-
tokenTextProblem
|
|
62
|
-
} from "./chunk-4GPIOIAC.js";
|
|
63
63
|
import {
|
|
64
64
|
EXIT_SOURCE_UNRESOLVABLE,
|
|
65
65
|
UsageError,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
quotedNames,
|
|
71
71
|
safeText,
|
|
72
72
|
warn
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-6534P3VH.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-6LVJ3LZE.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
|
}
|
|
@@ -418,6 +418,33 @@ async function resolveNamedProfile(name, args, flag = "--to-profile") {
|
|
|
418
418
|
warnIfLocalShadowsGlobal(args, authFilePath, saved, selection);
|
|
419
419
|
return fromStoredProfile(authFilePath, selection, saved);
|
|
420
420
|
}
|
|
421
|
+
function readStoredProfileQuietly(cwd = process.cwd()) {
|
|
422
|
+
try {
|
|
423
|
+
const path = resolveAuthFilePath({ authFile: void 0, local: false });
|
|
424
|
+
const file = readCredentialFile(path);
|
|
425
|
+
const selection = resolveActiveProfile({
|
|
426
|
+
fileDefault: file?.default,
|
|
427
|
+
defaultIn: path === globalAuthFilePath() ? void 0 : path,
|
|
428
|
+
readPointer: () => findProjectPointer(cwd)?.profile
|
|
429
|
+
});
|
|
430
|
+
const saved = file === null ? null : readProfile(file, selection.name, path);
|
|
431
|
+
if (saved === null) return { kind: "none", profile: selection.name, path };
|
|
432
|
+
if (saved.type === "token") return { kind: "token", profile: selection.name, path };
|
|
433
|
+
return {
|
|
434
|
+
kind: "oauth",
|
|
435
|
+
profile: selection.name,
|
|
436
|
+
path,
|
|
437
|
+
record: saved,
|
|
438
|
+
bearer: async () => {
|
|
439
|
+
const auth = await fromStoredProfile(path, selection, saved);
|
|
440
|
+
registerSecret(auth.access_token);
|
|
441
|
+
return auth.access_token;
|
|
442
|
+
}
|
|
443
|
+
};
|
|
444
|
+
} catch (err) {
|
|
445
|
+
return { kind: "unreadable", message: err instanceof Error ? err.message : String(err) };
|
|
446
|
+
}
|
|
447
|
+
}
|
|
421
448
|
async function fromStoredProfile(authFilePath, selection, saved) {
|
|
422
449
|
if (saved.type === "token") {
|
|
423
450
|
assertHttpsOrigin(saved.instance_base_url, "instance_base_url");
|
|
@@ -499,7 +526,7 @@ async function warnIfUnpinnedMachineDefault(file, selection, pin, saved, path) {
|
|
|
499
526
|
if (selection.source !== "file-default" && selection.source !== "implicit") return;
|
|
500
527
|
const stored = file === null ? [] : profileNames(file);
|
|
501
528
|
if (stored.length < 2) return;
|
|
502
|
-
const { projectDirFrom } = await import("./xanosdk-project-
|
|
529
|
+
const { projectDirFrom } = await import("./xanosdk-project-K4RKLLNO.js");
|
|
503
530
|
if (projectDirFrom(process.cwd()) === void 0) return;
|
|
504
531
|
const target = targetOf(saved);
|
|
505
532
|
credentialWarning(
|
|
@@ -853,6 +880,7 @@ export {
|
|
|
853
880
|
environmentCredentialVars,
|
|
854
881
|
getAccessToken,
|
|
855
882
|
resolveNamedProfile,
|
|
883
|
+
readStoredProfileQuietly,
|
|
856
884
|
warnIfReadableByOthers,
|
|
857
885
|
credentialWarning,
|
|
858
886
|
NotSignedInError,
|
|
@@ -862,4 +890,4 @@ export {
|
|
|
862
890
|
notSignedIn,
|
|
863
891
|
assertStoredAuthHost
|
|
864
892
|
};
|
|
865
|
-
//# sourceMappingURL=chunk-
|
|
893
|
+
//# sourceMappingURL=chunk-TEZKQQDT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
classifyFailure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AD7YILOU.js";
|
|
4
4
|
import {
|
|
5
5
|
describeWrite
|
|
6
6
|
} from "./chunk-4KHEMC32.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
warn,
|
|
15
15
|
writeJson,
|
|
16
16
|
writeTargetPayload
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6534P3VH.js";
|
|
18
18
|
|
|
19
19
|
// src/emit/operation-result.ts
|
|
20
20
|
var SERVER_PROCESSING_BOUND_MS = 6e5;
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
OperationError,
|
|
254
254
|
runOperation
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-TN7ZBZRW.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
backendDirFor,
|
|
3
3
|
backendDirIn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X3LYWTZ5.js";
|
|
5
5
|
import {
|
|
6
6
|
XANO_DIR
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EQ2KB5YF.js";
|
|
8
8
|
import {
|
|
9
9
|
projectRootFrom
|
|
10
10
|
} from "./chunk-HU7F56VF.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
LocalFileNotFoundError,
|
|
13
13
|
UsageError,
|
|
14
14
|
displayPath
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6534P3VH.js";
|
|
16
16
|
import {
|
|
17
17
|
isRepresentableName
|
|
18
18
|
} from "./chunk-GSGDWJB5.js";
|
|
@@ -258,4 +258,4 @@ export {
|
|
|
258
258
|
namesInEnvExample,
|
|
259
259
|
renderWorkspaceEnvFile
|
|
260
260
|
};
|
|
261
|
-
//# sourceMappingURL=chunk-
|
|
261
|
+
//# sourceMappingURL=chunk-UN73LNM5.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
hostLabel,
|
|
6
6
|
questionSets,
|
|
7
7
|
resolvePluginAnswers
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4QRDNBPY.js";
|
|
9
9
|
import {
|
|
10
10
|
gitattributesSpec
|
|
11
11
|
} from "./chunk-LJM5CIY4.js";
|
|
12
12
|
import {
|
|
13
13
|
UsageError,
|
|
14
14
|
warn
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-6534P3VH.js";
|
|
16
16
|
import {
|
|
17
17
|
withArticle
|
|
18
18
|
} from "./chunk-36JUQZVQ.js";
|
|
@@ -221,4 +221,4 @@ export {
|
|
|
221
221
|
contributionOutcomes,
|
|
222
222
|
resolveContributions
|
|
223
223
|
};
|
|
224
|
-
//# sourceMappingURL=chunk-
|
|
224
|
+
//# sourceMappingURL=chunk-VEA6EXJL.js.map
|
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sha256Hex
|
|
3
3
|
} from "./chunk-64WWE3EF.js";
|
|
4
|
-
import {
|
|
5
|
-
normalizeEngineVersion
|
|
6
|
-
} from "./chunk-GT7PZCTK.js";
|
|
7
4
|
import {
|
|
8
5
|
localEngineBinDir,
|
|
9
6
|
localEngineHome
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
SDK_PACKAGE,
|
|
13
|
-
composeToolchainConfig,
|
|
14
|
-
readProjectManifest,
|
|
15
|
-
readToolchainBlock,
|
|
16
|
-
writeToolchainConfig
|
|
17
|
-
} from "./chunk-DXUICABI.js";
|
|
7
|
+
} from "./chunk-FVZ5C3PF.js";
|
|
18
8
|
import {
|
|
19
9
|
atomicWrite
|
|
20
10
|
} from "./chunk-LLNZGEFK.js";
|
|
@@ -288,67 +278,6 @@ function diskBytes(path) {
|
|
|
288
278
|
return total;
|
|
289
279
|
}
|
|
290
280
|
|
|
291
|
-
// src/deploy/local-engine-pin.ts
|
|
292
|
-
import { existsSync, writeFileSync as writeFileSync2 } from "fs";
|
|
293
|
-
import { join as join2 } from "path";
|
|
294
|
-
var PIN_FIELD = "engine";
|
|
295
|
-
function isUnusablePin(pin) {
|
|
296
|
-
return typeof pin === "object" && pin !== null;
|
|
297
|
-
}
|
|
298
|
-
function readPin(projectDir, opts = {}) {
|
|
299
|
-
const path = join2(projectDir, "package.json");
|
|
300
|
-
if (!existsSync(path)) return void 0;
|
|
301
|
-
const manifest = readProjectManifest(projectDir);
|
|
302
|
-
if (manifest === null) {
|
|
303
|
-
opts.warn?.(
|
|
304
|
-
`${path} could not be parsed as a JSON object, so its Xano Engine pin was not read.`
|
|
305
|
-
);
|
|
306
|
-
return { unusable: void 0 };
|
|
307
|
-
}
|
|
308
|
-
const own = readToolchainBlock(projectDir, manifest)[SDK_PACKAGE];
|
|
309
|
-
if (typeof own !== "object" || own === null || Array.isArray(own)) return null;
|
|
310
|
-
if (!(PIN_FIELD in own)) return null;
|
|
311
|
-
const value = own[PIN_FIELD];
|
|
312
|
-
if (typeof value === "string") {
|
|
313
|
-
try {
|
|
314
|
-
return normalizeEngineVersion(value);
|
|
315
|
-
} catch {
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
opts.warn?.(
|
|
319
|
-
`the "${PIN_FIELD}" pin under "xanosdk"."${SDK_PACKAGE}" in ${path} is ${JSON.stringify(value)}, not a version like "v0.1.5", so it was ignored.`
|
|
320
|
-
);
|
|
321
|
-
return { unusable: value };
|
|
322
|
-
}
|
|
323
|
-
function writePin(projectDir, version) {
|
|
324
|
-
if (!RELEASE_VERSION.test(version)) {
|
|
325
|
-
throw new Error(
|
|
326
|
-
`cannot pin Xano Engine version ${JSON.stringify(version)}: expected vMAJOR.MINOR.PATCH, like "v0.1.5".`
|
|
327
|
-
);
|
|
328
|
-
}
|
|
329
|
-
const path = join2(projectDir, "package.json");
|
|
330
|
-
if (!existsSync(path)) {
|
|
331
|
-
const text = composeToolchainConfig("{}\n", { [SDK_PACKAGE]: { [PIN_FIELD]: version } });
|
|
332
|
-
try {
|
|
333
|
-
writeFileSync2(path, text, { flag: "wx" });
|
|
334
|
-
return { created: true, changed: true, path };
|
|
335
|
-
} catch (err) {
|
|
336
|
-
if (err.code !== "EEXIST") throw err;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
const block = readToolchainBlock(projectDir);
|
|
340
|
-
const own = block[SDK_PACKAGE];
|
|
341
|
-
const next = {
|
|
342
|
-
...block,
|
|
343
|
-
[SDK_PACKAGE]: {
|
|
344
|
-
...typeof own === "object" && own !== null && !Array.isArray(own) ? own : {},
|
|
345
|
-
[PIN_FIELD]: version
|
|
346
|
-
}
|
|
347
|
-
};
|
|
348
|
-
const changed = writeToolchainConfig(projectDir, next);
|
|
349
|
-
return { created: false, changed, path };
|
|
350
|
-
}
|
|
351
|
-
|
|
352
281
|
export {
|
|
353
282
|
RELEASE_VERSION,
|
|
354
283
|
readEngineEntry,
|
|
@@ -357,9 +286,6 @@ export {
|
|
|
357
286
|
listLegacyCacheDirs,
|
|
358
287
|
verifiedEngineExecutable,
|
|
359
288
|
stageEngine,
|
|
360
|
-
diskBytes
|
|
361
|
-
isUnusablePin,
|
|
362
|
-
readPin,
|
|
363
|
-
writePin
|
|
289
|
+
diskBytes
|
|
364
290
|
};
|
|
365
|
-
//# sourceMappingURL=chunk-
|
|
291
|
+
//# sourceMappingURL=chunk-VO62TKK5.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encodeFunction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MGC5S6OE.js";
|
|
4
4
|
import {
|
|
5
5
|
assertNoProtoKeys
|
|
6
6
|
} from "./chunk-JHAZK4RY.js";
|
|
@@ -14,4 +14,4 @@ function compile(fn) {
|
|
|
14
14
|
export {
|
|
15
15
|
compile
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-WK5QDV25.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
XANO_DIR
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EQ2KB5YF.js";
|
|
4
4
|
import {
|
|
5
5
|
projectRootFrom
|
|
6
6
|
} from "./chunk-HU7F56VF.js";
|
|
7
7
|
import {
|
|
8
8
|
relForwardSlash
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6534P3VH.js";
|
|
10
10
|
|
|
11
11
|
// src/emit/backend-dir.ts
|
|
12
12
|
import { existsSync, readdirSync } from "fs";
|
|
@@ -67,4 +67,4 @@ export {
|
|
|
67
67
|
backendDirIn,
|
|
68
68
|
resolveBackendDir
|
|
69
69
|
};
|
|
70
|
-
//# sourceMappingURL=chunk-
|
|
70
|
+
//# sourceMappingURL=chunk-X3LYWTZ5.js.map
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
isDeadResultItem,
|
|
26
26
|
isEmptyCustomize,
|
|
27
27
|
normalize
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XDIPEWLU.js";
|
|
29
29
|
import {
|
|
30
30
|
f,
|
|
31
31
|
input
|
|
@@ -2021,4 +2021,4 @@ export {
|
|
|
2021
2021
|
decodeTableSchema,
|
|
2022
2022
|
decodeResponse
|
|
2023
2023
|
};
|
|
2024
|
-
//# sourceMappingURL=chunk-
|
|
2024
|
+
//# sourceMappingURL=chunk-X7IBJLAD.js.map
|
|
@@ -292,6 +292,25 @@ function isDefaultMesh0Block(v) {
|
|
|
292
292
|
([member, value]) => member === "inherit" ? value === true : /^(?:[a-z]+_)?logging$/.test(member) && value === "inherit"
|
|
293
293
|
);
|
|
294
294
|
}
|
|
295
|
+
var DEFAULT_TABLE_BLOCK_MEMBERS = {
|
|
296
|
+
audit: {
|
|
297
|
+
enabled: (value) => value === false,
|
|
298
|
+
mask: isEmptyArray,
|
|
299
|
+
exclude: isEmptyArray
|
|
300
|
+
},
|
|
301
|
+
audit_log: {
|
|
302
|
+
table_id: (value) => value === 0,
|
|
303
|
+
table_guid: (value) => value === ""
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
function isDefaultTableBlock(key, v) {
|
|
307
|
+
if (isEmptyArray(v)) return true;
|
|
308
|
+
if (v === null || typeof v !== "object" || Array.isArray(v)) return false;
|
|
309
|
+
const members = DEFAULT_TABLE_BLOCK_MEMBERS[key];
|
|
310
|
+
return Object.entries(v).every(
|
|
311
|
+
([member, value]) => Object.hasOwn(members, member) && members[member](value)
|
|
312
|
+
);
|
|
313
|
+
}
|
|
295
314
|
function isRawSqlContext(container) {
|
|
296
315
|
return container !== null && typeof container === "object" && typeof container.code === "string";
|
|
297
316
|
}
|
|
@@ -448,6 +467,11 @@ function isDefaultEnvelopeMember(key, v) {
|
|
|
448
467
|
// {@link isDefaultMesh0Block}.
|
|
449
468
|
case "mesh0":
|
|
450
469
|
return isDefaultMesh0Block(v);
|
|
470
|
+
// A table that is not audited and is not an audit log. See
|
|
471
|
+
// {@link isDefaultTableBlock}.
|
|
472
|
+
case "audit":
|
|
473
|
+
case "audit_log":
|
|
474
|
+
return isDefaultTableBlock(key, v);
|
|
451
475
|
// Two unrelated `offset`s, both at a default. An addon's is the response path
|
|
452
476
|
// its rows are spliced into, `""` when spliced at the root. A list context's
|
|
453
477
|
// paging offset is declared to default to 0. Neither carries information at
|
|
@@ -1074,4 +1098,4 @@ export {
|
|
|
1074
1098
|
filledContext,
|
|
1075
1099
|
normalize
|
|
1076
1100
|
};
|
|
1077
|
-
//# sourceMappingURL=chunk-
|
|
1101
|
+
//# sourceMappingURL=chunk-XDIPEWLU.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
rowLabeler,
|
|
7
7
|
sectionKind,
|
|
8
8
|
sectionOmission
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P3WIMLG2.js";
|
|
10
10
|
import {
|
|
11
11
|
canonicalJson
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4ZV4MDKP.js";
|
|
13
13
|
import {
|
|
14
14
|
md5Hex
|
|
15
15
|
} from "./chunk-OHX6MIUZ.js";
|
|
@@ -110,4 +110,4 @@ export {
|
|
|
110
110
|
syncDirection,
|
|
111
111
|
directedComparison
|
|
112
112
|
};
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
113
|
+
//# sourceMappingURL=chunk-YAZEB255.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
pastePath,
|
|
7
7
|
warn
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6534P3VH.js";
|
|
9
9
|
import {
|
|
10
10
|
shellQuote
|
|
11
11
|
} from "./chunk-5ZSO4T2G.js";
|
|
@@ -103,4 +103,4 @@ export {
|
|
|
103
103
|
replacedRegistrations,
|
|
104
104
|
reportSuperseded
|
|
105
105
|
};
|
|
106
|
-
//# sourceMappingURL=chunk-
|
|
106
|
+
//# sourceMappingURL=chunk-YFVD3LNL.js.map
|