@metabase/cli 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/{add-collection-C0BQHjJd.mjs → add-collection-c1dfnavz.mjs} +1 -1
- package/dist/{alert-mXHOt00T.mjs → alert-BkpPdBQ_.mjs} +6 -6
- package/dist/{alerts-CyB1Z7AU.mjs → alerts-TDYiIxjs.mjs} +2 -2
- package/dist/api-key-9jVV67hF.mjs +38 -0
- package/dist/api-key-DbsqHlN6.mjs +31 -0
- package/dist/api-key-wGtJ8kYy.mjs +13 -0
- package/dist/{append-DeHhUAeY.mjs → append-CoeZRD6u.mjs} +2 -2
- package/dist/{archive-CjVd1fJ5.mjs → archive-3fdIvMsf.mjs} +1 -1
- package/dist/{archive-Bi-Sfq5T.mjs → archive-9uzfWGuq.mjs} +1 -1
- package/dist/{archive-CpvpGZlz.mjs → archive-CAJHrKwd.mjs} +1 -1
- package/dist/{archive-DRMXvkiI.mjs → archive-CH1h8jz5.mjs} +1 -1
- package/dist/{archive-DfDqPgtk.mjs → archive-D-BJwRLc.mjs} +1 -1
- package/dist/{archive-CfNLlebd.mjs → archive-DQRehboT.mjs} +1 -1
- package/dist/{archive-CCKxZEuq.mjs → archive-DY76wU2k.mjs} +1 -1
- package/dist/{archive-B1MA5MZp.mjs → archive-DZDkfhdH.mjs} +1 -1
- package/dist/{archive-HCVTRXI2.mjs → archive-DxUnaV4x.mjs} +1 -1
- package/dist/{archive-DpgtAdEa.mjs → archive-N3lp1o-k.mjs} +1 -1
- package/dist/{archive-qy0CFo1s2.mjs → archive-NfFWXRx5.mjs} +1 -1
- package/dist/{archive-CDSAXKKB.mjs → archive-f7wKQ7Uy.mjs} +1 -1
- package/dist/{auth-_cdypXeX.mjs → auth-hgkvHPpH.mjs} +4 -4
- package/dist/{body-C0VnEiRV.mjs → body-M5qsJoub.mjs} +1 -1
- package/dist/{branches-C7mNYAky.mjs → branches-B3gHAanU.mjs} +1 -1
- package/dist/{breaking-BindR3ZW.mjs → breaking-DuWIof4T.mjs} +1 -1
- package/dist/{broken-SoXfkx7d.mjs → broken-D2ST8sTx.mjs} +1 -1
- package/dist/{bulk-discard-values-D_d5_1w5.mjs → bulk-discard-values-77khEfpj.mjs} +2 -2
- package/dist/{bulk-edit-Cce05vb_.mjs → bulk-edit-girwcjY6.mjs} +2 -2
- package/dist/{bulk-rescan-values-DIQN4VT_.mjs → bulk-rescan-values-Df8KK8um.mjs} +1 -1
- package/dist/{bulk-sync-schema-DLWf5dCl.mjs → bulk-sync-schema-DEPUZ6MN.mjs} +1 -1
- package/dist/{cancel-rnd6UI-6.mjs → cancel-Oek5PJnu.mjs} +1 -1
- package/dist/{cancel-task-acq1GT6Z.mjs → cancel-task-rkqY0qLU.mjs} +1 -1
- package/dist/{card-BnL92zoT.mjs → card-BWTjCE93.mjs} +8 -8
- package/dist/{cards-DmzPtx81.mjs → cards-DWJOtZoN.mjs} +1 -1
- package/dist/cli.mjs +51 -35
- package/dist/{client-D-Aw6JLk.mjs → client-BFP2Ssqu.mjs} +110 -3
- package/dist/{collection-DRHGwFSL.mjs → collection-9_mj8rVX.mjs} +7 -7
- package/dist/{content-translation-DxT1OMnP.mjs → content-translation-B3oARbgD.mjs} +2 -2
- package/dist/{copy-BTdTiDQo.mjs → copy-BzBp5FaY.mjs} +1 -1
- package/dist/{copy-CyFf3e2Y.mjs → copy-C7Rc4qM7.mjs} +1 -1
- package/dist/{create-DeCPAYJi.mjs → create-71_DODbc.mjs} +2 -2
- package/dist/{create-roJbQOmm.mjs → create-BKRD11i-.mjs} +1 -1
- package/dist/{create-BH6zpwKD.mjs → create-Bc4ADRmU.mjs} +2 -2
- package/dist/{create-DeiBnRRz.mjs → create-Bh3q3eHg.mjs} +2 -2
- package/dist/{create-D6NLpIzV.mjs → create-ByeGK_BE.mjs} +2 -2
- package/dist/{create-GU8_GNbN.mjs → create-C-2ivjed.mjs} +2 -2
- package/dist/{create-qtTB8rIE.mjs → create-C0gmhNnk.mjs} +2 -2
- package/dist/create-C3H9ljex.mjs +34 -0
- package/dist/{create-BwIOlpLc.mjs → create-CGE1D0Ay.mjs} +2 -2
- package/dist/{create-DiG165B2.mjs → create-CGxxztoE.mjs} +2 -2
- package/dist/{create-Ce5YVusp.mjs → create-CfXKNnkK.mjs} +2 -2
- package/dist/{create-B3QZpifA.mjs → create-CjGEkSFz.mjs} +2 -2
- package/dist/{create-Dn8V5siS.mjs → create-DO4ic4Kx.mjs} +2 -2
- package/dist/{create-C3rabvE_.mjs → create-DQJ9h86G.mjs} +2 -2
- package/dist/{create-CuJJd7Rh.mjs → create-YBDXZgyP.mjs} +2 -2
- package/dist/{create-Bg3WTMMU.mjs → create-YIC3Q0a-.mjs} +2 -2
- package/dist/create-_rOCx5b8.mjs +38 -0
- package/dist/{create-branch-C4Ql9G2g.mjs → create-branch-DBCBMDWh.mjs} +1 -1
- package/dist/{create-Ch-NbeMr.mjs → create-f0bBEfDI.mjs} +2 -2
- package/dist/{create-DsCydgm22.mjs → create-myJ8HR4B.mjs} +2 -2
- package/dist/{create-B6dABrs7.mjs → create-vgP9K2eH2.mjs} +2 -2
- package/dist/{csv-DmuyyLdz.mjs → csv-Dtgy7sTg.mjs} +2 -2
- package/dist/{current-task-C2PPBVVv.mjs → current-task-AwQisIT9.mjs} +1 -1
- package/dist/{dashboard-Bq1pae4N.mjs → dashboard-BZV-0Qjp.mjs} +11 -11
- package/dist/{data-action-BZ2PvlaP.mjs → data-action-B7kRpvCH.mjs} +7 -7
- package/dist/data-app-BIAvvV2P.mjs +41 -0
- package/dist/data-app-BUW-HlUo.mjs +52 -0
- package/dist/data-app-Blz61mG5.mjs +29 -0
- package/dist/data-app-project-BL4xpu_m.mjs +57 -0
- package/dist/{db-BgKKN1-4.mjs → db-wsSYKqCB.mjs} +7 -7
- package/dist/delete-4v4_lDwD.mjs +44 -0
- package/dist/{delete-DtIbkF42.mjs → delete-BHX_F8Qu.mjs} +2 -2
- package/dist/{delete-DiZg2wit.mjs → delete-BP9-YS-f.mjs} +2 -2
- package/dist/delete-BSgxmR3y.mjs +40 -0
- package/dist/{delete-_XC6R-Jn.mjs → delete-BegkpIGi.mjs} +2 -2
- package/dist/{delete-DeqGTuwO.mjs → delete-D9FB7qjX.mjs} +2 -2
- package/dist/{delete-CH32Ew4m.mjs → delete-DmM5L0wO.mjs} +2 -2
- package/dist/{delete-CS6hsBnd.mjs → delete-E-g5b-HU.mjs} +2 -2
- package/dist/{delete-B3aylPHD.mjs → delete-WrV9I9uw.mjs} +2 -2
- package/dist/delete-runtime-CJ7gMYA1.mjs +72 -0
- package/dist/{delete-table-BEuMlqw1.mjs → delete-table-CJq8JM5J.mjs} +2 -2
- package/dist/{delete-5ZOvFr-7.mjs → delete-wnHUWWjX.mjs} +2 -2
- package/dist/{dependencies-DD48u9i3.mjs → dependencies-CnW3RSoZ.mjs} +1 -1
- package/dist/{dependency-6kfpR8Ga.mjs → dependency-DDRGBlFL.mjs} +5 -5
- package/dist/{dependents-ByfHs8pO.mjs → dependents-DHXqJ3lo.mjs} +1 -1
- package/dist/{dirty-DsrGfLit.mjs → dirty-BRPWPUYH.mjs} +1 -1
- package/dist/{discard-values-BfpwwC62.mjs → discard-values-DBHfVN8o.mjs} +2 -2
- package/dist/{document-C0mZEg5w.mjs → document-BeLf7NqP.mjs} +6 -6
- package/dist/{download-kpgGtfpw.mjs → download-BFu9xYHX.mjs} +1 -1
- package/dist/{eid-Tp-ACZ4O.mjs → eid-eKmbXRds.mjs} +2 -2
- package/dist/{entry-flags-nhBrUS6p.mjs → entry-flags-Cxn09krz.mjs} +2 -2
- package/dist/{events-Dm9-ofXu.mjs → events-CZL9MU64.mjs} +1 -1
- package/dist/{execute-BL0dAlrp.mjs → execute-DBJGtHHG.mjs} +2 -2
- package/dist/{export-preflight-BMlz3Hp9.mjs → export-preflight-SM9zJkBp.mjs} +1 -1
- package/dist/{export-CIW-dHft.mjs → export-xn_-NaBd.mjs} +1 -1
- package/dist/{field-BUkyWiWk.mjs → field-CQDz-6DK.mjs} +7 -7
- package/dist/{fields-CcerFaiu.mjs → fields-CB06GFBW.mjs} +1 -1
- package/dist/{fks-CYfBesHV.mjs → fks-CSoS7xZ6.mjs} +1 -1
- package/dist/{get-CZgAr8rM.mjs → get--1qTpTIQ.mjs} +1 -1
- package/dist/{get-Cj3-w_Nu.mjs → get-B8xQXMU6.mjs} +1 -1
- package/dist/{get-CEJE9Rmp.mjs → get-B8xrmipw.mjs} +1 -1
- package/dist/{get-LRTRu85E.mjs → get-BIf6eFWZ.mjs} +1 -1
- package/dist/{get--E7UvR-v.mjs → get-BQ7SAJEz.mjs} +1 -1
- package/dist/{get-DHSuVxrH.mjs → get-BSPxmP_W.mjs} +1 -1
- package/dist/{get-BvEHWLGL.mjs → get-BW3jSR3y.mjs} +1 -1
- package/dist/{get-DKbGKa6F.mjs → get-BYAzIaGG.mjs} +1 -1
- package/dist/{get-p2sZvp7v.mjs → get-BZDUOZxI.mjs} +1 -1
- package/dist/{get-CmxYFUuR.mjs → get-BZFyqZXa.mjs} +1 -1
- package/dist/{get-B0RQPTV-2.mjs → get-BfFZCiZR.mjs} +1 -1
- package/dist/get-Bq_9VSTa.mjs +28 -0
- package/dist/{get-BFloqjrN.mjs → get-Bt4C-oxh.mjs} +1 -1
- package/dist/{get-eNRULmE5.mjs → get-C1rCVUYw.mjs} +2 -2
- package/dist/{get-RCDF-hEq.mjs → get-Cc4-e-Q_.mjs} +1 -1
- package/dist/{get-BaiyMem3.mjs → get-Cl-O6dFs.mjs} +1 -1
- package/dist/{get-Be7yjY9v.mjs → get-CtDZOoWy.mjs} +1 -1
- package/dist/{get-BLnQ2aut.mjs → get-CuSwArMS.mjs} +1 -1
- package/dist/{get-Dp45rXRS.mjs → get-DIfjxTP8.mjs} +1 -1
- package/dist/{get-DRhcS76J.mjs → get-DePbMmjc.mjs} +1 -1
- package/dist/{get-CRfrkxqc.mjs → get-eZEHipwA.mjs} +1 -1
- package/dist/{get-HzDQViDP2.mjs → get-jbOgdCQg.mjs} +1 -1
- package/dist/{get-run-C3AHKn3-.mjs → get-run-C-CNDbv3.mjs} +1 -1
- package/dist/git-sync-D_T9oNC6.mjs +29 -0
- package/dist/{glossary-B9Eo4hXc.mjs → glossary-BVK5DaLV.mjs} +4 -4
- package/dist/{graph-BGOYocJc.mjs → graph-CqBe2J4N.mjs} +1 -1
- package/dist/{has-remote-changes-DxsRvZsw.mjs → has-remote-changes-CDe1teSb.mjs} +1 -1
- package/dist/{import-izn2_OsW.mjs → import-B64gjryF.mjs} +1 -1
- package/dist/{is-dirty-DHYYRl6Y.mjs → is-dirty-DhR3Xqjk.mjs} +1 -1
- package/dist/{items-mIoZBqUc.mjs → items-CLl2QgS8.mjs} +1 -1
- package/dist/{library-5I0TlXmf.mjs → library-C3eO2J07.mjs} +4 -4
- package/dist/{list-jT5ndEGr.mjs → list-B7Yvz5vA.mjs} +1 -1
- package/dist/{list-BKhJfFyB.mjs → list-BIqqh3A-.mjs} +1 -1
- package/dist/{list-NeImhwLD.mjs → list-BiSwl56L.mjs} +1 -1
- package/dist/{list-BxIulkp3.mjs → list-BmvitCWZ.mjs} +1 -1
- package/dist/{list-OWPg67JC.mjs → list-C3GBocvB.mjs} +3 -3
- package/dist/{list-CuEPFHrk.mjs → list-C7TFreS8.mjs} +1 -1
- package/dist/{list-C1dEh2yq.mjs → list-CA939qkn.mjs} +1 -1
- package/dist/{list-CpxEOoqw.mjs → list-CFaJA317.mjs} +1 -1
- package/dist/{list-B8FPpgct.mjs → list-CdcFNphE.mjs} +1 -1
- package/dist/{list-D8jiz8YP.mjs → list-CjpZCiks.mjs} +1 -1
- package/dist/{list-B6TYzXyW.mjs → list-Cu6ET_yD.mjs} +1 -1
- package/dist/{list-C-f-G-cC.mjs → list-D4HNG282.mjs} +1 -1
- package/dist/{list-C6roDyBd.mjs → list-DDPvxfhe.mjs} +1 -1
- package/dist/{list-DV4wojtv.mjs → list-DLLzMaS3.mjs} +1 -1
- package/dist/{list-BEBAq1xc.mjs → list-DLwby7YA.mjs} +1 -1
- package/dist/{list-C3CXHKTW.mjs → list-D_IT8l9B.mjs} +1 -1
- package/dist/{list-CmOTwt_z.mjs → list-DpfOh8-5.mjs} +1 -1
- package/dist/{list-CTlIVHeG.mjs → list-DrIcKxXX.mjs} +2 -2
- package/dist/{list-DVnPzc5m.mjs → list-DyFu5Wx1.mjs} +1 -1
- package/dist/{list-O_nmgwSj.mjs → list-DyQNRVAf.mjs} +1 -1
- package/dist/list-YFwmHXGG.mjs +33 -0
- package/dist/{list-CT7AOXTS.mjs → list-eGlqXJno.mjs} +1 -1
- package/dist/list-s9_LlXCV.mjs +29 -0
- package/dist/{login-DOW1mr40.mjs → login-Bg7Z3jDy.mjs} +3 -3
- package/dist/{logout-BQ8wywf7.mjs → logout-CAmp7DcS.mjs} +1 -1
- package/dist/{measure-Bz-bGn-Z.mjs → measure-C31HLp1C.mjs} +5 -5
- package/dist/{parameter-values-B7rr6fcy.mjs → parameter-values-3eHpqznI.mjs} +1 -1
- package/dist/{path-CHQguAPa.mjs → path-XwdHlC23.mjs} +2 -2
- package/dist/{publish-CaoFOucS.mjs → publish-C2-pK0cf.mjs} +1 -1
- package/dist/{query-0u1WR1bV.mjs → query-DkaUzmMa.mjs} +2 -2
- package/dist/{query-CzDBwAZD.mjs → query-pmw23KkL.mjs} +1 -1
- package/dist/{remapping-CodmT28F.mjs → remapping-C3htTzJn.mjs} +1 -1
- package/dist/{remove-collection-DfUsf6Dd.mjs → remove-collection-p_t9rUUX.mjs} +1 -1
- package/dist/{render-DP6UoZNT.mjs → render-C50k8-jc.mjs} +1 -1
- package/dist/{replace-qWiUOgmn.mjs → replace-BQBuFJ1B.mjs} +2 -2
- package/dist/{requirement-check-sfmyH2PH.mjs → requirement-check-CpiVuL0H.mjs} +1 -1
- package/dist/{rescan-values-BcrhdSj_.mjs → rescan-values-Ctq8wpkI.mjs} +1 -1
- package/dist/{rescan-values-BuDmeda3.mjs → rescan-values-DOqXJ3qH.mjs} +1 -1
- package/dist/{run-BBRnFayr.mjs → run-2xgPRuKR.mjs} +1 -1
- package/dist/{run-DXXD-CnS.mjs → run-CtMbObQI.mjs} +2 -2
- package/dist/{run-BG_5lR0x.mjs → run-Dn3e8G4x.mjs} +1 -1
- package/dist/{runs-CovgMSwy.mjs → runs-CgNoQW6M.mjs} +1 -1
- package/dist/{runtime-Cmes70jO.mjs → runtime-Y4VFWmmr.mjs} +1 -1
- package/dist/scaffold-BuL0_ptz.mjs +50 -0
- package/dist/{schema-tables-CjKl8jr5.mjs → schema-tables-BdXuo_lG.mjs} +1 -1
- package/dist/{schemas-CAGvBAD_.mjs → schemas-Dap3KFwY.mjs} +1 -1
- package/dist/{search-DFU6FHRd.mjs → search-DUmFK5Sy.mjs} +1 -1
- package/dist/{search-OpYS2Ub4.mjs → search-Dxcejw_v.mjs} +1 -1
- package/dist/{segment-D-SKpFzF.mjs → segment-CebcXn2E.mjs} +5 -5
- package/dist/{send-DNu83_3E.mjs → send-DYdwcPTb.mjs} +1 -1
- package/dist/{set-active-32IaLx1O.mjs → set-active-CVI_DDQi.mjs} +1 -1
- package/dist/set-bundle-DX5HqDji.mjs +40 -0
- package/dist/{set-data-actions-DRhgAfhE.mjs → set-data-actions-DAI1XCQ2.mjs} +1 -1
- package/dist/set-enabled-0QI-CHAT.mjs +41 -0
- package/dist/{set-sensitivity-D_i3XEe8.mjs → set-sensitivity-DqGkiLSr.mjs} +1 -1
- package/dist/{set-CGYZcLVo.mjs → set-xs8Vyvy2.mjs} +2 -2
- package/dist/{setting-BBn9Lv9J.mjs → setting-Bmry-y_l.mjs} +3 -3
- package/dist/{setup-8d7Uplhy.mjs → setup-UM8N9Vh3.mjs} +2 -2
- package/dist/{skills-BeIDC-_H.mjs → skills-BiSfuDqA.mjs} +3 -3
- package/dist/{skills-BZGd_9d3.mjs → skills-CcLTm3_2.mjs} +1 -1
- package/dist/slug-qeARO25o.mjs +15 -0
- package/dist/{snippet-CpZ5cJ_y.mjs → snippet-DKARah-L.mjs} +5 -5
- package/dist/{stash-Dyc1xZ8u.mjs → stash-e5cSvnj3.mjs} +1 -1
- package/dist/{status-lCN8unWe.mjs → status-BHiO3YBe.mjs} +1 -1
- package/dist/{status-CQZwl1PX.mjs → status-CH7BAWGe.mjs} +2 -2
- package/dist/{subscription-CEFxmtGH.mjs → subscription-DWleULhN.mjs} +5 -5
- package/dist/{subscriptions-AU14uznL.mjs → subscriptions-DcCOA2p1.mjs} +2 -2
- package/dist/{summary-Do9IBOQM.mjs → summary-CipFA6M6.mjs} +1 -1
- package/dist/{sync-schema-_gw9RQyF.mjs → sync-schema-C45WO4db.mjs} +1 -1
- package/dist/{sync-schema-B3nyoKZl.mjs → sync-schema-D7p-P8F6.mjs} +1 -1
- package/dist/table-BPYHnzyV.mjs +26 -0
- package/dist/{timeline-x0s_3sfc.mjs → timeline-C2m_QHxn.mjs} +7 -7
- package/dist/{timeline-event-B-nGnoVL.mjs → timeline-event-BF1dqSnD.mjs} +5 -5
- package/dist/transform-N_elgRuh.mjs +28 -0
- package/dist/transform-job-CTV6KRP2.mjs +22 -0
- package/dist/{transform-tag-dKCqQPTd.mjs → transform-tag-BYoguZfW.mjs} +4 -4
- package/dist/{transform-test-jFuzVhlT.mjs → transform-test-jaBpHOM5.mjs} +6 -6
- package/dist/{transforms-DRAws1f4.mjs → transforms-C6MFnT4C.mjs} +1 -1
- package/dist/{transport-Ck4anhoc.mjs → transport-k_fabWdF.mjs} +2 -2
- package/dist/{tree-Ddsj298M.mjs → tree-C4Igf6xs.mjs} +1 -1
- package/dist/typed-schema-Bo0Q6C0S.mjs +45 -0
- package/dist/{unpublish-BMfjQ8UV.mjs → unpublish-EStytsEm.mjs} +1 -1
- package/dist/{unreferenced-DRQrvH5r.mjs → unreferenced-DtUuyBrr.mjs} +1 -1
- package/dist/{update-pXVhyiFo.mjs → update-B0Na11v-.mjs} +2 -2
- package/dist/{update-CGpiLu7N.mjs → update-B1UXRPN-.mjs} +2 -2
- package/dist/{update-CnxzmPRG.mjs → update-BOg1jZ_s.mjs} +2 -2
- package/dist/{update-C1VwtJWu.mjs → update-BXLY92om.mjs} +2 -2
- package/dist/{update-6sfqiInZ.mjs → update-Bba_zPSE.mjs} +2 -2
- package/dist/{update-DlFHoUxe.mjs → update-BogvN2Mb.mjs} +2 -2
- package/dist/{update-D1aKeWfo.mjs → update-CCLpNTPa.mjs} +2 -2
- package/dist/{update-_hHnM1Hx.mjs → update-CciLWH_s.mjs} +2 -2
- package/dist/{update-BQLTaw3z.mjs → update-DAG8m5f4.mjs} +2 -2
- package/dist/{update-BtfUX9CN.mjs → update-DECiEVlk.mjs} +2 -2
- package/dist/update-DIBaY-fy.mjs +37 -0
- package/dist/{update-0AoF6QJ_.mjs → update-DT2ViMFr.mjs} +2 -2
- package/dist/{update-BCC1Igr2.mjs → update-DT8U29Kk.mjs} +2 -2
- package/dist/{update-8eXJso_l.mjs → update-DhgfReDD.mjs} +2 -2
- package/dist/{update-Bpsdi6kM.mjs → update-DkvIK-eL.mjs} +2 -2
- package/dist/{update-C1x90FSH.mjs → update-FfeHReec.mjs} +2 -2
- package/dist/{update-C19B1Sry.mjs → update-HbggUPuy.mjs} +2 -2
- package/dist/{update-DrT10fxQ.mjs → update-VGgvQu7W.mjs} +2 -2
- package/dist/{update-dashcard-CDI0Tnxy.mjs → update-dashcard-m-hkIGUu.mjs} +2 -2
- package/dist/{update-BIL0JPqm.mjs → update-pk0b6vXU.mjs} +2 -2
- package/dist/{update-DpP1EEC0.mjs → update-z8ZGCg1r.mjs} +2 -2
- package/dist/{upgrade-Cfouv1Ii.mjs → upgrade-iETJ8fH2.mjs} +1 -1
- package/dist/{upload-DnLXgUA-.mjs → upload-BF5pdKRN.mjs} +1 -1
- package/dist/{upload-DIEcI5iM.mjs → upload-CoK5LnyA.mjs} +2 -2
- package/dist/{upload-Cqv-In6j.mjs → upload-CqSGEZQW.mjs} +3 -3
- package/dist/{uuid-D0sH5txV.mjs → uuid-8Ha-8bDX.mjs} +1 -1
- package/dist/{values-BFPO6y5o.mjs → values-BsgA7-6h.mjs} +1 -1
- package/dist/{verify-C-StvB4f.mjs → verify-CzBZbP4W.mjs} +1 -1
- package/dist/{verify-CuGs0X3C.mjs → verify-cjUPMF_B.mjs} +1 -1
- package/dist/{verify-7fW020r_.mjs → verify-crIrbGZV.mjs} +2 -2
- package/dist/{wait-Cvt8xO0h.mjs → wait-mFUfpSaj.mjs} +1 -1
- package/package.json +2 -2
- package/skill-data/core/SKILL.md +1 -1
- package/skill-data/data-action/SKILL.md +1 -1
- package/skill-data/data-app/SKILL.md +138 -0
- package/skill-data/data-app/template/.env.local.example +2 -0
- package/skill-data/data-app/template/LICENSE +21 -0
- package/skill-data/data-app/template/README.md +29 -0
- package/skill-data/data-app/template/gitignore +5 -0
- package/skill-data/data-app/template/package.json +25 -0
- package/skill-data/data-app/template/src/App.tsx +9 -0
- package/skill-data/data-app/template/src/index.tsx +14 -0
- package/skill-data/data-app/template/src/theme.ts +25 -0
- package/skill-data/data-app/template/tsconfig.json +25 -0
- package/skill-data/data-app/template/vite.config.ts +3 -0
- package/skill-data/data-app-actions/SKILL.md +96 -0
- package/skill-data/data-app-data/SKILL.md +158 -0
- package/skill-data/data-app-filters/SKILL.md +87 -0
- package/skill-data/data-app-ui/SKILL.md +120 -0
- package/dist/delete-runtime-DRGveT8H.mjs +0 -55
- package/dist/git-sync-CNTB5jvI.mjs +0 -29
- package/dist/table-Cb_Uvw8m.mjs +0 -26
- package/dist/transform-job-Dlx2c6II.mjs +0 -22
- package/dist/transform-kP11Mv9_.mjs +0 -28
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-81zoQcEP.mjs";
|
|
2
|
+
//#region src/commands/table/index.ts
|
|
3
|
+
var table_default = defineCommandGroup({
|
|
4
|
+
name: "table",
|
|
5
|
+
description: "Manage Metabase tables",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "metadata",
|
|
8
|
+
purpose: "table and column metadata, semantic types, visibility"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-BmvitCWZ.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-DePbMmjc.mjs").then((m) => m.default),
|
|
13
|
+
fields: () => import("./fields-CB06GFBW.mjs").then((m) => m.default),
|
|
14
|
+
fks: () => import("./fks-CSoS7xZ6.mjs").then((m) => m.default),
|
|
15
|
+
update: () => import("./update-DhgfReDD.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-D7p-P8F6.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-DOqXJ3qH.mjs").then((m) => m.default),
|
|
18
|
+
"discard-values": () => import("./discard-values-DBHfVN8o.mjs").then((m) => m.default),
|
|
19
|
+
"bulk-edit": () => import("./bulk-edit-girwcjY6.mjs").then((m) => m.default),
|
|
20
|
+
"bulk-sync-schema": () => import("./bulk-sync-schema-DEPUZ6MN.mjs").then((m) => m.default),
|
|
21
|
+
"bulk-rescan-values": () => import("./bulk-rescan-values-Df8KK8um.mjs").then((m) => m.default),
|
|
22
|
+
"bulk-discard-values": () => import("./bulk-discard-values-77khEfpj.mjs").then((m) => m.default)
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { table_default as default };
|
|
@@ -8,13 +8,13 @@ var timeline_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "collection scoping — events render only on questions in the timeline's collection"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get
|
|
13
|
-
events: () => import("./events-
|
|
14
|
-
create: () => import("./create-
|
|
15
|
-
update: () => import("./update-
|
|
16
|
-
archive: () => import("./archive-
|
|
17
|
-
delete: () => import("./delete-
|
|
11
|
+
list: () => import("./list-D_IT8l9B.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BQ7SAJEz.mjs").then((mod) => mod.default),
|
|
13
|
+
events: () => import("./events-CZL9MU64.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-YBDXZgyP.mjs").then((mod) => mod.default),
|
|
15
|
+
update: () => import("./update-HbggUPuy.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-DY76wU2k.mjs").then((mod) => mod.default),
|
|
17
|
+
delete: () => import("./delete-wnHUWWjX.mjs").then((mod) => mod.default)
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
@@ -8,11 +8,11 @@ var timeline_event_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "required event fields and timeline collection scoping"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
create: () => import("./create-
|
|
13
|
-
update: () => import("./update-
|
|
14
|
-
archive: () => import("./archive-
|
|
15
|
-
delete: () => import("./delete-
|
|
11
|
+
get: () => import("./get-jbOgdCQg.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-DQJ9h86G.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-VGgvQu7W.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-f7wKQ7Uy.mjs").then((mod) => mod.default),
|
|
15
|
+
delete: () => import("./delete-BegkpIGi.mjs").then((mod) => mod.default)
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-81zoQcEP.mjs";
|
|
2
|
+
//#region src/commands/transform/index.ts
|
|
3
|
+
var transform_default = defineCommandGroup({
|
|
4
|
+
name: "transform",
|
|
5
|
+
description: "Manage Metabase transforms",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "transform",
|
|
8
|
+
purpose: "body shape, run-with-wait, iterate"
|
|
9
|
+
}, {
|
|
10
|
+
skill: "mbql",
|
|
11
|
+
purpose: "MBQL source.query bodies"
|
|
12
|
+
}],
|
|
13
|
+
subCommands: {
|
|
14
|
+
list: () => import("./list-eGlqXJno.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-Bt4C-oxh.mjs").then((mod) => mod.default),
|
|
16
|
+
dependencies: () => import("./dependencies-CnW3RSoZ.mjs").then((mod) => mod.default),
|
|
17
|
+
create: () => import("./create-vgP9K2eH2.mjs").then((mod) => mod.default),
|
|
18
|
+
update: () => import("./update-BOg1jZ_s.mjs").then((mod) => mod.default),
|
|
19
|
+
delete: () => import("./delete-DmM5L0wO.mjs").then((mod) => mod.default),
|
|
20
|
+
"delete-table": () => import("./delete-table-CJq8JM5J.mjs").then((mod) => mod.default),
|
|
21
|
+
run: () => import("./run-2xgPRuKR.mjs").then((mod) => mod.default),
|
|
22
|
+
cancel: () => import("./cancel-Oek5PJnu.mjs").then((mod) => mod.default),
|
|
23
|
+
"get-run": () => import("./get-run-C-CNDbv3.mjs").then((mod) => mod.default),
|
|
24
|
+
runs: () => import("./runs-CgNoQW6M.mjs").then((mod) => mod.default)
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { transform_default as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-81zoQcEP.mjs";
|
|
2
|
+
//#region src/commands/transform-job/index.ts
|
|
3
|
+
var transform_job_default = defineCommandGroup({
|
|
4
|
+
name: "transform-job",
|
|
5
|
+
description: "Manage Metabase transform jobs",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "transform",
|
|
8
|
+
purpose: "tag-driven job schedules"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-DLwby7YA.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-B8xQXMU6.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-CGxxztoE.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-z8ZGCg1r.mjs").then((mod) => mod.default),
|
|
15
|
+
delete: () => import("./delete-D9FB7qjX.mjs").then((mod) => mod.default),
|
|
16
|
+
run: () => import("./run-Dn3e8G4x.mjs").then((mod) => mod.default),
|
|
17
|
+
transforms: () => import("./transforms-C6MFnT4C.mjs").then((mod) => mod.default),
|
|
18
|
+
"set-active": () => import("./set-active-CVI_DDQi.mjs").then((mod) => mod.default)
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { transform_job_default as default };
|
|
@@ -8,10 +8,10 @@ var transform_tag_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "tags that drive job schedules"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
create: () => import("./create-
|
|
13
|
-
update: () => import("./update-
|
|
14
|
-
delete: () => import("./delete-
|
|
11
|
+
list: () => import("./list-CdcFNphE.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-C-2ivjed.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-pk0b6vXU.mjs").then((mod) => mod.default),
|
|
14
|
+
delete: () => import("./delete-BP9-YS-f.mjs").then((mod) => mod.default)
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -4,12 +4,12 @@ var transform_test_default = defineCommandGroup({
|
|
|
4
4
|
name: "transform-test",
|
|
5
5
|
description: "Manage transform tests — fixtures and expectations run against temp tables",
|
|
6
6
|
subCommands: {
|
|
7
|
-
list: () => import("./list-
|
|
8
|
-
get: () => import("./get-
|
|
9
|
-
create: () => import("./create-
|
|
10
|
-
update: () => import("./update-
|
|
11
|
-
delete: () => import("./delete-
|
|
12
|
-
run: () => import("./run-
|
|
7
|
+
list: () => import("./list-DpfOh8-5.mjs").then((mod) => mod.default),
|
|
8
|
+
get: () => import("./get-BW3jSR3y.mjs").then((mod) => mod.default),
|
|
9
|
+
create: () => import("./create-Bc4ADRmU.mjs").then((mod) => mod.default),
|
|
10
|
+
update: () => import("./update-CCLpNTPa.mjs").then((mod) => mod.default),
|
|
11
|
+
delete: () => import("./delete-WrV9I9uw.mjs").then((mod) => mod.default),
|
|
12
|
+
run: () => import("./run-CtMbObQI.mjs").then((mod) => mod.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ct as outputFlags, lt as profileFlag, mt as listEnvelopeSchema, o as renderList, ot as listFlags, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
4
|
import { n as windowList } from "./window-CfK_j6m1.mjs";
|
|
5
5
|
import { n as TransformCompact } from "./transform-DiW7bREn.mjs";
|
|
6
6
|
import { n as transformView } from "./transform-CWGJB8N_.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Et as NetworkError, Ft as isNonInterruptFailure, K as isRetryableStatus, Mt as errorMessage, Ot as ResponseShapeError, P as CapabilityError, W as HttpError, X as JSON_CONTENT_TYPE, Z as parseJson, jt as ValidationError, kt as TimeoutError } from "./cli.mjs";
|
|
2
|
-
import { G as credentialSecrets, H as serverInfoFromProperties, I as buildNetworkError, J as normalizeUrl, L as isConnectionClosed, Q as createServerProfile, R as PROBE_PATH, U as assertCredentialHeaderSafe, W as credentialAuthHeader, tt as SessionProperties, z as probeBudget } from "./runtime-
|
|
2
|
+
import { G as credentialSecrets, H as serverInfoFromProperties, I as buildNetworkError, J as normalizeUrl, L as isConnectionClosed, Q as createServerProfile, R as PROBE_PATH, U as assertCredentialHeaderSafe, W as credentialAuthHeader, tt as SessionProperties, z as probeBudget } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { n as throwIfAborted, r as untilAborted, t as combineAborts } from "./signal-D8MH3LMN.mjs";
|
|
4
|
-
import { n as featureFailures } from "./requirement-check-
|
|
4
|
+
import { n as featureFailures } from "./requirement-check-CpiVuL0H.mjs";
|
|
5
5
|
import { setTimeout } from "node:timers/promises";
|
|
6
6
|
//#region ../client/src/http/response-shape.ts
|
|
7
7
|
async function parseJsonResponse(text, schema, context) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { St as ConfigError, d as writeJson, it as formatFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { m as CollectionTreeNode } from "./collection-DNmFKALA.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/collection/tree.ts
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { f as writeText, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
|
+
import { n as slugArg, t as parseSlug } from "./slug-qeARO25o.mjs";
|
|
4
|
+
import { i as writeProjectFile } from "./data-app-project-BL4xpu_m.mjs";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
//#region src/commands/data-app/typed-schema.ts
|
|
7
|
+
const TypedSchemaModule = z.string().describe("The generated TypeScript module of the app's queries and actions.");
|
|
8
|
+
var typed_schema_default = defineMetabaseCommand({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "typed-schema",
|
|
11
|
+
description: "Print or write the TypeScript module of a data app's queries and actions"
|
|
12
|
+
},
|
|
13
|
+
details: "Metabase generates a `defineQuery` call for every question and a `defineAction` call for every action in the app's collection, each typed by its result columns or parameters and addressed by entity ID, exported as `queries` and `actions`. Fetch it again after any change to the collection. --out writes it to a file (the app's `src/metabase.ts`) instead of stdout.",
|
|
14
|
+
skills: [{
|
|
15
|
+
skill: "data-app-data",
|
|
16
|
+
purpose: "the questions the module defines"
|
|
17
|
+
}, {
|
|
18
|
+
skill: "data-app-actions",
|
|
19
|
+
purpose: "the actions the module defines"
|
|
20
|
+
}],
|
|
21
|
+
requires: ["dataApp.typedSchema"],
|
|
22
|
+
args: {
|
|
23
|
+
...profileFlag,
|
|
24
|
+
...connectionFlags,
|
|
25
|
+
...slugArg,
|
|
26
|
+
out: {
|
|
27
|
+
type: "string",
|
|
28
|
+
description: "File to write the module to"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
outputSchema: TypedSchemaModule,
|
|
32
|
+
examples: ["mb data-app typed-schema sales-overview --out src/metabase.ts", "mb data-app typed-schema sales-overview > src/metabase.ts"],
|
|
33
|
+
async run({ args, getClient }) {
|
|
34
|
+
const slug = parseSlug(args.slug);
|
|
35
|
+
const module = await (await getClient()).dataApp.typedSchema(slug);
|
|
36
|
+
if (args.out === void 0) {
|
|
37
|
+
writeText(module.trimEnd());
|
|
38
|
+
return;
|
|
39
|
+
}
|
|
40
|
+
await writeProjectFile(args.out, module);
|
|
41
|
+
writeText(`Wrote the queries and actions of data app ${slug} to ${args.out}.`);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
export { typed_schema_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
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-Y4VFWmmr.mjs";
|
|
3
3
|
import { i as tableSelectorFlags, n as parseTableSelectors } from "./table-selector-flags-CHfrVpYQ.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/library/unpublish.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ct as outputFlags, lt as profileFlag, mt as listEnvelopeSchema, o as renderList, ot as listFlags, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { t as collectForOutput } from "./window-CfK_j6m1.mjs";
|
|
4
4
|
import { d as DependencyNodeCompact } from "./dependency-CaC6XuTY.mjs";
|
|
5
5
|
import { i as dependencyNodeView } from "./dependency-Dxvb2Znu.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { _ as hasDataSensitivity, a as FieldDetail, l as FieldUpdateInput } from "./field-DoWQUl7V.mjs";
|
|
7
7
|
import { c as fieldView, l as fieldWithDataSensitivityView } from "./field-BVz4AS3f.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { l as DashboardUpdateInput, o as DashboardDetail } from "./dashboard-Chjy5GKR.mjs";
|
|
7
7
|
import { n as dashboardView } from "./dashboard-D5E3fMKh.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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
7
|
import { a as TRANSFORM_SOURCE_QUERY_LABELS, o as preflightMbql5Query, s as skipValidateFlag } from "./validate-query-YtH3d5BP.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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
7
|
import { o as preflightMbql5Query, r as MEASURE_DEFINITION_LABELS, s as skipValidateFlag } from "./validate-query-YtH3d5BP.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as SegmentUpdateInput, t as Segment } from "./segment-OsrbUDzw.mjs";
|
|
7
7
|
import { i as SEGMENT_DEFINITION_LABELS, o as preflightMbql5Query, s as skipValidateFlag } from "./validate-query-YtH3d5BP.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.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-Cxn09krz.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
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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,7 +1,7 @@
|
|
|
1
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
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { O as givenValue, t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { O as givenValue, t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { g as CollectionUpdateInput, r as Collection } from "./collection-DNmFKALA.mjs";
|
|
7
7
|
import { t as parseEnumFlag } from "./parse-enum-DAcTzG1q.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { a as PulseUpdateInput, t as Pulse } from "./pulse-CC81N2_0.mjs";
|
|
7
7
|
import { t as pulseView } from "./pulse-JPrq6NFP.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as CardDetail, l as CardUpdateInput } from "./card-QR3zEu6E.mjs";
|
|
7
7
|
import { n as cardView } from "./card-3NmUiU5F.mjs";
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
4
|
+
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
+
import { o as DataAppUpdateInput, t as DataApp } from "./data-app-BUW-HlUo.mjs";
|
|
6
|
+
import { t as dataAppView } from "./data-app-Blz61mG5.mjs";
|
|
7
|
+
import { n as slugArg, t as parseSlug } from "./slug-qeARO25o.mjs";
|
|
8
|
+
//#region src/commands/data-app/update.ts
|
|
9
|
+
var update_default = defineMetabaseCommand({
|
|
10
|
+
meta: {
|
|
11
|
+
name: "update",
|
|
12
|
+
description: "Update a data app's fields, or enable or disable it"
|
|
13
|
+
},
|
|
14
|
+
details: "The JSON body carries only the fields to change: `display_name`, `description`, `allowed_hosts`, `enabled`, `bundle_path`, `version`. A disabled app is served only to admins. `mb data-app set-bundle` replaces the bundle from a built file.",
|
|
15
|
+
requires: ["dataApp.update"],
|
|
16
|
+
args: {
|
|
17
|
+
...outputFlags,
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags,
|
|
20
|
+
...bodyInputFlags,
|
|
21
|
+
...slugArg
|
|
22
|
+
},
|
|
23
|
+
inputSchema: DataAppUpdateInput,
|
|
24
|
+
outputSchema: DataApp,
|
|
25
|
+
examples: ["mb data-app update sales-overview --body '{\"enabled\":true}'", "mb data-app update sales-overview --body '{\"allowed_hosts\":[\"https://api.example.com\"]}'"],
|
|
26
|
+
async run({ args, ctx, getClient }) {
|
|
27
|
+
const slug = parseSlug(args.slug);
|
|
28
|
+
const body = await readBody({
|
|
29
|
+
flag: args.body,
|
|
30
|
+
file: args.file
|
|
31
|
+
}, DataAppUpdateInput);
|
|
32
|
+
const updated = await (await getClient()).dataApp.update(slug, body);
|
|
33
|
+
renderSummary(updated, dataAppView, `Updated data app ${updated.name}.`, ctx);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { update_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as SnippetUpdateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
7
7
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
@@ -2,9 +2,9 @@ import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connect
|
|
|
2
2
|
import { c as NotificationUpdateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
|
|
3
3
|
import { t as notificationView } from "./notification-W2SVssyY.mjs";
|
|
4
4
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
5
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
5
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.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-M5qsJoub.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
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { t as Table, y as TableUpdateInput } from "./table-CF7zW9cI.mjs";
|
|
7
7
|
import { u as tableView } from "./table-BDsqRU7a.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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
7
|
import { n as DATA_ACTION_DATASET_QUERY_LABELS, o as preflightMbql5Query, s as skipValidateFlag } from "./validate-query-YtH3d5BP.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { f as DashcardDetail, p as DashcardPatchInput } from "./dashboard-Chjy5GKR.mjs";
|
|
7
7
|
import { r as dashcardView } from "./dashboard-D5E3fMKh.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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,7 +1,7 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as readBody } from "./body-M5qsJoub.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,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { T as USER_AGENT, t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { n as throwIfAborted, t as combineAborts } from "./signal-D8MH3LMN.mjs";
|
|
4
4
|
import { n as streamProcess } from "./process-aqXm5QgC.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Pt as isFileNotFoundError, St as ConfigError } from "./cli.mjs";
|
|
2
|
-
import { D as fileNotFoundError } from "./runtime-
|
|
2
|
+
import { D as fileNotFoundError } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import { basename } from "node:path";
|
|
5
5
|
//#region src/runtime/upload.ts
|
|
@@ -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-Y4VFWmmr.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-BF5pdKRN.mjs";
|
|
5
5
|
//#region src/output/views/content-translation.ts
|
|
6
6
|
const contentTranslationUploadView = {
|
|
7
7
|
compactPick: ContentTranslationUploadResult,
|
|
@@ -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-Dtgy7sTg.mjs").then((m) => m.default),
|
|
8
|
+
append: () => import("./append-CoeZRD6u.mjs").then((m) => m.default),
|
|
9
|
+
replace: () => import("./replace-BQBuFJ1B.mjs").then((m) => m.default)
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
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-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
//#region src/commands/uuid.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, m as formatScalar, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
4
|
import { u as FieldValues } from "./field-DoWQUl7V.mjs";
|
|
5
5
|
import { s as fieldValuesView } from "./field-BVz4AS3f.mjs";
|
|
6
6
|
//#region src/commands/field/values.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
|
|
5
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
|
|
5
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
|