@metabase/cli 0.5.1 → 0.5.2
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/dist/{add-collection-BnGPc0Vv.mjs → add-collection-C0BQHjJd.mjs} +4 -4
- package/dist/{alert-DQkF8jYR.mjs → alert-mXHOt00T.mjs} +6 -6
- package/dist/{alerts-BncG7w1_.mjs → alerts-CyB1Z7AU.mjs} +3 -3
- package/dist/{append-D4ekYCuD.mjs → append-DeHhUAeY.mjs} +3 -3
- package/dist/{archive-EhW6blNc.mjs → archive-B1MA5MZp.mjs} +4 -4
- package/dist/{archive-v08JESCM.mjs → archive-Bi-Sfq5T.mjs} +2 -2
- package/dist/{archive-DjHLWUfC.mjs → archive-CCKxZEuq.mjs} +2 -2
- package/dist/{archive-DnCF-Ecm.mjs → archive-CDSAXKKB.mjs} +2 -2
- package/dist/{archive-BXr9kFNz.mjs → archive-CfNLlebd.mjs} +5 -5
- package/dist/{archive-ULXc3xzI.mjs → archive-CjVd1fJ5.mjs} +2 -2
- package/dist/{archive-BQ4OA-R4.mjs → archive-CpvpGZlz.mjs} +2 -2
- package/dist/{archive-DpCP4yR1.mjs → archive-DRMXvkiI.mjs} +2 -2
- package/dist/{archive-BifJXCHF.mjs → archive-DfDqPgtk.mjs} +2 -2
- package/dist/{archive-DocyUIME.mjs → archive-DpgtAdEa.mjs} +4 -4
- package/dist/{archive-D2WCz3Oe.mjs → archive-HCVTRXI2.mjs} +2 -2
- package/dist/{archive-CxNUeWII2.mjs → archive-qy0CFo1s2.mjs} +4 -4
- package/dist/{auth-BPbsm8yV.mjs → auth-_cdypXeX.mjs} +4 -4
- package/dist/{body-BkkQkGJg.mjs → body-C0VnEiRV.mjs} +2 -2
- package/dist/{branch-flag-CTDvbaBa.mjs → branch-flag-CPTQ4wXp.mjs} +1 -1
- package/dist/{branches-lPHtM_xR.mjs → branches-C7mNYAky.mjs} +2 -2
- package/dist/{breaking-DjMlCD96.mjs → breaking-BindR3ZW.mjs} +5 -5
- package/dist/{broken-DUX3GWS5.mjs → broken-SoXfkx7d.mjs} +7 -7
- package/dist/{bulk-discard-values-Dl8Lzypf.mjs → bulk-discard-values-D_d5_1w5.mjs} +4 -4
- package/dist/{bulk-edit-N2xLVtfG.mjs → bulk-edit-Cce05vb_.mjs} +5 -5
- package/dist/{bulk-rescan-values-BK2rH2Ik.mjs → bulk-rescan-values-DIQN4VT_.mjs} +4 -4
- package/dist/{bulk-sync-schema-BKJc9Rzq.mjs → bulk-sync-schema-DLWf5dCl.mjs} +4 -4
- package/dist/{cancel-DzkRVGIk.mjs → cancel-rnd6UI-6.mjs} +2 -2
- package/dist/{cancel-task-BiTlDY7a.mjs → cancel-task-acq1GT6Z.mjs} +3 -3
- package/dist/{card-CQNUT9pm.mjs → card-3NmUiU5F.mjs} +1 -1
- package/dist/{card-BTBDBsu-.mjs → card-BnL92zoT.mjs} +8 -8
- package/dist/{card-P5mBknsl.mjs → card-QR3zEu6E.mjs} +39 -16
- package/dist/{cards-CSL8ukS1.mjs → cards-DmzPtx81.mjs} +5 -5
- package/dist/cli.mjs +156 -37
- package/dist/{client-BBwYPXDW.mjs → client-D-Aw6JLk.mjs} +114 -39
- package/dist/{collection-CTnYZ2Jj.mjs → collection-D5vt2IJ_.mjs} +1 -1
- package/dist/{collection-B2wRXyTF.mjs → collection-DNmFKALA.mjs} +1 -0
- package/dist/{collection-B19phRNU.mjs → collection-DRHGwFSL.mjs} +7 -7
- package/dist/{collection-namespace-B1OkM7p1.mjs → collection-namespace-Dl8_7xII.mjs} +1 -1
- package/dist/{content-translation-DoGTQnvH.mjs → content-translation-DxT1OMnP.mjs} +2 -2
- package/dist/{copy-BYukQEtf.mjs → copy-BTdTiDQo.mjs} +5 -5
- package/dist/{copy-XlCT3gvG.mjs → copy-CyFf3e2Y.mjs} +3 -3
- package/dist/{copy-flags-ByB2MicL.mjs → copy-flags-CTM91pxH.mjs} +2 -2
- package/dist/{create-Bl9sS7v7.mjs → create-B3QZpifA.mjs} +6 -6
- package/dist/{create-CrtIqtXN.mjs → create-B6dABrs7.mjs} +4 -4
- package/dist/{create-k1Bo7h7g.mjs → create-BH6zpwKD.mjs} +2 -2
- package/dist/{create-D5_c5SHo.mjs → create-Bg3WTMMU.mjs} +2 -2
- package/dist/{create-DxMmIHI4.mjs → create-BwIOlpLc.mjs} +2 -2
- package/dist/{create-BP39g5Jk.mjs → create-C3rabvE_.mjs} +2 -2
- package/dist/{create-CYoarNrb.mjs → create-Ce5YVusp.mjs} +2 -2
- package/dist/{create-CqF7vqXC.mjs → create-Ch-NbeMr.mjs} +4 -4
- package/dist/{create-DBNxy5rN.mjs → create-CuJJd7Rh.mjs} +2 -2
- package/dist/{create-3_oY9KHY.mjs → create-D6NLpIzV.mjs} +2 -2
- package/dist/{create-T4PZPVE9.mjs → create-DeCPAYJi.mjs} +3 -3
- package/dist/{create-Bnb1abv_.mjs → create-DeiBnRRz.mjs} +5 -5
- package/dist/{create-CbT4SPHV.mjs → create-DiG165B2.mjs} +2 -2
- package/dist/{create-Cdt8u1wF.mjs → create-Dn8V5siS.mjs} +5 -5
- package/dist/{create-B3fm5I-l2.mjs → create-DsCydgm22.mjs} +4 -4
- package/dist/{create-DZJQp3r7.mjs → create-GU8_GNbN.mjs} +2 -2
- package/dist/{create-branch-CUNFdKyB.mjs → create-branch-C4Ql9G2g.mjs} +4 -4
- package/dist/{create-CLZ7w83R.mjs → create-qtTB8rIE.mjs} +3 -3
- package/dist/{create-jr4xJgSI.mjs → create-roJbQOmm.mjs} +3 -3
- package/dist/{csv-CcnhKpuj.mjs → csv-DmuyyLdz.mjs} +3 -3
- package/dist/{current-task-nl2z8sHI.mjs → current-task-C2PPBVVv.mjs} +3 -3
- package/dist/{dashboard-BP0p62fp.mjs → dashboard-Bq1pae4N.mjs} +11 -11
- package/dist/{dashboard-Phz3XpRM.mjs → dashboard-Chjy5GKR.mjs} +52 -5
- package/dist/{dashboard-XSTr9QCr.mjs → dashboard-D5E3fMKh.mjs} +1 -1
- package/dist/{data-action-Cr17CfgE.mjs → data-action-BZ2PvlaP.mjs} +7 -7
- package/dist/{database-2HYCdHqK.mjs → database-CxykzTAA.mjs} +14 -3
- package/dist/{database-BewllGR7.mjs → database-D8XzgJEz.mjs} +19 -2
- package/dist/{dataset-D-x2Ho2i.mjs → dataset-DIQLAp2P.mjs} +5 -4
- package/dist/db-BgKKN1-4.mjs +25 -0
- package/dist/{delete-BXMc-g3Q.mjs → delete-5ZOvFr-7.mjs} +3 -3
- package/dist/{delete-Oc2GE170.mjs → delete-B3aylPHD.mjs} +3 -3
- package/dist/{delete-QHsiWYay.mjs → delete-CH32Ew4m.mjs} +3 -3
- package/dist/{delete-BrbmJ3sn.mjs → delete-CS6hsBnd.mjs} +3 -3
- package/dist/{delete-xf2n7SNg.mjs → delete-DeqGTuwO.mjs} +3 -3
- package/dist/{delete-DulVnxD_.mjs → delete-DiZg2wit.mjs} +3 -3
- package/dist/{delete-BOma6qIq.mjs → delete-DtIbkF42.mjs} +3 -3
- package/dist/{delete-BUCh72Bq.mjs → delete-_XC6R-Jn.mjs} +3 -3
- package/dist/{delete-runtime-CkNvZfFA.mjs → delete-runtime-DRGveT8H.mjs} +1 -1
- package/dist/{delete-table-LgJ17t6j.mjs → delete-table-BEuMlqw1.mjs} +3 -3
- package/dist/{dependencies-BE5QW7Lb.mjs → dependencies-DD48u9i3.mjs} +3 -3
- package/dist/{dependency-BlTYysYG.mjs → dependency-6kfpR8Ga.mjs} +5 -5
- package/dist/{dependency-qP1hx2YN.mjs → dependency-CaC6XuTY.mjs} +2 -2
- package/dist/{dependency-BACk_cVP.mjs → dependency-Dxvb2Znu.mjs} +1 -1
- package/dist/{dependents-mbgHQNiv.mjs → dependents-ByfHs8pO.mjs} +8 -8
- package/dist/{dirty-fYlA1N1e.mjs → dirty-DsrGfLit.mjs} +4 -4
- package/dist/{discard-values-cIRBP5nT.mjs → discard-values-BfpwwC62.mjs} +4 -4
- package/dist/{document-BaRQ5fBd.mjs → document-C0mZEg5w.mjs} +6 -6
- package/dist/{download-CokVpeK6.mjs → download-kpgGtfpw.mjs} +1 -1
- package/dist/{eid-CaumGUFD.mjs → eid-Tp-ACZ4O.mjs} +3 -4
- package/dist/{entity-BHYJtRxp.mjs → entity-DjDkaMkB.mjs} +2 -2
- package/dist/{entry-flags-DjICpQkc.mjs → entry-flags-nhBrUS6p.mjs} +3 -3
- package/dist/{events-jEo9fytL.mjs → events-Dm9-ofXu.mjs} +3 -3
- package/dist/{execute-H09Qus4_.mjs → execute-BL0dAlrp.mjs} +3 -3
- package/dist/{export-YtdZo7LZ.mjs → export-CIW-dHft.mjs} +24 -12
- package/dist/{export-flags-DzW0Ktkh.mjs → export-flags-CpukgETM.mjs} +13 -5
- package/dist/{export-preflight-Db_TChn5.mjs → export-preflight-BMlz3Hp9.mjs} +4 -4
- package/dist/{field-DktidTPB.mjs → field-BUkyWiWk.mjs} +7 -7
- package/dist/{field-wmN6raOG.mjs → field-BVz4AS3f.mjs} +1 -1
- package/dist/{field-5nivEfd6.mjs → field-DoWQUl7V.mjs} +58 -45
- package/dist/{fields-DUXlosmx.mjs → fields-CcerFaiu.mjs} +5 -5
- package/dist/{filter-flags-DTDcU7OI.mjs → filter-flags-DhE4olyf.mjs} +4 -4
- package/dist/{fks-Cl2sq-c0.mjs → fks-CYfBesHV.mjs} +5 -5
- package/dist/{get-DtcChy9h.mjs → get--E7UvR-v.mjs} +2 -2
- package/dist/{get-CVMWhbA82.mjs → get-B0RQPTV-2.mjs} +4 -4
- package/dist/{get-FxCF0rxc.mjs → get-BFloqjrN.mjs} +2 -2
- package/dist/{get-CWyRAHpz.mjs → get-BLnQ2aut.mjs} +5 -5
- package/dist/{get-CTtzccwr.mjs → get-BaiyMem3.mjs} +3 -3
- package/dist/{get-Bt_zhviQ.mjs → get-Be7yjY9v.mjs} +5 -5
- package/dist/{get-zPMv3kZE.mjs → get-BvEHWLGL.mjs} +2 -2
- package/dist/{get-okEsnkvC.mjs → get-CEJE9Rmp.mjs} +2 -2
- package/dist/{get-DTDvlLT3.mjs → get-CRfrkxqc.mjs} +2 -2
- package/dist/{get-C_rjxpoe.mjs → get-CZgAr8rM.mjs} +4 -4
- package/dist/{get-BilMWiFq.mjs → get-Cj3-w_Nu.mjs} +2 -2
- package/dist/{get-oQNL6pLY.mjs → get-CmxYFUuR.mjs} +2 -2
- package/dist/{get-XS-6R81E.mjs → get-DHSuVxrH.mjs} +4 -4
- package/dist/{get-DyK_bvg6.mjs → get-DKbGKa6F.mjs} +2 -2
- package/dist/{get-B-WT6ess.mjs → get-DRhcS76J.mjs} +5 -5
- package/dist/{get-CM596pmP.mjs → get-Dp45rXRS.mjs} +2 -2
- package/dist/{get-DySyvotk2.mjs → get-HzDQViDP2.mjs} +2 -2
- package/dist/{get-DPiNYmXo.mjs → get-LRTRu85E.mjs} +2 -2
- package/dist/{get-CqlNUyFY.mjs → get-RCDF-hEq.mjs} +4 -4
- package/dist/{get-GuWW4J24.mjs → get-eNRULmE5.mjs} +3 -3
- package/dist/{get-Cg0up9gm.mjs → get-p2sZvp7v.mjs} +2 -2
- package/dist/{get-run-CFGxSm_S.mjs → get-run-C3AHKn3-.mjs} +2 -2
- package/dist/git-sync-CNTB5jvI.mjs +29 -0
- package/dist/{git-sync-Ch1V1fEK.mjs → git-sync-D1aKczo6.mjs} +15 -8
- package/dist/{git-sync-COokpYgc.mjs → git-sync-DP4wQFzm.mjs} +18 -1
- package/dist/{glossary-BSgRQ2HO.mjs → glossary-B9Eo4hXc.mjs} +4 -4
- package/dist/{graph-Wf4e0XIa.mjs → graph-BGOYocJc.mjs} +5 -5
- package/dist/{has-remote-changes-BsS3XB0P.mjs → has-remote-changes-DxsRvZsw.mjs} +3 -3
- package/dist/{import-CXd5HdB0.mjs → import-izn2_OsW.mjs} +7 -7
- package/dist/{is-dirty-TDcfeOde.mjs → is-dirty-DHYYRl6Y.mjs} +1 -1
- package/dist/{items-BxvhoxYm.mjs → items-mIoZBqUc.mjs} +5 -5
- package/dist/{key-CUPbYxkk.mjs → key-BYEv4Wgq.mjs} +2 -2
- package/dist/{library-DzejNMqX.mjs → library-5I0TlXmf.mjs} +4 -4
- package/dist/{library-BKSFtIV9.mjs → library-DKIqzyUk.mjs} +2 -2
- package/dist/{library-DuIrR8LS.mjs → library-wUiD2jbw.mjs} +1 -1
- package/dist/{list-B5kRBn7k.mjs → list-B6TYzXyW.mjs} +4 -4
- package/dist/{list-3Dh5yeq-.mjs → list-B8FPpgct.mjs} +2 -2
- package/dist/{list-D_fsrh8w.mjs → list-BEBAq1xc.mjs} +2 -2
- package/dist/{list-DlgjWr4r.mjs → list-BKhJfFyB.mjs} +2 -2
- package/dist/{list-DpK3ioES.mjs → list-BxIulkp3.mjs} +5 -5
- package/dist/{list-BUjI5G0_.mjs → list-C-f-G-cC.mjs} +4 -4
- package/dist/{list-6nGX0Rqc.mjs → list-C1dEh2yq.mjs} +5 -5
- package/dist/{list-B3Pngm2j.mjs → list-C3CXHKTW.mjs} +2 -2
- package/dist/{list-Ba7u5Ai9.mjs → list-C6roDyBd.mjs} +5 -5
- package/dist/{list-Do-Xnz0I.mjs → list-CT7AOXTS.mjs} +2 -2
- package/dist/{list-DsR58aMq.mjs → list-CTlIVHeG.mjs} +3 -3
- package/dist/{list-CCCy6cBI.mjs → list-CmOTwt_z.mjs} +3 -3
- package/dist/list-CpxEOoqw.mjs +48 -0
- package/dist/{list-B8V_OESj.mjs → list-CuEPFHrk.mjs} +2 -2
- package/dist/{list-DjlfBd7W.mjs → list-D8jiz8YP.mjs} +2 -2
- package/dist/{list-Cr5Hoq-E.mjs → list-DV4wojtv.mjs} +2 -2
- package/dist/{list-D1Q8H3jn.mjs → list-DVnPzc5m.mjs} +3 -3
- package/dist/{list-CRXTfEFk.mjs → list-NeImhwLD.mjs} +2 -2
- package/dist/{list-D7yH-64Z.mjs → list-OWPg67JC.mjs} +4 -4
- package/dist/{list-Cf6A9Csi.mjs → list-O_nmgwSj.mjs} +2 -2
- package/dist/{list-DA1Fo6S6.mjs → list-jT5ndEGr.mjs} +2 -2
- package/dist/{login-CXbCAcuB.mjs → login-DOW1mr40.mjs} +15 -8
- package/dist/{logout-B6IGzkpG.mjs → logout-BQ8wywf7.mjs} +2 -2
- package/dist/{measure-CbMgNhlG.mjs → measure-Bz-bGn-Z.mjs} +5 -5
- package/dist/{moderation-review-BdqEH6N1.mjs → moderation-review-Bf9bPNQI.mjs} +1 -1
- package/dist/{parameter-Celg0wZa.mjs → parameter-DvRQMKd2.mjs} +6 -6
- package/dist/{parameter-values-IWi_DNhp.mjs → parameter-values-B7rr6fcy.mjs} +21 -7
- package/dist/{parse-enum-B2rGiC6p.mjs → parse-enum-DAcTzG1q.mjs} +1 -1
- package/dist/{parse-id-Cv5eM7sg.mjs → parse-id-5BZGQ9Vd.mjs} +1 -1
- package/dist/{parse-ref-DW7ik6ny.mjs → parse-ref-ByXc-pls.mjs} +1 -1
- package/dist/{parse-text-CUCSWOeR.mjs → parse-text-FgX60vIg.mjs} +1 -1
- package/dist/{path-C9r9urRK.mjs → path-CHQguAPa.mjs} +3 -3
- package/dist/{poll-CX3jPtXb.mjs → poll-CgtcJopL.mjs} +2 -2
- package/dist/{preflight-CiTgqNUy.mjs → preflight-ChTKhB8Y.mjs} +2 -2
- package/dist/{process-DImdroix.mjs → process-aqXm5QgC.mjs} +1 -1
- package/dist/{publish-xH1n74gd.mjs → publish-CaoFOucS.mjs} +4 -4
- package/dist/{pulse-Dz0ocv0l.mjs → pulse-CC81N2_0.mjs} +1 -1
- package/dist/{pulse-CFj1WfIC.mjs → pulse-JPrq6NFP.mjs} +1 -1
- package/dist/{query-CN3BW5WB.mjs → query-0u1WR1bV.mjs} +12 -12
- package/dist/{query-BOCw0FBK.mjs → query-CzDBwAZD.mjs} +17 -7
- package/dist/{remapping-Dggq2Fv0.mjs → remapping-CodmT28F.mjs} +4 -4
- package/dist/{remove-collection-cxSSFxza.mjs → remove-collection-DfUsf6Dd.mjs} +4 -4
- package/dist/{render-Cb8Hct67.mjs → render-DP6UoZNT.mjs} +2 -2
- package/dist/{replace-wVi_XDut.mjs → replace-qWiUOgmn.mjs} +3 -3
- package/dist/{requirement-check-BE3PuGsC.mjs → requirement-check-sfmyH2PH.mjs} +1 -1
- package/dist/{rescan-values-DAp_avxY.mjs → rescan-values-BcrhdSj_.mjs} +4 -4
- package/dist/{rescan-values-C7b1Ghy-.mjs → rescan-values-BuDmeda3.mjs} +4 -4
- package/dist/{run-CUGs7mok.mjs → run-BBRnFayr.mjs} +4 -4
- package/dist/{run-CE6ei7s7.mjs → run-BG_5lR0x.mjs} +2 -2
- package/dist/{run-DywhwjNG.mjs → run-DXXD-CnS.mjs} +4 -4
- package/dist/{runs--14jim_0.mjs → runs-CovgMSwy.mjs} +3 -3
- package/dist/{runtime-Ckns6TKK.mjs → runtime-Cmes70jO.mjs} +63 -80
- package/dist/{schema-tables-CeW0kpA5.mjs → schema-tables-CjKl8jr5.mjs} +5 -5
- package/dist/{schemas-CHMD0HrY.mjs → schemas-CAGvBAD_.mjs} +3 -3
- package/dist/{search-CXRavT7G.mjs → search-1et9tv_s.mjs} +21 -4
- package/dist/{search-LmBQu1Jg.mjs → search-DFU6FHRd.mjs} +5 -5
- package/dist/{search-DyC54bGf.mjs → search-OpYS2Ub4.mjs} +20 -5
- package/dist/{segment-DeT_Yic6.mjs → segment-D-SKpFzF.mjs} +5 -5
- package/dist/{send-BWSJMrDL.mjs → send-DNu83_3E.mjs} +2 -2
- package/dist/{set-r2xiXrT_.mjs → set-CGYZcLVo.mjs} +3 -3
- package/dist/{set-active-C5cLG4_O.mjs → set-active-32IaLx1O.mjs} +2 -2
- package/dist/set-data-actions-DRhgAfhE.mjs +46 -0
- package/dist/{set-sensitivity-BMLKazua.mjs → set-sensitivity-D_i3XEe8.mjs} +5 -5
- package/dist/{setting-CDRusiqP.mjs → setting-BBn9Lv9J.mjs} +3 -3
- package/dist/{setup-BZaJVww3.mjs → setup-8d7Uplhy.mjs} +2 -2
- package/dist/{signal-4tpCIkqR.mjs → signal-D8MH3LMN.mjs} +1 -1
- package/dist/{skills-y2iVfW9k.mjs → skills-BZGd_9d3.mjs} +2 -2
- package/dist/{skills-9ihLaSmM.mjs → skills-BeIDC-_H.mjs} +3 -3
- package/dist/{snippet-Ce0o33Rj.mjs → snippet-CpZ5cJ_y.mjs} +5 -5
- package/dist/{stash-Dj-mnIa4.mjs → stash-Dyc1xZ8u.mjs} +6 -6
- package/dist/{status-B2Xj_q8f.mjs → status-CQZwl1PX.mjs} +2 -2
- package/dist/{status-BtWz7Pzn.mjs → status-lCN8unWe.mjs} +36 -15
- package/dist/{subscription-Dh--agqE.mjs → subscription-CEFxmtGH.mjs} +5 -5
- package/dist/{subscriptions-CJ8Jdp9A.mjs → subscriptions-AU14uznL.mjs} +4 -4
- package/dist/{summary-ccbkNDbC.mjs → summary-Do9IBOQM.mjs} +4 -4
- package/dist/{sync-schema-HwQectZd.mjs → sync-schema-B3nyoKZl.mjs} +4 -4
- package/dist/{sync-schema-CewUOkmm.mjs → sync-schema-_gw9RQyF.mjs} +5 -5
- package/dist/{sync-task-DEzhiaU9.mjs → sync-task-DNKG9Bk4.mjs} +2 -2
- package/dist/{table-CFZU-BRg.mjs → table-BDsqRU7a.mjs} +2 -2
- package/dist/{table-zAdW5_3H.mjs → table-CF7zW9cI.mjs} +33 -20
- package/dist/table-Cb_Uvw8m.mjs +26 -0
- package/dist/{table-selector-flags-p4jun7-v.mjs → table-selector-flags-CHfrVpYQ.mjs} +3 -3
- package/dist/{timeline-event-xAAR6b-v.mjs → timeline-event-B-nGnoVL.mjs} +5 -5
- package/dist/{timeline-DLaBypse.mjs → timeline-x0s_3sfc.mjs} +7 -7
- package/dist/transform-job-Dlx2c6II.mjs +22 -0
- package/dist/transform-kP11Mv9_.mjs +28 -0
- package/dist/{transform-tag-BXusFzMX.mjs → transform-tag-dKCqQPTd.mjs} +4 -4
- package/dist/{transform-test-UsH1udc4.mjs → transform-test-jFuzVhlT.mjs} +6 -6
- package/dist/{transforms-CqV01bMM.mjs → transforms-DRAws1f4.mjs} +3 -3
- package/dist/{transport-0qFZhEuP.mjs → transport-Ck4anhoc.mjs} +4 -4
- package/dist/{tree-Td6rgyOa.mjs → tree-Ddsj298M.mjs} +3 -3
- package/dist/{unpublish-D4XTZsFW.mjs → unpublish-BMfjQ8UV.mjs} +2 -2
- package/dist/{unreferenced-cR-l4zXN.mjs → unreferenced-DRQrvH5r.mjs} +5 -5
- package/dist/{update-C7dZLbsf.mjs → update-0AoF6QJ_.mjs} +3 -3
- package/dist/{update-DrVc25R8.mjs → update-6sfqiInZ.mjs} +4 -4
- package/dist/{update-Js0IiqCq.mjs → update-8eXJso_l.mjs} +5 -5
- package/dist/{update-CND9At61.mjs → update-BCC1Igr2.mjs} +3 -3
- package/dist/{update-DROjGe3Q.mjs → update-BIL0JPqm.mjs} +3 -3
- package/dist/{update-BqkqMOVN.mjs → update-BQLTaw3z.mjs} +5 -5
- package/dist/{update-DFK2iUSP.mjs → update-Bpsdi6kM.mjs} +3 -3
- package/dist/{update-Dk0E66Va.mjs → update-BtfUX9CN.mjs} +7 -7
- package/dist/{update-BJL5975i.mjs → update-C19B1Sry.mjs} +3 -3
- package/dist/{update-CpwWURTp.mjs → update-C1VwtJWu.mjs} +4 -4
- package/dist/{update-DZHgr6Gu.mjs → update-C1x90FSH.mjs} +4 -4
- package/dist/{update-C7Wmom6x.mjs → update-CGpiLu7N.mjs} +7 -7
- package/dist/{update-dQeji6RA.mjs → update-CnxzmPRG.mjs} +5 -5
- package/dist/{update-nGURR-y6.mjs → update-D1aKeWfo.mjs} +3 -3
- package/dist/{update-C4iu-vQm.mjs → update-DlFHoUxe.mjs} +3 -3
- package/dist/{update-DqCZsbLh.mjs → update-DpP1EEC0.mjs} +3 -3
- package/dist/{update-D-cTgmb0.mjs → update-DrT10fxQ.mjs} +3 -3
- package/dist/{update-CHB4kvz-.mjs → update-_hHnM1Hx.mjs} +7 -8
- package/dist/{update-dashcard-BmkfJ7t9.mjs → update-dashcard-CDI0Tnxy.mjs} +6 -6
- package/dist/{update-C8xdeYI2.mjs → update-pXVhyiFo.mjs} +5 -5
- package/dist/{upgrade-B6V_1cUh.mjs → upgrade-Cfouv1Ii.mjs} +4 -4
- package/dist/{upload-Dvjfz16M.mjs → upload-Cqv-In6j.mjs} +3 -3
- package/dist/{upload-CfYmBv51.mjs → upload-DIEcI5iM.mjs} +2 -2
- package/dist/{upload-B6zBzMPW.mjs → upload-DnLXgUA-.mjs} +3 -3
- package/dist/{uuid-B8ynbkqG.mjs → uuid-D0sH5txV.mjs} +2 -2
- package/dist/{validate-C7DGkwb-.mjs → validate-BQ7vI8_x.mjs} +1 -1
- package/dist/{validate-query-CYUvRvVM.mjs → validate-query-YtH3d5BP.mjs} +2 -2
- package/dist/{values-36bzf9cK.mjs → values-BFPO6y5o.mjs} +4 -4
- package/dist/{verify-Cs9e28YA.mjs → verify-7fW020r_.mjs} +3 -3
- package/dist/{verify-C4Tml4fD.mjs → verify-C-StvB4f.mjs} +4 -4
- package/dist/{verify-BdW-GExk.mjs → verify-CuGs0X3C.mjs} +4 -4
- package/dist/{verify-flags-CMpRkMPa.mjs → verify-flags-DEVMB9w0.mjs} +1 -1
- package/dist/{wait-BV6JOdgi.mjs → wait-Cvt8xO0h.mjs} +5 -5
- package/dist/{wait-flags-DjyK03cm.mjs → wait-flags-BnZ-dfE2.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/data-action/SKILL.md +18 -7
- package/skill-data/git-sync/SKILL.md +3 -3
- package/skill-data/transform/SKILL.md +1 -1
- package/dist/db-m5bQcXdn.mjs +0 -24
- package/dist/embedding-i-KqpefC.mjs +0 -9
- package/dist/git-sync-BwkWeJAz.mjs +0 -29
- package/dist/input-AXP2LCOV.mjs +0 -61
- package/dist/list-CUj04tg3.mjs +0 -38
- package/dist/table-P9ovwcaB.mjs +0 -26
- package/dist/transform-10YE8j5K.mjs +0 -28
- package/dist/transform-job-D97AutnF.mjs +0 -22
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { t as Table, y as TableUpdateInput } from "./table-
|
|
7
|
-
import { u as tableView } from "./table-
|
|
6
|
+
import { t as Table, y as TableUpdateInput } from "./table-CF7zW9cI.mjs";
|
|
7
|
+
import { u as tableView } from "./table-BDsqRU7a.mjs";
|
|
8
8
|
//#region src/commands/table/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { c as NotificationUpdateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
|
|
3
3
|
import { t as notificationView } from "./notification-W2SVssyY.mjs";
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
4
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
5
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
6
6
|
import { t as describeAlert } from "./summary-BytbDz6e.mjs";
|
|
7
|
-
import { t as readBody } from "./body-
|
|
7
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
8
8
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
9
9
|
//#region src/commands/alert/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
7
7
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { a as PulseUpdateInput, t as Pulse } from "./pulse-
|
|
7
|
-
import { t as pulseView } from "./pulse-
|
|
6
|
+
import { a as PulseUpdateInput, t as Pulse } from "./pulse-CC81N2_0.mjs";
|
|
7
|
+
import { t as pulseView } from "./pulse-JPrq6NFP.mjs";
|
|
8
8
|
//#region src/commands/subscription/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as DocumentUpdateInput, t as Document } from "./document-UMG6me2P.mjs";
|
|
7
7
|
import { t as documentView } from "./document-DVIu3Vj4.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { n as cardView } from "./card-
|
|
8
|
-
import { o as preflightMbql5Query, s as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-
|
|
6
|
+
import { i as CardDetail, l as CardUpdateInput } from "./card-QR3zEu6E.mjs";
|
|
7
|
+
import { n as cardView } from "./card-3NmUiU5F.mjs";
|
|
8
|
+
import { o as preflightMbql5Query, s as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-YtH3d5BP.mjs";
|
|
9
9
|
//#region src/commands/card/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -34,7 +34,7 @@ var update_default = defineMetabaseCommand({
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
inputSchema: CardUpdateInput,
|
|
37
|
-
outputSchema:
|
|
37
|
+
outputSchema: CardDetail,
|
|
38
38
|
examples: [
|
|
39
39
|
"cat patch.json | mb card update 1",
|
|
40
40
|
"mb card update 1 --file patch.json",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { c as TimelineUpdateInput, t as Timeline } from "./timeline-DcsCXNUt.mjs";
|
|
7
7
|
import { n as timelineView } from "./timeline-BgWz8DYK.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as MeasureUpdateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
|
|
7
|
-
import { o as preflightMbql5Query, r as MEASURE_DEFINITION_LABELS, s as skipValidateFlag } from "./validate-query-
|
|
7
|
+
import { o as preflightMbql5Query, r as MEASURE_DEFINITION_LABELS, s as skipValidateFlag } from "./validate-query-YtH3d5BP.mjs";
|
|
8
8
|
import { t as measureView } from "./measure-4P0bOlZ3.mjs";
|
|
9
9
|
//#region src/commands/measure/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { o as DataActionUpdateInput, t as DataAction } from "./data-action-DZxVB_hD.mjs";
|
|
7
|
-
import { n as DATA_ACTION_DATASET_QUERY_LABELS, o as preflightMbql5Query, s as skipValidateFlag } from "./validate-query-
|
|
7
|
+
import { n as DATA_ACTION_DATASET_QUERY_LABELS, o as preflightMbql5Query, s as skipValidateFlag } from "./validate-query-YtH3d5BP.mjs";
|
|
8
8
|
import { n as dataActionView } from "./data-action-R9qxJDPA.mjs";
|
|
9
9
|
//#region src/commands/data-action/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { n as dashboardView } from "./dashboard-
|
|
8
|
-
import { t as preflightDashcardCardReferences } from "./preflight-
|
|
6
|
+
import { l as DashboardUpdateInput, o as DashboardDetail } from "./dashboard-Chjy5GKR.mjs";
|
|
7
|
+
import { n as dashboardView } from "./dashboard-D5E3fMKh.mjs";
|
|
8
|
+
import { t as preflightDashcardCardReferences } from "./preflight-ChTKhB8Y.mjs";
|
|
9
9
|
//#region src/commands/dashboard/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
12
12
|
name: "update",
|
|
13
13
|
description: "Update a dashboard (and optionally its dashcards/tabs) by id"
|
|
14
14
|
},
|
|
15
|
-
details: "Every dashcard must include card_id (a card id, or null for a virtual card). Any positive card_id is pre-flight-validated (exists and readable, not archived) before the PUT.",
|
|
15
|
+
details: "Every dashcard must include card_id (a card id, or null for a virtual card). Any positive card_id is pre-flight-validated (exists and readable, not archived) before the PUT. dashcards and tabs each replace the whole list. A body with dashcards and no tabs keeps the current tabs, and on a dashboard with several tabs every dashcard then needs its dashboard_tab_id. Send tabs to change them, or [] with every dashboard_tab_id null to remove them all.",
|
|
16
16
|
skills: [{
|
|
17
17
|
skill: "dashboard",
|
|
18
18
|
purpose: "wiring filters, cross-filtering, click behavior, tabs"
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { f as TransformUpdateInput, t as Transform } from "./transform-DiW7bREn.mjs";
|
|
7
|
-
import { a as TRANSFORM_SOURCE_QUERY_LABELS, o as preflightMbql5Query, s as skipValidateFlag } from "./validate-query-
|
|
7
|
+
import { a as TRANSFORM_SOURCE_QUERY_LABELS, o as preflightMbql5Query, s as skipValidateFlag } from "./validate-query-YtH3d5BP.mjs";
|
|
8
8
|
import { n as transformView } from "./transform-CWGJB8N_.mjs";
|
|
9
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
9
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-Dl8_7xII.mjs";
|
|
10
10
|
//#region src/commands/transform/update.ts
|
|
11
11
|
var update_default = defineMetabaseCommand({
|
|
12
12
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { a as TransformTestUpdateInput, t as TransformTest } from "./transform-test-Bexa_K89.mjs";
|
|
7
7
|
import { n as transformTestView } from "./transform-test-C49ZTK7M.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
4
|
import { i as GlossaryUpdateInput, t as Glossary } from "./glossary-QN-hHfOT.mjs";
|
|
5
5
|
import { t as glossaryView } from "./glossary-BkGmCI4X.mjs";
|
|
6
|
-
import { n as readEntryInput, t as entryFlags } from "./entry-flags-
|
|
6
|
+
import { n as readEntryInput, t as entryFlags } from "./entry-flags-nhBrUS6p.mjs";
|
|
7
7
|
//#region src/commands/glossary/update.ts
|
|
8
8
|
var update_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-ClX8e5iO.mjs";
|
|
7
7
|
import { t as transformJobView } from "./transform-job-BBZ5L46v.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as TimelineEvent, s as TimelineEventUpdateInput } from "./timeline-DcsCXNUt.mjs";
|
|
7
7
|
import { t as timelineEventView } from "./timeline-BgWz8DYK.mjs";
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import { G as chainRequestFailure, J as isBlank, St as
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { t as readBody } from "./body-BkkQkGJg.mjs";
|
|
1
|
+
import { G as chainRequestFailure, J as isBlank, Ot as ResponseShapeError, St as ConfigError, Tt as MetabaseError, c as renderSummary, ct as outputFlags, ft as parseInteger, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { O as givenValue, t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
6
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
7
|
-
import { g as CollectionUpdateInput, r as Collection } from "./collection-
|
|
8
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
9
|
-
import { n as collectionView } from "./collection-
|
|
6
|
+
import { g as CollectionUpdateInput, r as Collection } from "./collection-DNmFKALA.mjs";
|
|
7
|
+
import { t as parseEnumFlag } from "./parse-enum-DAcTzG1q.mjs";
|
|
8
|
+
import { n as collectionView } from "./collection-D5vt2IJ_.mjs";
|
|
10
9
|
import { z } from "zod";
|
|
11
10
|
//#region src/commands/collection/update-flags.ts
|
|
12
11
|
const ROOT_PARENT = "root";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { r as dashcardView } from "./dashboard-
|
|
6
|
+
import { f as DashcardDetail, p as DashcardPatchInput } from "./dashboard-Chjy5GKR.mjs";
|
|
7
|
+
import { r as dashcardView } from "./dashboard-D5E3fMKh.mjs";
|
|
8
8
|
//#region src/commands/dashboard/update-dashcard.ts
|
|
9
9
|
var update_dashcard_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -29,7 +29,7 @@ var update_dashcard_default = defineMetabaseCommand({
|
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
31
|
inputSchema: DashcardPatchInput,
|
|
32
|
-
outputSchema:
|
|
32
|
+
outputSchema: DashcardDetail,
|
|
33
33
|
examples: [
|
|
34
34
|
"mb dashboard update-dashcard 1 5 --body '{\"row\":2,\"col\":0}'",
|
|
35
35
|
"mb dashboard update-dashcard 1 5 --body '{\"size_x\":12,\"size_y\":4}'",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C0VnEiRV.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { c as fieldView, l as fieldWithDataSensitivityView } from "./field-
|
|
6
|
+
import { _ as hasDataSensitivity, a as FieldDetail, l as FieldUpdateInput } from "./field-DoWQUl7V.mjs";
|
|
7
|
+
import { c as fieldView, l as fieldWithDataSensitivityView } from "./field-BVz4AS3f.mjs";
|
|
8
8
|
//#region src/commands/field/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { T as USER_AGENT, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as throwIfAborted, t as combineAborts } from "./signal-
|
|
4
|
-
import { n as streamProcess } from "./process-
|
|
1
|
+
import { At as UnknownError, Et as NetworkError, Mt as errorMessage, W as HttpError, Z as parseJson, _ as promptConfirm, a as renderItem, ct as outputFlags, f as writeText, kt as TimeoutError, nt as version, t as interruptSignal, tt as name, xt as AbortError } from "./cli.mjs";
|
|
2
|
+
import { T as USER_AGENT, t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
3
|
+
import { n as throwIfAborted, t as combineAborts } from "./signal-D8MH3LMN.mjs";
|
|
4
|
+
import { n as streamProcess } from "./process-aqXm5QgC.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { realpathSync } from "node:fs";
|
|
7
7
|
import { compare, valid } from "semver";
|
|
@@ -4,9 +4,9 @@ var upload_default = defineCommandGroup({
|
|
|
4
4
|
name: "upload",
|
|
5
5
|
description: "Upload CSV files into Metabase",
|
|
6
6
|
subCommands: {
|
|
7
|
-
csv: () => import("./csv-
|
|
8
|
-
append: () => import("./append-
|
|
9
|
-
replace: () => import("./replace-
|
|
7
|
+
csv: () => import("./csv-DmuyyLdz.mjs").then((m) => m.default),
|
|
8
|
+
append: () => import("./append-DeHhUAeY.mjs").then((m) => m.default),
|
|
9
|
+
replace: () => import("./replace-qWiUOgmn.mjs").then((m) => m.default)
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
3
3
|
import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
|
|
4
|
-
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-
|
|
4
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-DnLXgUA-.mjs";
|
|
5
5
|
//#region src/output/views/content-translation.ts
|
|
6
6
|
const contentTranslationUploadView = {
|
|
7
7
|
compactPick: ContentTranslationUploadResult,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { basename } from "node:path";
|
|
1
|
+
import { Pt as isFileNotFoundError, St as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { D as fileNotFoundError } from "./runtime-Cmes70jO.mjs";
|
|
4
3
|
import { readFile } from "node:fs/promises";
|
|
4
|
+
import { basename } from "node:path";
|
|
5
5
|
//#region src/runtime/upload.ts
|
|
6
6
|
function requireUploadFilePath(file) {
|
|
7
7
|
if (typeof file !== "string" || file.trim() === "") throw new ConfigError("provide the CSV file to upload with --file <path>");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ct as outputFlags, d as writeJson, f as writeText,
|
|
2
|
-
import {
|
|
1
|
+
import { St as ConfigError, ct as outputFlags, d as writeJson, f as writeText, ft as parseInteger } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
//#region src/commands/uuid.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Lt as escapeJsonPointerSegment, St as ConfigError, Y as isPlainObject } from "./cli.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import Ajv2020 from "ajv/dist/2020.js";
|
|
4
4
|
import addFormats from "ajv-formats";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as validateQuery, i as isMbql5Query, n as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-
|
|
1
|
+
import { St as ConfigError, d as writeJson } from "./cli.mjs";
|
|
2
|
+
import { a as validateQuery, i as isMbql5Query, n as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-BQ7vI8_x.mjs";
|
|
3
3
|
//#region src/commands/validate-query.ts
|
|
4
4
|
const skipValidateFlag = { "skip-validate": {
|
|
5
5
|
type: "boolean",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, m as formatScalar, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as FieldValues } from "./field-
|
|
5
|
-
import { s as fieldValuesView } from "./field-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { u as FieldValues } from "./field-DoWQUl7V.mjs";
|
|
5
|
+
import { s as fieldValuesView } from "./field-BVz4AS3f.mjs";
|
|
6
6
|
//#region src/commands/field/values.ts
|
|
7
7
|
var values_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as createClient } from "./client-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { n as createClient } from "./client-D-Aw6JLk.mjs";
|
|
2
|
+
import { Et as NetworkError, Mt as errorMessage, Tt as MetabaseError, W as HttpError, kt as TimeoutError } from "./cli.mjs";
|
|
3
|
+
import { B as probeServer, T as USER_AGENT } from "./runtime-Cmes70jO.mjs";
|
|
4
4
|
//#region src/core/auth/verify.ts
|
|
5
5
|
const VERIFY_TIMEOUT_MS = 15e3;
|
|
6
6
|
async function verifyAndProbe(url, credential, options = {}) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as ModerationReview } from "./moderation-review-
|
|
5
|
-
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
|
|
5
|
+
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-DEVMB9w0.mjs";
|
|
6
6
|
//#region src/commands/card/verify.ts
|
|
7
7
|
var verify_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as ModerationReview } from "./moderation-review-
|
|
5
|
-
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
4
|
+
import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
|
|
5
|
+
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-DEVMB9w0.mjs";
|
|
6
6
|
//#region src/commands/dashboard/verify.ts
|
|
7
7
|
var verify_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ModerationReviewCompact } from "./moderation-review-
|
|
1
|
+
import { n as ModerationReviewCompact } from "./moderation-review-Bf9bPNQI.mjs";
|
|
2
2
|
//#region src/output/views/moderation-review.ts
|
|
3
3
|
const moderationReviewView = {
|
|
4
4
|
compactPick: ModerationReviewCompact,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-
|
|
4
|
-
import { r as parseWaitSchedule } from "./wait-flags-
|
|
5
|
-
import { u as syncTaskView } from "./git-sync-
|
|
6
|
-
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Cmes70jO.mjs";
|
|
3
|
+
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-CgtcJopL.mjs";
|
|
4
|
+
import { r as parseWaitSchedule } from "./wait-flags-BnZ-dfE2.mjs";
|
|
5
|
+
import { u as syncTaskView } from "./git-sync-D1aKczo6.mjs";
|
|
6
|
+
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-DNKG9Bk4.mjs";
|
|
7
7
|
//#region src/commands/git-sync/wait.ts
|
|
8
8
|
const WaitResult = SyncTaskOrIdle;
|
|
9
9
|
var wait_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as interruptSignal } from "./cli.mjs";
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-CgtcJopL.mjs";
|
|
4
4
|
//#region src/commands/wait-flags.ts
|
|
5
5
|
const waitScheduleFlags = {
|
|
6
6
|
timeout: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: data-action
|
|
3
|
-
description: Author and run Metabase data actions with the `mb` CLI — saved, parameterized native SQL writes (INSERT, UPDATE, DELETE) filed in a collection and run with values. Covers enabling them on a database, the body, mapping template tags to parameters, running, and the lifecycle. Triggers — "add a data action", "let users update a row", "a button that inserts a record", "run a write query", "a form that saves to the database", "delete rows from Metabase".
|
|
3
|
+
description: Author and run Metabase data actions with the `mb` CLI — saved, parameterized native SQL writes (INSERT, UPDATE, DELETE) filed in a collection and run with values. Covers enabling them on a database, the collection they go in, the body, mapping template tags to parameters, running, and the lifecycle. Triggers — "add a data action", "let users update a row", "a button that inserts a record", "run a write query", "a form that saves to the database", "delete rows from Metabase".
|
|
4
4
|
allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
|
|
5
5
|
requires: [dataActionsWithoutModel]
|
|
6
6
|
---
|
|
@@ -13,17 +13,27 @@ Flag conventions and `./.scratch` are in `core`; the native query and its templa
|
|
|
13
13
|
|
|
14
14
|
## Check the database first
|
|
15
15
|
|
|
16
|
-
Data actions are off on every database until an admin turns on **
|
|
16
|
+
Data actions are off on every database until an admin turns on **Data actions** for it ("Allow data actions that use this database to be run", Admin → Databases → the database). That toggle is the database setting `database-enable-actions`.
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
19
|
mb db get <id> --full --json
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
- `features` must contain `"actions"` — otherwise the driver cannot run writes; pick another database.
|
|
23
|
-
- `settings["database-enable-actions"]` must be `true`.
|
|
23
|
+
- `settings["database-enable-actions"]` must be `true`. Create and execute fail with `Actions are not enabled.` until then. An admin profile turns it on with `mb db set-data-actions <id> true`; anyone else asks an admin to. Turning it on lets anyone with access to the database's actions write to it, so confirm with the user first.
|
|
24
|
+
|
|
25
|
+
## Pick the collection
|
|
26
|
+
|
|
27
|
+
A data action goes in a data actions collection, a data app collection, or the data actions root (omit `collection_id`). A regular collection is refused with `An action without a model can only go in a data actions or data app collection.` Make one with:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
mb collection create --namespace data-actions --body '{"name":"Order actions"}' --json
|
|
31
|
+
```
|
|
24
32
|
|
|
25
33
|
## The body
|
|
26
34
|
|
|
35
|
+
Mint one template-tag `id` per tag with `mb uuid --count <n> --format text`.
|
|
36
|
+
|
|
27
37
|
```json
|
|
28
38
|
{
|
|
29
39
|
"name": "Set order note",
|
|
@@ -39,14 +49,14 @@ mb db get <id> --full --json
|
|
|
39
49
|
"native": "UPDATE orders SET note = {{note}} WHERE id = {{order_id}}",
|
|
40
50
|
"template-tags": {
|
|
41
51
|
"order_id": {
|
|
42
|
-
"id": "
|
|
52
|
+
"id": "6f1c9a4e-2b7d-4e0a-9c3f-1d2e3f4a5b6c",
|
|
43
53
|
"name": "order_id",
|
|
44
54
|
"display-name": "Order ID",
|
|
45
55
|
"type": "number",
|
|
46
56
|
"required": true
|
|
47
57
|
},
|
|
48
58
|
"note": {
|
|
49
|
-
"id": "
|
|
59
|
+
"id": "0b8d7c6e-5f4a-4b3c-8d2e-1f0a9b8c7d6e",
|
|
50
60
|
"name": "note",
|
|
51
61
|
"display-name": "Note",
|
|
52
62
|
"type": "text",
|
|
@@ -78,7 +88,8 @@ mb db get <id> --full --json
|
|
|
78
88
|
```
|
|
79
89
|
|
|
80
90
|
- `type` is always `"query"`. Never set `model_id` or `type: "implicit"`; `mb data-action create` refuses both.
|
|
81
|
-
- `database_id` and `dataset_query.database` are the same id (`mb db list`).
|
|
91
|
+
- `database_id` and `dataset_query.database` are the same id (`mb db list`). `collection_id` is the data actions collection (here `12`); omit it for the data actions root.
|
|
92
|
+
- A template tag's `id` is a UUID, unique among the tags: the representation schema requires one.
|
|
82
93
|
- One statement, no `;`. `create` and `update` validate `dataset_query` as `native-sql` does.
|
|
83
94
|
|
|
84
95
|
## Parameters: one per template tag
|
|
@@ -92,7 +103,7 @@ Each `{{name}}` needs a `template-tags` entry and a `parameters` entry, all usin
|
|
|
92
103
|
| `date` | `date/single` |
|
|
93
104
|
| `boolean` | `boolean/=` |
|
|
94
105
|
|
|
95
|
-
- Parameter `id` and `slug` are the tag name; `target` is `["variable", ["template-tag", "<name>"]]`.
|
|
106
|
+
- Parameter `id` and `slug` are the tag name (not the tag's UUID `id`); `target` is `["variable", ["template-tag", "<name>"]]`.
|
|
96
107
|
- Use raw variables only. A field filter (`type: "dimension"`), snippet or card reference does not work in a write — write the comparison yourself (`WHERE id = {{order_id}}`).
|
|
97
108
|
- Set `required: true` on every input the statement cannot run without (`WHERE` keys, `NOT NULL` columns).
|
|
98
109
|
- Wrap an optional input in `[[ … ]]` with `required: false`; the clause drops out when no value is given. This makes one action do partial updates: `UPDATE orders SET updated_at = now() [[, note = {{note}}]] [[, status = {{status}}]] WHERE id = {{order_id}}`.
|
|
@@ -24,7 +24,7 @@ Exporting after the remote moved on ends in a `conflict` task unless the export
|
|
|
24
24
|
<!-- /requires -->
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
mb git-sync status --profile <n> --json # → branch, dirty, current task
|
|
27
|
+
mb git-sync status --profile <n> --json # → remote configured, sync type, branch, dirty, current task
|
|
28
28
|
mb git-sync is-dirty --profile <n> --json # → {is_dirty: bool}; instance has unexported changes
|
|
29
29
|
mb git-sync dirty --profile <n> --json # → list the dirty objects
|
|
30
30
|
mb git-sync current-task --profile <n> --json # → in-flight task (or idle)
|
|
@@ -197,7 +197,7 @@ Both verbs return `{ success: true }`, plus a `task_id` only when the toggle sta
|
|
|
197
197
|
|
|
198
198
|
**Cascade.** A toggle on a parent cascades to every descendant by `location` prefix — `add-collection 4` flips `4` plus every collection nested under it. `remove-collection 4` is the symmetric inverse. There is no per-leaf-only mode.
|
|
199
199
|
|
|
200
|
-
**Mode prerequisite.** The server rejects toggles while `remote-sync-type` is `:read-only` (the install default). If `mb git-sync add-collection 12` returns `Metabase returned 400 … Cannot change synced collections when remote-sync-type is read-only.`, switch first with:
|
|
200
|
+
**Mode prerequisite.** The server rejects toggles while `remote-sync-type` is `:read-only` (the install default; `mb git-sync status --json` reports it as `sync_type`). If `mb git-sync add-collection 12` returns `Metabase returned 400 … Cannot change synced collections when remote-sync-type is read-only.`, switch first with:
|
|
201
201
|
|
|
202
202
|
```bash
|
|
203
203
|
mb setting set remote-sync-type '"read-write"' --profile <n>
|
|
@@ -256,7 +256,7 @@ Flagging the collection records it for the next export, which serializes its cur
|
|
|
256
256
|
- Don't turn instance-side changes into hand-written repo files: export them and PR the exported branch (see the top of this skill). Files pushed behind Metabase's back race its own sync tasks.
|
|
257
257
|
- Don't conclude from an empty `dirty` list that a change type isn't tracked. Dirty-tracking only records changes to _eligible_ objects; the usual cause is scope (the collection isn't flagged — see "Published table metadata"), not capability. Check `synced_collections` in `status` before concluding.
|
|
258
258
|
- Don't run `git-sync import --force` or `git-sync export --force` without explicit user confirmation. Both are lossy — `--force` import discards instance-side work, `--force` export overwrites the remote branch.
|
|
259
|
-
- Don't drive `git-sync` against a Metabase instance that doesn't have remote-sync configured — every verb returns an error pointing at the missing `remote-sync-*` settings. To check: `mb
|
|
259
|
+
- Don't drive `git-sync` against a Metabase instance that doesn't have remote-sync configured — every verb returns an error pointing at the missing `remote-sync-*` settings. To check: `mb git-sync status --profile <n> --json` reports `remote_configured: false` when no remote is configured.
|
|
260
260
|
- Don't author content directly via `card create` / `transform create` and then assume `git-sync export` will commit it cleanly — the instance and repo can drift if you mix direct API writes with sync-tracked changes. If you do, follow direct writes immediately with `git-sync export -m "..."` to keep them in step.
|
|
261
261
|
- Don't move a dashboard or question into a synced collection before what it depends on, and don't retry a `Uses content that is not remote synced.` refusal unchanged. Move the listed dependencies first, move the whole containing collection, or build the content in the synced collection to begin with (see "Moving content into or out of a synced collection").
|
|
262
262
|
- Don't omit `-m` on `export` if the user wants a meaningful commit message — the default server-generated message is generic.
|