@metabase/cli 0.5.0 → 0.5.1
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-COtKcy6Y.mjs → add-collection-BnGPc0Vv.mjs} +3 -3
- package/dist/{alert-DMlSjPEv.mjs → alert-DQkF8jYR.mjs} +7 -7
- package/dist/{alerts-s3al16NZ.mjs → alerts-BncG7w1_.mjs} +6 -6
- package/dist/{append-CbGmdeLw.mjs → append-D4ekYCuD.mjs} +4 -4
- package/dist/{archive-Ce4eArrs.mjs → archive-BQ4OA-R4.mjs} +3 -3
- package/dist/{archive-5EY9UJU_.mjs → archive-BXr9kFNz.mjs} +5 -5
- package/dist/{archive-a05W75XH.mjs → archive-BifJXCHF.mjs} +3 -3
- package/dist/{archive-DW7x0IFB.mjs → archive-CxNUeWII2.mjs} +4 -4
- package/dist/{archive-C_UHeanE.mjs → archive-D2WCz3Oe.mjs} +3 -3
- package/dist/{archive-BFmx4B91.mjs → archive-DjHLWUfC.mjs} +5 -5
- package/dist/{archive-BZCYIBhQ.mjs → archive-DnCF-Ecm.mjs} +5 -5
- package/dist/{archive-DzSdJVqE.mjs → archive-DocyUIME.mjs} +5 -5
- package/dist/{archive-DDO2XX0E.mjs → archive-DpCP4yR1.mjs} +4 -4
- package/dist/{archive-DvbaSglr.mjs → archive-EhW6blNc.mjs} +3 -3
- package/dist/archive-ULXc3xzI.mjs +32 -0
- package/dist/{archive-CnDriekB.mjs → archive-v08JESCM.mjs} +5 -5
- package/dist/{auth-DOz7KW5E.mjs → auth-BPbsm8yV.mjs} +5 -5
- package/dist/{body-Di7940x_.mjs → body-BkkQkGJg.mjs} +2 -2
- package/dist/{branch-flag-CfJ8vwgu.mjs → branch-flag-CTDvbaBa.mjs} +1 -1
- package/dist/{branches-BC-vlk6i.mjs → branches-lPHtM_xR.mjs} +3 -3
- package/dist/{breaking-ByrjsFjq.mjs → breaking-DjMlCD96.mjs} +6 -6
- package/dist/{broken-DLSk1T88.mjs → broken-DUX3GWS5.mjs} +8 -8
- package/dist/{bulk-discard-values-VKGj8c7z.mjs → bulk-discard-values-Dl8Lzypf.mjs} +5 -5
- package/dist/{bulk-edit-CpuleeCQ.mjs → bulk-edit-N2xLVtfG.mjs} +4 -4
- package/dist/{bulk-rescan-values-DeGwiqLS.mjs → bulk-rescan-values-BK2rH2Ik.mjs} +4 -4
- package/dist/{bulk-sync-schema-BKVhauW1.mjs → bulk-sync-schema-BKJc9Rzq.mjs} +4 -4
- package/dist/{cancel-qKj45001.mjs → cancel-DzkRVGIk.mjs} +3 -3
- package/dist/{cancel-task-nmBBd1Ky.mjs → cancel-task-BiTlDY7a.mjs} +2 -2
- package/dist/card-BTBDBsu-.mjs +25 -0
- package/dist/{card-DSrgU7lT.mjs → card-CQNUT9pm.mjs} +1 -1
- package/dist/{card-Bv4ZN0oV.mjs → card-P5mBknsl.mjs} +2 -12
- package/dist/{cards-Bq73s48q.mjs → cards-CSL8ukS1.mjs} +4 -4
- package/dist/cli.mjs +80 -48
- package/dist/{client-BmURNkkW.mjs → client-BBwYPXDW.mjs} +100 -591
- package/dist/collection-B19phRNU.mjs +21 -0
- package/dist/{collection-zrZoJfgR.mjs → collection-B2wRXyTF.mjs} +11 -3
- package/dist/{collection-C03LXnCT.mjs → collection-CTnYZ2Jj.mjs} +1 -1
- package/dist/{collection-namespace-DaDzK31i.mjs → collection-namespace-B1OkM7p1.mjs} +1 -1
- package/dist/{content-translation-BlG41YrA.mjs → content-translation-DoGTQnvH.mjs} +3 -3
- package/dist/{copy-DTiYs_a2.mjs → copy-BYukQEtf.mjs} +4 -4
- package/dist/{copy-DOKlVa7H.mjs → copy-XlCT3gvG.mjs} +6 -6
- package/dist/{copy-flags-BhGWC5kS.mjs → copy-flags-ByB2MicL.mjs} +2 -2
- package/dist/{create-1rLk8b5q.mjs → create-3_oY9KHY.mjs} +3 -3
- package/dist/{create-BXX_n64u.mjs → create-B3fm5I-l2.mjs} +4 -4
- package/dist/{create-BKKNIe93.mjs → create-BP39g5Jk.mjs} +5 -5
- package/dist/{create-DraZzrLO.mjs → create-Bl9sS7v7.mjs} +6 -6
- package/dist/{create-d0trLAzB.mjs → create-Bnb1abv_.mjs} +4 -4
- package/dist/{create-DUytP2Y1.mjs → create-CLZ7w83R.mjs} +4 -4
- package/dist/{create-Duj_2YIF.mjs → create-CYoarNrb.mjs} +4 -4
- package/dist/{create-C0kz0oYc.mjs → create-CbT4SPHV.mjs} +5 -5
- package/dist/{create-B1QDNU1x.mjs → create-Cdt8u1wF.mjs} +6 -6
- package/dist/create-CqF7vqXC.mjs +48 -0
- package/dist/{create-B5BwdPwT.mjs → create-CrtIqtXN.mjs} +6 -6
- package/dist/{create-BpwZJZxb.mjs → create-D5_c5SHo.mjs} +5 -5
- package/dist/{create-Cob0gLsA.mjs → create-DBNxy5rN.mjs} +5 -5
- package/dist/{create-vOw8gmBU.mjs → create-DZJQp3r7.mjs} +3 -3
- package/dist/{create-JaFhqysM.mjs → create-DxMmIHI4.mjs} +5 -5
- package/dist/{create-B1bX6ngX.mjs → create-T4PZPVE9.mjs} +4 -4
- package/dist/{create-branch-B5jB4tKk.mjs → create-branch-CUNFdKyB.mjs} +2 -2
- package/dist/{create-DPggIXfn.mjs → create-jr4xJgSI.mjs} +4 -4
- package/dist/create-k1Bo7h7g.mjs +34 -0
- package/dist/{csv-DfExp9H_.mjs → csv-CcnhKpuj.mjs} +4 -4
- package/dist/{current-task-CbXIH_RA.mjs → current-task-nl2z8sHI.mjs} +3 -3
- package/dist/dashboard-BP0p62fp.mjs +35 -0
- package/dist/data-action-Cr17CfgE.mjs +24 -0
- package/dist/data-action-DZxVB_hD.mjs +85 -0
- package/dist/data-action-R9qxJDPA.mjs +40 -0
- package/dist/{database-BdKkae1m.mjs → database-2HYCdHqK.mjs} +1 -1
- package/dist/{database-DoNoZ8Yc.mjs → database-BewllGR7.mjs} +1 -1
- package/dist/{dataset-DZgJm5hP.mjs → dataset-D-x2Ho2i.mjs} +1 -1
- package/dist/{db-C82M3Gpg.mjs → db-m5bQcXdn.mjs} +7 -7
- package/dist/delete-BOma6qIq.mjs +44 -0
- package/dist/{delete-B4BfGfiJ.mjs → delete-BUCh72Bq.mjs} +4 -4
- package/dist/{delete-DJ7SNXiH.mjs → delete-BXMc-g3Q.mjs} +4 -4
- package/dist/{delete-D0xFMRRq.mjs → delete-BrbmJ3sn.mjs} +4 -4
- package/dist/{delete-9xHRd2CG.mjs → delete-DulVnxD_.mjs} +4 -4
- package/dist/delete-Oc2GE170.mjs +44 -0
- package/dist/{delete-hwPqKXeY.mjs → delete-QHsiWYay.mjs} +4 -4
- package/dist/{delete-runtime-DkgYUQ_n.mjs → delete-runtime-CkNvZfFA.mjs} +1 -1
- package/dist/{delete-table-DhTMft7u.mjs → delete-table-LgJ17t6j.mjs} +4 -4
- package/dist/{delete-hcw_4pBG.mjs → delete-xf2n7SNg.mjs} +4 -4
- package/dist/{dependencies-B8H2gA04.mjs → dependencies-BE5QW7Lb.mjs} +5 -5
- package/dist/{dependency-Dc33mjgd.mjs → dependency-BACk_cVP.mjs} +2 -2
- package/dist/dependency-BlTYysYG.mjs +15 -0
- package/dist/{dependency-tQBxYjFX.mjs → dependency-qP1hx2YN.mjs} +2 -2
- package/dist/{dependents-B2GcS5kB.mjs → dependents-mbgHQNiv.mjs} +9 -9
- package/dist/{dirty-Cz2rUd6S.mjs → dirty-fYlA1N1e.mjs} +3 -3
- package/dist/{discard-values-QWuWGaVK.mjs → discard-values-cIRBP5nT.mjs} +5 -5
- package/dist/document-BaRQ5fBd.mjs +20 -0
- package/dist/{document-wfWbV0B_.mjs → document-DVIu3Vj4.mjs} +1 -1
- package/dist/{document-BDobDiap.mjs → document-UMG6me2P.mjs} +1 -1
- package/dist/{download-Dw15fUMy.mjs → download-CokVpeK6.mjs} +2 -2
- package/dist/{eid-Ex4G-ZlN.mjs → eid-CaumGUFD.mjs} +5 -5
- package/dist/{eid-translation-zEHtr5Oc.mjs → eid-translation-Ba92VOHe.mjs} +1 -0
- package/dist/{entity-DBKPaMr5.mjs → entity-BHYJtRxp.mjs} +2 -2
- package/dist/{entry-flags-DgY3IXFe.mjs → entry-flags-DjICpQkc.mjs} +4 -4
- package/dist/{events-BibJ4ya0.mjs → events-jEo9fytL.mjs} +6 -6
- package/dist/execute-H09Qus4_.mjs +45 -0
- package/dist/{export-U8MdaatW.mjs → export-YtdZo7LZ.mjs} +5 -5
- package/dist/{export-flags-BrfeyE8D.mjs → export-flags-DzW0Ktkh.mjs} +3 -3
- package/dist/{export-preflight-A28L45au.mjs → export-preflight-Db_TChn5.mjs} +3 -3
- package/dist/field-DktidTPB.mjs +21 -0
- package/dist/{fields-i1TFa_th.mjs → fields-DUXlosmx.mjs} +4 -4
- package/dist/{filter-flags-Bm3vuSM-.mjs → filter-flags-DTDcU7OI.mjs} +5 -4
- package/dist/{fks-Dcfn3-73.mjs → fks-Cl2sq-c0.mjs} +5 -5
- package/dist/{get-HFQSttF3.mjs → get-B-WT6ess.mjs} +4 -4
- package/dist/{get-BKDTRMNU.mjs → get-BilMWiFq.mjs} +5 -5
- package/dist/{get-CobILQ_7.mjs → get-Bt_zhviQ.mjs} +5 -5
- package/dist/{get-BiPSePQc.mjs → get-CM596pmP.mjs} +3 -3
- package/dist/{get-DqYn9mez.mjs → get-CTtzccwr.mjs} +4 -4
- package/dist/{get-Dz3dNirC.mjs → get-CVMWhbA82.mjs} +4 -4
- package/dist/{get-B4_3DID6.mjs → get-CWyRAHpz.mjs} +5 -5
- package/dist/{get-DPZUIPjv.mjs → get-C_rjxpoe.mjs} +3 -3
- package/dist/{get-hAoJtVCK.mjs → get-Cg0up9gm.mjs} +3 -3
- package/dist/{get-IjoHBExI.mjs → get-CqlNUyFY.mjs} +5 -5
- package/dist/{get-CcwRn8Y2.mjs → get-DPiNYmXo.mjs} +5 -5
- package/dist/{get-EKBYludD.mjs → get-DTDvlLT3.mjs} +3 -3
- package/dist/{get-D0NZ0ZO1.mjs → get-DtcChy9h.mjs} +5 -5
- package/dist/{get-C3ojRVJ_.mjs → get-DyK_bvg6.mjs} +4 -4
- package/dist/{get-DUwX-RU82.mjs → get-DySyvotk2.mjs} +5 -5
- package/dist/{get-CCLWWqTD.mjs → get-FxCF0rxc.mjs} +4 -4
- package/dist/{get-CVpIQb8v.mjs → get-GuWW4J24.mjs} +5 -5
- package/dist/{get-Cwj1Q-at.mjs → get-XS-6R81E.mjs} +3 -3
- package/dist/{get-BCdtCwaG.mjs → get-oQNL6pLY.mjs} +3 -3
- package/dist/get-okEsnkvC.mjs +31 -0
- package/dist/{get-run-B2SnsZSY.mjs → get-run-CFGxSm_S.mjs} +4 -4
- package/dist/get-zPMv3kZE.mjs +32 -0
- package/dist/git-sync-BwkWeJAz.mjs +29 -0
- package/dist/glossary-BSgRQ2HO.mjs +14 -0
- package/dist/{glossary-wnuxoE_I.mjs → glossary-BkGmCI4X.mjs} +1 -1
- package/dist/{glossary-6LLpItof.mjs → glossary-QN-hHfOT.mjs} +1 -1
- package/dist/{graph-CHlfxVy1.mjs → graph-Wf4e0XIa.mjs} +6 -6
- package/dist/{group-B3X3LTcU.mjs → group-81zoQcEP.mjs} +1 -1
- package/dist/{has-remote-changes-DCMpqGgE.mjs → has-remote-changes-BsS3XB0P.mjs} +2 -2
- package/dist/{import-C7MZhKo6.mjs → import-CXd5HdB0.mjs} +5 -5
- package/dist/{input-sRdxNc3T.mjs → input-AXP2LCOV.mjs} +1 -1
- package/dist/{is-dirty-DpLyHebS.mjs → is-dirty-TDcfeOde.mjs} +2 -2
- package/dist/{items-1ME_eg27.mjs → items-BxvhoxYm.mjs} +6 -6
- package/dist/{key-DMtgTOwN.mjs → key-CUPbYxkk.mjs} +1 -1
- package/dist/{library-fWEv38OB.mjs → library-BKSFtIV9.mjs} +1 -1
- package/dist/{library-CP-9yepy.mjs → library-DuIrR8LS.mjs} +1 -1
- package/dist/{library-D2ogEIfI.mjs → library-DzejNMqX.mjs} +5 -5
- package/dist/{list-Ud7F0XdU.mjs → list-3Dh5yeq-.mjs} +3 -3
- package/dist/{list-dCi6OaIE.mjs → list-6nGX0Rqc.mjs} +4 -4
- package/dist/{list-DkCadZ2E.mjs → list-B3Pngm2j.mjs} +5 -5
- package/dist/{list-BUwDGyIu.mjs → list-B5kRBn7k.mjs} +5 -5
- package/dist/{list-DzP7YXdZ.mjs → list-B8V_OESj.mjs} +3 -3
- package/dist/{list-CQi3AgS5.mjs → list-BUjI5G0_.mjs} +4 -4
- package/dist/{list-LMlJ4uAY.mjs → list-Ba7u5Ai9.mjs} +6 -6
- package/dist/list-CCCy6cBI.mjs +35 -0
- package/dist/list-CRXTfEFk.mjs +28 -0
- package/dist/{list-BoVeF8QA.mjs → list-CUj04tg3.mjs} +6 -6
- package/dist/{list-C9996vbS.mjs → list-Cf6A9Csi.mjs} +3 -3
- package/dist/{list-NINy7ybI.mjs → list-Cr5Hoq-E.mjs} +4 -4
- package/dist/{list-BXcDPU5d.mjs → list-D1Q8H3jn.mjs} +6 -6
- package/dist/{list-CVh8DHOO.mjs → list-D7yH-64Z.mjs} +5 -5
- package/dist/{list-C1oEpUZG.mjs → list-DA1Fo6S6.mjs} +3 -3
- package/dist/{list-B0h-j1E7.mjs → list-D_fsrh8w.mjs} +5 -5
- package/dist/{list-DBAEy3Rx.mjs → list-DjlfBd7W.mjs} +3 -3
- package/dist/{list-OXiXtdiM.mjs → list-DlgjWr4r.mjs} +5 -5
- package/dist/{list-CJ5FyCnL.mjs → list-Do-Xnz0I.mjs} +4 -4
- package/dist/{list-STy8UHs2.mjs → list-DpK3ioES.mjs} +5 -5
- package/dist/{list-BUZ91ctZ.mjs → list-DsR58aMq.mjs} +5 -5
- package/dist/{login-BMON3Fft.mjs → login-CXbCAcuB.mjs} +6 -6
- package/dist/{logout-Cx934GzW.mjs → logout-B6IGzkpG.mjs} +2 -2
- package/dist/{measure-CUqJtDNm.mjs → measure-CbMgNhlG.mjs} +6 -6
- package/dist/{notification-CCZ9mrOw.mjs → notification-W2SVssyY.mjs} +1 -1
- package/dist/{parameter-values-DCrU02Az.mjs → parameter-values-IWi_DNhp.mjs} +3 -3
- package/dist/{parse-enum-Do5Cptbv.mjs → parse-enum-B2rGiC6p.mjs} +1 -1
- package/dist/{parse-id-oCbmouCn.mjs → parse-id-Cv5eM7sg.mjs} +1 -1
- package/dist/{parse-ref-Df8gusl4.mjs → parse-ref-DW7ik6ny.mjs} +1 -1
- package/dist/{parse-text-CVrP7GmZ.mjs → parse-text-CUCSWOeR.mjs} +1 -1
- package/dist/{path-DTuSDGd6.mjs → path-C9r9urRK.mjs} +4 -4
- package/dist/{poll-BKo5dK0l.mjs → poll-CX3jPtXb.mjs} +2 -2
- package/dist/{preflight-UeYuGDPr.mjs → preflight-CiTgqNUy.mjs} +2 -2
- package/dist/{process-BpmZXbcw.mjs → process-DImdroix.mjs} +1 -1
- package/dist/{publish-D3GwLC-K.mjs → publish-xH1n74gd.mjs} +4 -4
- package/dist/{pulse-DzVPfb5J.mjs → pulse-CFj1WfIC.mjs} +1 -1
- package/dist/query-BKtMP5eH.mjs +13 -0
- package/dist/{query-B1Cp9EO6.mjs → query-BOCw0FBK.mjs} +6 -6
- package/dist/{query-Ct697cY-.mjs → query-CN3BW5WB.mjs} +11 -10
- package/dist/{remapping-RsoPWE7c.mjs → remapping-Dggq2Fv0.mjs} +4 -4
- package/dist/{remove-collection-BJo3Wd9K.mjs → remove-collection-cxSSFxza.mjs} +3 -3
- package/dist/{render-C_ev6qoW.mjs → render-Cb8Hct67.mjs} +2 -2
- package/dist/{replace-BSAGp3cR.mjs → replace-wVi_XDut.mjs} +4 -4
- package/dist/{requirement-check-T3bjQ0Mr.mjs → requirement-check-BE3PuGsC.mjs} +2 -2
- package/dist/{rescan-values-CE62_2dc.mjs → rescan-values-C7b1Ghy-.mjs} +4 -4
- package/dist/{rescan-values-rpro4Kw2.mjs → rescan-values-DAp_avxY.mjs} +5 -5
- package/dist/{run-B3BRodEp.mjs → run-CE6ei7s7.mjs} +4 -4
- package/dist/{run-BI1QO9Kn.mjs → run-CUGs7mok.mjs} +7 -7
- package/dist/run-DywhwjNG.mjs +63 -0
- package/dist/{runs-CUseZezf.mjs → runs--14jim_0.mjs} +5 -5
- package/dist/{runtime-C5Ha6Ou8.mjs → runtime-Ckns6TKK.mjs} +2 -2
- package/dist/{schema-tables-C7YkyRh0.mjs → schema-tables-CeW0kpA5.mjs} +5 -5
- package/dist/{schemas-Bj5sJ9uB.mjs → schemas-CHMD0HrY.mjs} +4 -4
- package/dist/{search-BAXg-EJw.mjs → search-CXRavT7G.mjs} +1 -0
- package/dist/{search-CB1A4HWx.mjs → search-DyC54bGf.mjs} +6 -6
- package/dist/{search-BsAwK7Rk.mjs → search-LmBQu1Jg.mjs} +5 -5
- package/dist/{segment-BEjaeLc5.mjs → segment-DeT_Yic6.mjs} +6 -6
- package/dist/{send-Dfh8d1gG.mjs → send-BWSJMrDL.mjs} +3 -3
- package/dist/{set-active-AyjKtBD-.mjs → set-active-C5cLG4_O.mjs} +4 -4
- package/dist/{set-DA8dKyzi.mjs → set-r2xiXrT_.mjs} +4 -4
- package/dist/{set-sensitivity-D0613dHA.mjs → set-sensitivity-BMLKazua.mjs} +4 -4
- package/dist/{setting-B-bxCkC0.mjs → setting-CDRusiqP.mjs} +4 -4
- package/dist/{setup-Bvvqlz9d.mjs → setup-BZaJVww3.mjs} +3 -3
- package/dist/{signal-Dm4N0Bcc.mjs → signal-4tpCIkqR.mjs} +1 -1
- package/dist/{skill-list-DkuCf0k4.mjs → skill-list-D2FhhYS3.mjs} +1 -1
- package/dist/{skills-DxrO7HUz.mjs → skills-9ihLaSmM.mjs} +3 -3
- package/dist/{skills-DlDCTGVE.mjs → skills-y2iVfW9k.mjs} +2 -2
- package/dist/snippet-Ce0o33Rj.mjs +19 -0
- package/dist/{stash-j9JPv3ns.mjs → stash-Dj-mnIa4.mjs} +4 -4
- package/dist/{status-DcbvbRc5.mjs → status-B2Xj_q8f.mjs} +3 -3
- package/dist/{status-DxNcrfnI.mjs → status-BtWz7Pzn.mjs} +4 -4
- package/dist/{subscription-CSR2t-xK.mjs → subscription-Dh--agqE.mjs} +6 -6
- package/dist/{subscriptions--0YvW40u.mjs → subscriptions-CJ8Jdp9A.mjs} +6 -6
- package/dist/{summary-Dslv78-r.mjs → summary-ccbkNDbC.mjs} +3 -3
- package/dist/{sync-schema-BSJiokQf.mjs → sync-schema-CewUOkmm.mjs} +6 -6
- package/dist/{sync-schema-Dgij5ICd.mjs → sync-schema-HwQectZd.mjs} +4 -4
- package/dist/{sync-task-a1zyF1Qb.mjs → sync-task-DEzhiaU9.mjs} +3 -2
- package/dist/{table-Uvu1roSx.mjs → table-CFZU-BRg.mjs} +1 -1
- package/dist/table-P9ovwcaB.mjs +26 -0
- package/dist/{table-selector-flags-B9OiA3Z1.mjs → table-selector-flags-p4jun7-v.mjs} +2 -2
- package/dist/{text-821Rn8M9.mjs → text-C2VwKF9D.mjs} +1 -1
- package/dist/{timeline-uDCmwGFT.mjs → timeline-BgWz8DYK.mjs} +1 -1
- package/dist/timeline-DLaBypse.mjs +21 -0
- package/dist/{timeline-CCSU2qOS.mjs → timeline-DcsCXNUt.mjs} +5 -1
- package/dist/{timeline-event-CSzx8EDP.mjs → timeline-event-xAAR6b-v.mjs} +6 -6
- package/dist/transform-10YE8j5K.mjs +28 -0
- package/dist/{transform-BKX6tl3i.mjs → transform-CWGJB8N_.mjs} +1 -1
- package/dist/{transform-job-AaMZRxAq.mjs → transform-job-BBZ5L46v.mjs} +1 -1
- package/dist/{transform-job-CCguL6LP.mjs → transform-job-ClX8e5iO.mjs} +2 -1
- package/dist/transform-job-D97AutnF.mjs +22 -0
- package/dist/{transform-tag-DHg7j15d.mjs → transform-tag-BXusFzMX.mjs} +5 -5
- package/dist/transform-test-Bexa_K89.mjs +173 -0
- package/dist/transform-test-C49ZTK7M.mjs +32 -0
- package/dist/transform-test-UsH1udc4.mjs +16 -0
- package/dist/{transforms-DwxPfMiG.mjs → transforms-CqV01bMM.mjs} +5 -5
- package/dist/transport-0qFZhEuP.mjs +416 -0
- package/dist/{tree-COFmA20J.mjs → tree-Td6rgyOa.mjs} +3 -3
- package/dist/{unpublish-BQClh4U7.mjs → unpublish-D4XTZsFW.mjs} +3 -3
- package/dist/{unreferenced-DKc0zZDl.mjs → unreferenced-cR-l4zXN.mjs} +6 -6
- package/dist/{update-myfBF5qV.mjs → update-BJL5975i.mjs} +6 -6
- package/dist/{update-BVMgrMy7.mjs → update-BqkqMOVN.mjs} +5 -5
- package/dist/{update-Bgy2amR0.mjs → update-C4iu-vQm.mjs} +6 -6
- package/dist/{update-C9HK3i8s.mjs → update-C7Wmom6x.mjs} +5 -5
- package/dist/{update-CMRWXoZ2.mjs → update-C7dZLbsf.mjs} +4 -4
- package/dist/{update-BBLbEPEP.mjs → update-C8xdeYI2.mjs} +4 -4
- package/dist/{update-B8jQTspb.mjs → update-CHB4kvz-.mjs} +8 -8
- package/dist/{update-BNwjjMk6.mjs → update-CND9At61.mjs} +5 -5
- package/dist/{update-Ca8LSZer.mjs → update-CpwWURTp.mjs} +5 -5
- package/dist/{update-B-wcIl8T.mjs → update-D-cTgmb0.mjs} +6 -6
- package/dist/{update-CPmPnEvm.mjs → update-DFK2iUSP.mjs} +6 -6
- package/dist/{update-CFfr1ZdL.mjs → update-DROjGe3Q.mjs} +4 -4
- package/dist/update-DZHgr6Gu.mjs +52 -0
- package/dist/{update-kM3TDlEp.mjs → update-Dk0E66Va.mjs} +7 -7
- package/dist/{update-DJwu8UT2.mjs → update-DqCZsbLh.mjs} +6 -6
- package/dist/{update-BVFfoopT.mjs → update-DrVc25R8.mjs} +5 -5
- package/dist/{update-MxvqmZ3z.mjs → update-Js0IiqCq.mjs} +5 -5
- package/dist/{update-Dwr3n7_n.mjs → update-dQeji6RA.mjs} +7 -7
- package/dist/{update-dashcard-C8QN2Qcu.mjs → update-dashcard-BmkfJ7t9.mjs} +4 -4
- package/dist/update-nGURR-y6.mjs +41 -0
- package/dist/{upgrade-BBOEVIRa.mjs → upgrade-B6V_1cUh.mjs} +4 -4
- package/dist/{upload-CxpXpjCf.mjs → upload-B6zBzMPW.mjs} +2 -2
- package/dist/{upload-CoBd4qBp.mjs → upload-CfYmBv51.mjs} +3 -3
- package/dist/upload-Dvjfz16M.mjs +13 -0
- package/dist/{uuid-DW30GY7B.mjs → uuid-B8ynbkqG.mjs} +2 -2
- package/dist/{validate-n85yMraN.mjs → validate-C7DGkwb-.mjs} +1 -1
- package/dist/{validate-query-BwXvFFYi.mjs → validate-query-CYUvRvVM.mjs} +7 -3
- package/dist/{values-B6eFE4K5.mjs → values-36bzf9cK.mjs} +3 -3
- package/dist/{verify-Dp8tUbP3.mjs → verify-BdW-GExk.mjs} +3 -3
- package/dist/{verify-BSq7x66g.mjs → verify-C4Tml4fD.mjs} +3 -3
- package/dist/{verify-DnU-wXIs.mjs → verify-Cs9e28YA.mjs} +3 -3
- package/dist/{wait-D6Tw4ZxO.mjs → wait-BV6JOdgi.mjs} +5 -5
- package/dist/{wait-flags-BRUzMI6S.mjs → wait-flags-DjyK03cm.mjs} +2 -2
- package/dist/{window-BqMFpWMh.mjs → window-CfK_j6m1.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +11 -5
- package/skill-data/data-action/SKILL.md +125 -0
- package/skill-data/native-sql/SKILL.md +1 -1
- package/skill-data/transform/SKILL.md +63 -1
- package/skill-data/transform-test-plan/SKILL.md +82 -0
- package/skill-data/transform-test-plan/references/checklist.md +32 -0
- package/skill-data/transform-test-plan/references/checks.md +156 -0
- package/dist/card-Buc-X4Mh.mjs +0 -25
- package/dist/collection-D-sS0AFw.mjs +0 -21
- package/dist/dashboard-DH_soSQp.mjs +0 -35
- package/dist/dependency-CLznxtLE.mjs +0 -15
- package/dist/document-WhSEyI-3.mjs +0 -20
- package/dist/field-qF1KRJYB.mjs +0 -21
- package/dist/git-sync-BlgB_-8-.mjs +0 -29
- package/dist/glossary-BvVxqjxJ.mjs +0 -14
- package/dist/snippet-B7Kau5U8.mjs +0 -19
- package/dist/table-qjgz2eek.mjs +0 -26
- package/dist/timeline-CNkrY3e3.mjs +0 -21
- package/dist/transform-Y86R7_2F.mjs +0 -28
- package/dist/transform-job-Cg_1jzWI.mjs +0 -22
- package/dist/upload-fcim1xtK.mjs +0 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: transform
|
|
3
|
-
description: Author and run Metabase transforms via `mb` — body shape (native SQL or structured MBQL), create + run-with-wait, run inspection, dependencies, cancel, the `update`-vs-recreate iteration rule, the writable-keys-only PATCH contract, plus transform tags and tag-driven transform-job schedules. Load when the user touches transforms — "create a transform", "run a transform", "fix a failing transform", "list transform runs", "cancel a running transform", "manage transform tags", "run a transform job", or anything `mb transform …` / `mb transform-job …` / `mb transform-tag …`.
|
|
3
|
+
description: Author and run Metabase transforms via `mb` — body shape (native SQL or structured MBQL), create + run-with-wait, run inspection, dependencies, cancel, the `update`-vs-recreate iteration rule, the writable-keys-only PATCH contract, transform tests (fixtures and expectations run against temp tables), plus transform tags and tag-driven transform-job schedules. Load when the user touches transforms — "create a transform", "run a transform", "fix a failing transform", "test a transform", "list transform runs", "cancel a running transform", "manage transform tags", "run a transform job", or anything `mb transform …` / `mb transform-job …` / `mb transform-tag …` / `mb transform-test …`.
|
|
4
4
|
allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
|
|
5
5
|
requires: [transforms]
|
|
6
6
|
---
|
|
@@ -173,6 +173,68 @@ mb transform run "$ID" --wait --profile <n> --json # → succeeded
|
|
|
173
173
|
|
|
174
174
|
If you really must `create + delete` instead, do the `delete` **before** the first `git-sync export` so the failed entity never lands in git history — an export of a soft-failed state is noise that needs a follow-up cleanup commit. See `git-sync`, "Read state before mutating", for the ordering rule.
|
|
175
175
|
|
|
176
|
+
<!-- requires: transformTests -->
|
|
177
|
+
|
|
178
|
+
## Transform tests
|
|
179
|
+
|
|
180
|
+
A transform test replaces every table the transform reads with a fixture, runs it into a temp table, and checks that output. The transform and the expectations read only the run's temp tables; a `format: "sql"` input runs verbatim against the transform's source database, so it may read real tables. Only query transforms (native SQL or MBQL) can be tested, and only on Postgres, MySQL, H2, ClickHouse, Redshift or SQL Server; otherwise `create`/`update`/`run` refuse with `transform-test.unsupported-transform` / `unsupported-driver` (422).
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
mb transform-test list --transform-id <id> --profile <n> --json # --transform-id is optional
|
|
184
|
+
mb transform-test get <id> --full --profile <n> --json # --full for inputs/expectations
|
|
185
|
+
mb transform-test create --file ./.scratch/test.json --profile <n> --json
|
|
186
|
+
mb transform-test update <id> --file ./.scratch/patch.json --profile <n> --json
|
|
187
|
+
mb transform-test delete <id> --yes --profile <n>
|
|
188
|
+
mb transform-test run <id> --profile <n> --json # exits 1 unless it passes
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
**`inputs`** — one per table the transform reads, each naming a `table` plus either `format: "sql"` with `sql`, or `format: "rows"` with `columns` (each a `name` and a `cast_type`) and `rows`.
|
|
192
|
+
|
|
193
|
+
**`cast_type` is a `CAST` target, not a column type**, and the two vocabularies differ per warehouse: MySQL casts to `SIGNED` and reports `BIGINT`; ClickHouse takes `Nullable(Int32)` for a column that is `Int64`. So a body is warehouse-specific — don't copy a `database_type` out of a run result into a `cast_type`, and don't expect one body to run everywhere.
|
|
194
|
+
|
|
195
|
+
**`expectations`** — `type: "empty"` with the `sql` that must return no rows, or `type: "equals"` with `format: "rows"` and the `columns` and `rows` the output must hold exactly. `equals` compares the rows as a multiset over the declared columns only, so an output column it does not declare is never checked. An `equals` without a `format` is refused, and one with `format: "sql"` is saved but reports `error` on every run, so its test can never pass.
|
|
196
|
+
|
|
197
|
+
**Expectation SQL may only name the transform's target table and its declared input tables.** Those are rewritten to the run's temp tables; any other table is refused with `transform-test.unremapped-reference` (400), at `create`/`update` as well as `run`. A column qualified by its table name (`people.id`) is refused the same way, in expectation SQL and in the transform's own SQL alike: qualify by an alias (`FROM people p … p.id`) or leave the column bare — for the transform's SQL that means editing the transform. Expectation names are unique within a test (refused with "expectation names must be unique within a test"), and every `rows` row carries exactly its declared columns (refused naming the missing or undeclared columns).
|
|
198
|
+
|
|
199
|
+
```json
|
|
200
|
+
{
|
|
201
|
+
"transform_id": 1,
|
|
202
|
+
"name": "adults only",
|
|
203
|
+
"inputs": [
|
|
204
|
+
{
|
|
205
|
+
"table": { "schema": "public", "name": "people" },
|
|
206
|
+
"format": "rows",
|
|
207
|
+
"columns": [
|
|
208
|
+
{ "name": "id", "cast_type": "INTEGER" },
|
|
209
|
+
{ "name": "age", "cast_type": "INTEGER" }
|
|
210
|
+
],
|
|
211
|
+
"rows": [
|
|
212
|
+
{ "id": 1, "age": 30 },
|
|
213
|
+
{ "id": 2, "age": 12 }
|
|
214
|
+
]
|
|
215
|
+
}
|
|
216
|
+
],
|
|
217
|
+
"expectations": [
|
|
218
|
+
{
|
|
219
|
+
"type": "equals",
|
|
220
|
+
"name": "exactly one row, id 1",
|
|
221
|
+
"format": "rows",
|
|
222
|
+
"columns": [{ "name": "id", "cast_type": "INTEGER" }],
|
|
223
|
+
"rows": [{ "id": 1 }]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"type": "empty",
|
|
227
|
+
"name": "no null ids",
|
|
228
|
+
"sql": "SELECT * FROM public.adults WHERE id IS NULL"
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
}
|
|
232
|
+
```
|
|
233
|
+
|
|
234
|
+
Create and update bodies are closed at every level (the top level is checked before sending; a stray nested key is a 400) — strip `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` from a `get --full` body before sending it back.
|
|
235
|
+
|
|
236
|
+
<!-- /requires -->
|
|
237
|
+
|
|
176
238
|
## Drop the materialized table (keep the transform)
|
|
177
239
|
|
|
178
240
|
```bash
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: transform-test-plan
|
|
3
|
+
description: Derive a comprehensive test plan for a transform — the fixture cast, the expectations, hand-derived expected rows, and a coverage matrix — from the model's declared design. Covers input partitioning (zero-case, multiplicity, dirty rows), grain / conservation / recomputation / conformance checks, and known-quirk conventions. Load when the user wants tests planned or written for transforms — "write tests for my transforms", "is my model right", "test plan for this pipeline", "add data quality checks" — whether the model is mid-build or already deployed. The `mb transform-test` command and body shapes live in the `transform` skill; this one decides what to test.
|
|
4
|
+
allowed-tools: Read, Write, Edit, Bash, AskUserQuestion
|
|
5
|
+
requires: [transformTests]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Planning transform tests
|
|
9
|
+
|
|
10
|
+
Turn a transform into a fixture cast that proves the logic on small known rows, expectations that state the model's invariants, and a coverage matrix showing what's checked and what's deliberately not. Mechanics — the `inputs`/`expectations` body shape and every `mb transform-test` verb — live in the `transform` skill (`mb skills get transform`); load it before authoring, and never restate it here. The two references this skill routes through, `references/checklist.md` and `references/checks.md`, come with `mb skills get transform-test-plan --full`, or read them from `mb skills path transform-test-plan`.
|
|
11
|
+
|
|
12
|
+
Every check derives from what the model **declares** — detected from its SQL, confirmed with its owner — never from conformance to a modeling doctrine. One plan serves two moments: while the model is **built**, checks pin each design decision; once **deployed**, the same SQL screens production tables for anomalies.
|
|
13
|
+
|
|
14
|
+
## Operating rules
|
|
15
|
+
|
|
16
|
+
- **Detect, then derive.** Classify what the transform is and which conventions it uses (the checklist); derive checks only from that. Star, one-big-table, partial denormalization — all fine; never flag a style.
|
|
17
|
+
- **Judgment calls go through the checklist.** The session's autonomy setting governs which answers you supply yourself and which you bring to the user — it never makes the checklist a formality. Every answer you supply yourself is recorded in the plan as a stated assumption, paired with the named expectation that enforces it — reversing the decision then breaks a test, not a paragraph. And regardless of setting, when genuinely unsure, ask — a wrong-but-confident grain poisons every downstream check.
|
|
18
|
+
- **Expected rows are derived by hand** from the fixture story and business meaning — never captured from the transform's output, which asserts only that the transform equals itself.
|
|
19
|
+
- **Batteries stay off until declared structure switches them on.** No snapshot-density checks without a snapshot, no version-history checks without effective/end/current columns. An empty section beats a speculative one.
|
|
20
|
+
|
|
21
|
+
## The procedure
|
|
22
|
+
|
|
23
|
+
1. **Profile the real inputs**: per table, row count; per column, min/max/distinct-count/null incidence; orphan counts across declared links (`mb field summary`, `mb query`). Profiling feeds domains, bounds, null partitions, and key candidates — and every fixture edge cites the real-data condition that warrants it, with its count ("the warehouse has 67 ship-before-order rows").
|
|
24
|
+
2. **Detect.** Read the transform's SQL (`mb transform get <id> --full --json`) for: grain candidates (`GROUP BY` keys, the joins' driving table), join types (orphan handling), correlated aggregates (stored aggregates), `<entity>_<attr>` naming (copies), effective/end/current columns (version history), `now()`/`current_date` (volatile columns). A transform whose grain you cannot state in one phrase is itself a finding — raise it before writing any test.
|
|
25
|
+
3. **Confirm.** Walk [references/checklist.md](references/checklist.md). Three stages: classify the model, per-table declarations, per-column declarations. Each question carries its detection hint; answer autonomously where the hint resolves, ask where it doesn't. In build-along mode these are design questions — treat an undecided answer as a decision to make together, not a blocker.
|
|
26
|
+
4. **Derive.** Route every output column through [references/checks.md](references/checks.md) — declared property → expectation shape, fixture implication, expected-row convention. Read it in full once per plan; it is the plan's content.
|
|
27
|
+
5. **Design the fixture cast**: one small cast per transform (≈5–10 rows per table), human-named rows ("Alice Premium"), every row a named edge — zero-case entities for every outer join and aggregation, ≥2-member groups for every grouping and join, one dirty row per screenable defect, boundary dates. Document it as a table (row → attributes → purpose) in the plan.
|
|
28
|
+
|
|
29
|
+
Express the cast as literal rows rather than as a query, so the story stays legible in the test itself; a query is worth it only when the rows are mechanical to generate. A cast is written against one warehouse and does not carry to another.
|
|
30
|
+
|
|
31
|
+
6. **Hand-derive the expected rows**, arithmetic recorded in the plan (premium: 3 orders / 350.50 / 3.0). Every fixture row's fate appears in some expected cell. Pin NULL-vs-0-vs-empty for every zero-case row — that cell is the null policy's only enforcement.
|
|
32
|
+
7. **Author the test.** One test per transform, per coherent story: an `equals` pinning the output, declaring every output column, since `equals` compares only the columns it declares, and `empty` expectations stating the invariants that survive a change to the cast.
|
|
33
|
+
|
|
34
|
+
Give each expectation a name that states the invariant, because the name is what a failure leads with ("revenue never negative", not "check 3"), and open each `empty` expectation's SQL with a `--` contract comment: the invariant, and the failure modes it catches ("catches both dropped orders and join fan-out").
|
|
35
|
+
|
|
36
|
+
Where one invariant applies to several transforms, duplicate the SQL. Nothing is shared between tests, so give each copy its own name and comment rather than one that only makes sense next to its twin.
|
|
37
|
+
|
|
38
|
+
8. **Emit the coverage matrix** in the plan: rows = output columns with the table's grain; columns = check classes (grain, conservation, recomputation, conformance, domains, referential integrity, temporal, screens); cells name the covering expectation or expected-row cell, or state `gap: <reason>`. Scan shared-attribute columns across transforms for cross-table agreement obligations. Empty cells are honest; silent gaps are not.
|
|
39
|
+
9. **Prove the tests have teeth.** Once per test: corrupt one expected cell, `run`, confirm `cell-mismatches` names exactly that column; revert. Then perturb one input cell and confirm exactly the declared output cells move. An `empty` expectation that only selects output rows passes against an empty output, so a green test can still be vacuous.
|
|
40
|
+
|
|
41
|
+
## Severity: error, or the tolerated oddity
|
|
42
|
+
|
|
43
|
+
Every expectation is pass or fail, and one failure fails the run. **error** = forbidden, and it becomes an `empty` expectation. There is no warn severity, so **never author an expectation you expect to fire**: a permanently red test trains everyone to ignore the result, and a red run gates everyone else's work.
|
|
44
|
+
|
|
45
|
+
A tolerated-but-surfaced oddity — one the owner lives with, like orphan rows or ship-before-order dates — gets encoded the two ways that hold: **pin it in the `equals` rows** (an orphan passing through with NULLs is a cell in the expected output, so reversing the tolerance breaks the test), and **record it in the plan's known-quirks list** with its real-data count, so the tolerance stays a conscious choice.
|
|
46
|
+
|
|
47
|
+
Under budget pressure cut business-rule checks first, then cross-table structure checks; never single-column screens (domains, ranges, nulls) — cheapest, and the last line.
|
|
48
|
+
|
|
49
|
+
## When a check exposes a live bug
|
|
50
|
+
|
|
51
|
+
Non-negotiable: **never soften the test to green** — expected values state correct behavior; matching them to buggy output documents the bug as intended — and **surface the finding with its blast radius at both scales**, fixture ("1530.24 of 1600.74 fixture dollars survive") and warehouse ("908 of 2,050 orders dropped"). What happens next follows the session's terms, not a fixed protocol: propose and apply the fix now (when the user wants it or the autonomy setting covers it), or — when the fix must wait — hold the correct expectation and record the red in the plan with the minimal fix body. A stored test has no red-by-design state, so a deferred fix must be visible in the plan or the test reads as broken. Either way, once green the test stays as the regression guard.
|
|
52
|
+
|
|
53
|
+
## When the doctrine doesn't apply
|
|
54
|
+
|
|
55
|
+
The vocabulary follows Kimball's dimensional modeling (grain, additivity, conformed attributes, slowly changing dimensions) — precise, widely understood terms. Real models are Kimball-inspired at most; no check may score adherence:
|
|
56
|
+
|
|
57
|
+
- Full calendar date dimensions are rare. Never demand one; test date _semantics_ — ranges, orderings, volatile derivations.
|
|
58
|
+
- Surrogate keys are doctrine, natural-key joins are practice. Test whichever key the model declares; never flag natural-key joins.
|
|
59
|
+
- "No NULL FKs / no NULL attributes" is doctrine routinely dropped. Null policy is three independent declarations — measures, attributes, FKs — each detected and confirmed, never presumed.
|
|
60
|
+
- One-big-table is legitimate: it still has a grain, its copies still need agreement checks, its functional dependencies still hold.
|
|
61
|
+
- A transform-level `ORDER BY` has no testable effect — output tables carry no row order and the `equals` comparison is a multiset. Flag it as probable dead weight (clustering hints aside); never write an ordering expectation.
|
|
62
|
+
|
|
63
|
+
## One transform at a time
|
|
64
|
+
|
|
65
|
+
Each test covers one transform. When the transform under test reads another transform's output, that target table is an input like any other: declare it and fake it. Derive those rows from the base transform's own expected output, so the two tests tell one story, and note the coupling in both plans — changing the base's expected rows means changing this test's input.
|
|
66
|
+
|
|
67
|
+
## Worked example, condensed
|
|
68
|
+
|
|
69
|
+
`orders` + `customers` → _enriched_orders_ (order grain; LEFT JOIN attaches `customer_name`, `tier`).
|
|
70
|
+
|
|
71
|
+
Cast, 7 orders: two tiers; Alice and Carol with 2 orders each (multiplicity); two never shipped (zero-case for the shipping join); order 106 shipped before ordered (real oddity, count cited); order 107's customer_id matches no customer (orphan). Two `rows` inputs, one per source table.
|
|
72
|
+
|
|
73
|
+
Derived, per catalog: grain uniqueness on `order_id`; row and amount conservation from input to output, as scalar subqueries over the target and the seeded input; `tier` domain ⊆ {standard, premium}; orphan = keep-with-NULLs → an expected row pinning the NULL pass-through; ship-before-order tolerated → the plan's known-quirks list with the warehouse count. The whole output, every column, pinned in one `equals`, hand-computed, arithmetic in the plan. The inner-vs-LEFT-join bug this cast catches — unshipped orders silently dropped from revenue — is what the zero-case rows exist for.
|
|
74
|
+
|
|
75
|
+
## Don't
|
|
76
|
+
|
|
77
|
+
- Don't author expectations before loading the `transform` skill — the body shape, the closed create/update contract, and the verb flags live there.
|
|
78
|
+
- Don't capture expected rows from the transform's own output — hand-derive them or they assert nothing.
|
|
79
|
+
- Don't emit checks for structure the model doesn't declare (snapshot density, version history, bridge weights) — an inapplicable battery buries real findings.
|
|
80
|
+
- Don't let a fixture cast go all-clean — no zero-case, no orphan, no dirty row proves the happy path and nothing else; the bugs live in the edges.
|
|
81
|
+
- Don't write an expectation you expect to fail.
|
|
82
|
+
- Don't surface bare check-ids ("per C3…") to the user — name the check in plain words; the ids are for your cross-referencing, not their reading.
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Confirmation checklist
|
|
2
|
+
|
|
3
|
+
The judgment calls a plan depends on, in derivation order. Each question carries a **detect** hint — how to answer it from the SQL, the metadata, or profiling. Answer autonomously where the hint resolves cleanly; ask where it doesn't. Every answer you supply yourself goes into the emitted plan as a stated assumption, phrased so the owner can falsify it at a glance ("Assuming `discount` can never be negative — correct?").
|
|
4
|
+
|
|
5
|
+
In build-along mode these are design questions: the owner is deciding, not recalling. An undecided answer is a decision to make together — surface the options and the check each implies (the `checks.md` entry named in parentheses).
|
|
6
|
+
|
|
7
|
+
## Stage 1 — classify the model (per transform)
|
|
8
|
+
|
|
9
|
+
1. **Grain: one row per what?** (G1, G2) Detect: `GROUP BY` keys; otherwise the driving table of the joins. Confirm whenever detection and any written description disagree — that disagreement is itself a finding.
|
|
10
|
+
2. **Fact-table type — and if periodic snapshot, dense or sparse?** (F2) Detect: event-grain with a single event date → transaction; entity×period grain → periodic snapshot (density is the one yes/no that flips its whole invariant set — always confirm); one row per pipeline occurrence with milestone-date columns → accumulating snapshot.
|
|
11
|
+
|
|
12
|
+
## Stage 2 — per-table declarations
|
|
13
|
+
|
|
14
|
+
3. **Conservation ties: output rows/sums tie to which input, with which declared exclusions?** (A2) Detect: `WHERE` clauses and join types name the exclusions (filtered rows, dropped duplicates). Exclusions must be declared, or conservation appears to fail.
|
|
15
|
+
4. **Zero-group policy: does a group with no contributing rows appear (with zeros) or stay absent?** (A5) Detect: driving table of the rollup — grouping the detail can't produce empty groups; joining a dimension first can.
|
|
16
|
+
5. **Orphan handling per join: drop / keep-with-NULLs / default row — and is an orphan tolerated or forbidden?** (C3, I5) Detect: join type. INNER = drop, LEFT = keep-with-NULLs, COALESCE to a sentinel = default row. Tolerated-vs-forbidden is the owner's call — profiling says whether orphans exist today, not whether they're acceptable. Forbidden becomes an `empty` expectation; tolerated is pinned in the expected rows and recorded in the known-quirks list.
|
|
17
|
+
6. **Version history: effective/end/current columns anywhere? If not, confirm overwrite-everywhere.** (T1) Detect: column names. Absence means history is silently rewritten in rollups — state that consequence when confirming, not just the mechanism.
|
|
18
|
+
7. **Does this transform read another transform's output?** (A5) Detect: another transform's target table in this one's SQL. It becomes a declared input like any other, faked from that transform's own expected output — confirm which rows, and record the coupling in both plans.
|
|
19
|
+
|
|
20
|
+
## Stage 3 — per-column declarations
|
|
21
|
+
|
|
22
|
+
8. **Each measure: additive, semi-additive, or non-additive?** (A1) Detect: sums and counts are additive; balances and levels are semi-additive; ratios, rates, and unit prices are non-additive. Confirm the ambiguous ones (a "score"? a "quantity on hand"?).
|
|
23
|
+
9. **Legal bounds per measure?** (Q1) Detect: profiling min/max suggests, business meaning decides — can `discount` be negative? can `quantity` be zero? Derived bounds are free (a sum of non-negatives is non-negative).
|
|
24
|
+
10. **Each derived measure: the exact recomputation rule?** (A3) Detect: the SELECT expression is the rule — but rounding, business-day adjustments, and NULL handling are conventions to confirm, not read.
|
|
25
|
+
11. **Which columns are stored aggregates, over which detail and filter?** (A4) Detect: correlated subqueries / joined-aggregate CTEs in the SQL.
|
|
26
|
+
12. **Which categorical columns have closed domains — enumerate; is NULL a member?** (C2) Detect: profiling distinct values gives today's set; the owner confirms it's closed rather than merely small so far.
|
|
27
|
+
13. **Which columns are denormalized copies, of which owning attribute?** (C1) Detect: `<entity>_<attr>` naming; any column functionally dependent on a non-grain key. Every hit must be classified: copy (C1), stored aggregate (A4), or smuggled coarser-grain fact — a finding.
|
|
28
|
+
14. **Which many-to-one edges hold within one output table?** (C4) Detect: hierarchy-shaped column pairs (product/category, zip/state). Applies where no owning table is in scope; otherwise C1 covers it.
|
|
29
|
+
15. **Which date orderings are business-guaranteed vs. known-violated and tolerated (with real-data counts)?** (T2) Detect: profiling counts the violations that exist; the owner decides tolerated vs. bug.
|
|
30
|
+
16. **Null policy per column — measures, attributes, FKs separately.** (Q2) Detect: the SQL shows what's produced (COALESCE, CASE); the owner confirms intent — "count of nothing": 0 or NULL? empty date: NULL or sentinel?
|
|
31
|
+
17. **Which columns are volatile across runs?** (T3) Detect: `now()` / `current_date` / run-metadata expressions in the SQL. A volatile column is left out of the `equals` columns; its form can still be asserted with an `empty`.
|
|
32
|
+
18. **Per tolerated oddity: does it stay tolerated, and what is its current count?** (Q3) Detect: can't — this is the conscious-choice question, and the plan's known-quirks list is where it survives.
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
# Check catalog
|
|
2
|
+
|
|
3
|
+
Every check the plan can derive, grouped by theme. Per entry: **when it applies** (the declared property that switches it on — blank means always), **assert** (the expectation shape), and **fixtures** (what the input cast must contain for the check to have teeth).
|
|
4
|
+
|
|
5
|
+
Expectation SQL names the transform's **target table** and its **declared input tables** under their real names; both are rewritten to the run's temp tables, so per-row recomputation joins against inputs are writable. Anything else you name is refused (`transform-test.unremapped-reference`), so no check can read a real table.
|
|
6
|
+
|
|
7
|
+
Ids (G1, A2, …) are for cross-referencing within the plan documents only — never surface them to the user bare.
|
|
8
|
+
|
|
9
|
+
Throughout, `<target>` stands for the transform's target table as written in the transform's own definition, and `<input>` for a declared input table.
|
|
10
|
+
|
|
11
|
+
`IS DISTINCT FROM` is the null-safe inequality; MySQL spells it `NOT (a <=> b)`, and where neither parses, `a <> b OR (a IS NULL) <> (b IS NULL)`.
|
|
12
|
+
|
|
13
|
+
## Grain & keys
|
|
14
|
+
|
|
15
|
+
**G1 — Declared grain.** Every output table states "one row per X"; the declaration anchors every other check.
|
|
16
|
+
|
|
17
|
+
- Applies: always. Elicit or detect (GROUP BY keys; the join's driving table).
|
|
18
|
+
- Assert: nothing directly — G1 is the plan's opening move. A table with no statable grain, or a grain stated inconsistently between docs and SQL, is a finding before any SQL runs.
|
|
19
|
+
- Fixtures: the grain declaration decides the cast's row structure.
|
|
20
|
+
|
|
21
|
+
**G2 — Grain-key uniqueness.** The grain key stays a key; doubles as the fan-out guard for every enriching join.
|
|
22
|
+
|
|
23
|
+
- Applies: always — one-big-table, rollups, and stars all have a grain.
|
|
24
|
+
- Assert (`empty`): `SELECT <grain cols>, COUNT(*) FROM <target> GROUP BY <grain cols> HAVING COUNT(*) > 1`. NULL grain values form their own bucket.
|
|
25
|
+
- Fixtures: a parent with ≥2 children on every join (I4) is what makes this check able to fail.
|
|
26
|
+
|
|
27
|
+
## Additivity & reconciliation
|
|
28
|
+
|
|
29
|
+
**A1 — Measure additivity classification.** Additive / semi-additive (balances) / non-additive (ratios, rates, unit prices) decides which aggregations are valid tests.
|
|
30
|
+
|
|
31
|
+
- Applies: every numeric measure; per-column declaration.
|
|
32
|
+
- Assert: routes the measure — additive → A2; semi-additive → sum across non-time slices only (a test summing a balance over time is a bug in the plan); non-additive → A3 recomputation, never reconciled by summing.
|
|
33
|
+
- Fixtures: none directly; one coverage-matrix axis (measure × valid aggregation set).
|
|
34
|
+
|
|
35
|
+
**A2 — Conservation reconciliation.** Row counts and additive-measure sums tie from input to output; catches dropped rows and join double-counting at once.
|
|
36
|
+
|
|
37
|
+
- Applies: per declared tie (which input, which declared exclusions).
|
|
38
|
+
- Assert (`empty`): independent scalar subqueries compared with `IS DISTINCT FROM`, returning the mismatched pair: `SELECT (SELECT SUM(t.m) FROM <target> t) AS output_sum, (SELECT SUM(s.m) FROM <input> s) AS input_sum WHERE (…) IS DISTINCT FROM (…)`. Never reconcile via a fact-to-fact join — cardinality is uncontrollable and wrong results are silent.
|
|
39
|
+
- Fixtures: amounts chosen so partial survival is visible (distinct values, odd cents).
|
|
40
|
+
|
|
41
|
+
**A3 — Derived-measure recomputation.** Averages, lags, ratios, rounded presentations recompute from their components per row.
|
|
42
|
+
|
|
43
|
+
- Applies: every derived column, with its declared rule (rounding, business-day adjustment, NULL handling).
|
|
44
|
+
- Assert (`empty`): `SELECT <key> FROM <target> t WHERE t.<derived> IS DISTINCT FROM <recomputation from inputs or sibling columns>`.
|
|
45
|
+
- Fixtures: component values whose derivation is non-trivial (a NULL in the AVG, a negative lag).
|
|
46
|
+
|
|
47
|
+
**A4 — Stored aggregates on entity tables.** Lifetime/rollup stats carried on an entity-grain table (`lifetime_orders`, `review_count`, `first_order_date`) equal recomputation from detail — per row _and_ in total.
|
|
48
|
+
|
|
49
|
+
- Applies: columns detected as correlated aggregates over a detail table.
|
|
50
|
+
- Assert (`empty`), two per column: per-row — `WHERE t.<agg> IS DISTINCT FROM (SELECT COUNT(*)/SUM(…)/MIN(…) FROM <detail> d WHERE d.<fk> = t.<key>)`; total — the A2 scalar-pair shape. Totals alone cancel offsetting per-row errors; the per-row form is the one that catches them.
|
|
51
|
+
- Fixtures: an entity with several detail rows and an entity with none (I3/I4).
|
|
52
|
+
|
|
53
|
+
**A5 — Rollup consistency.** A layered rollup always agrees with its base.
|
|
54
|
+
|
|
55
|
+
- Applies: any transform reading another transform's output. The base is a declared input like any other, faked with rows taken from the base transform's own expected output.
|
|
56
|
+
- Assert (`empty`): every rollup measure equals the corresponding aggregation over the base (A2 shape); group-set equality both directions — `SELECT <group> FROM <target> EXCEPT SELECT DISTINCT <group col> FROM <base>` and the reverse, filtered by the declared zero-group policy.
|
|
57
|
+
- Fixtures: a group with no contributing rows pins the zero-group policy.
|
|
58
|
+
|
|
59
|
+
## Fact-table type
|
|
60
|
+
|
|
61
|
+
**F2 — Fact-table type bundle.** Transaction / periodic snapshot / accumulating snapshot each carry a distinct invariant set.
|
|
62
|
+
|
|
63
|
+
- Applies: per fact-shaped output, always classified; **transaction** needs nothing beyond G2 + A2 (sparsity is legitimate).
|
|
64
|
+
- Periodic snapshot, if declared _dense_: `COUNT(*) = |entities| × |periods|` (or the declared subset); per-entity gap detection in the period series; inactive-period representation (zero vs NULL) pinned in the expected rows. If sparse, density checks off — the one yes/no flips the whole set.
|
|
65
|
+
- Accumulating snapshot: milestone dates monotone in pipeline order where set (`WHERE <later> < <earlier>` per adjacent pair); unset-milestone default (NULL vs sentinel) pinned in the expected rows; completion flags ∈ {0,1} and consistent with their date's set-ness; lags via A3.
|
|
66
|
+
- Fixtures (accumulating): occurrences at every completion stage — none, some, all milestones.
|
|
67
|
+
|
|
68
|
+
## Conformance & domains
|
|
69
|
+
|
|
70
|
+
**C1 — Denormalized-copy agreement.** Every copied attribute agrees with the owning table's value for that key.
|
|
71
|
+
|
|
72
|
+
- Applies: columns declared as copies (detect: `<entity>_<attr>` naming; any column functionally dependent on a non-grain key). Each such column must be a declared copy (this check), a stored aggregate (A4), or it's a smuggled coarser-grain fact — a finding: it double-counts under summation.
|
|
73
|
+
- Assert (`empty`): `SELECT t.<key>, t.<copy>, d.<attr> FROM <target> t JOIN <owning input> d ON t.<key> = d.<key> WHERE t.<copy> IS DISTINCT FROM d.<attr>`.
|
|
74
|
+
- Scope: in a test, the copies are produced by the very join under test, so this join-form is near- tautological — the C4 functional-dependency form plus expected-row cell pinning carries the test. The join-form against an independently materialized owning table is the _drift_ check, which belongs to whatever screens the deployed tables.
|
|
75
|
+
- Fixtures: copies with distinct values per entity so a crossed join is visible.
|
|
76
|
+
|
|
77
|
+
**C2 — Closed-domain screen.** A categorical column's values stay inside the declared enumeration.
|
|
78
|
+
|
|
79
|
+
- Applies: per column declared closed (detect from profiling; confirm the set and whether NULL is a member).
|
|
80
|
+
- Assert (`empty`): `SELECT <key>, <col> FROM <target> WHERE <col> IS NOT NULL AND <col> NOT IN (<domain>)`.
|
|
81
|
+
- Fixtures: every domain value represented where practical; one out-of-domain input row if the source can produce one (I5).
|
|
82
|
+
|
|
83
|
+
**C3 — Referential integrity / orphan policy.** Every FK resolves, or the declared orphan handling is pinned.
|
|
84
|
+
|
|
85
|
+
- Applies: per join, conditioned on the declared response — drop / keep-with-NULLs / default row; tolerated or forbidden.
|
|
86
|
+
- Assert, forbidden (`empty`): `SELECT t.<fk> FROM <target> t LEFT JOIN <dim input> d ON t.<fk> = d.<key> WHERE t.<fk> IS NOT NULL AND d.<key> IS NULL`. Tolerated: not an expectation — pin the orphan's pass-through as a row in the `equals` (NULL in the copied attributes), and record the tolerance with its warehouse count in the plan. Default-row convention adds: distinct unknown keys must not collapse into one output row.
|
|
87
|
+
- Fixtures: one orphan row (I5). Without it the join direction is untested — an inner join silently dropping unmatched rows is the classic bug this catches.
|
|
88
|
+
|
|
89
|
+
**C4 — Many-to-one consistency.** Each declared many-to-one edge holds within the output (product → one category; zip → one state).
|
|
90
|
+
|
|
91
|
+
- Applies: per declared edge; where an owning table is in scope, C1 subsumes it — this is the one-big-table variant with nothing to join against.
|
|
92
|
+
- Assert (`empty`): `SELECT t.<many>, COUNT(DISTINCT t.<one>) FROM <target> t GROUP BY t.<many> HAVING COUNT(DISTINCT t.<one>) > 1`.
|
|
93
|
+
- Fixtures: a violating input row if the source can produce one (I5), pinning the transform's behavior on dirty input.
|
|
94
|
+
|
|
95
|
+
## Temporal & version history
|
|
96
|
+
|
|
97
|
+
**T1 — Change handling per attribute.** How the model treats a changed source attribute decides the temporal fixtures.
|
|
98
|
+
|
|
99
|
+
- Applies: detect effective/end/current housekeeping columns.
|
|
100
|
+
- Present → version-history battery (`empty` each): per durable key exactly one current row; `effective < end` per row; intervals contiguous and non-overlapping; current row's end = the declared far-future default; fact rows join the version whose interval contains the fact date.
|
|
101
|
+
- Absent → confirm overwrite-everywhere as a stated assumption (history is silently rewritten in rollups), and derive the propagation probe: change an attribute in an input, run, assert the output regrouped.
|
|
102
|
+
- Fixtures: a before/after change pair; for version history, an entity with ≥2 versions and a fact row dated inside each interval.
|
|
103
|
+
|
|
104
|
+
**T2 — Date-pair ordering.** Business-guaranteed orderings asserted; known violations recorded.
|
|
105
|
+
|
|
106
|
+
- Applies: per declared date pair (ordered ≤ shipped ≤ delivered; signup ≤ first order), each classified guaranteed vs. tolerated-violated.
|
|
107
|
+
- Assert: guaranteed (`empty`) — `SELECT <key>, <earlier>, <later> FROM <target> WHERE <later> < <earlier>`. Tolerated — pin the violating row's downstream arithmetic (a negative lag inside an average) in the expected rows, and record the real-data count in the plan.
|
|
108
|
+
- Fixtures: one violating row for every tolerated ordering.
|
|
109
|
+
|
|
110
|
+
**T3 — Volatile columns.** Values that change across runs can't be pinned.
|
|
111
|
+
|
|
112
|
+
- Applies: columns derived from `now()`/`current_date` (age), run metadata (load timestamps, batch ids).
|
|
113
|
+
- Assert: leave the column out of the `equals` `columns` list — an undeclared column never enters the comparison. Separately assert its form where warranted (`empty`): `WHERE age NOT BETWEEN 0 AND 120`. The stable source column (`birth_date`) stays exact in the expected rows.
|
|
114
|
+
- Fixtures: none special; the split is the point — omit the volatile, pin the stable.
|
|
115
|
+
|
|
116
|
+
## Screens & severity
|
|
117
|
+
|
|
118
|
+
**Q1 — Range / sign screens.** Each measure's declared bounds hold.
|
|
119
|
+
|
|
120
|
+
- Applies: per bounded measure; bounds from business meaning plus profiling (derived bounds are free: a sum of non-negatives is non-negative).
|
|
121
|
+
- Assert (`empty`): `SELECT <key>, <col> FROM <target> WHERE <col> < <lo> OR <col> > <hi>` (one-sided where only one bound exists).
|
|
122
|
+
- Fixtures: boundary values where the bound is business-set.
|
|
123
|
+
|
|
124
|
+
**Q2 — Null policy, three ways.** Measures, descriptive attributes, and FKs carry independent null policies; never presume one from another.
|
|
125
|
+
|
|
126
|
+
- Applies: per column, asked separately — "count of nothing": 0 or NULL? empty date: NULL or sentinel? FK: see C3.
|
|
127
|
+
- Assert: declared non-null columns get `WHERE <col> IS NULL` (`empty`). Otherwise the policy is enforced by the expected-row cell of a zero-case fixture row — NULL vs 0 vs empty is invisible until a fixture forces the choice into a cell.
|
|
128
|
+
- Fixtures: the zero-case row (I3) is the enforcement mechanism.
|
|
129
|
+
|
|
130
|
+
**Q3 — Naming & the tolerated oddity.** Every expectation declares its meaning.
|
|
131
|
+
|
|
132
|
+
- Applies: always, every expectation.
|
|
133
|
+
- Convention: the expectation's `name` states the invariant in plain words, because a failure leads with it. Each `empty` SQL opens with 1–3 comment lines naming the invariant and the failure modes it catches. Budget cuts drop business-rule checks first, then cross-table structure checks, never single-column screens.
|
|
134
|
+
- A forbidden condition is an `empty` expectation. A tolerated one is pinned in the expected rows and recorded in the plan's known-quirks list with its warehouse count. Never author an expectation designed to fire.
|
|
135
|
+
|
|
136
|
+
## Input modeling (fixture-design rules)
|
|
137
|
+
|
|
138
|
+
**I1 — Profiling-derived partitions.** Fixture edges and tolerated non-ties cite profiled reality with counts; the plan's known-quirks section carries each tolerated oddity with its reason and count.
|
|
139
|
+
|
|
140
|
+
**I2 — Shared fixture cast.** One small human-named cast per transform, every row a named edge, documented as a story table (row → attributes → purpose) in the plan. Where one transform's output is another's input, derive the faked rows from the first's expected output so the two tests tell one story.
|
|
141
|
+
|
|
142
|
+
**I3 — Zero-case partitions.** For every outer join and aggregation relation: one entity with zero matches. Its expected row pins the absence representation (Q2) and the join direction (C3) — the all-clean cast is the single most common cause of vacuous tests. When the schema distinguishes states the profiled data never exhibits (a literal zero in a source that only has NULLs and positives), fixture the missing state — nothing else forces it onto an expected cell.
|
|
143
|
+
|
|
144
|
+
**I4 — Multiplicity partitions.** Every aggregation gets a >1-member group and an exactly-1 group (the 0 case is I3); every join gets a parent with ≥2 children. Expected values then differ from any single row's, so copy-through bugs can't pass.
|
|
145
|
+
|
|
146
|
+
**I5 — Dirty-input pinning.** Per screenable defect the source can carry (orphan FK, out-of-domain value, duplicate natural key, hierarchy violation, ordering violation): one fixture row exhibiting it, an expected row pinning the transform's response (drop / pass-through / default), and — where the defect is forbidden — the matching `empty` expectation. Which duplicate survives a dedupe is invisible until a conflicting-duplicate fixture pins it.
|
|
147
|
+
|
|
148
|
+
**I6 — Mutation probes.** Run at plan-validation time, not on every run: corrupt one expected cell → `cell-mismatches` must name that exact column; perturb one input cell → exactly the declared output cells move. Both guard against vacuous tests: an `empty` expectation that only selects output rows passes against an empty output.
|
|
149
|
+
|
|
150
|
+
## Plan-level artifacts
|
|
151
|
+
|
|
152
|
+
**P1 — Coverage matrix.** Output columns (with the table's grain) × check classes; cells name the covering expectation or expected-row cell, or state `gap: <reason>`; shared-attribute columns scanned across transforms for agreement obligations (C1).
|
|
153
|
+
|
|
154
|
+
**P2 — Hand-derived expected rows.** From the fixture story and business meaning, arithmetic recorded in the plan; never captured from output; every fixture row's fate appears in some expected cell.
|
|
155
|
+
|
|
156
|
+
**P3 — Live-bug handling.** A check failing against a deployed transform is a real finding: never soften the test to green; quantify the damage at fixture and warehouse scale. Then fix now, or record the red in the plan with the minimal fix body, per the session's terms. A stored test has no red-by-design state, so a deferred fix must be visible in the plan or the test reads as broken.
|
package/dist/card-Buc-X4Mh.mjs
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/card/index.ts
|
|
3
|
-
var card_default = defineCommandGroup({
|
|
4
|
-
name: "card",
|
|
5
|
-
description: "Manage Metabase cards (questions, models, metrics)",
|
|
6
|
-
skills: [{
|
|
7
|
-
skill: "mbql",
|
|
8
|
-
purpose: "author the dataset_query"
|
|
9
|
-
}, {
|
|
10
|
-
skill: "visualization",
|
|
11
|
-
purpose: "choose display and visualization_settings"
|
|
12
|
-
}],
|
|
13
|
-
subCommands: {
|
|
14
|
-
list: () => import("./list-LMlJ4uAY.mjs").then((mod) => mod.default),
|
|
15
|
-
get: () => import("./get-CobILQ_7.mjs").then((mod) => mod.default),
|
|
16
|
-
query: () => import("./query-B1Cp9EO6.mjs").then((mod) => mod.default),
|
|
17
|
-
alerts: () => import("./alerts-s3al16NZ.mjs").then((mod) => mod.default),
|
|
18
|
-
create: () => import("./create-DraZzrLO.mjs").then((mod) => mod.default),
|
|
19
|
-
update: () => import("./update-kM3TDlEp.mjs").then((mod) => mod.default),
|
|
20
|
-
verify: () => import("./verify-BSq7x66g.mjs").then((mod) => mod.default),
|
|
21
|
-
archive: () => import("./archive-5EY9UJU_.mjs").then((mod) => mod.default)
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
//#endregion
|
|
25
|
-
export { card_default as default };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/collection/index.ts
|
|
3
|
-
var collection_default = defineCommandGroup({
|
|
4
|
-
name: "collection",
|
|
5
|
-
description: "Manage Metabase collections",
|
|
6
|
-
skills: [{
|
|
7
|
-
skill: "core",
|
|
8
|
-
purpose: "collection ref forms and the transforms namespace"
|
|
9
|
-
}],
|
|
10
|
-
subCommands: {
|
|
11
|
-
list: () => import("./list-BoVeF8QA.mjs").then((mod) => mod.default),
|
|
12
|
-
get: () => import("./get-IjoHBExI.mjs").then((mod) => mod.default),
|
|
13
|
-
items: () => import("./items-1ME_eg27.mjs").then((mod) => mod.default),
|
|
14
|
-
tree: () => import("./tree-COFmA20J.mjs").then((mod) => mod.default),
|
|
15
|
-
create: () => import("./create-B1QDNU1x.mjs").then((mod) => mod.default),
|
|
16
|
-
update: () => import("./update-B8jQTspb.mjs").then((mod) => mod.default),
|
|
17
|
-
archive: () => import("./archive-DzSdJVqE.mjs").then((mod) => mod.default)
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
//#endregion
|
|
21
|
-
export { collection_default as default };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/dashboard/index.ts
|
|
3
|
-
var dashboard_default = defineCommandGroup({
|
|
4
|
-
name: "dashboard",
|
|
5
|
-
description: "Manage Metabase dashboards",
|
|
6
|
-
skills: [
|
|
7
|
-
{
|
|
8
|
-
skill: "dashboard",
|
|
9
|
-
purpose: "wiring filters, linked filters, cross-filtering, click behavior, tabs"
|
|
10
|
-
},
|
|
11
|
-
{
|
|
12
|
-
skill: "visualization",
|
|
13
|
-
purpose: "dashcard display and visualization_settings"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
skill: "core",
|
|
17
|
-
purpose: "the 24-column dashcard grid layout"
|
|
18
|
-
}
|
|
19
|
-
],
|
|
20
|
-
subCommands: {
|
|
21
|
-
list: () => import("./list-dCi6OaIE.mjs").then((mod) => mod.default),
|
|
22
|
-
get: () => import("./get-DPZUIPjv.mjs").then((mod) => mod.default),
|
|
23
|
-
cards: () => import("./cards-Bq73s48q.mjs").then((mod) => mod.default),
|
|
24
|
-
"parameter-values": () => import("./parameter-values-DCrU02Az.mjs").then((mod) => mod.default),
|
|
25
|
-
subscriptions: () => import("./subscriptions--0YvW40u.mjs").then((mod) => mod.default),
|
|
26
|
-
create: () => import("./create-d0trLAzB.mjs").then((mod) => mod.default),
|
|
27
|
-
update: () => import("./update-C9HK3i8s.mjs").then((mod) => mod.default),
|
|
28
|
-
"update-dashcard": () => import("./update-dashcard-C8QN2Qcu.mjs").then((mod) => mod.default),
|
|
29
|
-
copy: () => import("./copy-DTiYs_a2.mjs").then((mod) => mod.default),
|
|
30
|
-
verify: () => import("./verify-Dp8tUbP3.mjs").then((mod) => mod.default),
|
|
31
|
-
archive: () => import("./archive-DvbaSglr.mjs").then((mod) => mod.default)
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
//#endregion
|
|
35
|
-
export { dashboard_default as default };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/dependency/index.ts
|
|
3
|
-
var dependency_default = defineCommandGroup({
|
|
4
|
-
name: "dependency",
|
|
5
|
-
description: "Trace what Metabase content depends on and what depends on it",
|
|
6
|
-
subCommands: {
|
|
7
|
-
graph: () => import("./graph-CHlfxVy1.mjs").then((m) => m.default),
|
|
8
|
-
dependents: () => import("./dependents-B2GcS5kB.mjs").then((m) => m.default),
|
|
9
|
-
broken: () => import("./broken-DLSk1T88.mjs").then((m) => m.default),
|
|
10
|
-
unreferenced: () => import("./unreferenced-DKc0zZDl.mjs").then((m) => m.default),
|
|
11
|
-
breaking: () => import("./breaking-ByrjsFjq.mjs").then((m) => m.default)
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
//#endregion
|
|
15
|
-
export { dependency_default as default };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/document/index.ts
|
|
3
|
-
var document_default = defineCommandGroup({
|
|
4
|
-
name: "document",
|
|
5
|
-
description: "Manage Metabase documents",
|
|
6
|
-
skills: [{
|
|
7
|
-
skill: "document",
|
|
8
|
-
purpose: "author the ProseMirror document body"
|
|
9
|
-
}],
|
|
10
|
-
subCommands: {
|
|
11
|
-
list: () => import("./list-OXiXtdiM.mjs").then((mod) => mod.default),
|
|
12
|
-
get: () => import("./get-CcwRn8Y2.mjs").then((mod) => mod.default),
|
|
13
|
-
create: () => import("./create-JaFhqysM.mjs").then((mod) => mod.default),
|
|
14
|
-
update: () => import("./update-CPmPnEvm.mjs").then((mod) => mod.default),
|
|
15
|
-
copy: () => import("./copy-DOKlVa7H.mjs").then((mod) => mod.default),
|
|
16
|
-
archive: () => import("./archive-CnDriekB.mjs").then((mod) => mod.default)
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
//#endregion
|
|
20
|
-
export { document_default as default };
|
package/dist/field-qF1KRJYB.mjs
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/field/index.ts
|
|
3
|
-
var field_default = defineCommandGroup({
|
|
4
|
-
name: "field",
|
|
5
|
-
description: "Manage Metabase fields",
|
|
6
|
-
skills: [{
|
|
7
|
-
skill: "metadata",
|
|
8
|
-
purpose: "semantic types, FK targets, visibility, dropdown behavior"
|
|
9
|
-
}],
|
|
10
|
-
subCommands: {
|
|
11
|
-
get: () => import("./get-Cwj1Q-at.mjs").then((m) => m.default),
|
|
12
|
-
values: () => import("./values-B6eFE4K5.mjs").then((m) => m.default),
|
|
13
|
-
summary: () => import("./summary-Dslv78-r.mjs").then((m) => m.default),
|
|
14
|
-
update: () => import("./update-BBLbEPEP.mjs").then((m) => m.default),
|
|
15
|
-
search: () => import("./search-BsAwK7Rk.mjs").then((m) => m.default),
|
|
16
|
-
remapping: () => import("./remapping-RsoPWE7c.mjs").then((m) => m.default),
|
|
17
|
-
"set-sensitivity": () => import("./set-sensitivity-D0613dHA.mjs").then((m) => m.default)
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
//#endregion
|
|
21
|
-
export { field_default as default };
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/git-sync/index.ts
|
|
3
|
-
var git_sync_default = defineCommandGroup({
|
|
4
|
-
name: "git-sync",
|
|
5
|
-
description: "Sync Metabase content with a git remote",
|
|
6
|
-
skills: [{
|
|
7
|
-
skill: "git-sync",
|
|
8
|
-
purpose: "import/export round-trip and dirty checks"
|
|
9
|
-
}],
|
|
10
|
-
subCommands: {
|
|
11
|
-
status: () => import("./status-DxNcrfnI.mjs").then((mod) => mod.default),
|
|
12
|
-
"is-dirty": () => import("./is-dirty-DpLyHebS.mjs").then((mod) => mod.default),
|
|
13
|
-
"has-remote-changes": () => import("./has-remote-changes-DCMpqGgE.mjs").then((mod) => mod.default),
|
|
14
|
-
dirty: () => import("./dirty-Cz2rUd6S.mjs").then((mod) => mod.default),
|
|
15
|
-
"current-task": () => import("./current-task-CbXIH_RA.mjs").then((mod) => mod.default),
|
|
16
|
-
"cancel-task": () => import("./cancel-task-nmBBd1Ky.mjs").then((mod) => mod.default),
|
|
17
|
-
wait: () => import("./wait-D6Tw4ZxO.mjs").then((mod) => mod.default),
|
|
18
|
-
import: () => import("./import-C7MZhKo6.mjs").then((mod) => mod.default),
|
|
19
|
-
export: () => import("./export-U8MdaatW.mjs").then((mod) => mod.default),
|
|
20
|
-
"export-preflight": () => import("./export-preflight-A28L45au.mjs").then((mod) => mod.default),
|
|
21
|
-
stash: () => import("./stash-j9JPv3ns.mjs").then((mod) => mod.default),
|
|
22
|
-
branches: () => import("./branches-BC-vlk6i.mjs").then((mod) => mod.default),
|
|
23
|
-
"create-branch": () => import("./create-branch-B5jB4tKk.mjs").then((mod) => mod.default),
|
|
24
|
-
"add-collection": () => import("./add-collection-COtKcy6Y.mjs").then((mod) => mod.default),
|
|
25
|
-
"remove-collection": () => import("./remove-collection-BJo3Wd9K.mjs").then((mod) => mod.default)
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
//#endregion
|
|
29
|
-
export { git_sync_default as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-B3X3LTcU.mjs";
|
|
2
|
-
//#region src/commands/glossary/index.ts
|
|
3
|
-
var glossary_default = defineCommandGroup({
|
|
4
|
-
name: "glossary",
|
|
5
|
-
description: "Manage the Metabase glossary of business terms",
|
|
6
|
-
subCommands: {
|
|
7
|
-
list: () => import("./list-BXcDPU5d.mjs").then((mod) => mod.default),
|
|
8
|
-
create: () => import("./create-BpwZJZxb.mjs").then((mod) => mod.default),
|
|
9
|
-
update: () => import("./update-Bgy2amR0.mjs").then((mod) => mod.default),
|
|
10
|
-
delete: () => import("./delete-D0xFMRRq.mjs").then((mod) => mod.default)
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
//#endregion
|
|
14
|
-
export { glossary_default as default };
|
|
@@ -1,19 +0,0 @@
|
|
|
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 };
|
package/dist/table-qjgz2eek.mjs
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
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 };
|