@metabase/cli 0.5.1 → 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-BnGPc0Vv.mjs → add-collection-c1dfnavz.mjs} +4 -4
- package/dist/{alert-DQkF8jYR.mjs → alert-BkpPdBQ_.mjs} +6 -6
- package/dist/{alerts-BncG7w1_.mjs → alerts-TDYiIxjs.mjs} +3 -3
- 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-D4ekYCuD.mjs → append-CoeZRD6u.mjs} +3 -3
- package/dist/{archive-ULXc3xzI.mjs → archive-3fdIvMsf.mjs} +2 -2
- package/dist/{archive-v08JESCM.mjs → archive-9uzfWGuq.mjs} +2 -2
- package/dist/{archive-BQ4OA-R4.mjs → archive-CAJHrKwd.mjs} +2 -2
- package/dist/{archive-DpCP4yR1.mjs → archive-CH1h8jz5.mjs} +2 -2
- package/dist/{archive-BifJXCHF.mjs → archive-D-BJwRLc.mjs} +2 -2
- package/dist/{archive-BXr9kFNz.mjs → archive-DQRehboT.mjs} +5 -5
- package/dist/{archive-DjHLWUfC.mjs → archive-DY76wU2k.mjs} +2 -2
- package/dist/{archive-EhW6blNc.mjs → archive-DZDkfhdH.mjs} +4 -4
- package/dist/{archive-D2WCz3Oe.mjs → archive-DxUnaV4x.mjs} +2 -2
- package/dist/{archive-DocyUIME.mjs → archive-N3lp1o-k.mjs} +4 -4
- package/dist/{archive-CxNUeWII2.mjs → archive-NfFWXRx5.mjs} +4 -4
- package/dist/{archive-DnCF-Ecm.mjs → archive-f7wKQ7Uy.mjs} +2 -2
- package/dist/{auth-BPbsm8yV.mjs → auth-hgkvHPpH.mjs} +4 -4
- package/dist/{body-BkkQkGJg.mjs → body-M5qsJoub.mjs} +2 -2
- package/dist/{branch-flag-CTDvbaBa.mjs → branch-flag-CPTQ4wXp.mjs} +1 -1
- package/dist/{branches-lPHtM_xR.mjs → branches-B3gHAanU.mjs} +2 -2
- package/dist/{breaking-DjMlCD96.mjs → breaking-DuWIof4T.mjs} +5 -5
- package/dist/{broken-DUX3GWS5.mjs → broken-D2ST8sTx.mjs} +7 -7
- package/dist/{bulk-discard-values-Dl8Lzypf.mjs → bulk-discard-values-77khEfpj.mjs} +4 -4
- package/dist/{bulk-edit-N2xLVtfG.mjs → bulk-edit-girwcjY6.mjs} +5 -5
- package/dist/{bulk-rescan-values-BK2rH2Ik.mjs → bulk-rescan-values-Df8KK8um.mjs} +4 -4
- package/dist/{bulk-sync-schema-BKJc9Rzq.mjs → bulk-sync-schema-DEPUZ6MN.mjs} +4 -4
- package/dist/{cancel-DzkRVGIk.mjs → cancel-Oek5PJnu.mjs} +2 -2
- package/dist/{cancel-task-BiTlDY7a.mjs → cancel-task-rkqY0qLU.mjs} +3 -3
- package/dist/{card-CQNUT9pm.mjs → card-3NmUiU5F.mjs} +1 -1
- package/dist/{card-BTBDBsu-.mjs → card-BWTjCE93.mjs} +8 -8
- package/dist/{card-P5mBknsl.mjs → card-QR3zEu6E.mjs} +39 -16
- package/dist/{cards-CSL8ukS1.mjs → cards-DWJOtZoN.mjs} +5 -5
- package/dist/cli.mjs +172 -37
- package/dist/{client-BBwYPXDW.mjs → client-BFP2Ssqu.mjs} +221 -39
- package/dist/{collection-B19phRNU.mjs → collection-9_mj8rVX.mjs} +7 -7
- package/dist/{collection-CTnYZ2Jj.mjs → collection-D5vt2IJ_.mjs} +1 -1
- package/dist/{collection-B2wRXyTF.mjs → collection-DNmFKALA.mjs} +1 -0
- package/dist/{collection-namespace-B1OkM7p1.mjs → collection-namespace-Dl8_7xII.mjs} +1 -1
- package/dist/{content-translation-DoGTQnvH.mjs → content-translation-B3oARbgD.mjs} +2 -2
- package/dist/{copy-BYukQEtf.mjs → copy-BzBp5FaY.mjs} +5 -5
- package/dist/{copy-XlCT3gvG.mjs → copy-C7Rc4qM7.mjs} +3 -3
- package/dist/{copy-flags-ByB2MicL.mjs → copy-flags-CTM91pxH.mjs} +2 -2
- package/dist/{create-T4PZPVE9.mjs → create-71_DODbc.mjs} +3 -3
- package/dist/{create-jr4xJgSI.mjs → create-BKRD11i-.mjs} +3 -3
- package/dist/{create-k1Bo7h7g.mjs → create-Bc4ADRmU.mjs} +2 -2
- package/dist/{create-Bnb1abv_.mjs → create-Bh3q3eHg.mjs} +5 -5
- package/dist/{create-3_oY9KHY.mjs → create-ByeGK_BE.mjs} +2 -2
- package/dist/{create-DZJQp3r7.mjs → create-C-2ivjed.mjs} +2 -2
- package/dist/{create-CLZ7w83R.mjs → create-C0gmhNnk.mjs} +3 -3
- package/dist/create-C3H9ljex.mjs +34 -0
- package/dist/{create-DxMmIHI4.mjs → create-CGE1D0Ay.mjs} +2 -2
- package/dist/{create-CbT4SPHV.mjs → create-CGxxztoE.mjs} +2 -2
- package/dist/{create-CYoarNrb.mjs → create-CfXKNnkK.mjs} +2 -2
- package/dist/{create-Bl9sS7v7.mjs → create-CjGEkSFz.mjs} +6 -6
- package/dist/{create-Cdt8u1wF.mjs → create-DO4ic4Kx.mjs} +5 -5
- package/dist/{create-BP39g5Jk.mjs → create-DQJ9h86G.mjs} +2 -2
- package/dist/{create-DBNxy5rN.mjs → create-YBDXZgyP.mjs} +2 -2
- package/dist/{create-D5_c5SHo.mjs → create-YIC3Q0a-.mjs} +2 -2
- package/dist/create-_rOCx5b8.mjs +38 -0
- package/dist/{create-branch-CUNFdKyB.mjs → create-branch-DBCBMDWh.mjs} +4 -4
- package/dist/{create-CqF7vqXC.mjs → create-f0bBEfDI.mjs} +4 -4
- package/dist/{create-B3fm5I-l2.mjs → create-myJ8HR4B.mjs} +4 -4
- package/dist/{create-CrtIqtXN.mjs → create-vgP9K2eH2.mjs} +4 -4
- package/dist/{csv-CcnhKpuj.mjs → csv-Dtgy7sTg.mjs} +3 -3
- package/dist/{current-task-nl2z8sHI.mjs → current-task-AwQisIT9.mjs} +3 -3
- package/dist/{dashboard-BP0p62fp.mjs → dashboard-BZV-0Qjp.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-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/{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-wsSYKqCB.mjs +25 -0
- package/dist/delete-4v4_lDwD.mjs +44 -0
- package/dist/{delete-BOma6qIq.mjs → delete-BHX_F8Qu.mjs} +3 -3
- package/dist/{delete-DulVnxD_.mjs → delete-BP9-YS-f.mjs} +3 -3
- package/dist/delete-BSgxmR3y.mjs +40 -0
- package/dist/{delete-BUCh72Bq.mjs → delete-BegkpIGi.mjs} +3 -3
- package/dist/{delete-xf2n7SNg.mjs → delete-D9FB7qjX.mjs} +3 -3
- package/dist/{delete-QHsiWYay.mjs → delete-DmM5L0wO.mjs} +3 -3
- package/dist/{delete-BrbmJ3sn.mjs → delete-E-g5b-HU.mjs} +3 -3
- package/dist/{delete-Oc2GE170.mjs → delete-WrV9I9uw.mjs} +3 -3
- package/dist/delete-runtime-CJ7gMYA1.mjs +72 -0
- package/dist/{delete-table-LgJ17t6j.mjs → delete-table-CJq8JM5J.mjs} +3 -3
- package/dist/{delete-BXMc-g3Q.mjs → delete-wnHUWWjX.mjs} +3 -3
- package/dist/{dependencies-BE5QW7Lb.mjs → dependencies-CnW3RSoZ.mjs} +3 -3
- package/dist/{dependency-qP1hx2YN.mjs → dependency-CaC6XuTY.mjs} +2 -2
- package/dist/{dependency-BlTYysYG.mjs → dependency-DDRGBlFL.mjs} +5 -5
- package/dist/{dependency-BACk_cVP.mjs → dependency-Dxvb2Znu.mjs} +1 -1
- package/dist/{dependents-mbgHQNiv.mjs → dependents-DHXqJ3lo.mjs} +8 -8
- package/dist/{dirty-fYlA1N1e.mjs → dirty-BRPWPUYH.mjs} +4 -4
- package/dist/{discard-values-cIRBP5nT.mjs → discard-values-DBHfVN8o.mjs} +4 -4
- package/dist/{document-BaRQ5fBd.mjs → document-BeLf7NqP.mjs} +6 -6
- package/dist/{download-CokVpeK6.mjs → download-BFu9xYHX.mjs} +1 -1
- package/dist/{eid-CaumGUFD.mjs → eid-eKmbXRds.mjs} +3 -4
- package/dist/{entity-BHYJtRxp.mjs → entity-DjDkaMkB.mjs} +2 -2
- package/dist/{entry-flags-DjICpQkc.mjs → entry-flags-Cxn09krz.mjs} +3 -3
- package/dist/{events-jEo9fytL.mjs → events-CZL9MU64.mjs} +3 -3
- package/dist/{execute-H09Qus4_.mjs → execute-DBJGtHHG.mjs} +3 -3
- package/dist/{export-flags-DzW0Ktkh.mjs → export-flags-CpukgETM.mjs} +13 -5
- package/dist/{export-preflight-Db_TChn5.mjs → export-preflight-SM9zJkBp.mjs} +4 -4
- package/dist/{export-YtdZo7LZ.mjs → export-xn_-NaBd.mjs} +24 -12
- package/dist/{field-wmN6raOG.mjs → field-BVz4AS3f.mjs} +1 -1
- package/dist/{field-DktidTPB.mjs → field-CQDz-6DK.mjs} +7 -7
- package/dist/{field-5nivEfd6.mjs → field-DoWQUl7V.mjs} +58 -45
- package/dist/{fields-DUXlosmx.mjs → fields-CB06GFBW.mjs} +5 -5
- package/dist/{filter-flags-DTDcU7OI.mjs → filter-flags-DhE4olyf.mjs} +4 -4
- package/dist/{fks-Cl2sq-c0.mjs → fks-CSoS7xZ6.mjs} +5 -5
- package/dist/{get-C_rjxpoe.mjs → get--1qTpTIQ.mjs} +4 -4
- package/dist/{get-BilMWiFq.mjs → get-B8xQXMU6.mjs} +2 -2
- package/dist/{get-okEsnkvC.mjs → get-B8xrmipw.mjs} +2 -2
- package/dist/{get-DPiNYmXo.mjs → get-BIf6eFWZ.mjs} +2 -2
- package/dist/{get-DtcChy9h.mjs → get-BQ7SAJEz.mjs} +2 -2
- package/dist/{get-XS-6R81E.mjs → get-BSPxmP_W.mjs} +4 -4
- package/dist/{get-zPMv3kZE.mjs → get-BW3jSR3y.mjs} +2 -2
- package/dist/{get-DyK_bvg6.mjs → get-BYAzIaGG.mjs} +2 -2
- package/dist/{get-Cg0up9gm.mjs → get-BZDUOZxI.mjs} +2 -2
- package/dist/{get-oQNL6pLY.mjs → get-BZFyqZXa.mjs} +2 -2
- package/dist/{get-CVMWhbA82.mjs → get-BfFZCiZR.mjs} +4 -4
- package/dist/get-Bq_9VSTa.mjs +28 -0
- package/dist/{get-FxCF0rxc.mjs → get-Bt4C-oxh.mjs} +2 -2
- package/dist/{get-GuWW4J24.mjs → get-C1rCVUYw.mjs} +3 -3
- package/dist/{get-CqlNUyFY.mjs → get-Cc4-e-Q_.mjs} +4 -4
- package/dist/{get-CTtzccwr.mjs → get-Cl-O6dFs.mjs} +3 -3
- package/dist/{get-Bt_zhviQ.mjs → get-CtDZOoWy.mjs} +5 -5
- package/dist/{get-CWyRAHpz.mjs → get-CuSwArMS.mjs} +5 -5
- package/dist/{get-CM596pmP.mjs → get-DIfjxTP8.mjs} +2 -2
- package/dist/{get-B-WT6ess.mjs → get-DePbMmjc.mjs} +5 -5
- package/dist/{get-DTDvlLT3.mjs → get-eZEHipwA.mjs} +2 -2
- package/dist/{get-DySyvotk2.mjs → get-jbOgdCQg.mjs} +2 -2
- package/dist/{get-run-CFGxSm_S.mjs → get-run-C-CNDbv3.mjs} +2 -2
- 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/git-sync-D_T9oNC6.mjs +29 -0
- package/dist/{glossary-BSgRQ2HO.mjs → glossary-BVK5DaLV.mjs} +4 -4
- package/dist/{graph-Wf4e0XIa.mjs → graph-CqBe2J4N.mjs} +5 -5
- package/dist/{has-remote-changes-BsS3XB0P.mjs → has-remote-changes-CDe1teSb.mjs} +3 -3
- package/dist/{import-CXd5HdB0.mjs → import-B64gjryF.mjs} +7 -7
- package/dist/{is-dirty-TDcfeOde.mjs → is-dirty-DhR3Xqjk.mjs} +1 -1
- package/dist/{items-BxvhoxYm.mjs → items-CLl2QgS8.mjs} +5 -5
- package/dist/{key-CUPbYxkk.mjs → key-BYEv4Wgq.mjs} +2 -2
- package/dist/{library-DzejNMqX.mjs → library-C3eO2J07.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-DA1Fo6S6.mjs → list-B7Yvz5vA.mjs} +2 -2
- package/dist/{list-DlgjWr4r.mjs → list-BIqqh3A-.mjs} +2 -2
- package/dist/{list-CRXTfEFk.mjs → list-BiSwl56L.mjs} +2 -2
- package/dist/{list-DpK3ioES.mjs → list-BmvitCWZ.mjs} +5 -5
- package/dist/{list-D7yH-64Z.mjs → list-C3GBocvB.mjs} +4 -4
- package/dist/{list-B8V_OESj.mjs → list-C7TFreS8.mjs} +2 -2
- package/dist/{list-6nGX0Rqc.mjs → list-CA939qkn.mjs} +5 -5
- package/dist/list-CFaJA317.mjs +48 -0
- package/dist/{list-3Dh5yeq-.mjs → list-CdcFNphE.mjs} +2 -2
- package/dist/{list-DjlfBd7W.mjs → list-CjpZCiks.mjs} +2 -2
- package/dist/{list-B5kRBn7k.mjs → list-Cu6ET_yD.mjs} +4 -4
- package/dist/{list-BUjI5G0_.mjs → list-D4HNG282.mjs} +4 -4
- package/dist/{list-Ba7u5Ai9.mjs → list-DDPvxfhe.mjs} +5 -5
- package/dist/{list-Cr5Hoq-E.mjs → list-DLLzMaS3.mjs} +2 -2
- package/dist/{list-D_fsrh8w.mjs → list-DLwby7YA.mjs} +2 -2
- package/dist/{list-B3Pngm2j.mjs → list-D_IT8l9B.mjs} +2 -2
- package/dist/{list-CCCy6cBI.mjs → list-DpfOh8-5.mjs} +3 -3
- package/dist/{list-DsR58aMq.mjs → list-DrIcKxXX.mjs} +3 -3
- package/dist/{list-D1Q8H3jn.mjs → list-DyFu5Wx1.mjs} +3 -3
- package/dist/{list-Cf6A9Csi.mjs → list-DyQNRVAf.mjs} +2 -2
- package/dist/list-YFwmHXGG.mjs +33 -0
- package/dist/{list-Do-Xnz0I.mjs → list-eGlqXJno.mjs} +2 -2
- package/dist/list-s9_LlXCV.mjs +29 -0
- package/dist/{login-CXbCAcuB.mjs → login-Bg7Z3jDy.mjs} +15 -8
- package/dist/{logout-B6IGzkpG.mjs → logout-CAmp7DcS.mjs} +2 -2
- package/dist/{measure-CbMgNhlG.mjs → measure-C31HLp1C.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-3eHpqznI.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-XwdHlC23.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-C2-pK0cf.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-DkaUzmMa.mjs} +12 -12
- package/dist/{query-BOCw0FBK.mjs → query-pmw23KkL.mjs} +17 -7
- package/dist/{remapping-Dggq2Fv0.mjs → remapping-C3htTzJn.mjs} +4 -4
- package/dist/{remove-collection-cxSSFxza.mjs → remove-collection-p_t9rUUX.mjs} +4 -4
- package/dist/{render-Cb8Hct67.mjs → render-C50k8-jc.mjs} +2 -2
- package/dist/{replace-wVi_XDut.mjs → replace-BQBuFJ1B.mjs} +3 -3
- package/dist/{requirement-check-BE3PuGsC.mjs → requirement-check-CpiVuL0H.mjs} +1 -1
- package/dist/{rescan-values-DAp_avxY.mjs → rescan-values-Ctq8wpkI.mjs} +4 -4
- package/dist/{rescan-values-C7b1Ghy-.mjs → rescan-values-DOqXJ3qH.mjs} +4 -4
- package/dist/{run-CUGs7mok.mjs → run-2xgPRuKR.mjs} +4 -4
- package/dist/{run-DywhwjNG.mjs → run-CtMbObQI.mjs} +4 -4
- package/dist/{run-CE6ei7s7.mjs → run-Dn3e8G4x.mjs} +2 -2
- package/dist/{runs--14jim_0.mjs → runs-CgNoQW6M.mjs} +3 -3
- package/dist/{runtime-Ckns6TKK.mjs → runtime-Y4VFWmmr.mjs} +63 -80
- package/dist/scaffold-BuL0_ptz.mjs +50 -0
- package/dist/{schema-tables-CeW0kpA5.mjs → schema-tables-BdXuo_lG.mjs} +5 -5
- package/dist/{schemas-CHMD0HrY.mjs → schemas-Dap3KFwY.mjs} +3 -3
- package/dist/{search-CXRavT7G.mjs → search-1et9tv_s.mjs} +21 -4
- package/dist/{search-LmBQu1Jg.mjs → search-DUmFK5Sy.mjs} +5 -5
- package/dist/{search-DyC54bGf.mjs → search-Dxcejw_v.mjs} +20 -5
- package/dist/{segment-DeT_Yic6.mjs → segment-CebcXn2E.mjs} +5 -5
- package/dist/{send-BWSJMrDL.mjs → send-DYdwcPTb.mjs} +2 -2
- package/dist/{set-active-C5cLG4_O.mjs → set-active-CVI_DDQi.mjs} +2 -2
- package/dist/set-bundle-DX5HqDji.mjs +40 -0
- package/dist/set-data-actions-DAI1XCQ2.mjs +46 -0
- package/dist/set-enabled-0QI-CHAT.mjs +41 -0
- package/dist/{set-sensitivity-BMLKazua.mjs → set-sensitivity-DqGkiLSr.mjs} +5 -5
- package/dist/{set-r2xiXrT_.mjs → set-xs8Vyvy2.mjs} +3 -3
- package/dist/{setting-CDRusiqP.mjs → setting-Bmry-y_l.mjs} +3 -3
- package/dist/{setup-BZaJVww3.mjs → setup-UM8N9Vh3.mjs} +2 -2
- package/dist/{signal-4tpCIkqR.mjs → signal-D8MH3LMN.mjs} +1 -1
- package/dist/{skills-9ihLaSmM.mjs → skills-BiSfuDqA.mjs} +3 -3
- package/dist/{skills-y2iVfW9k.mjs → skills-CcLTm3_2.mjs} +2 -2
- package/dist/slug-qeARO25o.mjs +15 -0
- package/dist/{snippet-Ce0o33Rj.mjs → snippet-DKARah-L.mjs} +5 -5
- package/dist/{stash-Dj-mnIa4.mjs → stash-e5cSvnj3.mjs} +6 -6
- package/dist/{status-BtWz7Pzn.mjs → status-BHiO3YBe.mjs} +36 -15
- package/dist/{status-B2Xj_q8f.mjs → status-CH7BAWGe.mjs} +2 -2
- package/dist/{subscription-Dh--agqE.mjs → subscription-DWleULhN.mjs} +5 -5
- package/dist/{subscriptions-CJ8Jdp9A.mjs → subscriptions-DcCOA2p1.mjs} +4 -4
- package/dist/{summary-ccbkNDbC.mjs → summary-CipFA6M6.mjs} +4 -4
- package/dist/{sync-schema-CewUOkmm.mjs → sync-schema-C45WO4db.mjs} +5 -5
- package/dist/{sync-schema-HwQectZd.mjs → sync-schema-D7p-P8F6.mjs} +4 -4
- 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-BPYHnzyV.mjs +26 -0
- package/dist/{table-zAdW5_3H.mjs → table-CF7zW9cI.mjs} +33 -20
- package/dist/{table-selector-flags-p4jun7-v.mjs → table-selector-flags-CHfrVpYQ.mjs} +3 -3
- package/dist/{timeline-DLaBypse.mjs → timeline-C2m_QHxn.mjs} +7 -7
- package/dist/{timeline-event-xAAR6b-v.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-BXusFzMX.mjs → transform-tag-BYoguZfW.mjs} +4 -4
- package/dist/{transform-test-UsH1udc4.mjs → transform-test-jaBpHOM5.mjs} +6 -6
- package/dist/{transforms-CqV01bMM.mjs → transforms-C6MFnT4C.mjs} +3 -3
- package/dist/{transport-0qFZhEuP.mjs → transport-k_fabWdF.mjs} +4 -4
- package/dist/{tree-Td6rgyOa.mjs → tree-C4Igf6xs.mjs} +3 -3
- package/dist/typed-schema-Bo0Q6C0S.mjs +45 -0
- package/dist/{unpublish-D4XTZsFW.mjs → unpublish-EStytsEm.mjs} +2 -2
- package/dist/{unreferenced-cR-l4zXN.mjs → unreferenced-DtUuyBrr.mjs} +5 -5
- package/dist/{update-C8xdeYI2.mjs → update-B0Na11v-.mjs} +5 -5
- package/dist/{update-C7Wmom6x.mjs → update-B1UXRPN-.mjs} +7 -7
- package/dist/{update-dQeji6RA.mjs → update-BOg1jZ_s.mjs} +5 -5
- package/dist/{update-CpwWURTp.mjs → update-BXLY92om.mjs} +4 -4
- package/dist/{update-DrVc25R8.mjs → update-Bba_zPSE.mjs} +4 -4
- package/dist/{update-C4iu-vQm.mjs → update-BogvN2Mb.mjs} +3 -3
- package/dist/{update-nGURR-y6.mjs → update-CCLpNTPa.mjs} +3 -3
- package/dist/{update-CHB4kvz-.mjs → update-CciLWH_s.mjs} +7 -8
- package/dist/{update-BqkqMOVN.mjs → update-DAG8m5f4.mjs} +5 -5
- package/dist/{update-Dk0E66Va.mjs → update-DECiEVlk.mjs} +7 -7
- package/dist/update-DIBaY-fy.mjs +37 -0
- package/dist/{update-C7dZLbsf.mjs → update-DT2ViMFr.mjs} +3 -3
- package/dist/{update-CND9At61.mjs → update-DT8U29Kk.mjs} +3 -3
- package/dist/{update-Js0IiqCq.mjs → update-DhgfReDD.mjs} +5 -5
- package/dist/{update-DFK2iUSP.mjs → update-DkvIK-eL.mjs} +3 -3
- package/dist/{update-DZHgr6Gu.mjs → update-FfeHReec.mjs} +4 -4
- package/dist/{update-BJL5975i.mjs → update-HbggUPuy.mjs} +3 -3
- package/dist/{update-D-cTgmb0.mjs → update-VGgvQu7W.mjs} +3 -3
- package/dist/{update-dashcard-BmkfJ7t9.mjs → update-dashcard-m-hkIGUu.mjs} +6 -6
- package/dist/{update-DROjGe3Q.mjs → update-pk0b6vXU.mjs} +3 -3
- package/dist/{update-DqCZsbLh.mjs → update-z8ZGCg1r.mjs} +3 -3
- package/dist/{upgrade-B6V_1cUh.mjs → upgrade-iETJ8fH2.mjs} +4 -4
- package/dist/{upload-B6zBzMPW.mjs → upload-BF5pdKRN.mjs} +3 -3
- package/dist/{upload-CfYmBv51.mjs → upload-CoK5LnyA.mjs} +2 -2
- package/dist/{upload-Dvjfz16M.mjs → upload-CqSGEZQW.mjs} +3 -3
- package/dist/{uuid-B8ynbkqG.mjs → uuid-8Ha-8bDX.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-BsgA7-6h.mjs} +4 -4
- package/dist/{verify-C4Tml4fD.mjs → verify-CzBZbP4W.mjs} +4 -4
- package/dist/{verify-BdW-GExk.mjs → verify-cjUPMF_B.mjs} +4 -4
- package/dist/{verify-Cs9e28YA.mjs → verify-crIrbGZV.mjs} +3 -3
- package/dist/{verify-flags-CMpRkMPa.mjs → verify-flags-DEVMB9w0.mjs} +1 -1
- package/dist/{wait-flags-DjyK03cm.mjs → wait-flags-BnZ-dfE2.mjs} +2 -2
- package/dist/{wait-BV6JOdgi.mjs → wait-mFUfpSaj.mjs} +5 -5
- package/package.json +2 -2
- package/skill-data/core/SKILL.md +1 -1
- package/skill-data/data-action/SKILL.md +18 -7
- 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/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/delete-runtime-CkNvZfFA.mjs +0 -55
- 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,18 +1,22 @@
|
|
|
1
|
-
import { c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags, w as warn
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import {
|
|
4
|
-
import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-
|
|
5
|
-
import { a as syncExportView } from "./git-sync-
|
|
6
|
-
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask } from "./sync-task-
|
|
7
|
-
import { t as branchFlag } from "./branch-flag-
|
|
1
|
+
import { St as ConfigError, c as renderSummary, ct as outputFlags, lt as profileFlag, rt as connectionFlags, w as warn } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
|
+
import { s as SyncExportResult } from "./git-sync-DP4wQFzm.mjs";
|
|
4
|
+
import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-BnZ-dfE2.mjs";
|
|
5
|
+
import { a as syncExportView } from "./git-sync-D1aKczo6.mjs";
|
|
6
|
+
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask } from "./sync-task-DNKG9Bk4.mjs";
|
|
7
|
+
import { t as branchFlag } from "./branch-flag-CPTQ4wXp.mjs";
|
|
8
8
|
//#region src/commands/git-sync/export.ts
|
|
9
9
|
var export_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "export",
|
|
12
12
|
description: "Export Metabase changes back to the configured git remote"
|
|
13
13
|
},
|
|
14
|
-
details: "The export targets the branch git-sync tracks. On Metabase 63+ `--branch` defaults to it and must name it (the server answers 409 for any other branch); older servers export to the branch `--branch` names and switch git-sync to it, refusing with 400 when that branch's tip is not the last synced commit unless --force is given. To push to a new branch, use `git-sync stash` or `git-sync create-branch` first
|
|
15
|
-
requires: [
|
|
14
|
+
details: "The export targets the branch git-sync tracks. On Metabase 63+ `--branch` defaults to it and must name it (the server answers 409 for any other branch); older servers export to the branch `--branch` names and switch git-sync to it, refusing with 400 when that branch's tip is not the last synced commit unless --force is given. To push to a new branch, use `git-sync stash` or `git-sync create-branch` first; a `--branch` missing from the remote is refused before the export with a pointer to `create-branch`. When the remote has moved past the last sync, a plain export ends in a `conflict` task on 63+ and is refused with 400 on older servers. --merge (63+) folds the remote's changes in by a three-way merge (entities changed on both sides still end in `conflict`), --force overwrites them. `git-sync export-preflight` previews which applies. A task that ends in `conflict` may make the server count the remote commit it saw as synced, so a retry, --merge included, may no longer see the remote's changes. Never answer a conflict with a retry: keep the remote's side with `import --force`, Metabase's with `export --force`, or both through a reviewed PR from a new branch (`mb skills get git-sync`, \"After a conflict task\").",
|
|
15
|
+
requires: [
|
|
16
|
+
"gitSync.branch",
|
|
17
|
+
"gitSync.branches",
|
|
18
|
+
"gitSync.export"
|
|
19
|
+
],
|
|
16
20
|
args: {
|
|
17
21
|
...outputFlags,
|
|
18
22
|
...profileFlag,
|
|
@@ -56,16 +60,24 @@ var export_default = defineMetabaseCommand({
|
|
|
56
60
|
if (args.force) params.force = true;
|
|
57
61
|
if (args.merge) params.merge = true;
|
|
58
62
|
if (wait.enabled) params.wait = taskPollOptions(wait.schedule);
|
|
59
|
-
const
|
|
60
|
-
if (
|
|
63
|
+
const mb = await getClient();
|
|
64
|
+
if (branch !== null && await mb.gitSync.branch() !== branch) {
|
|
65
|
+
if (!(await mb.gitSync.branches()).data.includes(branch)) throw missingBranchError(branch);
|
|
66
|
+
}
|
|
67
|
+
const result = await mb.gitSync.export(params);
|
|
68
|
+
const target = result.branch === null ? "" : ` Branch: ${result.branch}.`;
|
|
69
|
+
if (!wait.enabled) renderSummary(result, syncExportView, `Started export task #${result.task_id}.${target}`, ctx);
|
|
61
70
|
else {
|
|
62
71
|
const final = result.final ?? null;
|
|
63
|
-
renderSummary(result, syncExportView, final === null ? `Export task #${result.task_id} finished.` : formatSyncTask(final)
|
|
72
|
+
renderSummary(result, syncExportView, `${final === null ? `Export task #${result.task_id} finished.` : formatSyncTask(final)}${target}`, ctx);
|
|
64
73
|
throwIfFailedTask(final, "export");
|
|
65
74
|
}
|
|
66
75
|
emitRealignHint(ctx);
|
|
67
76
|
}
|
|
68
77
|
});
|
|
78
|
+
function missingBranchError(branch) {
|
|
79
|
+
return new ConfigError(`branch "${branch}" does not exist on the remote; run \`mb git-sync create-branch ${branch}\` to create it and switch git-sync to it, then export without --branch`);
|
|
80
|
+
}
|
|
69
81
|
function emitRealignHint(ctx) {
|
|
70
82
|
if (ctx.format !== "text") return;
|
|
71
83
|
warn("\nNote: if exporting to a host-bound repo, realign the host working tree with:\n git -C <repo-path> restore --staged --worktree .");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as FieldSummary, d as FieldValuesCompact, p as FieldWithDataSensitivityCompact, r as FieldCompact } from "./field-
|
|
1
|
+
import { c as FieldSummary, d as FieldValuesCompact, p as FieldWithDataSensitivityCompact, r as FieldCompact } from "./field-DoWQUl7V.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/output/views/field.ts
|
|
4
4
|
function formatTypeTag(value) {
|
|
@@ -8,13 +8,13 @@ var field_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "semantic types, FK targets, visibility, dropdown behavior"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
values: () => import("./values-
|
|
13
|
-
summary: () => import("./summary-
|
|
14
|
-
update: () => import("./update-
|
|
15
|
-
search: () => import("./search-
|
|
16
|
-
remapping: () => import("./remapping-
|
|
17
|
-
"set-sensitivity": () => import("./set-sensitivity-
|
|
11
|
+
get: () => import("./get-BSPxmP_W.mjs").then((m) => m.default),
|
|
12
|
+
values: () => import("./values-BsgA7-6h.mjs").then((m) => m.default),
|
|
13
|
+
summary: () => import("./summary-CipFA6M6.mjs").then((m) => m.default),
|
|
14
|
+
update: () => import("./update-B0Na11v-.mjs").then((m) => m.default),
|
|
15
|
+
search: () => import("./search-DUmFK5Sy.mjs").then((m) => m.default),
|
|
16
|
+
remapping: () => import("./remapping-C3htTzJn.mjs").then((m) => m.default),
|
|
17
|
+
"set-sensitivity": () => import("./set-sensitivity-DqGkiLSr.mjs").then((m) => m.default)
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
@@ -13,6 +13,51 @@ const FieldValuesType = z.enum([
|
|
|
13
13
|
"none",
|
|
14
14
|
"auto-list"
|
|
15
15
|
]);
|
|
16
|
+
const SEMANTIC_TYPES_WITH_BASE = [
|
|
17
|
+
"type/AvatarURL",
|
|
18
|
+
"type/Birthdate",
|
|
19
|
+
"type/CancelationDate",
|
|
20
|
+
"type/CancelationTime",
|
|
21
|
+
"type/CancelationTimestamp",
|
|
22
|
+
"type/City",
|
|
23
|
+
"type/Comment",
|
|
24
|
+
"type/Coordinate",
|
|
25
|
+
"type/Cost",
|
|
26
|
+
"type/Country",
|
|
27
|
+
"type/CreationDate",
|
|
28
|
+
"type/CreationTime",
|
|
29
|
+
"type/CreationTimestamp",
|
|
30
|
+
"type/Currency",
|
|
31
|
+
"type/DeletionDate",
|
|
32
|
+
"type/DeletionTime",
|
|
33
|
+
"type/DeletionTimestamp",
|
|
34
|
+
"type/Description",
|
|
35
|
+
"type/Discount",
|
|
36
|
+
"type/Duration",
|
|
37
|
+
"type/Email",
|
|
38
|
+
"type/GrossMargin",
|
|
39
|
+
"type/ImageURL",
|
|
40
|
+
"type/Income",
|
|
41
|
+
"type/JoinDate",
|
|
42
|
+
"type/JoinTime",
|
|
43
|
+
"type/JoinTimestamp",
|
|
44
|
+
"type/Latitude",
|
|
45
|
+
"type/Longitude",
|
|
46
|
+
"type/Name",
|
|
47
|
+
"type/Percentage",
|
|
48
|
+
"type/Price",
|
|
49
|
+
"type/Quantity",
|
|
50
|
+
"type/Score",
|
|
51
|
+
"type/SerializedJSON",
|
|
52
|
+
"type/Share",
|
|
53
|
+
"type/State",
|
|
54
|
+
"type/Title",
|
|
55
|
+
"type/URL",
|
|
56
|
+
"type/UpdatedDate",
|
|
57
|
+
"type/UpdatedTime",
|
|
58
|
+
"type/UpdatedTimestamp",
|
|
59
|
+
"type/ZipCode"
|
|
60
|
+
];
|
|
16
61
|
const FieldBaseType = z.enum([
|
|
17
62
|
"type/*",
|
|
18
63
|
"type/field-values-unsupported",
|
|
@@ -22,6 +67,7 @@ const FieldBaseType = z.enum([
|
|
|
22
67
|
"type/Integer",
|
|
23
68
|
"type/BigInteger",
|
|
24
69
|
"type/Float",
|
|
70
|
+
"type/Double",
|
|
25
71
|
"type/Decimal",
|
|
26
72
|
"type/Text",
|
|
27
73
|
"type/UUID",
|
|
@@ -57,67 +103,28 @@ const FieldBaseType = z.enum([
|
|
|
57
103
|
"type/Structured",
|
|
58
104
|
"type/JSON",
|
|
59
105
|
"type/DruidJSON",
|
|
60
|
-
"type/XML"
|
|
106
|
+
"type/XML",
|
|
107
|
+
...SEMANTIC_TYPES_WITH_BASE
|
|
61
108
|
]);
|
|
62
109
|
const FieldSemanticType = z.enum([
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
"type/Currency",
|
|
67
|
-
"type/Income",
|
|
68
|
-
"type/Discount",
|
|
69
|
-
"type/Price",
|
|
70
|
-
"type/GrossMargin",
|
|
71
|
-
"type/Cost",
|
|
72
|
-
"type/Score",
|
|
73
|
-
"type/Duration",
|
|
110
|
+
"Semantic/*",
|
|
111
|
+
"Relation/*",
|
|
112
|
+
...SEMANTIC_TYPES_WITH_BASE,
|
|
74
113
|
"type/Location",
|
|
75
|
-
"type/Coordinate",
|
|
76
|
-
"type/Latitude",
|
|
77
|
-
"type/Longitude",
|
|
78
114
|
"type/Address",
|
|
79
|
-
"type/City",
|
|
80
|
-
"type/State",
|
|
81
|
-
"type/Country",
|
|
82
|
-
"type/ZipCode",
|
|
83
|
-
"type/URL",
|
|
84
|
-
"type/ImageURL",
|
|
85
|
-
"type/AvatarURL",
|
|
86
|
-
"type/Email",
|
|
87
|
-
"type/Description",
|
|
88
|
-
"type/Comment",
|
|
89
115
|
"type/IPAddress",
|
|
90
116
|
"type/Category",
|
|
91
117
|
"type/Enum",
|
|
92
|
-
"type/Name",
|
|
93
|
-
"type/Title",
|
|
94
118
|
"type/Product",
|
|
95
119
|
"type/Company",
|
|
96
120
|
"type/Subscription",
|
|
97
121
|
"type/Source",
|
|
98
122
|
"type/CreationTemporal",
|
|
99
|
-
"type/CreationTimestamp",
|
|
100
|
-
"type/CreationTime",
|
|
101
|
-
"type/CreationDate",
|
|
102
123
|
"type/JoinTemporal",
|
|
103
|
-
"type/JoinTimestamp",
|
|
104
|
-
"type/JoinTime",
|
|
105
|
-
"type/JoinDate",
|
|
106
124
|
"type/CancelationTemporal",
|
|
107
|
-
"type/CancelationTimestamp",
|
|
108
|
-
"type/CancelationTime",
|
|
109
|
-
"type/CancelationDate",
|
|
110
125
|
"type/DeletionTemporal",
|
|
111
|
-
"type/DeletionTimestamp",
|
|
112
|
-
"type/DeletionTime",
|
|
113
|
-
"type/DeletionDate",
|
|
114
126
|
"type/UpdatedTemporal",
|
|
115
|
-
"type/UpdatedTimestamp",
|
|
116
|
-
"type/UpdatedTime",
|
|
117
|
-
"type/UpdatedDate",
|
|
118
|
-
"type/Birthdate",
|
|
119
127
|
"type/Structured",
|
|
120
|
-
"type/SerializedJSON",
|
|
121
128
|
"type/JSON",
|
|
122
129
|
"type/DruidJSON",
|
|
123
130
|
"type/XML",
|
|
@@ -170,8 +177,13 @@ const Field = z.object({
|
|
|
170
177
|
description: z.string().nullable(),
|
|
171
178
|
database_type: z.string().nullable().optional(),
|
|
172
179
|
base_type: FieldBaseType,
|
|
180
|
+
effective_type: FieldBaseType.nullable(),
|
|
181
|
+
coercion_strategy: FieldCoercionStrategy.nullable(),
|
|
173
182
|
semantic_type: FieldSemanticType.nullable(),
|
|
174
183
|
fk_target_field_id: z.number().int().nullable(),
|
|
184
|
+
database_is_pk: z.boolean().nullable(),
|
|
185
|
+
parent_id: z.number().int().nullable(),
|
|
186
|
+
nfc_path: z.array(z.string()).nullable(),
|
|
175
187
|
has_field_values: FieldValuesType.nullable().optional(),
|
|
176
188
|
visibility_type: FieldVisibilityType.nullable().optional(),
|
|
177
189
|
active: z.boolean().optional(),
|
|
@@ -187,6 +199,7 @@ const FieldCompact = Field.pick({
|
|
|
187
199
|
semantic_type: true,
|
|
188
200
|
fk_target_field_id: true
|
|
189
201
|
}).strip();
|
|
202
|
+
const FieldWithTarget = Field.extend({ target: Field.nullable() });
|
|
190
203
|
const FieldWithDataSensitivity = Field.extend({ data_sensitivity: FieldDataSensitivity.nullable() });
|
|
191
204
|
const FieldDetail = z.union([FieldWithDataSensitivity, Field]);
|
|
192
205
|
/** The shape `GET` and `PUT /api/field/{id}` answer on a server with `features`. */
|
|
@@ -252,4 +265,4 @@ const FieldSummary = z.object({
|
|
|
252
265
|
distincts: z.number().int()
|
|
253
266
|
});
|
|
254
267
|
//#endregion
|
|
255
|
-
export { FieldDetail as a, FieldSummary as c, FieldValuesCompact as d, FieldWithDataSensitivity as f,
|
|
268
|
+
export { hasDataSensitivity as _, FieldDetail as a, FieldSummary as c, FieldValuesCompact as d, FieldWithDataSensitivity as f, fieldRemappedValueSchema as g, fieldDetailSchema as h, FieldDataSensitivity as i, FieldUpdateInput as l, FieldWithTarget as m, FieldBaseType as n, FieldSearchMatches as o, FieldWithDataSensitivityCompact as p, FieldCompact as r, FieldSemanticType as s, Field as t, FieldValues as u };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ct as outputFlags,
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
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 parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
4
|
import { n as windowList } from "./window-CfK_j6m1.mjs";
|
|
5
|
-
import { r as FieldCompact } from "./field-
|
|
6
|
-
import { c as fieldView } from "./field-
|
|
5
|
+
import { r as FieldCompact } from "./field-DoWQUl7V.mjs";
|
|
6
|
+
import { c as fieldView } from "./field-BVz4AS3f.mjs";
|
|
7
7
|
//#region src/commands/table/fields.ts
|
|
8
8
|
const FieldListEnvelope = listEnvelopeSchema(FieldCompact);
|
|
9
9
|
var fields_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as listFlag, bt as parseEnumCsv, yt as parseEnum } from "./cli.mjs";
|
|
2
|
+
import { c as CardType } from "./card-QR3zEu6E.mjs";
|
|
2
3
|
import { i as SortDirection } from "./query-BKtMP5eH.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as parseOptionalText } from "./parse-text-CUCSWOeR.mjs";
|
|
4
|
+
import { f as DependencyType, l as DependencyItemsSortColumn, p as DependentsSortColumn } from "./dependency-CaC6XuTY.mjs";
|
|
5
|
+
import { t as parseOptionalText } from "./parse-text-FgX60vIg.mjs";
|
|
6
6
|
//#region src/commands/dependency/filter-flags.ts
|
|
7
7
|
const sharedFilterFlags = {
|
|
8
8
|
"include-personal-collections": {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ct as outputFlags,
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
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 parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
4
|
import { n as windowList } from "./window-CfK_j6m1.mjs";
|
|
5
|
-
import { d as TableForeignKeyCompact } from "./table-
|
|
6
|
-
import { a as tableForeignKeyView } from "./table-
|
|
5
|
+
import { d as TableForeignKeyCompact } from "./table-CF7zW9cI.mjs";
|
|
6
|
+
import { a as tableForeignKeyView } from "./table-BDsqRU7a.mjs";
|
|
7
7
|
//#region src/commands/table/fks.ts
|
|
8
8
|
const TableForeignKeyListEnvelope = listEnvelopeSchema(TableForeignKeyCompact);
|
|
9
9
|
var fks_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { o as DashboardDetail } from "./dashboard-
|
|
5
|
-
import { n as dashboardView } from "./dashboard-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { o as DashboardDetail } from "./dashboard-Chjy5GKR.mjs";
|
|
5
|
+
import { n as dashboardView } from "./dashboard-D5E3fMKh.mjs";
|
|
6
6
|
//#region src/commands/dashboard/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as TransformJob } from "./transform-job-ClX8e5iO.mjs";
|
|
5
5
|
import { t as transformJobView } from "./transform-job-BBZ5L46v.mjs";
|
|
6
6
|
//#region src/commands/transform-job/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as DataAction } from "./data-action-DZxVB_hD.mjs";
|
|
5
5
|
import { n as dataActionView } from "./data-action-R9qxJDPA.mjs";
|
|
6
6
|
//#region src/commands/data-action/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as Document } from "./document-UMG6me2P.mjs";
|
|
5
5
|
import { t as documentView } from "./document-DVIu3Vj4.mjs";
|
|
6
6
|
//#region src/commands/document/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as Timeline } from "./timeline-DcsCXNUt.mjs";
|
|
5
5
|
import { n as timelineView } from "./timeline-BgWz8DYK.mjs";
|
|
6
6
|
//#region src/commands/timeline/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { c as fieldView, l as fieldWithDataSensitivityView } from "./field-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { _ as hasDataSensitivity, a as FieldDetail } from "./field-DoWQUl7V.mjs";
|
|
5
|
+
import { c as fieldView, l as fieldWithDataSensitivityView } from "./field-BVz4AS3f.mjs";
|
|
6
6
|
//#region src/commands/field/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as TransformTest } from "./transform-test-Bexa_K89.mjs";
|
|
5
5
|
import { n as transformTestView } from "./transform-test-C49ZTK7M.mjs";
|
|
6
6
|
//#region src/commands/transform-test/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { 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-Y4VFWmmr.mjs";
|
|
6
6
|
//#region src/commands/alert/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -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 defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
|
|
4
4
|
import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
|
|
5
|
-
import { t as parseSettingKey } from "./key-
|
|
5
|
+
import { t as parseSettingKey } from "./key-BYEv4Wgq.mjs";
|
|
6
6
|
//#region src/commands/setting/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as Segment } from "./segment-OsrbUDzw.mjs";
|
|
5
5
|
import { t as segmentView } from "./segment-C_gl5ag6.mjs";
|
|
6
6
|
//#region src/commands/segment/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as Pulse } from "./pulse-
|
|
5
|
-
import { t as pulseView } from "./pulse-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { t as Pulse } from "./pulse-CC81N2_0.mjs";
|
|
5
|
+
import { t as pulseView } from "./pulse-JPrq6NFP.mjs";
|
|
6
6
|
//#region src/commands/subscription/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
|
+
import { i as DataAppEntry } from "./data-app-BUW-HlUo.mjs";
|
|
4
|
+
import { t as dataAppView } from "./data-app-Blz61mG5.mjs";
|
|
5
|
+
import { n as slugArg, t as parseSlug } from "./slug-qeARO25o.mjs";
|
|
6
|
+
//#region src/commands/data-app/get.ts
|
|
7
|
+
var get_default = defineMetabaseCommand({
|
|
8
|
+
meta: {
|
|
9
|
+
name: "get",
|
|
10
|
+
description: "Get a data app by slug"
|
|
11
|
+
},
|
|
12
|
+
details: "Admins get any app, disabled ones included; other users get an enabled app they can open.",
|
|
13
|
+
requires: ["dataApp.get"],
|
|
14
|
+
args: {
|
|
15
|
+
...outputFlags,
|
|
16
|
+
...profileFlag,
|
|
17
|
+
...connectionFlags,
|
|
18
|
+
...slugArg
|
|
19
|
+
},
|
|
20
|
+
outputSchema: DataAppEntry,
|
|
21
|
+
examples: ["mb data-app get sales-overview", "mb data-app get sales-overview --json --full"],
|
|
22
|
+
async run({ args, ctx, getClient }) {
|
|
23
|
+
const slug = parseSlug(args.slug);
|
|
24
|
+
renderItem(await (await getClient()).dataApp.get(slug), dataAppView, ctx);
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { get_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as Transform } from "./transform-DiW7bREn.mjs";
|
|
5
5
|
import { n as transformView } from "./transform-CWGJB8N_.mjs";
|
|
6
6
|
//#region src/commands/transform/get.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as readCachedServerProfile, o as resolveProfileName, t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { St as ConfigError, ct as outputFlags, f as writeText, ht as listEnvelopeSchemaWithExtras, lt as profileFlag, ot as listFlags, s as renderListWithExtras, vt as parseCsv, w as warn } from "./cli.mjs";
|
|
2
|
+
import { n as readCachedServerProfile, o as resolveProfileName, t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
3
|
import { n as windowList } from "./window-CfK_j6m1.mjs";
|
|
4
|
-
import { a as readSkillContent, i as loadVisibleSkills, o as selectForProfile, r as loadAllSkills, s as selectSkillsByNames, t as SkillContent } from "./skills-
|
|
4
|
+
import { a as readSkillContent, i as loadVisibleSkills, o as selectForProfile, r as loadAllSkills, s as selectSkillsByNames, t as SkillContent } from "./skills-CcLTm3_2.mjs";
|
|
5
5
|
import { i as unfilteredFlag, r as skillFilterNotices, t as UnavailableSkills } from "./skill-list-D2FhhYS3.mjs";
|
|
6
6
|
//#region src/commands/skills/get.ts
|
|
7
7
|
const SkillGetEnvelope = listEnvelopeSchemaWithExtras(SkillContent, { unavailable: UnavailableSkills });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { r as Collection } from "./collection-
|
|
4
|
-
import { n as collectionView } from "./collection-
|
|
5
|
-
import { t as parseCollectionRef } from "./parse-ref-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
|
+
import { r as Collection } from "./collection-DNmFKALA.mjs";
|
|
4
|
+
import { n as collectionView } from "./collection-D5vt2IJ_.mjs";
|
|
5
|
+
import { t as parseCollectionRef } from "./parse-ref-ByXc-pls.mjs";
|
|
6
6
|
//#region src/commands/collection/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as Library } from "./library-
|
|
4
|
-
import { t as libraryView } from "./library-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
3
|
+
import { t as Library } from "./library-DKIqzyUk.mjs";
|
|
4
|
+
import { t as libraryView } from "./library-wUiD2jbw.mjs";
|
|
5
5
|
//#region src/commands/library/get.ts
|
|
6
6
|
var get_default = defineMetabaseCommand({
|
|
7
7
|
meta: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import {
|
|
5
|
-
import { n as cardView } from "./card-
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { i as CardDetail } from "./card-QR3zEu6E.mjs";
|
|
5
|
+
import { n as cardView } from "./card-3NmUiU5F.mjs";
|
|
6
6
|
//#region src/commands/card/get.ts
|
|
7
7
|
var get_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -20,7 +20,7 @@ var get_default = defineMetabaseCommand({
|
|
|
20
20
|
required: true
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
-
outputSchema:
|
|
23
|
+
outputSchema: CardDetail,
|
|
24
24
|
examples: ["mb card get 1", "mb card get 1 --json"],
|
|
25
25
|
async run({ args, ctx, getClient }) {
|
|
26
26
|
const id = parseId(args.id);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as renderItem, ct as outputFlags,
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { r as DatabaseGetInclude, t as Database } from "./database-
|
|
5
|
-
import {
|
|
1
|
+
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags, yt as parseEnum } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { r as DatabaseGetInclude, t as Database } from "./database-CxykzTAA.mjs";
|
|
5
|
+
import { r as databaseView } from "./database-D8XzgJEz.mjs";
|
|
6
6
|
//#region src/commands/db/hints.ts
|
|
7
7
|
function fullRollupOversizeHint(dbId) {
|
|
8
8
|
return `this database is too large for a full rollup — get the table map with \`mb db get ${dbId} --include tables\`, then fetch fields per table of interest with \`mb table fields <table-id>\``;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
5
5
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
6
6
|
//#region src/commands/snippet/get.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as renderItem, ct as outputFlags,
|
|
2
|
-
import { t as
|
|
3
|
-
import { t as
|
|
4
|
-
import { f as TableGetInclude, t as Table } from "./table-
|
|
5
|
-
import { u as tableView } from "./table-
|
|
1
|
+
import { a as renderItem, ct as outputFlags, lt as profileFlag, rt as connectionFlags, yt as parseEnum } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-5BZGQ9Vd.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-Y4VFWmmr.mjs";
|
|
4
|
+
import { f as TableGetInclude, t as Table } from "./table-CF7zW9cI.mjs";
|
|
5
|
+
import { u as tableView } from "./table-BDsqRU7a.mjs";
|
|
6
6
|
//#region src/commands/table/hints.ts
|
|
7
7
|
function tableFieldsOversizeHint(tableId) {
|
|
8
8
|
return `use \`mb table fields ${tableId}\` — list output truncates gracefully instead of failing`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { t as Measure } from "./measure-CtfjqJFP.mjs";
|
|
5
5
|
import { t as measureView } from "./measure-4P0bOlZ3.mjs";
|
|
6
6
|
//#region src/commands/measure/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { i as TimelineEvent } from "./timeline-DcsCXNUt.mjs";
|
|
5
5
|
import { t as timelineEventView } from "./timeline-BgWz8DYK.mjs";
|
|
6
6
|
//#region src/commands/timeline-event/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as renderItem, 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-Y4VFWmmr.mjs";
|
|
4
4
|
import { o as TransformRun } from "./transform-DiW7bREn.mjs";
|
|
5
5
|
import { t as transformRunView } from "./transform-CWGJB8N_.mjs";
|
|
6
6
|
//#region src/commands/transform/get-run.ts
|