@metabase/cli 0.4.1-alpha.fix-transform-test-ee-path.b41b46c → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-collection-CcjydN8e.mjs → add-collection-COtKcy6Y.mjs} +4 -4
- package/dist/{alert-DBTU8iHe.mjs → alert-DMlSjPEv.mjs} +7 -7
- package/dist/{alerts-DsgnumqY.mjs → alerts-s3al16NZ.mjs} +6 -6
- package/dist/{append-DUFn3_Og.mjs → append-CbGmdeLw.mjs} +4 -4
- package/dist/{archive-CWs273rN.mjs → archive-5EY9UJU_.mjs} +3 -3
- package/dist/{archive-Bxl1oeJr.mjs → archive-BFmx4B91.mjs} +3 -3
- package/dist/{archive-CcPTctIo.mjs → archive-BZCYIBhQ.mjs} +3 -3
- package/dist/{archive-sfqadV_a.mjs → archive-C_UHeanE.mjs} +3 -3
- package/dist/{archive-CC6THE3k.mjs → archive-Ce4eArrs.mjs} +3 -3
- package/dist/{archive-CI-WE7dA.mjs → archive-CnDriekB.mjs} +5 -5
- package/dist/{archive-DVgglC0F.mjs → archive-DDO2XX0E.mjs} +4 -4
- package/dist/{archive-DjQkD1WI.mjs → archive-DW7x0IFB.mjs} +4 -4
- package/dist/{archive-BEzfnrwM.mjs → archive-DvbaSglr.mjs} +3 -3
- package/dist/{archive-BTfOiOnx.mjs → archive-DzSdJVqE.mjs} +5 -5
- package/dist/{archive-jwyopr47.mjs → archive-a05W75XH.mjs} +3 -3
- package/dist/{auth-IQKgyb_x.mjs → auth-DOz7KW5E.mjs} +5 -5
- package/dist/{body-CT1cQrhp.mjs → body-Di7940x_.mjs} +2 -3
- package/dist/{branch-flag-Czh8JT1G.mjs → branch-flag-CfJ8vwgu.mjs} +1 -1
- package/dist/{branches-ByUeNOBP.mjs → branches-BC-vlk6i.mjs} +3 -3
- package/dist/{breaking-BKR88YVq.mjs → breaking-ByrjsFjq.mjs} +6 -6
- package/dist/{broken-DeS3_Cg2.mjs → broken-DLSk1T88.mjs} +8 -8
- package/dist/{bulk-discard-values-DY7svs0d.mjs → bulk-discard-values-VKGj8c7z.mjs} +5 -5
- package/dist/{bulk-edit-3EfcsqCu.mjs → bulk-edit-CpuleeCQ.mjs} +5 -5
- package/dist/{bulk-rescan-values-BpwnC_WY.mjs → bulk-rescan-values-DeGwiqLS.mjs} +5 -5
- package/dist/{bulk-sync-schema-Dwbs0TsG.mjs → bulk-sync-schema-BKVhauW1.mjs} +5 -5
- package/dist/{cancel-Nz4jJ-Ey.mjs → cancel-qKj45001.mjs} +3 -3
- package/dist/{cancel-task-CX_qYiJ0.mjs → cancel-task-nmBBd1Ky.mjs} +3 -3
- package/dist/card-Buc-X4Mh.mjs +25 -0
- package/dist/{cards-FUW8-5PO.mjs → cards-Bq73s48q.mjs} +4 -4
- package/dist/cli.mjs +628 -229
- package/dist/{client-5y-BaV3d.mjs → client-BmURNkkW.mjs} +997 -365
- package/dist/{collection-DPiztU_l.mjs → collection-C03LXnCT.mjs} +1 -1
- package/dist/collection-D-sS0AFw.mjs +21 -0
- package/dist/{collection-namespace-Q_up_tSg.mjs → collection-namespace-DaDzK31i.mjs} +1 -2
- package/dist/{collection-BgPYl2c5.mjs → collection-zrZoJfgR.mjs} +1 -1
- package/dist/{content-translation-CSkaKlqa.mjs → content-translation-BlG41YrA.mjs} +3 -3
- package/dist/{copy-WlNBviDZ.mjs → copy-DOKlVa7H.mjs} +6 -6
- package/dist/{copy-fikpWJO4.mjs → copy-DTiYs_a2.mjs} +4 -4
- package/dist/{copy-flags-j38p0var.mjs → copy-flags-BhGWC5kS.mjs} +2 -2
- package/dist/{create-C4dDHOzR.mjs → create-1rLk8b5q.mjs} +3 -3
- package/dist/{create-BmCz5lro.mjs → create-B1QDNU1x.mjs} +6 -6
- package/dist/{create-BI73JzZN.mjs → create-B1bX6ngX.mjs} +4 -4
- package/dist/{create-9sPJd45D.mjs → create-B5BwdPwT.mjs} +6 -6
- package/dist/{create-CC89lXeE.mjs → create-BKKNIe93.mjs} +3 -3
- package/dist/{create-COv2mYmk.mjs → create-BXX_n64u.mjs} +4 -4
- package/dist/{create-CEezFRTJ.mjs → create-BpwZJZxb.mjs} +5 -5
- package/dist/{create-DqGen4jU.mjs → create-C0kz0oYc.mjs} +3 -3
- package/dist/{create-CLLcjbzq.mjs → create-Cob0gLsA.mjs} +3 -3
- package/dist/{create-yLNBBrwG.mjs → create-DPggIXfn.mjs} +4 -4
- package/dist/{create-DdnC7PkI.mjs → create-DUytP2Y1.mjs} +4 -4
- package/dist/{create-CO6gBV7I.mjs → create-DraZzrLO.mjs} +4 -4
- package/dist/{create-Dp1597uC.mjs → create-Duj_2YIF.mjs} +4 -4
- package/dist/{create-C0MNevKK.mjs → create-JaFhqysM.mjs} +5 -5
- package/dist/{create-branch-Cflee_NY.mjs → create-branch-B5jB4tKk.mjs} +3 -3
- package/dist/{create-CYqqBKhE.mjs → create-d0trLAzB.mjs} +4 -4
- package/dist/{create-Ci7o6-Fk.mjs → create-vOw8gmBU.mjs} +3 -3
- package/dist/{csv-CX1wws5-.mjs → csv-DfExp9H_.mjs} +4 -4
- package/dist/{current-task-BTnORR7t.mjs → current-task-CbXIH_RA.mjs} +4 -4
- package/dist/dashboard-DH_soSQp.mjs +35 -0
- package/dist/{database-D-CRyRIv.mjs → database-BdKkae1m.mjs} +1 -1
- package/dist/{database-MlUPpitM.mjs → database-DoNoZ8Yc.mjs} +1 -1
- package/dist/{dataset-p5oNPQgL.mjs → dataset-DZgJm5hP.mjs} +3 -14
- package/dist/{db-DNevs1XU.mjs → db-C82M3Gpg.mjs} +7 -7
- package/dist/{delete-BJ18ifIG.mjs → delete-9xHRd2CG.mjs} +4 -4
- package/dist/{delete-dfrM_M6T.mjs → delete-B4BfGfiJ.mjs} +4 -4
- package/dist/{delete-D5Jy83V-.mjs → delete-D0xFMRRq.mjs} +4 -4
- package/dist/{delete-CCUYbNae.mjs → delete-DJ7SNXiH.mjs} +4 -4
- package/dist/{delete-ChmqxYa7.mjs → delete-hcw_4pBG.mjs} +4 -4
- package/dist/{delete-Ch797MmM.mjs → delete-hwPqKXeY.mjs} +4 -4
- package/dist/{delete-runtime-Cc7TASG7.mjs → delete-runtime-DkgYUQ_n.mjs} +1 -1
- package/dist/{delete-table-0xxoSknN.mjs → delete-table-DhTMft7u.mjs} +4 -4
- package/dist/{dependencies-GvzMLOS2.mjs → dependencies-B8H2gA04.mjs} +5 -5
- package/dist/dependency-CLznxtLE.mjs +15 -0
- package/dist/{dependency-BZxbh7qe.mjs → dependency-Dc33mjgd.mjs} +2 -2
- package/dist/{dependency-DaGeVAHF.mjs → dependency-tQBxYjFX.mjs} +1 -1
- package/dist/{dependents-BRqKb0Pu.mjs → dependents-B2GcS5kB.mjs} +9 -9
- package/dist/{dirty-Bq2cf5AG.mjs → dirty-Cz2rUd6S.mjs} +4 -4
- package/dist/{discard-values-k5-ePxWl.mjs → discard-values-QWuWGaVK.mjs} +5 -5
- package/dist/{document-COQzVLjW.mjs → document-BDobDiap.mjs} +1 -1
- package/dist/document-WhSEyI-3.mjs +20 -0
- package/dist/{document-BsaKF8UR.mjs → document-wfWbV0B_.mjs} +1 -1
- package/dist/{download-Dpbarf8I.mjs → download-Dw15fUMy.mjs} +2 -2
- package/dist/{eid-BEc1p_um.mjs → eid-Ex4G-ZlN.mjs} +4 -4
- package/dist/{entity-c_Br4SFc.mjs → entity-DBKPaMr5.mjs} +2 -2
- package/dist/{entry-flags-z8cZTfaQ.mjs → entry-flags-DgY3IXFe.mjs} +4 -4
- package/dist/{events-DBpOpy2y.mjs → events-BibJ4ya0.mjs} +4 -4
- package/dist/{export-F-R_vF48.mjs → export-U8MdaatW.mjs} +7 -7
- package/dist/{export-flags-QbLI0sKz.mjs → export-flags-BrfeyE8D.mjs} +2 -2
- package/dist/{export-preflight-0BvDa8Oz.mjs → export-preflight-A28L45au.mjs} +5 -5
- package/dist/field-qF1KRJYB.mjs +21 -0
- package/dist/{fields-DOdrazv2.mjs → fields-i1TFa_th.mjs} +4 -4
- package/dist/{filter-flags-DiUgZ6vZ.mjs → filter-flags-Bm3vuSM-.mjs} +3 -3
- package/dist/{fks-41Ig_ZQ2.mjs → fks-Dcfn3-73.mjs} +6 -6
- package/dist/{get-Dwp_BfIp.mjs → get-B4_3DID6.mjs} +5 -5
- package/dist/{get-TbBkN-jS.mjs → get-BCdtCwaG.mjs} +3 -3
- package/dist/{get-BVaN-tgY.mjs → get-BKDTRMNU.mjs} +3 -3
- package/dist/{get-CVJFF8Lb.mjs → get-BiPSePQc.mjs} +3 -3
- package/dist/{get-DaxwG0AP.mjs → get-C3ojRVJ_.mjs} +4 -4
- package/dist/{get-B8hREA2A.mjs → get-CCLWWqTD.mjs} +4 -4
- package/dist/{get-aC5jUA1y.mjs → get-CVpIQb8v.mjs} +5 -5
- package/dist/{get-BjJdy_Iw.mjs → get-CcwRn8Y2.mjs} +5 -5
- package/dist/{get-BAV-KpLU.mjs → get-CobILQ_7.mjs} +3 -3
- package/dist/{get-OKOOd2yb.mjs → get-Cwj1Q-at.mjs} +3 -3
- package/dist/{get-DwUB0K2G.mjs → get-D0NZ0ZO1.mjs} +3 -3
- package/dist/{get-2l2CbHc6.mjs → get-DPZUIPjv.mjs} +3 -3
- package/dist/{get-D1c-C-_Q2.mjs → get-DUwX-RU82.mjs} +3 -3
- package/dist/{get-Bby33eun.mjs → get-DqYn9mez.mjs} +4 -4
- package/dist/{get-CPhMYZDP.mjs → get-Dz3dNirC.mjs} +4 -4
- package/dist/{get-CfeNeyGE.mjs → get-EKBYludD.mjs} +3 -3
- package/dist/{get-YinpF0y5.mjs → get-HFQSttF3.mjs} +5 -5
- package/dist/{get-CjK2GzFn.mjs → get-IjoHBExI.mjs} +5 -5
- package/dist/{get-BlLUy1G0.mjs → get-hAoJtVCK.mjs} +3 -3
- package/dist/{get-run-PeXiUJwf.mjs → get-run-B2SnsZSY.mjs} +4 -4
- package/dist/git-sync-BlgB_-8-.mjs +29 -0
- package/dist/{git-sync-DspFahwV.mjs → git-sync-Ch1V1fEK.mjs} +1 -1
- package/dist/{glossary-CdW6RFId.mjs → glossary-6LLpItof.mjs} +1 -1
- package/dist/glossary-BvVxqjxJ.mjs +14 -0
- package/dist/{glossary-Del97Jqg.mjs → glossary-wnuxoE_I.mjs} +1 -1
- package/dist/{graph-M7V_js_w.mjs → graph-CHlfxVy1.mjs} +6 -6
- package/dist/{group-D4w87fXL.mjs → group-B3X3LTcU.mjs} +1 -1
- package/dist/{has-remote-changes-D7uABGR0.mjs → has-remote-changes-DCMpqGgE.mjs} +3 -3
- package/dist/{import-CABYSyWS.mjs → import-C7MZhKo6.mjs} +7 -7
- package/dist/{input-DjHsV-kD.mjs → input-sRdxNc3T.mjs} +1 -1
- package/dist/{is-dirty-DpQBXuVa.mjs → is-dirty-DpLyHebS.mjs} +2 -2
- package/dist/{items-BqUCPf-J.mjs → items-1ME_eg27.mjs} +6 -6
- package/dist/{key-BTaxFn_7.mjs → key-DMtgTOwN.mjs} +1 -1
- package/dist/{library-DmkpcZPb.mjs → library-CP-9yepy.mjs} +1 -1
- package/dist/{library-DDrpsgMv.mjs → library-D2ogEIfI.mjs} +5 -5
- package/dist/{library-C4M8TF2N.mjs → library-fWEv38OB.mjs} +2 -2
- package/dist/{list-Dd9o6Tut.mjs → list-B0h-j1E7.mjs} +3 -3
- package/dist/{list-ISpYiawJ.mjs → list-BUZ91ctZ.mjs} +5 -5
- package/dist/{list-CLRezReA.mjs → list-BUwDGyIu.mjs} +5 -5
- package/dist/{list-C9H24xr5.mjs → list-BXcDPU5d.mjs} +6 -6
- package/dist/{list-BQXq0A65.mjs → list-BoVeF8QA.mjs} +6 -6
- package/dist/{list-CHUwj_Qh.mjs → list-C1oEpUZG.mjs} +3 -3
- package/dist/{list-Hiq5T4Bt.mjs → list-C9996vbS.mjs} +3 -3
- package/dist/{list-DO767sO1.mjs → list-CJ5FyCnL.mjs} +4 -4
- package/dist/{list-BFAc460G.mjs → list-CQi3AgS5.mjs} +4 -4
- package/dist/{list-yDJq3wNs.mjs → list-CVh8DHOO.mjs} +5 -5
- package/dist/{list-D217irjK.mjs → list-DBAEy3Rx.mjs} +3 -3
- package/dist/{list-glgnTw7w.mjs → list-DkCadZ2E.mjs} +3 -3
- package/dist/{list-CEU9UXaZ.mjs → list-DzP7YXdZ.mjs} +3 -3
- package/dist/{list-aHFBopQd.mjs → list-LMlJ4uAY.mjs} +4 -4
- package/dist/{list-BXRUiZuH.mjs → list-NINy7ybI.mjs} +4 -4
- package/dist/{list-CONZkA9i.mjs → list-OXiXtdiM.mjs} +5 -5
- package/dist/{list-BygxQkq7.mjs → list-STy8UHs2.mjs} +6 -6
- package/dist/{list-CZF_gQnI.mjs → list-Ud7F0XdU.mjs} +3 -3
- package/dist/{list-D0MlsdSX.mjs → list-dCi6OaIE.mjs} +4 -4
- package/dist/{login-DCWam2ec.mjs → login-BMON3Fft.mjs} +6 -6
- package/dist/{logout-CmrJqhkc.mjs → logout-Cx934GzW.mjs} +2 -2
- package/dist/{measure-c_VUyXFN.mjs → measure-CUqJtDNm.mjs} +6 -6
- package/dist/{notification-Cuuwoksm.mjs → notification-CCZ9mrOw.mjs} +1 -1
- package/dist/{parameter-values-CnwWZrJ_.mjs → parameter-values-DCrU02Az.mjs} +3 -3
- package/dist/{parse-enum-BPKULOSw.mjs → parse-enum-Do5Cptbv.mjs} +1 -1
- package/dist/{parse-id-aMXePsUP.mjs → parse-id-oCbmouCn.mjs} +1 -1
- package/dist/{parse-ref-8bVX_9IN.mjs → parse-ref-Df8gusl4.mjs} +1 -1
- package/dist/{parse-text-Bm6eUa-p.mjs → parse-text-CVrP7GmZ.mjs} +1 -1
- package/dist/{path-CGbz-QSr.mjs → path-DTuSDGd6.mjs} +4 -4
- package/dist/{poll-DFZRtTA_.mjs → poll-BKo5dK0l.mjs} +2 -2
- package/dist/{preflight-ChJ0pemy.mjs → preflight-UeYuGDPr.mjs} +2 -3
- package/dist/{process-B3Di_HtV.mjs → process-BpmZXbcw.mjs} +1 -1
- package/dist/{publish-7ke00CtK.mjs → publish-D3GwLC-K.mjs} +4 -4
- package/dist/{pulse-CIza18rO.mjs → pulse-DzVPfb5J.mjs} +1 -1
- package/dist/{query-8M7ZN2Ca.mjs → query-B1Cp9EO6.mjs} +4 -4
- package/dist/{query-DNa-fGS7.mjs → query-Ct697cY-.mjs} +11 -12
- package/dist/{remapping-Cy1CEown.mjs → remapping-RsoPWE7c.mjs} +4 -4
- package/dist/{remove-collection-B2CL66No.mjs → remove-collection-BJo3Wd9K.mjs} +4 -4
- package/dist/{render-ColPG5G7.mjs → render-C_ev6qoW.mjs} +2 -2
- package/dist/{replace-COC3ggyx.mjs → replace-BSAGp3cR.mjs} +4 -4
- package/dist/requirement-check-T3bjQ0Mr.mjs +60 -0
- package/dist/{rescan-values-DUX58myu.mjs → rescan-values-CE62_2dc.mjs} +5 -5
- package/dist/{rescan-values-DXzXTw9a.mjs → rescan-values-rpro4Kw2.mjs} +5 -5
- package/dist/{run-C5wf-lug.mjs → run-B3BRodEp.mjs} +3 -3
- package/dist/{run-T2a4m1x9.mjs → run-BI1QO9Kn.mjs} +7 -7
- package/dist/{runs-Datc76Wu.mjs → runs-CUseZezf.mjs} +5 -5
- package/dist/{runtime-C3AL15Dp.mjs → runtime-C5Ha6Ou8.mjs} +248 -534
- package/dist/{schema-tables-CR2S5mNc.mjs → schema-tables-C7YkyRh0.mjs} +6 -6
- package/dist/{schemas-OrGjEuVc.mjs → schemas-Bj5sJ9uB.mjs} +4 -4
- package/dist/{search-BEXBlfak.mjs → search-BsAwK7Rk.mjs} +5 -5
- package/dist/{search-CJYSB5eP.mjs → search-CB1A4HWx.mjs} +6 -6
- package/dist/{segment-Tt8GaRnc.mjs → segment-BEjaeLc5.mjs} +6 -6
- package/dist/{send-uNLODakO.mjs → send-Dfh8d1gG.mjs} +3 -3
- package/dist/{set-DRp3F4wz.mjs → set-DA8dKyzi.mjs} +4 -4
- package/dist/{set-active-CAt6ieXS.mjs → set-active-AyjKtBD-.mjs} +3 -3
- package/dist/{set-sensitivity--Qq2RXVE.mjs → set-sensitivity-D0613dHA.mjs} +4 -4
- package/dist/{setting-DMqvipRp.mjs → setting-B-bxCkC0.mjs} +4 -4
- package/dist/{setup-B2PC1NVz.mjs → setup-Bvvqlz9d.mjs} +3 -3
- package/dist/{signal-0Yt8JTMn.mjs → signal-Dm4N0Bcc.mjs} +1 -1
- package/dist/{skill-list-Cyx1935Q.mjs → skill-list-DkuCf0k4.mjs} +9 -3
- package/dist/{skills-Dlp0MK6g.mjs → skills-DlDCTGVE.mjs} +2 -2
- package/dist/{skills-D7wu2iff.mjs → skills-DxrO7HUz.mjs} +3 -3
- package/dist/snippet-B7Kau5U8.mjs +19 -0
- package/dist/{stash-CHeQPI8Z.mjs → stash-j9JPv3ns.mjs} +5 -5
- package/dist/{status-Bdt5XWrQ.mjs → status-DcbvbRc5.mjs} +3 -3
- package/dist/{status-gTN3G-rs.mjs → status-DxNcrfnI.mjs} +16 -7
- package/dist/{subscription-C9alueg1.mjs → subscription-CSR2t-xK.mjs} +6 -6
- package/dist/{subscriptions-DJKbcxDy.mjs → subscriptions--0YvW40u.mjs} +6 -6
- package/dist/{summary-kaC0aINr.mjs → summary-Dslv78-r.mjs} +3 -3
- package/dist/{sync-schema-CyKovAb9.mjs → sync-schema-BSJiokQf.mjs} +6 -6
- package/dist/{sync-schema-C29bGCtt.mjs → sync-schema-Dgij5ICd.mjs} +5 -5
- package/dist/{sync-task-BAMOf6_t.mjs → sync-task-a1zyF1Qb.mjs} +4 -5
- package/dist/{table-BFIOH6Pb.mjs → table-Uvu1roSx.mjs} +2 -2
- package/dist/table-qjgz2eek.mjs +26 -0
- package/dist/{table-selector-flags-CSoedTgm.mjs → table-selector-flags-B9OiA3Z1.mjs} +3 -3
- package/dist/{table-Ci6bhZkb.mjs → table-zAdW5_3H.mjs} +5 -5
- package/dist/{text-CdtEI6l6.mjs → text-821Rn8M9.mjs} +1 -1
- package/dist/timeline-CNkrY3e3.mjs +21 -0
- package/dist/{timeline-event-DN3y8vwW.mjs → timeline-event-CSzx8EDP.mjs} +6 -6
- package/dist/{transform-D4z70PIN.mjs → transform-BKX6tl3i.mjs} +1 -1
- package/dist/transform-Y86R7_2F.mjs +28 -0
- package/dist/transform-job-Cg_1jzWI.mjs +22 -0
- package/dist/{transform-tag-CIKnNaQH.mjs → transform-tag-DHg7j15d.mjs} +5 -5
- package/dist/{transforms-BQjwZKTN.mjs → transforms-DwxPfMiG.mjs} +5 -5
- package/dist/{tree-C21CG5rm.mjs → tree-COFmA20J.mjs} +3 -3
- package/dist/{unpublish-C7MRZTmS.mjs → unpublish-BQClh4U7.mjs} +3 -3
- package/dist/{unreferenced-BJUIC_Ct.mjs → unreferenced-DKc0zZDl.mjs} +6 -6
- package/dist/{update-CuYvtXQY.mjs → update-B-wcIl8T.mjs} +4 -4
- package/dist/{update-DDH6FTe6.mjs → update-B8jQTspb.mjs} +8 -8
- package/dist/{update-9b4JHJWR.mjs → update-BBLbEPEP.mjs} +4 -4
- package/dist/{update-C0QcHFIP.mjs → update-BNwjjMk6.mjs} +5 -5
- package/dist/{update-BXFGGYT8.mjs → update-BVFfoopT.mjs} +5 -5
- package/dist/{update-CVO8Srng.mjs → update-BVMgrMy7.mjs} +5 -5
- package/dist/{update-CCHTQjsP.mjs → update-Bgy2amR0.mjs} +6 -6
- package/dist/{update-CYy-r_Jq.mjs → update-C9HK3i8s.mjs} +5 -5
- package/dist/{update-IEVAFvpi.mjs → update-CFfr1ZdL.mjs} +4 -4
- package/dist/{update-B2F22ryV.mjs → update-CMRWXoZ2.mjs} +4 -4
- package/dist/{update-D6oHLn1g.mjs → update-CPmPnEvm.mjs} +6 -6
- package/dist/{update-Duxk_-dC.mjs → update-Ca8LSZer.mjs} +5 -5
- package/dist/{update-CBcJTZo6.mjs → update-DJwu8UT2.mjs} +4 -4
- package/dist/{update-DX1s6KnO.mjs → update-Dwr3n7_n.mjs} +7 -7
- package/dist/{update-DEnsF5zT.mjs → update-MxvqmZ3z.mjs} +6 -6
- package/dist/{update-dashcard-C4ZndfvP.mjs → update-dashcard-C8QN2Qcu.mjs} +4 -4
- package/dist/{update-EpHReUGk.mjs → update-kM3TDlEp.mjs} +5 -5
- package/dist/{update-CZ2eSAV5.mjs → update-myfBF5qV.mjs} +4 -4
- package/dist/{upgrade-o2DpB66j.mjs → upgrade-BBOEVIRa.mjs} +4 -4
- package/dist/{upload-CEtKrueq.mjs → upload-CoBd4qBp.mjs} +3 -3
- package/dist/{upload-DJB7DMA1.mjs → upload-CxpXpjCf.mjs} +2 -2
- package/dist/upload-fcim1xtK.mjs +13 -0
- package/dist/{uuid-D9oozo8p.mjs → uuid-DW30GY7B.mjs} +2 -2
- package/dist/{validate-D_iikPkc.mjs → validate-n85yMraN.mjs} +1 -1
- package/dist/{validate-query-BEYjmSv2.mjs → validate-query-BwXvFFYi.mjs} +2 -2
- package/dist/{values-De8aGDiJ.mjs → values-B6eFE4K5.mjs} +3 -3
- package/dist/{verify-DVjaammv.mjs → verify-BSq7x66g.mjs} +3 -3
- package/dist/{verify-ob8JSLxv.mjs → verify-DnU-wXIs.mjs} +4 -4
- package/dist/{verify-DKmz4xJs.mjs → verify-Dp8tUbP3.mjs} +3 -3
- package/dist/{wait-BN_MzTng.mjs → wait-D6Tw4ZxO.mjs} +6 -6
- package/dist/{wait-flags-DQlX2yM_.mjs → wait-flags-BRUzMI6S.mjs} +2 -2
- package/dist/{window-2ybHqui2.mjs → window-BqMFpWMh.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +5 -8
- package/skill-data/dashboard/SKILL.md +6 -0
- package/skill-data/git-sync/SKILL.md +64 -14
- package/skill-data/transform/SKILL.md +1 -63
- package/dist/card-DmQO85ej.mjs +0 -25
- package/dist/collection-BPVrTfTv.mjs +0 -21
- package/dist/create-DQM_AB3I.mjs +0 -34
- package/dist/dashboard-c_wOMtS9.mjs +0 -35
- package/dist/delete-CZTG4wI2.mjs +0 -44
- package/dist/dependency-D6DMbPVm.mjs +0 -15
- package/dist/document-DCqe5MO9.mjs +0 -20
- package/dist/field-CcCQ0goz.mjs +0 -21
- package/dist/get-DxpDAUz4.mjs +0 -32
- package/dist/git-sync-CO199xCu.mjs +0 -29
- package/dist/glossary-LdAlftZW.mjs +0 -14
- package/dist/list-CQJABPGk.mjs +0 -35
- package/dist/run-C_nqwWmC.mjs +0 -63
- package/dist/snippet-D-5bKT_U.mjs +0 -19
- package/dist/table-8c-V5afO.mjs +0 -26
- package/dist/timeline-BetOmLYk.mjs +0 -21
- package/dist/transform-job-DALBzYVV.mjs +0 -22
- package/dist/transform-p-6_thIh.mjs +0 -28
- package/dist/transform-test-BjjCQ2xm.mjs +0 -169
- package/dist/transform-test-C5Havg4o.mjs +0 -16
- package/dist/transform-test-DHGKeuHa.mjs +0 -32
- package/dist/transport-DuU3fLui.mjs +0 -313
- package/dist/update-BQben_Xm.mjs +0 -41
- package/dist/upload-BqNErDXE.mjs +0 -13
- package/skill-data/transform-test-plan/SKILL.md +0 -82
- package/skill-data/transform-test-plan/references/checklist.md +0 -32
- package/skill-data/transform-test-plan/references/checks.md +0 -156
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
5
|
-
import { a as TableCompact } from "./table-
|
|
6
|
-
import { u as tableView } from "./table-
|
|
1
|
+
import { at as listFlags, ct as profileFlag, nt as connectionFlags, o as renderList, st as outputFlags, ut as listEnvelopeSchema } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
|
+
import { n as windowList } from "./window-BqMFpWMh.mjs";
|
|
5
|
+
import { a as TableCompact } from "./table-zAdW5_3H.mjs";
|
|
6
|
+
import { u as tableView } from "./table-Uvu1roSx.mjs";
|
|
7
7
|
//#region src/commands/db/schema-tables.ts
|
|
8
8
|
const DatabaseSchemaTablesEnvelope = listEnvelopeSchema(TableCompact);
|
|
9
9
|
var schema_tables_default = defineMetabaseCommand({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
1
|
+
import { at as listFlags, ct as profileFlag, nt as connectionFlags, o as renderList, st as outputFlags, ut as listEnvelopeSchema } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
|
+
import { n as windowList } from "./window-BqMFpWMh.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/db/schemas.ts
|
|
7
7
|
const SchemaName = z.object({ name: z.string() });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as collectForOutput } from "./window-
|
|
5
|
-
import { n as parseText } from "./parse-text-
|
|
1
|
+
import { at as listFlags, ct as profileFlag, nt as connectionFlags, o as renderList, st as outputFlags, ut as listEnvelopeSchema, vt as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
|
+
import { t as collectForOutput } from "./window-BqMFpWMh.mjs";
|
|
5
|
+
import { n as parseText } from "./parse-text-CVrP7GmZ.mjs";
|
|
6
6
|
import { n as FieldValueLabel, o as fieldValueLabelView, u as toValueLabel } from "./field-wmN6raOG.mjs";
|
|
7
7
|
//#region src/commands/field/search.ts
|
|
8
8
|
const FieldSearchListEnvelope = listEnvelopeSchema(FieldValueLabel);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as parseIdCsv, t as parseId } from "./parse-id-
|
|
4
|
-
import { r as windowServerPage } from "./window-
|
|
1
|
+
import { ct as profileFlag, gt as parseEnumCsv, it as listFlag, nt as connectionFlags, o as renderList, ot as listFlagsWithDefaultLimit, st as outputFlags, ut as listEnvelopeSchema, vt as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { n as parseIdCsv, t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
|
+
import { r as windowServerPage } from "./window-BqMFpWMh.mjs";
|
|
5
5
|
import { i as SearchResultCompact, n as SearchModel, t as SEARCH_MODELS } from "./search-BAXg-EJw.mjs";
|
|
6
|
-
import { t as parseOptionalText } from "./parse-text-
|
|
6
|
+
import { t as parseOptionalText } from "./parse-text-CVrP7GmZ.mjs";
|
|
7
7
|
//#region src/output/views/search.ts
|
|
8
8
|
const searchResultView = {
|
|
9
9
|
compactPick: SearchResultCompact,
|
|
@@ -65,7 +65,7 @@ var search_default = defineMetabaseCommand({
|
|
|
65
65
|
},
|
|
66
66
|
verified: {
|
|
67
67
|
type: "boolean",
|
|
68
|
-
description: "Only verified content"
|
|
68
|
+
description: "Only verified content. Needs the content_verification premium feature, and is refused without it: a server with official_collections alone takes the filter without applying it"
|
|
69
69
|
},
|
|
70
70
|
collection: {
|
|
71
71
|
type: "string",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
2
|
//#region src/commands/segment/index.ts
|
|
3
3
|
var segment_default = defineCommandGroup({
|
|
4
4
|
name: "segment",
|
|
@@ -11,11 +11,11 @@ var segment_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "define reusable segments"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
list: () => import("./list-
|
|
15
|
-
get: () => import("./get-
|
|
16
|
-
create: () => import("./create-
|
|
17
|
-
update: () => import("./update-
|
|
18
|
-
archive: () => import("./archive-
|
|
14
|
+
list: () => import("./list-C1oEpUZG.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-BCdtCwaG.mjs").then((mod) => mod.default),
|
|
16
|
+
create: () => import("./create-DUytP2Y1.mjs").then((mod) => mod.default),
|
|
17
|
+
update: () => import("./update-BVFfoopT.mjs").then((mod) => mod.default),
|
|
18
|
+
archive: () => import("./archive-Ce4eArrs.mjs").then((mod) => mod.default)
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/alert/send.ts
|
|
6
6
|
const AlertSendResult = z.object({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, p as formatScalar, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as readBody } from "./body-Di7940x_.mjs";
|
|
4
4
|
import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
|
|
5
5
|
import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
|
|
6
|
-
import { t as parseSettingKey } from "./key-
|
|
6
|
+
import { t as parseSettingKey } from "./key-DMtgTOwN.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/commands/setting/set.ts
|
|
9
9
|
const SettingValueInput = z.unknown().describe("Any JSON value; the setting's own type constraints are enforced server-side");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
3
|
import { n as TransformJobActiveResult } from "./transform-job-CCguL6LP.mjs";
|
|
4
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
4
|
+
import { t as parseEnumFlag } from "./parse-enum-Do5Cptbv.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/transform-job/set-active.ts
|
|
7
7
|
const ActiveWord = z.enum(["true", "false"]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
4
|
import { f as FieldWithDataSensitivity, i as FieldDataSensitivity } from "./field-5nivEfd6.mjs";
|
|
5
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
5
|
+
import { t as parseEnumFlag } from "./parse-enum-Do5Cptbv.mjs";
|
|
6
6
|
import { l as fieldWithDataSensitivityView } from "./field-wmN6raOG.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/commands/field/set-sensitivity.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
2
|
//#region src/commands/setting/index.ts
|
|
3
3
|
var setting_default = defineCommandGroup({
|
|
4
4
|
name: "setting",
|
|
@@ -8,9 +8,9 @@ var setting_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "setting get/set JSON value quoting"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get-
|
|
13
|
-
set: () => import("./set-
|
|
11
|
+
list: () => import("./list-C9996vbS.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-hAoJtVCK.mjs").then((m) => m.default),
|
|
13
|
+
set: () => import("./set-DA8dKyzi.mjs").then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as readBody } from "./body-Di7940x_.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { n as SetupResult, r as SetupResultCompact, t as SetupInput } from "./setup-CO7QV-ao.mjs";
|
|
6
6
|
//#region src/output/views/setup.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Dt as errorMessage, _t as AbortError, bt as MetabaseError } from "./cli.mjs";
|
|
2
2
|
//#region ../client/src/signal.ts
|
|
3
3
|
function combineAborts(...signals) {
|
|
4
4
|
return AbortSignal.any(signals.filter((signal) => signal !== void 0));
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { et as RequirementFailure } from "./runtime-C3AL15Dp.mjs";
|
|
1
|
+
import { C as warn, P as RequirementFailure, b as listTruncationNotice } from "./cli.mjs";
|
|
3
2
|
import { z } from "zod";
|
|
4
3
|
//#region src/output/skill-list.ts
|
|
5
4
|
const UnavailableSkillJson = z.object({
|
|
@@ -13,9 +12,16 @@ const unfilteredFlag = { unfiltered: {
|
|
|
13
12
|
} };
|
|
14
13
|
function skillFilterNotices(unavailable, context) {
|
|
15
14
|
if (context.cached === null) return [];
|
|
16
|
-
if (unavailable !== null)
|
|
15
|
+
if (unavailable !== null) {
|
|
16
|
+
const skipped = unavailable.map((skill) => `Skipped skill "${skill.name}": ${skill.failure.detail} Pass --unfiltered to print it anyway.`);
|
|
17
|
+
if (skipped.length === 0 || context.cached.kind !== "found") return skipped;
|
|
18
|
+
return [...skipped, probeAgeNotice(context.profileName, context.cached.probedAt)];
|
|
19
|
+
}
|
|
17
20
|
return context.cached.kind === "found" ? [] : [unfilteredNotice(context.profileName, context.cached)];
|
|
18
21
|
}
|
|
22
|
+
function probeAgeNotice(profileName, probedAt) {
|
|
23
|
+
return `Skills are filtered by profile "${profileName}"'s server as last recorded at ${probedAt} (run \`mb auth list\` to probe it again).`;
|
|
24
|
+
}
|
|
19
25
|
function unfilteredNotice(profileName, miss) {
|
|
20
26
|
switch (miss.kind) {
|
|
21
27
|
case "no-profile": return `Skills are unfiltered: there is no profile "${profileName}" (run \`mb auth login\` to create one and record its server).`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { D as ENV_SKILLS_DIR, Dt as errorMessage, Et as ValidationError, L as FEATURE_NAMES, V as isFeatureName, j as readEnv, kt as isFileNotFoundError, mt as parseCsv, vt as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { t as checkFeatures } from "./requirement-check-T3bjQ0Mr.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { closeSync, openSync, readFileSync, readSync, readdirSync, statSync } from "node:fs";
|
|
5
5
|
import { dirname, join, resolve } from "node:path";
|
|
@@ -7,9 +7,9 @@ var skills_default = defineCommand({
|
|
|
7
7
|
},
|
|
8
8
|
default: "list",
|
|
9
9
|
subCommands: {
|
|
10
|
-
list: () => import("./list-
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
path: () => import("./path-
|
|
10
|
+
list: () => import("./list-BUZ91ctZ.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-CVpIQb8v.mjs").then((m) => m.default),
|
|
12
|
+
path: () => import("./path-DTuSDGd6.mjs").then((m) => m.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
+
//#region src/commands/snippet/index.ts
|
|
3
|
+
var snippet_default = defineCommandGroup({
|
|
4
|
+
name: "snippet",
|
|
5
|
+
description: "Manage Metabase native query snippets",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "core",
|
|
8
|
+
purpose: "native-SQL snippets and body input"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-DBAEy3Rx.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BiPSePQc.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-1rLk8b5q.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-CMRWXoZ2.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-C_UHeanE.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { snippet_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags, vt as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
3
|
import { u as SyncStashResult } from "./git-sync-COokpYgc.mjs";
|
|
4
|
-
import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-
|
|
5
|
-
import { l as syncStashView } from "./git-sync-
|
|
6
|
-
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask } from "./sync-task-
|
|
4
|
+
import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-BRUzMI6S.mjs";
|
|
5
|
+
import { l as syncStashView } from "./git-sync-Ch1V1fEK.mjs";
|
|
6
|
+
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask } from "./sync-task-a1zyF1Qb.mjs";
|
|
7
7
|
//#region src/commands/git-sync/stash.ts
|
|
8
8
|
const DEFAULT_STASH_MESSAGE = "Stashed from mb CLI";
|
|
9
9
|
var stash_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as profileAuthMethod,
|
|
3
|
-
import { a as renderUserRole, i as renderUserName, n as renderSkew, o as renderVersionTag, r as renderTimestamp, t as renderAuthMethod } from "./render-
|
|
1
|
+
import { a as renderItem, ct as profileFlag, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { C as profileAuthMethod, G as ServerSummary, K as summarizeServer, S as ProfileLastFailure, U as displayUrl, b as ProbedUser, m as readProfileRecord, o as resolveProfileName, t as defineMetabaseCommand, x as ProfileAuthMethod } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { a as renderUserRole, i as renderUserName, n as renderSkew, o as renderVersionTag, r as renderTimestamp, t as renderAuthMethod } from "./render-C_ev6qoW.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/auth/status.ts
|
|
6
6
|
const AuthStatus = z.object({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { r as Collection } from "./collection-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { r as Collection } from "./collection-zrZoJfgR.mjs";
|
|
4
4
|
import { d as SyncTask } from "./git-sync-COokpYgc.mjs";
|
|
5
|
-
import { n as formatSyncTask } from "./sync-task-
|
|
5
|
+
import { n as formatSyncTask } from "./sync-task-a1zyF1Qb.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/git-sync/status.ts
|
|
8
8
|
const SyncedCollection = Collection.pick({
|
|
@@ -56,12 +56,17 @@ var status_default = defineMetabaseCommand({
|
|
|
56
56
|
examples: ["mb git-sync status", "mb git-sync status --json"],
|
|
57
57
|
async run({ ctx, getClient }) {
|
|
58
58
|
const mb = await getClient();
|
|
59
|
-
const
|
|
59
|
+
const branchRead = mb.gitSync.branch();
|
|
60
|
+
const [dirtyRead, taskRead, collectionsRead, settledBranch] = await Promise.allSettled([
|
|
60
61
|
mb.gitSync.isDirty(),
|
|
61
62
|
mb.gitSync.currentTask(),
|
|
62
|
-
mb.gitSync.syncedCollections()
|
|
63
|
+
mb.gitSync.syncedCollections(),
|
|
64
|
+
branchRead
|
|
63
65
|
]);
|
|
64
|
-
const
|
|
66
|
+
const isDirty = fulfilled(dirtyRead);
|
|
67
|
+
const currentTask = fulfilled(taskRead);
|
|
68
|
+
const collections = fulfilled(collectionsRead);
|
|
69
|
+
const branch = fulfilled(settledBranch);
|
|
65
70
|
const syncedCollections = collections.data.map((collection) => ({
|
|
66
71
|
id: collection.id,
|
|
67
72
|
name: collection.name
|
|
@@ -83,5 +88,9 @@ function formatSyncedCollections(collections) {
|
|
|
83
88
|
if (collections.length === 0) return "No collections are marked for sync.";
|
|
84
89
|
return `Synced collections: ${collections.map((collection) => `${collection.name} (${collection.id})`).join(", ")}.`;
|
|
85
90
|
}
|
|
91
|
+
function fulfilled(result) {
|
|
92
|
+
if (result.status === "rejected") throw result.reason;
|
|
93
|
+
return result.value;
|
|
94
|
+
}
|
|
86
95
|
//#endregion
|
|
87
96
|
export { status_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
2
|
//#region src/commands/subscription/index.ts
|
|
3
3
|
var subscription_default = defineCommandGroup({
|
|
4
4
|
name: "subscription",
|
|
@@ -11,11 +11,11 @@ var subscription_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "the dashboard and dashcards a subscription delivers"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
list: () => import("./list-
|
|
15
|
-
get: () => import("./get-
|
|
16
|
-
create: () => import("./create-
|
|
17
|
-
update: () => import("./update-
|
|
18
|
-
archive: () => import("./archive-
|
|
14
|
+
list: () => import("./list-CQi3AgS5.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-Dz3dNirC.mjs").then((mod) => mod.default),
|
|
16
|
+
create: () => import("./create-BXX_n64u.mjs").then((mod) => mod.default),
|
|
17
|
+
update: () => import("./update-BVMgrMy7.mjs").then((mod) => mod.default),
|
|
18
|
+
archive: () => import("./archive-DW7x0IFB.mjs").then((mod) => mod.default)
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
5
|
-
import { t as pulseView } from "./pulse-
|
|
6
|
-
import { SubscriptionListEnvelope } from "./list-
|
|
1
|
+
import { at as listFlags, ct as profileFlag, nt as connectionFlags, o as renderList, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
|
+
import { n as windowList } from "./window-BqMFpWMh.mjs";
|
|
5
|
+
import { t as pulseView } from "./pulse-DzVPfb5J.mjs";
|
|
6
|
+
import { SubscriptionListEnvelope } from "./list-CQi3AgS5.mjs";
|
|
7
7
|
//#region src/commands/dashboard/subscriptions.ts
|
|
8
8
|
var subscriptions_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { a as renderItem, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
4
|
import { c as FieldSummary } from "./field-5nivEfd6.mjs";
|
|
5
5
|
import { a as fieldSummaryView } from "./field-wmN6raOG.mjs";
|
|
6
6
|
//#region src/commands/field/summary.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { a as DatabaseSyncResult } from "./database-
|
|
5
|
-
import { t as databaseSyncResultView } from "./database-
|
|
6
|
-
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
|
+
import { a as DatabaseSyncResult } from "./database-BdKkae1m.mjs";
|
|
5
|
+
import { t as databaseSyncResultView } from "./database-DoNoZ8Yc.mjs";
|
|
6
|
+
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-BRUzMI6S.mjs";
|
|
7
7
|
//#region src/commands/db/sync-schema.ts
|
|
8
8
|
var sync_schema_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { g as TableSchemaSyncResult } from "./table-
|
|
5
|
-
import { o as tableSchemaSyncResultView } from "./table-
|
|
1
|
+
import { c as renderSummary, ct as profileFlag, nt as connectionFlags, st as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C5Ha6Ou8.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-oCbmouCn.mjs";
|
|
4
|
+
import { g as TableSchemaSyncResult } from "./table-zAdW5_3H.mjs";
|
|
5
|
+
import { o as tableSchemaSyncResultView } from "./table-Uvu1roSx.mjs";
|
|
6
6
|
//#region src/commands/table/sync-schema.ts
|
|
7
7
|
var sync_schema_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { st as FailedResultError } from "./cli.mjs";
|
|
2
1
|
import { d as SyncTask, p as isSyncTaskFailed } from "./git-sync-COokpYgc.mjs";
|
|
3
2
|
import { z } from "zod";
|
|
4
3
|
//#region src/commands/git-sync/sync-task.ts
|
|
@@ -17,13 +16,13 @@ function taskPollOptions(schedule) {
|
|
|
17
16
|
backoff: "exponential"
|
|
18
17
|
};
|
|
19
18
|
}
|
|
20
|
-
const CONFLICT_REMEDY = "
|
|
21
|
-
const DIVERGED_EXPORT = "the remote branch
|
|
19
|
+
const CONFLICT_REMEDY = "Never retry it: the server may count the remote's commit as synced, so a retry, --merge included, may not see its changes. Keep the remote's side with import --force, Metabase's with export --force, or both through a reviewed PR from a new branch: see `mb skills get git-sync`, \"After a conflict task\".";
|
|
20
|
+
const DIVERGED_EXPORT = "the remote branch changed since the last sync";
|
|
22
21
|
function throwIfFailedTask(final, verb) {
|
|
23
22
|
if (final === null || !isSyncTaskFailed(final.status)) return;
|
|
24
23
|
const failure = withDetail(`git-sync ${verb} ${final.status}`, taskDetail(final));
|
|
25
|
-
if (final.status === "conflict") throw new
|
|
26
|
-
throw new
|
|
24
|
+
if (final.status === "conflict") throw new Error(`${sentence(failure)} ${CONFLICT_REMEDY}`);
|
|
25
|
+
throw new Error(failure);
|
|
27
26
|
}
|
|
28
27
|
function taskDetail(task) {
|
|
29
28
|
if (task.error_message) return task.error_message;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as MALFORMED_CELL } from "./cli.mjs";
|
|
2
2
|
import { r as FieldCompact } from "./field-5nivEfd6.mjs";
|
|
3
|
-
import { _ as TableSelectionResult, a as TableCompact, d as TableForeignKeyCompact, g as TableSchemaSyncResult, i as TableBulkEditResult, l as TableFieldValuesResult, n as TableBulkEditFields, v as TableSelectors } from "./table-
|
|
3
|
+
import { _ as TableSelectionResult, a as TableCompact, d as TableForeignKeyCompact, g as TableSchemaSyncResult, i as TableBulkEditResult, l as TableFieldValuesResult, n as TableBulkEditFields, v as TableSelectors } from "./table-zAdW5_3H.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/output/views/table.ts
|
|
6
6
|
function formatFieldName(value) {
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-B3X3LTcU.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-STy8UHs2.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-HFQSttF3.mjs").then((m) => m.default),
|
|
13
|
+
fields: () => import("./fields-i1TFa_th.mjs").then((m) => m.default),
|
|
14
|
+
fks: () => import("./fks-Dcfn3-73.mjs").then((m) => m.default),
|
|
15
|
+
update: () => import("./update-MxvqmZ3z.mjs").then((m) => m.default),
|
|
16
|
+
"sync-schema": () => import("./sync-schema-Dgij5ICd.mjs").then((m) => m.default),
|
|
17
|
+
"rescan-values": () => import("./rescan-values-CE62_2dc.mjs").then((m) => m.default),
|
|
18
|
+
"discard-values": () => import("./discard-values-QWuWGaVK.mjs").then((m) => m.default),
|
|
19
|
+
"bulk-edit": () => import("./bulk-edit-CpuleeCQ.mjs").then((m) => m.default),
|
|
20
|
+
"bulk-sync-schema": () => import("./bulk-sync-schema-BKVhauW1.mjs").then((m) => m.default),
|
|
21
|
+
"bulk-rescan-values": () => import("./bulk-rescan-values-DeGwiqLS.mjs").then((m) => m.default),
|
|
22
|
+
"bulk-discard-values": () => import("./bulk-discard-values-VKGj8c7z.mjs").then((m) => m.default)
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
export { table_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as parseIdCsv } from "./parse-id-
|
|
3
|
-
import { h as TableSchemaId, v as TableSelectors } from "./table-
|
|
1
|
+
import { it as listFlag, vt as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { n as parseIdCsv } from "./parse-id-oCbmouCn.mjs";
|
|
3
|
+
import { h as TableSchemaId, v as TableSelectors } from "./table-zAdW5_3H.mjs";
|
|
4
4
|
//#region src/commands/table-selector-flags.ts
|
|
5
5
|
const tableSelectorFlags = {
|
|
6
6
|
"table-ids": listFlag({
|
|
@@ -76,20 +76,20 @@ const TableDataSource = z.enum([
|
|
|
76
76
|
"upload"
|
|
77
77
|
]);
|
|
78
78
|
const TableUpdateInput = z.object({
|
|
79
|
-
display_name: z.string().min(1).
|
|
80
|
-
entity_type: TableEntityType.
|
|
79
|
+
display_name: z.string().min(1).optional(),
|
|
80
|
+
entity_type: TableEntityType.optional(),
|
|
81
81
|
visibility_type: TableVisibilityType.nullable().optional(),
|
|
82
82
|
description: z.string().nullable().optional(),
|
|
83
83
|
caveats: z.string().nullable().optional(),
|
|
84
84
|
points_of_interest: z.string().nullable().optional(),
|
|
85
|
-
show_in_getting_started: z.boolean().
|
|
86
|
-
field_order: TableFieldOrder.
|
|
85
|
+
show_in_getting_started: z.boolean().optional(),
|
|
86
|
+
field_order: TableFieldOrder.optional(),
|
|
87
87
|
data_authority: TableDataAuthority.nullable().optional(),
|
|
88
88
|
data_source: TableDataSource.nullable().optional(),
|
|
89
89
|
data_layer: TableDataLayer.nullable().optional(),
|
|
90
90
|
owner_email: z.string().nullable().optional(),
|
|
91
91
|
owner_user_id: z.number().int().nullable().optional(),
|
|
92
|
-
collection_id: z.number().int().positive().
|
|
92
|
+
collection_id: z.number().int().positive().optional()
|
|
93
93
|
}).loose();
|
|
94
94
|
const TableSchemaId = z.string().regex(/^[1-9]\d{0,17}:[^:]*$/, { error: "expected a schema id \"<db-id>:<schema>\" with a positive database id" });
|
|
95
95
|
const TableSelectors = z.object({
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
+
//#region src/commands/timeline/index.ts
|
|
3
|
+
var timeline_default = defineCommandGroup({
|
|
4
|
+
name: "timeline",
|
|
5
|
+
description: "Manage Metabase timelines (event annotations for time-series charts)",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "core",
|
|
8
|
+
purpose: "collection scoping — events render only on questions in the timeline's collection"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-DkCadZ2E.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-D0NZ0ZO1.mjs").then((mod) => mod.default),
|
|
13
|
+
events: () => import("./events-BibJ4ya0.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-Cob0gLsA.mjs").then((mod) => mod.default),
|
|
15
|
+
update: () => import("./update-myfBF5qV.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-BFmx4B91.mjs").then((mod) => mod.default),
|
|
17
|
+
delete: () => import("./delete-DJ7SNXiH.mjs").then((mod) => mod.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { timeline_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
2
|
//#region src/commands/timeline-event/index.ts
|
|
3
3
|
var timeline_event_default = defineCommandGroup({
|
|
4
4
|
name: "timeline-event",
|
|
@@ -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-DUwX-RU82.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-BKKNIe93.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-B-wcIl8T.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-BZCYIBhQ.mjs").then((mod) => mod.default),
|
|
15
|
+
delete: () => import("./delete-B4BfGfiJ.mjs").then((mod) => mod.default)
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as MALFORMED_CELL } from "./cli.mjs";
|
|
2
2
|
import { d as TransformTarget, n as TransformCompact, s as TransformRunCompact } from "./transform-DiW7bREn.mjs";
|
|
3
3
|
//#region src/output/views/transform.ts
|
|
4
4
|
function formatTarget(value) {
|