@metabase/cli 0.3.1 → 0.3.2-alpha.fix-transform-test-ee-path.041c793
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-CYDUm_XO.mjs → add-collection-73X1DmCM.mjs} +6 -9
- package/dist/{alert-ClyhtxIz.mjs → alert-BB38lWSL.mjs} +7 -7
- package/dist/{alerts-Dt3D1gcz.mjs → alerts-DxyzqLSU.mjs} +7 -7
- package/dist/{append-Bl_Ensmr.mjs → append-CHme1Enm.mjs} +5 -5
- package/dist/{archive-DSMqHRr1.mjs → archive-BGiDxu8O.mjs} +4 -4
- package/dist/{archive-D3a3Wgz0.mjs → archive-BMyvyf62.mjs} +4 -4
- package/dist/{archive-BdHXQg4I.mjs → archive-C4Y2B58q.mjs} +4 -4
- package/dist/{archive-CWceyy8x.mjs → archive-CP5Hlqjw.mjs} +5 -5
- package/dist/{archive-BOyKhNOz.mjs → archive-Cq3fnc0v2.mjs} +6 -6
- package/dist/{archive-DVGDg8mP.mjs → archive-CqKqNdUh.mjs} +6 -6
- package/dist/{archive-DDru3vdy.mjs → archive-Czo5T0Lp.mjs} +4 -4
- package/dist/{archive-nKD3mOB8.mjs → archive-DBcxZwLd.mjs} +6 -6
- package/dist/{archive-CNblz55j.mjs → archive-DKFPJ9j3.mjs} +6 -6
- package/dist/{archive-BJZ7Dace.mjs → archive-DPL1qOuL.mjs} +6 -6
- package/dist/{archive-DiGxCojL.mjs → archive-eS-XA74p.mjs} +4 -4
- package/dist/{auth-aCksg8q2.mjs → auth-6YyB0HNB.mjs} +5 -5
- package/dist/{body-DxRSAMNC.mjs → body-OjAWKVaU.mjs} +3 -3
- package/dist/{branches-_0VWR2Zm.mjs → branches-D5YLVFDK.mjs} +4 -7
- package/dist/{cancel-ctpVE8uC.mjs → cancel-DeRIq1YJ.mjs} +4 -4
- package/dist/{cancel-task-FtxBka-M.mjs → cancel-task-CqExODVm.mjs} +5 -8
- package/dist/card-BMSqofd7.mjs +24 -0
- package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
- package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
- package/dist/{cards-DHOWAvfv.mjs → cards-B813G9I5.mjs} +7 -7
- package/dist/cli.mjs +572 -69
- package/dist/client-cJ7aw0Gt.mjs +4092 -0
- package/dist/collection-BfNg7tEg.mjs +20 -0
- package/dist/{collection-CfulNRBG.mjs → collection-BxdPxD38.mjs} +1 -1
- package/dist/{collection-CGoVLvcD.mjs → collection-DYM0p3Xl.mjs} +1 -1
- package/dist/{collection-namespace-CEoQ7G08.mjs → collection-namespace-CVzDgJV0.mjs} +2 -2
- package/dist/{content-translation-DNKerjS3.mjs → content-translation-QKWt9l76.mjs} +3 -3
- package/dist/{create-e650zxzX.mjs → create-4UnoQvsy.mjs} +5 -5
- package/dist/{create-DaYRnK5P.mjs → create-BJad6MR82.mjs} +8 -8
- package/dist/{create-CcLchJAN.mjs → create-BLiB2xqo.mjs} +7 -7
- package/dist/{create-C9vy4ZG6.mjs → create-BWp6L_dW.mjs} +5 -5
- package/dist/{create-C78g8Crb.mjs → create-Bef5eBCA.mjs} +5 -5
- package/dist/{create-F4Lf09xq.mjs → create-CMV3qlzJ.mjs} +4 -4
- package/dist/{create-DmvoibX8.mjs → create-CWGsiFvU.mjs} +4 -4
- package/dist/{create-C3IaXXty.mjs → create-CoFg1p6m.mjs} +4 -4
- package/dist/{create-CEydRMWS.mjs → create-CvIeb1NU.mjs} +7 -7
- package/dist/{create-vlrlY-2E.mjs → create-CvpeAcFc.mjs} +4 -4
- package/dist/{create-wJR4CxHA.mjs → create-D50TxVTk.mjs} +5 -8
- package/dist/{create-CLG2-bso.mjs → create-DEBgYRlM.mjs} +6 -6
- package/dist/{create-7ddYK4TA.mjs → create-DJm0YuLW.mjs} +6 -6
- package/dist/{create-BdPVWYSi.mjs → create-DmKwDQCY2.mjs} +6 -6
- package/dist/{create-branch-B8C7jl-J.mjs → create-branch-BN5iH-GM.mjs} +5 -9
- package/dist/{create-DIVhBIyE.mjs → create-bvpl6Fn5.mjs} +11 -7
- package/dist/create-uanpKsPo.mjs +34 -0
- package/dist/{csv-BLPJtlSC.mjs → csv-BhuX9fwh.mjs} +5 -5
- package/dist/{current-task-C-ldJbWE.mjs → current-task-BMt2NeqV.mjs} +5 -8
- package/dist/{dashboard-CtO_3EfC.mjs → dashboard-Ct_ajSYI.mjs} +10 -10
- package/dist/{dashboard-CKUR8ZpQ.mjs → dashboard-D0hwTC-f.mjs} +11 -2
- package/dist/{dashboard-BlbNszi8.mjs → dashboard-DgK81azj.mjs} +1 -1
- package/dist/{database-B19qlLKZ.mjs → database-C3E9PZSx.mjs} +1 -1
- package/dist/{database-C8G6ZKG0.mjs → database-JtHTqSpq.mjs} +1 -1
- package/dist/{db-xXselnBq.mjs → db-B_LW2VE-.mjs} +7 -7
- package/dist/{delete-ZJJyqsRh.mjs → delete-BOcPK_H9.mjs} +5 -5
- package/dist/{delete-BZZHw6pm.mjs → delete-CowGO4rh.mjs} +5 -5
- package/dist/{delete-D6WxgWRp.mjs → delete-D0f7VatX.mjs} +5 -5
- package/dist/{delete-BwSPQy7m.mjs → delete-D2bUV6uo.mjs} +5 -5
- package/dist/delete-DZ_ICQug.mjs +44 -0
- package/dist/{delete-BZwAOQxG.mjs → delete-Ur7b11no.mjs} +5 -5
- package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
- package/dist/{delete-table-CJktZE3w.mjs → delete-table-Dd8X573t.mjs} +5 -5
- package/dist/{dependencies-BdqIqEIy.mjs → dependencies-XDVLBwko.mjs} +7 -7
- package/dist/{dirty-BW2As2wS.mjs → dirty-k-JmGLsS.mjs} +6 -9
- package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
- package/dist/document-BW9iow8R.mjs +19 -0
- package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
- package/dist/{download-mfFJ9oRS.mjs → download-CQjPIYDO.mjs} +3 -6
- package/dist/{eid-DZ-4t2xe.mjs → eid-CNTKDgwj.mjs} +4 -5
- package/dist/{events-D6yFmXP1.mjs → events-BshWlkDp.mjs} +5 -5
- package/dist/{export-DYZjz1WP.mjs → export-Dq6ecU8h.mjs} +7 -10
- package/dist/{field-BJ54wmIX.mjs → field-Bo2ISMO4.mjs} +5 -5
- package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
- package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
- package/dist/{fields-FUWCgPOa.mjs → fields-CVctqn5G.mjs} +7 -7
- package/dist/{get-BraVQ1FJ.mjs → get-7xTeNGAo.mjs} +6 -6
- package/dist/{get-LAew34ID.mjs → get-8b5Sh50q.mjs} +6 -6
- package/dist/{get-CWnriw33.mjs → get-B4RgW-VT.mjs} +6 -6
- package/dist/{get-C_5AbfpO.mjs → get-BD81MHl_.mjs} +4 -4
- package/dist/{get-ByZJf9nO.mjs → get-Bl3OmlBP.mjs} +5 -5
- package/dist/get-BtTetWzm.mjs +32 -0
- package/dist/{get-_ggLr1tY.mjs → get-BvSA_mmf.mjs} +6 -6
- package/dist/{get-DhkltKIV.mjs → get-BvgEF--n.mjs} +4 -4
- package/dist/{get-DYaQpixt.mjs → get-C5sWciaE.mjs} +6 -6
- package/dist/get-CO6X4nZH.mjs +93 -0
- package/dist/{get-DVyesErX.mjs → get-CTPvdcud.mjs} +6 -6
- package/dist/{get-DMECsioX.mjs → get-CrpwxWOV.mjs} +4 -4
- package/dist/{get-Ba2HRdrx.mjs → get-D4oGhZWX.mjs} +6 -6
- package/dist/{get-CsN7NBI0.mjs → get-Df6cGHCM.mjs} +4 -4
- package/dist/{get-BWl3vzsf.mjs → get-DfMVlz64.mjs} +6 -6
- package/dist/{get-C5q49Dgx.mjs → get-Dr-U321T2.mjs} +6 -6
- package/dist/{get-DAOSGt5Z.mjs → get-Dw7jAno3.mjs} +6 -6
- package/dist/{get-DRJtsS1_.mjs → get-PWhOdz1z.mjs} +4 -4
- package/dist/{get-CQ0-fFWP.mjs → get-RslzBaXx.mjs} +5 -8
- package/dist/{get-run-oH4dRCBx.mjs → get-run-CZdDqfUj.mjs} +6 -6
- package/dist/{get-DCutQeiV.mjs → get-wjIgUlNl.mjs} +4 -4
- package/dist/git-sync-BmoRk0UV.mjs +28 -0
- package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
- package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
- package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
- package/dist/{has-remote-changes-CnmyIw_7.mjs → has-remote-changes-i-3MVxat.mjs} +5 -8
- package/dist/{import-B7Si-bSI.mjs → import-DWEKejya.mjs} +7 -10
- package/dist/{input-DH9i67x_.mjs → input-DEvkIjGr.mjs} +1 -1
- package/dist/{is-dirty-BOH_VEA8.mjs → is-dirty-C5ipqd4v.mjs} +3 -6
- package/dist/{items-DouHkWev.mjs → items-hKJ2ZDwy.mjs} +7 -7
- package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
- package/dist/{library-1J_4Dicw.mjs → library-B7_04UVK.mjs} +5 -5
- package/dist/library-BPIzb3K_.mjs +81 -0
- package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
- package/dist/{list-BK_6VNm_.mjs → list-1vdClKSE.mjs} +4 -4
- package/dist/{list-DWLGpMvr.mjs → list-6myofqMv.mjs} +7 -7
- package/dist/{list-DhViDVx_.mjs → list-B-9QOX9Y.mjs} +6 -6
- package/dist/{list-aKUk-a1Y.mjs → list-Bs7_Rysg.mjs} +7 -7
- package/dist/list-CHuhMXet.mjs +35 -0
- package/dist/{list-DptEWB5Y.mjs → list-CLZU_EOf.mjs} +4 -4
- package/dist/{list-B2Ddf4W0.mjs → list-Cen-7uTo.mjs} +5 -5
- package/dist/{list-D2IYZ6lk.mjs → list-CgH-H-O6.mjs} +6 -6
- package/dist/{list-BeMYIeiI.mjs → list-CjNXskB4.mjs} +7 -7
- package/dist/{list-C1bAtgO1.mjs → list-CmFh1GQ_.mjs} +4 -4
- package/dist/{list-Cy0w4Fap.mjs → list-D6tTvYUP.mjs} +4 -4
- package/dist/{list-C7UvO3Uw.mjs → list-DI820W6w.mjs} +6 -6
- package/dist/{list-D25ofn4v.mjs → list-DKZnQ4Ts.mjs} +7 -7
- package/dist/{list-C0zJ2ehz.mjs → list-DKcC4cm0.mjs} +6 -6
- package/dist/{list-qs9wAtC3.mjs → list-DfRqNH1N.mjs} +4 -4
- package/dist/list-DjwnsyXM.mjs +60 -0
- package/dist/{list-sDpy4nDU.mjs → list-VNC-_E59.mjs} +6 -6
- package/dist/{list-DJK9_BEF.mjs → list-eKDT1XXk.mjs} +14 -13
- package/dist/{list-BXlTYsYA.mjs → list-oX2SMzxZ.mjs} +4 -4
- package/dist/{login-BmyCAfRV.mjs → login-DumZaWXK.mjs} +18 -15
- package/dist/{logout-DUR32q0V.mjs → logout-BsXPRc-3.mjs} +3 -4
- package/dist/{measure-DdVp-8jw.mjs → measure-BFxkbAoa.mjs} +6 -6
- package/dist/{notification-Fcq1fIPw.mjs → notification-DVrLkjFT.mjs} +1 -1
- package/dist/{parameter-DUKR8NXo.mjs → parameter-Celg0wZa.mjs} +1 -1
- package/dist/{parameter-values-CBR-cBev.mjs → parameter-values-CoF9Hx1p.mjs} +5 -6
- package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
- package/dist/{parse-id-B3YwNojT.mjs → parse-id-DmFJgpY6.mjs} +1 -1
- package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
- package/dist/{path-D8BQmEhL.mjs → path-BQ4lRDyN.mjs} +5 -5
- package/dist/{poll-75SvT7Zv.mjs → poll-CZeXepUQ.mjs} +2 -2
- package/dist/{preflight-CoF1Em99.mjs → preflight-BTQe4swo.mjs} +3 -4
- package/dist/{process-DBOOrmET.mjs → process-CTrfxxaC.mjs} +1 -1
- package/dist/{publish-Cb7XrQ3X.mjs → publish-CFB2Cc5A.mjs} +9 -9
- package/dist/{pulse-BmsDenXm.mjs → pulse-Dz0ocv0l.mjs} +1 -1
- package/dist/{pulse-DhG6I9mI.mjs → pulse-x0gFxWfG.mjs} +2 -2
- package/dist/{query-D35B588l.mjs → query-BJbUnAHf.mjs} +10 -12
- package/dist/query-CV2KCS5O.mjs +114 -0
- package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
- package/dist/{remove-collection-DJem6V26.mjs → remove-collection-D3yvKH3e.mjs} +6 -9
- package/dist/{render-CI93iP0I.mjs → render-BJRCs7rA.mjs} +13 -2
- package/dist/{replace-CtsWICrD.mjs → replace-uj4WTqx_.mjs} +5 -5
- package/dist/{rescan-values-CaXUL6z5.mjs → rescan-values-CzxQU318.mjs} +6 -6
- package/dist/{run-CM-Amtbf.mjs → run-B2f_omHu.mjs} +26 -14
- package/dist/run-DlO1J1Sx.mjs +50 -0
- package/dist/{run-BeLm17F4.mjs → run-yX2dtmE5.mjs} +6 -6
- package/dist/{runs-DFG63zgr.mjs → runs-DzUO45wU.mjs} +7 -7
- package/dist/{runtime-z8rra6-I.mjs → runtime-arKqJqIT.mjs} +994 -252
- package/dist/{schema-tables-COAHkIcy.mjs → schema-tables-DZCNzuQ6.mjs} +7 -7
- package/dist/{schemas-BX5BATiV.mjs → schemas-2ejqaVsG.mjs} +5 -5
- package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
- package/dist/{search-CPvvmhdt.mjs → search-DcihauDZ.mjs} +6 -6
- package/dist/{segment-C62L6BI3.mjs → segment-BQT2poPG.mjs} +6 -6
- package/dist/{selectors-P4QnrORk.mjs → selectors-BzestDld.mjs} +3 -3
- package/dist/{send-PZh5IKF8.mjs → send-DMxoLFo7.mjs} +4 -4
- package/dist/{set-DbCtUoFd.mjs → set-CDmiD0vv.mjs} +5 -5
- package/dist/{set-active-DL4QzWDO.mjs → set-active-RrvWR9NY.mjs} +5 -5
- package/dist/{setting-BlRcZbhC.mjs → setting-BiBLCcxz.mjs} +4 -4
- package/dist/{setup-D_SLaC-3.mjs → setup-DYsTzkWO.mjs} +4 -4
- package/dist/{signal-CMd0EFUa.mjs → signal-k7cm5N6h.mjs} +11 -2
- package/dist/skill-list-D9_1Pmt7.mjs +76 -0
- package/dist/skills-BPHXUfeL.mjs +351 -0
- package/dist/{skills-D991LB1M.mjs → skills-C3bxxC6a.mjs} +3 -3
- package/dist/snippet-BtfxE60H.mjs +19 -0
- package/dist/{stash-DyBxFoP6.mjs → stash-DdheS0Ad.mjs} +7 -11
- package/dist/{status-cfDHqK2Q.mjs → status-BuIzXRX1.mjs} +12 -11
- package/dist/{status-DUsiogz5.mjs → status-CXouQJ31.mjs} +11 -9
- package/dist/{subscription-Bn0AU7GN.mjs → subscription-CJ8Igs1U.mjs} +6 -6
- package/dist/{subscriptions-DwqjCVlc.mjs → subscriptions-D0NpGvCQ.mjs} +7 -7
- package/dist/{summary-BGwSNzf4.mjs → summary-D04S8gGj.mjs} +6 -6
- package/dist/{sync-schema-dtkDOAKe.mjs → sync-schema-DrA5zkdl.mjs} +7 -7
- package/dist/{sync-task-BACcrs0i.mjs → sync-task-BXeWuARG.mjs} +1 -1
- package/dist/{table-CsIJNPFf.mjs → table-C6h4tIRw.mjs} +1 -1
- package/dist/{table-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
- package/dist/{table-BJoEAoCU.mjs → table-Dntbz7Q2.mjs} +5 -5
- package/dist/timeline-8jwsldo3.mjs +21 -0
- package/dist/{timeline-event-BsF7YqzZ.mjs → timeline-event-BbB1xEdI.mjs} +6 -6
- package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
- package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
- package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
- package/dist/transform-job-B-1YAbvy.mjs +22 -0
- package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
- package/dist/transform-m6s4kkWU.mjs +28 -0
- package/dist/{transform-tag-VM9R7Q_M.mjs → transform-tag-PjryheLF.mjs} +5 -5
- package/dist/transform-test-BjjCQ2xm.mjs +169 -0
- package/dist/transform-test-DSTkKKNC.mjs +16 -0
- package/dist/transform-test-gzDcbypy.mjs +25 -0
- package/dist/{transforms-BjACGbBp.mjs → transforms-CijX3VE7.mjs} +7 -7
- package/dist/{tree-BwS6JAmk.mjs → tree-Cmb3O6rH.mjs} +4 -5
- package/dist/{unpublish-DWdPnENY.mjs → unpublish-DkP_AcK5.mjs} +4 -7
- package/dist/{update-DKEHY-gt.mjs → update-8UmD1prT.mjs} +7 -7
- package/dist/{update-C1FBVLfC.mjs → update-BFyRBc-H.mjs} +8 -8
- package/dist/{update-tLIhVIPp.mjs → update-BrXGg3QO.mjs} +8 -8
- package/dist/{update-DCjAjihm.mjs → update-C91m9YAR.mjs} +6 -6
- package/dist/{update-BpPaacCF.mjs → update-COcx61Ur.mjs} +6 -6
- package/dist/update-Ci8YL4_2.mjs +41 -0
- package/dist/{update-BR_vkkd1.mjs → update-CtLbFCd_.mjs} +5 -5
- package/dist/{update-DTmRHBik.mjs → update-D6Zzvc7F.mjs} +7 -7
- package/dist/{update-cqR1U6DU.mjs → update-D8htjzNJ.mjs} +5 -5
- package/dist/{update-B2CF2DK4.mjs → update-D9kOTr0n.mjs} +6 -6
- package/dist/{update-C4y3iQsv.mjs → update-DPTio6i1.mjs} +7 -7
- package/dist/{update-DsZttiSC.mjs → update-DlWB9s0v.mjs} +5 -5
- package/dist/{update-BCT9qpVr.mjs → update-DubrpPbz.mjs} +5 -5
- package/dist/{update-3idz42uD.mjs → update-Dz47cKBk.mjs} +7 -7
- package/dist/{update-DkviXwSg.mjs → update-FCP5Lop2.mjs} +7 -7
- package/dist/{update-DlTaD1x3.mjs → update-KSHnb6vB.mjs} +9 -9
- package/dist/{update-dashcard-DlE_bb2F.mjs → update-dashcard-BlibHa5o.mjs} +7 -7
- package/dist/{upgrade-mNV7XuJG.mjs → upgrade-EwL6wPSY.mjs} +6 -8
- package/dist/upload-BZshRJIM.mjs +13 -0
- package/dist/{upload-CEGVxmYB.mjs → upload-D0KaTqUE.mjs} +4 -7
- package/dist/{upload-CD555ui1.mjs → upload-Do2PBSeH.mjs} +2 -2
- package/dist/{uuid-C4hqn3kA.mjs → uuid-DjKLDIVE.mjs} +10 -7
- package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-D6_ad-Gi.mjs} +3 -4
- package/dist/{validate-BWchyW0V.mjs → validate-xR_MHBNR.mjs} +69 -23
- package/dist/{values-C0O3eNaW.mjs → values-Dc9612_L.mjs} +6 -6
- package/dist/{verify-DfTjYF7s.mjs → verify-DVN1eqXZ.mjs} +3 -18
- package/dist/{wait-WZmFenN_.mjs → wait-C-ovOTAZ.mjs} +7 -10
- package/dist/{wait-flags-BbfDSP8R.mjs → wait-flags-BQNmuvIj.mjs} +2 -2
- package/dist/{window-BkvrP0gB.mjs → window-DSb1tqSe.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +31 -15
- package/skill-data/dashboard/SKILL.md +1 -1
- package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
- package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
- package/skill-data/document/SKILL.md +4 -1
- package/skill-data/git-sync/SKILL.md +5 -0
- package/skill-data/mbql/SKILL.md +84 -115
- package/skill-data/mbql/references/operators.md +77 -231
- package/skill-data/metadata/SKILL.md +1 -1
- package/skill-data/metadata/references/semantic-types.md +7 -1
- package/skill-data/native-sql/SKILL.md +8 -9
- package/skill-data/native-sql/references/template-tags.md +27 -27
- package/skill-data/notification/SKILL.md +7 -1
- package/skill-data/transform/SKILL.md +76 -4
- package/skill-data/transform-test-plan/SKILL.md +171 -0
- package/skill-data/transform-test-plan/references/checklist.md +81 -0
- package/skill-data/transform-test-plan/references/checks.md +260 -0
- package/skill-data/visualization/SKILL.md +13 -6
- package/skill-data/visualization/references/settings.md +13 -11
- package/skills/metabase-cli/SKILL.md +1 -1
- package/dist/card-CGCXbdmD.mjs +0 -24
- package/dist/client-mKuHg_sc.mjs +0 -2218
- package/dist/collection-D8Tk8i3a.mjs +0 -20
- package/dist/document-KbcHhzFz.mjs +0 -19
- package/dist/get-BC8J8BXB.mjs +0 -80
- package/dist/git-sync-Dik8nKfw.mjs +0 -28
- package/dist/library-ClLgrAXy.mjs +0 -19
- package/dist/list-CW5PdYCX.mjs +0 -98
- package/dist/network-error-D6CiOEBw.mjs +0 -431
- package/dist/predicates-Bkm2IoeX.mjs +0 -170
- package/dist/query-C256WBYG.mjs +0 -87
- package/dist/skills-DTCrMcix.mjs +0 -216
- package/dist/snippet-DTDO55Cg.mjs +0 -19
- package/dist/timeline-DcXPshcT.mjs +0 -21
- package/dist/transform-Dsf_wHAj.mjs +0 -28
- package/dist/transform-job-B1yLv5l-.mjs +0 -22
- package/dist/upload-DsYCf5kB.mjs +0 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-BzestDld.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/library/unpublish.ts
|
|
6
6
|
const LibraryUnpublishResult = z.object({
|
|
@@ -36,10 +36,7 @@ var unpublish_default = defineMetabaseCommand({
|
|
|
36
36
|
description: "Unpublish tables (and their downstream dependents) from the Library"
|
|
37
37
|
},
|
|
38
38
|
details: "Clears the Library collection for each selected table and recursively for every downstream table that depends on it. Select with --table-ids, --db-ids, or --schemas (each schema id is \"<db-id>:<schema>\", e.g. 1:public); the filters are combined.",
|
|
39
|
-
|
|
40
|
-
minVersion: 59,
|
|
41
|
-
tokenFeature: "library"
|
|
42
|
-
},
|
|
39
|
+
requires: ["library.unpublishTables"],
|
|
43
40
|
args: {
|
|
44
41
|
...outputFlags,
|
|
45
42
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { r as fieldView } from "./field-
|
|
6
|
+
import { c as FieldUpdateInput, t as Field } from "./field-CcN4oZy6.mjs";
|
|
7
|
+
import { r as fieldView } from "./field-fDtIrY6D.mjs";
|
|
8
8
|
//#region src/commands/field/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a field (description, semantic_type, FK target, visibility, etc.)"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["field.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { t as dashboardView } from "./dashboard-
|
|
8
|
-
import { t as preflightDashcardCardReferences } from "./preflight-
|
|
6
|
+
import { a as DashboardDetail, s as DashboardUpdateInput } from "./dashboard-D0hwTC-f.mjs";
|
|
7
|
+
import { t as dashboardView } from "./dashboard-DgK81azj.mjs";
|
|
8
|
+
import { t as preflightDashcardCardReferences } from "./preflight-BTQe4swo.mjs";
|
|
9
9
|
//#region src/commands/dashboard/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -20,7 +20,7 @@ var update_default = defineMetabaseCommand({
|
|
|
20
20
|
skill: "visualization",
|
|
21
21
|
purpose: "dashcard visualization_settings and the 24-column grid"
|
|
22
22
|
}],
|
|
23
|
-
|
|
23
|
+
requires: ["dashboard.update", "dashboard.checkCardReferences"],
|
|
24
24
|
args: {
|
|
25
25
|
...outputFlags,
|
|
26
26
|
...profileFlag,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { c as CardUpdateInput, t as Card } from "./card-
|
|
7
|
-
import { n as cardView } from "./card-
|
|
8
|
-
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-
|
|
6
|
+
import { c as CardUpdateInput, t as Card } from "./card-voh1k4hl.mjs";
|
|
7
|
+
import { n as cardView } from "./card-CEkp1mcI.mjs";
|
|
8
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-D6_ad-Gi.mjs";
|
|
9
9
|
//#region src/commands/card/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -20,7 +20,7 @@ var update_default = defineMetabaseCommand({
|
|
|
20
20
|
skill: "visualization",
|
|
21
21
|
purpose: "choose display and visualization_settings"
|
|
22
22
|
}],
|
|
23
|
-
|
|
23
|
+
requires: ["card.update"],
|
|
24
24
|
args: {
|
|
25
25
|
...outputFlags,
|
|
26
26
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as SegmentUpdateInput, t as Segment } from "./segment-OsrbUDzw.mjs";
|
|
7
|
-
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-
|
|
7
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-D6_ad-Gi.mjs";
|
|
8
8
|
import { t as segmentView } from "./segment-C_gl5ag6.mjs";
|
|
9
9
|
//#region src/commands/segment/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
|
|
|
17
17
|
skill: "mbql",
|
|
18
18
|
purpose: "the definition filter clause"
|
|
19
19
|
}],
|
|
20
|
-
|
|
20
|
+
requires: ["segment.update"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
2
|
import { c as NotificationUpdateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
|
|
3
|
-
import { t as notificationView } from "./notification-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
5
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
+
import { t as notificationView } from "./notification-DVrLkjFT.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
5
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
6
6
|
import { t as describeAlert } from "./summary-BytbDz6e.mjs";
|
|
7
|
-
import { t as readBody } from "./body-
|
|
7
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
8
8
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
9
9
|
//#region src/commands/alert/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -18,7 +18,7 @@ var update_default = defineMetabaseCommand({
|
|
|
18
18
|
"`subscriptions` and `handlers` replace the whole list, so send every schedule and recipient you want to keep —",
|
|
19
19
|
"`mb alert get <id>` prints the current ones. An alert's card cannot be moved to a different card."
|
|
20
20
|
].join(" "),
|
|
21
|
-
|
|
21
|
+
requires: ["notification.update"],
|
|
22
22
|
args: {
|
|
23
23
|
...outputFlags,
|
|
24
24
|
...profileFlag,
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
|
+
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
+
import { a as TransformTestUpdateInput, t as TransformTest } from "./transform-test-BjjCQ2xm.mjs";
|
|
7
|
+
import { t as transformTestView } from "./transform-test-gzDcbypy.mjs";
|
|
8
|
+
//#region src/commands/transform-test/update.ts
|
|
9
|
+
var update_default = defineMetabaseCommand({
|
|
10
|
+
meta: {
|
|
11
|
+
name: "update",
|
|
12
|
+
description: "Update a transform test from JSON"
|
|
13
|
+
},
|
|
14
|
+
details: "Only the fields the body carries are patched. `inputs` and `expectations` replace what is stored rather than merging into it. The body is closed: a test read back with `get --full` has to shed `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` before it can be sent.",
|
|
15
|
+
requires: ["transformTest.update"],
|
|
16
|
+
args: {
|
|
17
|
+
...outputFlags,
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags,
|
|
20
|
+
...bodyInputFlags,
|
|
21
|
+
id: {
|
|
22
|
+
type: "positional",
|
|
23
|
+
description: "Transform test id",
|
|
24
|
+
required: true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
inputSchema: TransformTestUpdateInput,
|
|
28
|
+
outputSchema: TransformTest,
|
|
29
|
+
examples: ["cat patch.json | mb transform-test update 1", "mb transform-test update 1 --file patch.json"],
|
|
30
|
+
async run({ args, ctx, getClient }) {
|
|
31
|
+
const id = parseId(args.id);
|
|
32
|
+
const body = await readBody({
|
|
33
|
+
flag: args.body,
|
|
34
|
+
file: args.file
|
|
35
|
+
}, TransformTestUpdateInput);
|
|
36
|
+
const updated = await (await getClient()).transformTest.update(id, body);
|
|
37
|
+
renderSummary(updated, transformTestView, `Updated transform test ${updated.id}.`, ctx);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { update_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
7
7
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
|
|
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
|
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a transform tag by id"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["transformTag.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { a as PulseUpdateInput, t as Pulse } from "./pulse-
|
|
7
|
-
import { t as pulseView } from "./pulse-
|
|
6
|
+
import { a as PulseUpdateInput, t as Pulse } from "./pulse-Dz0ocv0l.mjs";
|
|
7
|
+
import { t as pulseView } from "./pulse-x0gFxWfG.mjs";
|
|
8
8
|
//#region src/commands/subscription/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
|
|
|
17
17
|
"`mb subscription get <id> --full` prints the current ones.",
|
|
18
18
|
"A subscription's `dashboard_id` and `collection_id` are fixed at creation and cannot be changed."
|
|
19
19
|
].join(" "),
|
|
20
|
-
|
|
20
|
+
requires: ["pulse.update"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as SnippetUpdateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
7
7
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
|
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a native query snippet by id"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["snippet.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as MeasureUpdateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
|
|
7
|
-
import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-
|
|
7
|
+
import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-D6_ad-Gi.mjs";
|
|
8
8
|
import { t as measureView } from "./measure-4P0bOlZ3.mjs";
|
|
9
9
|
//#region src/commands/measure/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
|
|
|
17
17
|
skill: "mbql",
|
|
18
18
|
purpose: "the definition aggregation"
|
|
19
19
|
}],
|
|
20
|
-
|
|
20
|
+
requires: ["measure.update"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { t as tableView } from "./table-
|
|
6
|
+
import { s as TableUpdateInput, t as Table } from "./table-DfuY0N8e.mjs";
|
|
7
|
+
import { t as tableView } from "./table-C6h4tIRw.mjs";
|
|
8
8
|
//#region src/commands/table/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a table (display name, description, visibility, etc.)"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["table.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { c as TimelineUpdateInput, t as Timeline } from "./timeline-CCSU2qOS.mjs";
|
|
7
7
|
import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
|
|
@@ -12,7 +12,7 @@ var update_default = defineMetabaseCommand({
|
|
|
12
12
|
description: "Update a timeline by id"
|
|
13
13
|
},
|
|
14
14
|
details: "Patches only the fields you send: `name`, `description`, `icon`, `collection_id`, `default`, `archived`. Changing `archived` cascades to every event on the timeline.",
|
|
15
|
-
|
|
15
|
+
requires: ["timeline.update"],
|
|
16
16
|
args: {
|
|
17
17
|
...outputFlags,
|
|
18
18
|
...profileFlag,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as TimelineEvent, s as TimelineEventUpdateInput } from "./timeline-CCSU2qOS.mjs";
|
|
7
7
|
import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
|
|
@@ -12,7 +12,7 @@ var update_default = defineMetabaseCommand({
|
|
|
12
12
|
description: "Update a timeline event by id"
|
|
13
13
|
},
|
|
14
14
|
details: "Patches only the fields you send: `name`, `description`, `timestamp`, `timezone`, `time_matters`, `icon`, `timeline_id` (moves the event to another timeline), `archived`.",
|
|
15
|
-
|
|
15
|
+
requires: ["timelineEvent.update"],
|
|
16
16
|
args: {
|
|
17
17
|
...outputFlags,
|
|
18
18
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-
|
|
7
|
-
import { t as transformJobView } from "./transform-job-
|
|
6
|
+
import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-CCguL6LP.mjs";
|
|
7
|
+
import { t as transformJobView } from "./transform-job-AaMZRxAq.mjs";
|
|
8
8
|
//#region src/commands/transform-job/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a transform job by id"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["transformJob.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { i as DocumentUpdateInput, t as Document } from "./document-
|
|
7
|
-
import { t as documentView } from "./document-
|
|
6
|
+
import { i as DocumentUpdateInput, t as Document } from "./document-BHpLJbKU.mjs";
|
|
7
|
+
import { t as documentView } from "./document-CA0Q6lqu.mjs";
|
|
8
8
|
//#region src/commands/document/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a document by id"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["document.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-
|
|
8
|
-
import { n as transformView } from "./transform-
|
|
9
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
6
|
+
import { f as TransformUpdateInput, t as Transform } from "./transform-DiW7bREn.mjs";
|
|
7
|
+
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-D6_ad-Gi.mjs";
|
|
8
|
+
import { n as transformView } from "./transform-CtqB1WYo.mjs";
|
|
9
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-CVzDgJV0.mjs";
|
|
10
10
|
//#region src/commands/transform/update.ts
|
|
11
11
|
var update_default = defineMetabaseCommand({
|
|
12
12
|
meta: {
|
|
@@ -18,7 +18,7 @@ var update_default = defineMetabaseCommand({
|
|
|
18
18
|
skill: "mbql",
|
|
19
19
|
purpose: "MBQL source.query bodies"
|
|
20
20
|
}],
|
|
21
|
-
|
|
21
|
+
requires: ["transform.update"],
|
|
22
22
|
args: {
|
|
23
23
|
...outputFlags,
|
|
24
24
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DmFJgpY6.mjs";
|
|
4
|
+
import { t as readBody } from "./body-OjAWKVaU.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { n as dashcardView } from "./dashboard-
|
|
6
|
+
import { c as Dashcard, u as DashcardPatchInput } from "./dashboard-D0hwTC-f.mjs";
|
|
7
|
+
import { n as dashcardView } from "./dashboard-DgK81azj.mjs";
|
|
8
8
|
//#region src/commands/dashboard/update-dashcard.ts
|
|
9
9
|
var update_dashcard_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update-dashcard",
|
|
12
12
|
description: "Patch a single dashcard's layout or settings on a dashboard"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["dashboard.updateDashcard"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { n as throwIfAborted, t as combineAborts } from "./signal-CMd0EFUa.mjs";
|
|
6
|
-
import { n as streamProcess } from "./process-DBOOrmET.mjs";
|
|
1
|
+
import { H as outputFlags, L as name, R as version, X as AbortError, h as writeText, it as UnknownError, ot as errorMessage, rt as TimeoutError, t as interruptSignal, tt as NetworkError, u as renderItem, x as promptConfirm } from "./cli.mjs";
|
|
2
|
+
import { L as HttpError, O as USER_AGENT, V as parseJson, t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
|
+
import { n as throwIfAborted, t as combineAborts } from "./signal-k7cm5N6h.mjs";
|
|
4
|
+
import { n as streamProcess } from "./process-CTrfxxaC.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
|
-
import { compare, valid } from "semver";
|
|
9
6
|
import { realpathSync } from "node:fs";
|
|
7
|
+
import { compare, valid } from "semver";
|
|
10
8
|
//#region src/core/npm-registry.ts
|
|
11
9
|
const DEFAULT_REGISTRY = "https://registry.npmjs.org";
|
|
12
10
|
const DEFAULT_TIMEOUT_MS = 15e3;
|
|
@@ -291,7 +289,7 @@ var upgrade_default = defineMetabaseCommand({
|
|
|
291
289
|
name: "upgrade",
|
|
292
290
|
description: "Upgrade the Metabase CLI itself to the latest published release"
|
|
293
291
|
},
|
|
294
|
-
|
|
292
|
+
requires: null,
|
|
295
293
|
args: {
|
|
296
294
|
...outputFlags,
|
|
297
295
|
check: {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-YQQ5GIcP.mjs";
|
|
2
|
+
//#region src/commands/upload/index.ts
|
|
3
|
+
var upload_default = defineCommandGroup({
|
|
4
|
+
name: "upload",
|
|
5
|
+
description: "Upload CSV files into Metabase",
|
|
6
|
+
subCommands: {
|
|
7
|
+
csv: () => import("./csv-BhuX9fwh.mjs").then((m) => m.default),
|
|
8
|
+
append: () => import("./append-CHme1Enm.mjs").then((m) => m.default),
|
|
9
|
+
replace: () => import("./replace-uj4WTqx_.mjs").then((m) => m.default)
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
export { upload_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
3
3
|
import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
|
|
4
|
-
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-
|
|
4
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-Do2PBSeH.mjs";
|
|
5
5
|
//#region src/output/views/content-translation.ts
|
|
6
6
|
const contentTranslationUploadView = {
|
|
7
7
|
compactPick: ContentTranslationUploadResult,
|
|
@@ -18,10 +18,7 @@ var upload_default = defineMetabaseCommand({
|
|
|
18
18
|
description: "Replace the complete content translation dictionary from CSV"
|
|
19
19
|
},
|
|
20
20
|
details: "Uploads one complete dictionary and replaces every active content translation on the server. Keep the canonical full CSV in version control and download the current dictionary before replacing it. Metabase accepts dictionaries up to 1.5 MiB.",
|
|
21
|
-
|
|
22
|
-
minVersion: 58,
|
|
23
|
-
tokenFeature: "content_translation"
|
|
24
|
-
},
|
|
21
|
+
requires: ["contentTranslation.upload"],
|
|
25
22
|
args: {
|
|
26
23
|
...outputFlags,
|
|
27
24
|
...profileFlag,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as fileNotFoundError } from "./input-
|
|
1
|
+
import { Q as ConfigError, st as isFileNotFoundError } from "./cli.mjs";
|
|
2
|
+
import { n as fileNotFoundError } from "./input-DEvkIjGr.mjs";
|
|
3
3
|
import { basename } from "node:path";
|
|
4
4
|
import { readFile } from "node:fs/promises";
|
|
5
5
|
//#region src/runtime/upload.ts
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { R as parseInteger, t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
1
|
+
import { H as outputFlags, Q as ConfigError, h as writeText, m as writeJson } from "./cli.mjs";
|
|
2
|
+
import { rt as parseInteger, t as defineMetabaseCommand } from "./runtime-arKqJqIT.mjs";
|
|
4
3
|
import { z } from "zod";
|
|
5
4
|
import { randomUUID } from "node:crypto";
|
|
6
5
|
//#region src/commands/uuid.ts
|
|
@@ -11,12 +10,15 @@ var uuid_default = defineMetabaseCommand({
|
|
|
11
10
|
name: "uuid",
|
|
12
11
|
description: "Mint random UUID v4 strings"
|
|
13
12
|
},
|
|
14
|
-
details: "For
|
|
13
|
+
details: "For the values that must be a UUID: the `lib/uuid` of an aggregation an MBQL aggregation ref points at, and a document node's `_id`.",
|
|
15
14
|
skills: [{
|
|
16
15
|
skill: "mbql",
|
|
17
|
-
purpose: "
|
|
16
|
+
purpose: "aggregation refs"
|
|
17
|
+
}, {
|
|
18
|
+
skill: "document",
|
|
19
|
+
purpose: "document node ids"
|
|
18
20
|
}],
|
|
19
|
-
|
|
21
|
+
requires: null,
|
|
20
22
|
args: {
|
|
21
23
|
...outputFlags,
|
|
22
24
|
count: {
|
|
@@ -29,7 +31,8 @@ var uuid_default = defineMetabaseCommand({
|
|
|
29
31
|
examples: [
|
|
30
32
|
"mb uuid",
|
|
31
33
|
"mb uuid --count 5",
|
|
32
|
-
"mb uuid --count 5 --json"
|
|
34
|
+
"mb uuid --count 5 --json",
|
|
35
|
+
"U=$(mb uuid --format text)"
|
|
33
36
|
],
|
|
34
37
|
run({ args, ctx }) {
|
|
35
38
|
const count = parseInteger(args.count, {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { i as validateQuery, r as isMbql5Query, t as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-BWchyW0V.mjs";
|
|
1
|
+
import { Q as ConfigError, m as writeJson } from "./cli.mjs";
|
|
2
|
+
import { a as validateQuery, i as isMbql5Query, n as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-xR_MHBNR.mjs";
|
|
4
3
|
//#region src/commands/validate-query.ts
|
|
5
4
|
const skipValidateFlag = { "skip-validate": {
|
|
6
5
|
type: "boolean",
|
|
@@ -29,7 +28,7 @@ function preflightMbql5Query(query, labels, options) {
|
|
|
29
28
|
const outcome = validateQuery(query);
|
|
30
29
|
if (outcome.ok) return;
|
|
31
30
|
writeJson(outcome);
|
|
32
|
-
throw new ConfigError(`${labels.contextLabel}: ${outcome.errors.length} error(s) —
|
|
31
|
+
throw new ConfigError(`${labels.contextLabel}: ${outcome.errors.length} error(s) — fix them, or pass --skip-validate to send anyway`);
|
|
33
32
|
}
|
|
34
33
|
//#endregion
|
|
35
34
|
export { preflightMbql5Query as a, TRANSFORM_SOURCE_QUERY_LABELS as i, MEASURE_DEFINITION_LABELS as n, skipValidateFlag as o, SEGMENT_DEFINITION_LABELS as r, CARD_DATASET_QUERY_LABELS as t };
|