@metabase/cli 0.3.0 → 0.3.1-alpha.support-worktrees.b634907
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-B3Ty8SzB.mjs → add-collection-CxzzDG4z.mjs} +6 -5
- package/dist/{alert-DT-ee7yf.mjs → alert-CQ7Az16h.mjs} +7 -7
- package/dist/{alerts-Bf2RH_p_.mjs → alerts-DmwyyBfW.mjs} +7 -6
- package/dist/{append-DFzQRPMd.mjs → append-B0avMkvW.mjs} +6 -4
- package/dist/{archive-Cd29QC0c.mjs → archive-BPSNe0Ul.mjs} +4 -3
- package/dist/{archive-Dr9Xnx_Z.mjs → archive-BQ50OZ7y.mjs} +6 -5
- package/dist/{archive-B6eXiyER.mjs → archive-BVblae-p.mjs} +4 -3
- package/dist/{archive-C7w49Grr.mjs → archive-BZEu6UfT.mjs} +6 -5
- package/dist/{archive-lQqs13Uz.mjs → archive-CMTHh4-w.mjs} +4 -3
- package/dist/archive-CqOKKrb2.mjs +38 -0
- package/dist/{archive-CwAdlv63.mjs → archive-Cvrkz8F8.mjs} +5 -4
- package/dist/archive-DCjdICg7.mjs +38 -0
- package/dist/{archive-4tmm946K.mjs → archive-DCyeRNfV.mjs} +4 -3
- package/dist/{archive-gid9Y09v.mjs → archive-DFofUIEC.mjs} +4 -3
- package/dist/{archive-ByvA49Kz.mjs → archive-THcEfy9B.mjs} +5 -4
- package/dist/{auth-Dltxua89.mjs → auth-BEEkuu4J.mjs} +5 -5
- package/dist/{body-Cur4NJt9.mjs → body-DxRSAMNC.mjs} +1 -1
- package/dist/branch-BSeGrtP7.mjs +28 -0
- package/dist/{branches-DchlyU0i.mjs → branches-CmWc8NyL.mjs} +4 -3
- package/dist/{cancel-BMQa5R1Z.mjs → cancel-DrQqmxvn.mjs} +4 -3
- package/dist/cancel-task-BMQXtjW5.mjs +34 -0
- package/dist/{card-zyUkr2nS.mjs → card-BEeafd4Y.mjs} +1 -1
- package/dist/{card-DZxRmver.mjs → card-CrBGUkGQ.mjs} +1 -0
- package/dist/card-RlzLDB2z.mjs +24 -0
- package/dist/{cards-SccWvRQD.mjs → cards-M_6X8wCI.mjs} +7 -6
- package/dist/cli.mjs +142 -46
- package/dist/{client-BqhzKdLM.mjs → client-DYD8WZYy.mjs} +241 -75
- package/dist/collection-Bhe20ckt.mjs +20 -0
- package/dist/{collection-CfulNRBG.mjs → collection-BxE7OzcQ.mjs} +6 -3
- package/dist/{collection-CGoVLvcD.mjs → collection-CJHqsFKP.mjs} +1 -1
- package/dist/{collection-namespace-GwydWBF3.mjs → collection-namespace-CEoQ7G08.mjs} +1 -1
- package/dist/content-translation-BrHOrmj9.mjs +5 -0
- package/dist/content-translation-C8MlXPOF.mjs +12 -0
- package/dist/{create-BOLwWt8Q.mjs → create-BA_tTDEk.mjs} +5 -4
- package/dist/{create-DF4QtgDL.mjs → create-BLWwN0uw.mjs} +5 -4
- package/dist/{create-DV-Ln5Mo.mjs → create-BqpkCjx4.mjs} +4 -3
- package/dist/{create-BNQ_DytP.mjs → create-BupBEwR2.mjs} +12 -7
- package/dist/{create-C79vErX0.mjs → create-ByuJ6T4k.mjs} +7 -6
- package/dist/{create-Beh-2uoN.mjs → create-C2XFfbjx.mjs} +4 -3
- package/dist/{create-CCh_LyW9.mjs → create-C7iooS6W.mjs} +14 -8
- package/dist/{create-CAWytBE5.mjs → create-CJ7Am4Gc.mjs} +5 -4
- package/dist/{create-DJmXXQoq.mjs → create-CY-SzM66.mjs} +16 -11
- package/dist/{create-CD008jdE.mjs → create-CoubLR5o.mjs} +8 -7
- package/dist/{create-CAQV2g6V.mjs → create-D0anrINz.mjs} +14 -9
- package/dist/create-DwrhcI8r2.mjs +144 -0
- package/dist/create-branch-B3BMpF1g.mjs +49 -0
- package/dist/{create-i14Wv3Tj.mjs → create-hTc131aX.mjs} +4 -3
- package/dist/{create-tQbnuz-I.mjs → create-ldrghMd1.mjs} +4 -3
- package/dist/{create-CHQx7jq4.mjs → create-myI6doga.mjs} +5 -4
- package/dist/{create-zeveFdnd.mjs → create-z-oMrlfT.mjs} +5 -4
- package/dist/{csv-B2Jgb1GM.mjs → csv-DBNzJiWK.mjs} +6 -4
- package/dist/{current-task-MpBFGttd.mjs → current-task-YzemU0Ic.mjs} +12 -7
- package/dist/{dashboard-BHJBoaG7.mjs → dashboard-B1mpfCq_.mjs} +10 -10
- package/dist/{dashboard-CsIFFpzK.mjs → dashboard-BlbNszi8.mjs} +1 -1
- package/dist/{dashboard-BCpSq_G-.mjs → dashboard-CKUR8ZpQ.mjs} +1 -0
- package/dist/{db-DsfojyeH.mjs → db-1tLH3nYI.mjs} +7 -7
- package/dist/{delete-DFmX7jTp.mjs → delete-CD_-B4Kq.mjs} +5 -4
- package/dist/{delete-BApOjQvl.mjs → delete-CpKH5ia4.mjs} +5 -4
- package/dist/delete-D_OgiI4v.mjs +86 -0
- package/dist/{delete-Ob06PPie.mjs → delete-DjAUp9mk.mjs} +5 -4
- package/dist/{delete-Ck0q4Dzp.mjs → delete-QNgBV6eS.mjs} +10 -5
- package/dist/{delete-B8e01xAG.mjs → delete-eAUB7p-f.mjs} +10 -5
- package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-b2_ZMSjj.mjs} +1 -1
- package/dist/{delete-table-DuyhGrvA.mjs → delete-table-DamlxnSO.mjs} +10 -5
- package/dist/dependencies-DEx0BsZ3.mjs +41 -0
- package/dist/dirty-dC1-Ud0G.mjs +40 -0
- package/dist/document-DOJbBWLF.mjs +19 -0
- package/dist/download-C4v7u-AV.mjs +29 -0
- package/dist/{eid-WTZmDdsr.mjs → eid-CP35PdEF.mjs} +4 -3
- package/dist/{events-Bn7jh5lP.mjs → events-DmbzKIh_.mjs} +5 -4
- package/dist/{export-BjfoZRDJ.mjs → export-i8D6laBG.mjs} +25 -12
- package/dist/export-preflight-B5MvYhm3.mjs +67 -0
- package/dist/{field-Zau6Hc6X.mjs → field-BKn9bt7I.mjs} +5 -5
- package/dist/{fields-CBBa-Prp.mjs → fields-8_p81BqN.mjs} +5 -4
- package/dist/{get-DdsoHaKH.mjs → get-B0g6VMBC.mjs} +4 -3
- package/dist/{get-DRvsATp-.mjs → get-BBOfshz1.mjs} +4 -3
- package/dist/{get-CDMGbgrh.mjs → get-BHGgXqUq.mjs} +4 -3
- package/dist/{get-Dn9ZiSZr.mjs → get-BbHPFNqr.mjs} +4 -3
- package/dist/{get-CnbUCzDM.mjs → get-Bds6Izxk.mjs} +4 -3
- package/dist/{get-B7sMgsFs.mjs → get-BvW21ujw.mjs} +4 -3
- package/dist/{get-Dmj9Ygz1.mjs → get-CAzSP-7o.mjs} +4 -3
- package/dist/{get-CvI--9S_.mjs → get-CNEQK0-9.mjs} +5 -4
- package/dist/{get-D_h-G9bn.mjs → get-CPTbySa7.mjs} +4 -3
- package/dist/{get-B_xdF1kq.mjs → get-CWf46UFu.mjs} +6 -5
- package/dist/get-Cfagmy1i.mjs +42 -0
- package/dist/{get-CDJFVvhj.mjs → get-DFkbi5L3.mjs} +3 -2
- package/dist/{get-DYO1kywc.mjs → get-DnCE7K0y.mjs} +5 -4
- package/dist/{get-DY03Azx9.mjs → get-DvLuY5Xu.mjs} +17 -9
- package/dist/get-DwdMvWXU.mjs +44 -0
- package/dist/{get-DmpB6J9g.mjs → get-N4dOaTsp.mjs} +5 -4
- package/dist/get-jV8G90Zy.mjs +42 -0
- package/dist/get-mGEv-kag.mjs +33 -0
- package/dist/{get-run-Cnux9ln0.mjs → get-run-4Ng8_awa.mjs} +6 -5
- package/dist/{get-Bz99dAxK.mjs → get-vrccOMBk.mjs} +6 -5
- package/dist/{get-00lyLv6R.mjs → get-vvs0qzzM.mjs} +4 -3
- package/dist/{git-sync-BDnxPrqU.mjs → git-sync-DLzJrdMi.mjs} +22 -3
- package/dist/git-sync-DjoaNmRM.mjs +29 -0
- package/dist/{git-sync-DxD_ng48.mjs → git-sync-LQIVMNxO.mjs} +31 -2
- package/dist/{group-DBM87IgC.mjs → group-YN6jj2AN.mjs} +3 -2
- package/dist/{has-remote-changes-C684Redh.mjs → has-remote-changes-BXPGI9xG.mjs} +14 -6
- package/dist/{import-Rmmttboo.mjs → import-BoxOkA-G.mjs} +28 -11
- package/dist/{is-dirty-DYeJYhBz.mjs → is-dirty-Cwxq4_gd.mjs} +15 -6
- package/dist/{items-CQlPXBXE.mjs → items-Cv6iAzrI.mjs} +17 -9
- package/dist/{library-Bsm5KsFF.mjs → library-CRaOhJnj.mjs} +5 -5
- package/dist/{library-ClLgrAXy.mjs → library-Cfw6eF35.mjs} +1 -1
- package/dist/{library-DfYAT2Ep.mjs → library-fhVn1KDC.mjs} +1 -1
- package/dist/{list-CMpoc2TN.mjs → list--2T-GUEF.mjs} +5 -4
- package/dist/list-5Iojbr_p.mjs +37 -0
- package/dist/{list-CNUiF8Z7.mjs → list-9uvk9dIA.mjs} +4 -3
- package/dist/{list-CQwOgIlj.mjs → list-BBp9XjYs.mjs} +4 -3
- package/dist/list-BD4onDqO.mjs +37 -0
- package/dist/{list-BpFp9Wre.mjs → list-BLJkJp5a.mjs} +4 -3
- package/dist/{list-BtmsNOEn.mjs → list-BwkfWtP2.mjs} +4 -3
- package/dist/list-C2yL7-CH.mjs +45 -0
- package/dist/{list-BP3MPq-M.mjs → list-C8J3n8B8.mjs} +4 -3
- package/dist/list-CbbKip6U.mjs +32 -0
- package/dist/{list-UhpKG6_m.mjs → list-CtZAu4im.mjs} +5 -4
- package/dist/{list-BtkWNtvY.mjs → list-DOZNpX4b.mjs} +5 -4
- package/dist/{list-DF2rvoO1.mjs → list-DOaWCx8S.mjs} +18 -9
- package/dist/list-Dg2XeDON.mjs +47 -0
- package/dist/{list-CQDprvW0.mjs → list-DhrapAcy.mjs} +6 -5
- package/dist/{list-BzVTHOoH.mjs → list-L2U1l6R4.mjs} +4 -3
- package/dist/{list-DE9FM957.mjs → list-WSJLnunb.mjs} +4 -3
- package/dist/{list-B4hJuMhA.mjs → list-oAAgU5uE.mjs} +16 -9
- package/dist/{list-B8nAGwP4.mjs → list-tutXEQRW.mjs} +5 -4
- package/dist/{login-CGHeSjlP.mjs → login-DqWRF3Og.mjs} +6 -5
- package/dist/{logout-DAxOlbv4.mjs → logout-ChCz1bkf.mjs} +3 -2
- package/dist/{measure-BsYv0p26.mjs → measure-C5dIdFj1.mjs} +6 -6
- package/dist/{network-error-CEb9ymDW.mjs → network-error-D6CiOEBw.mjs} +10 -2
- package/dist/{notification-Fcq1fIPw.mjs → notification-DVrLkjFT.mjs} +1 -1
- package/dist/{parameter-values-CJTdqd8c.mjs → parameter-values-Dy4cBs5y.mjs} +4 -3
- package/dist/{parse-id-C_jmKFaa.mjs → parse-id-DDCn3VXx.mjs} +1 -1
- package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-Wv21Roup.mjs} +6 -2
- package/dist/{path-B5gHvrYL.mjs → path-IYhuzjQV.mjs} +5 -4
- package/dist/pin-BuZ_kg-u.mjs +62 -0
- package/dist/{preflight-YpPQo-sa.mjs → preflight-HLUVr2Yf.mjs} +2 -2
- package/dist/{publish-DijrxaCW.mjs → publish-CMkCSt8i.mjs} +5 -4
- package/dist/{pulse-DhG6I9mI.mjs → pulse-a-83M4DV.mjs} +1 -1
- package/dist/{query-BbqECzmF.mjs → query-Bka77J62.mjs} +9 -13
- package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
- package/dist/{query-Dc__-KJH.mjs → query-tWQAV9pb.mjs} +8 -7
- package/dist/{remove-collection-BOnxYvhj.mjs → remove-collection-BV9wRQZD.mjs} +6 -5
- package/dist/{render-CI93iP0I.mjs → render-DHjCcUXn.mjs} +7 -1
- package/dist/{replace-Cq4CxVa-.mjs → replace-mt47dlRV.mjs} +6 -4
- package/dist/{rescan-values-Dr_j416g.mjs → rescan-values-6cRjcpTs.mjs} +4 -3
- package/dist/{run-DdGJ544X.mjs → run-BmGmC-GQ.mjs} +4 -3
- package/dist/{run-C3DkS6NP.mjs → run-DI_pDxji.mjs} +6 -5
- package/dist/{runs-CUNWiidL.mjs → runs-9Fu0mug5.mjs} +7 -6
- package/dist/{runtime-DiKyBxOw.mjs → runtime-CNAZ_FuR.mjs} +104 -9
- package/dist/{schema-tables-CV386fnC.mjs → schema-tables-CLG0mtQb.mjs} +5 -4
- package/dist/{schemas-DM-UqZBQ.mjs → schemas-Cm5NWy59.mjs} +5 -4
- package/dist/scope-DsGuWG5w.mjs +11 -0
- package/dist/{search-DmGScXs8.mjs → search-CljYyf2F.mjs} +14 -8
- package/dist/{segment-BzUGM2Fr.mjs → segment-IRzlQggt.mjs} +6 -6
- package/dist/{selectors-DGDn0Hto.mjs → selectors-D4iOP5uB.mjs} +2 -2
- package/dist/{send-CVxxEpDB.mjs → send-D7DBnQbu.mjs} +4 -3
- package/dist/{set-DFolTjbd.mjs → set-DKN8fuC6.mjs} +4 -3
- package/dist/{set-active-BD8L1lPX.mjs → set-active-CkE0Eiqh.mjs} +3 -2
- package/dist/{setting-DyhaeICs.mjs → setting-CN4l8N-b.mjs} +4 -4
- package/dist/{setup-BbDQN8fe.mjs → setup-BpTptmdO.mjs} +4 -3
- package/dist/{skills--vK6J-e4.mjs → skills-BSAiLI3Z.mjs} +3 -3
- package/dist/{skills-DTCrMcix.mjs → skills-hVKSOCUf.mjs} +1 -1
- package/dist/{snippet-CyKAgIZl.mjs → snippet-BxgvQ09J.mjs} +5 -2
- package/dist/{snippet-oJLaYW9V.mjs → snippet-DecHB4Dn.mjs} +1 -1
- package/dist/snippet-LlHz3FdJ.mjs +19 -0
- package/dist/{stash-D0S4JmAz.mjs → stash-DJs6A6BA.mjs} +7 -6
- package/dist/{status-BhswxJL1.mjs → status-DtwBDRtc.mjs} +44 -16
- package/dist/{status-hL1am-HV.mjs → status-N_2EaWb7.mjs} +16 -7
- package/dist/stream-McixcoUl.mjs +7 -0
- package/dist/{subscription-_d5fB45F.mjs → subscription-BnGDp1oy.mjs} +6 -6
- package/dist/{subscriptions-s4TF6Ax3.mjs → subscriptions-BfFwV__x.mjs} +7 -6
- package/dist/{summary-CsPvcUwW.mjs → summary-CHiq-4mz.mjs} +4 -3
- package/dist/{sync-schema-DaZ_MV-u.mjs → sync-schema-DhnM-rpm.mjs} +5 -4
- package/dist/{sync-task-BACcrs0i.mjs → sync-task-G1K47Nvn.mjs} +1 -1
- package/dist/{table-DYoC1kPn.mjs → table-BQaiCSNS.mjs} +5 -5
- package/dist/timeline-C2VW0Ph6.mjs +21 -0
- package/dist/{timeline-event-CNQdCTDg.mjs → timeline-event-B7H1y8s8.mjs} +6 -6
- package/dist/{transform-D3QX0jxA.mjs → transform-BvOEn41C.mjs} +4 -1
- package/dist/{transform-DoTyyXAu.mjs → transform-CiDOJGBW.mjs} +2 -2
- package/dist/transform-DAf0Y02t.mjs +28 -0
- package/dist/transform-job-ntiT5Rrh.mjs +22 -0
- package/dist/{transform-tag-Dmb4u3-Q.mjs → transform-tag-DiXWRCQG.mjs} +1 -1
- package/dist/{transform-tag-_tgwlsdB.mjs → transform-tag-Dip51YBa.mjs} +5 -5
- package/dist/{transform-tag-CcElGp3C.mjs → transform-tag-jBVd6wXd.mjs} +9 -4
- package/dist/{transforms-oU4zizbO.mjs → transforms-C-jYgS6z.mjs} +7 -6
- package/dist/tree-DtyJhD54.mjs +36 -0
- package/dist/unpin-DxbXmLtW.mjs +45 -0
- package/dist/{unpublish-BUl9RU5C.mjs → unpublish-BokbnLng.mjs} +4 -3
- package/dist/{update-BiFDBcEH.mjs → update-AZSXMJqu.mjs} +14 -8
- package/dist/{update-BCS5FxKr.mjs → update-B9DcRSBQ.mjs} +18 -12
- package/dist/{update-bD_Jh5-s.mjs → update-BBQInyiJ.mjs} +6 -5
- package/dist/{update-BzMDeZiU.mjs → update-BCGE5UYC.mjs} +6 -5
- package/dist/{update-tX9mKBN_.mjs → update-BErxnZrj.mjs} +9 -8
- package/dist/{update-C4YJQFDS.mjs → update-BRXKLeJH.mjs} +5 -4
- package/dist/{update-cYkvbqK8.mjs → update-Bc8s1TL1.mjs} +5 -4
- package/dist/{update-BZPllQoR.mjs → update-C4PbAYgW.mjs} +5 -4
- package/dist/{update-CVPAwJaH.mjs → update-CKL2FtoX.mjs} +6 -5
- package/dist/{update-Nfi44RrE.mjs → update-CPEU8ZEu.mjs} +6 -5
- package/dist/{update-CmDTljK-.mjs → update-CfQoYVTc.mjs} +5 -4
- package/dist/{update-CO4m4wH3.mjs → update-CpLEEbiJ.mjs} +8 -7
- package/dist/{update-D-NE60AV.mjs → update-D9OTkZhw.mjs} +5 -4
- package/dist/{update-dashcard-C3TuYO_k.mjs → update-dashcard-St-dGcE3.mjs} +7 -6
- package/dist/{update-CHNSUHK4.mjs → update-e7lyQPxq.mjs} +14 -8
- package/dist/{update-CvOO8TED.mjs → update-rkbpH0lF.mjs} +5 -4
- package/dist/{upgrade-DXMV4AyP.mjs → upgrade-CUoRHfVg.mjs} +4 -3
- package/dist/upload-BPd1Uzxc.mjs +43 -0
- package/dist/upload-C3z5ZaXA.mjs +24 -0
- package/dist/{upload-CH632qW6.mjs → upload-CD555ui1.mjs} +1 -24
- package/dist/upload-Dc3QLhZw.mjs +13 -0
- package/dist/{uuid-BJkDWj9p.mjs → uuid-CFN8LIkP.mjs} +3 -2
- package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-Chc43ezW.mjs} +1 -1
- package/dist/{values-Dxf1JEoA.mjs → values-BL_U-Zdw.mjs} +4 -3
- package/dist/{verify-K96rItG5.mjs → verify-DnBaRmkI.mjs} +3 -3
- package/dist/{wait-flags-DWEF9tX4.mjs → wait-flags-DzytMEG8.mjs} +2 -2
- package/dist/{wait-DoMDH226.mjs → wait-mPoOZxrw.mjs} +12 -7
- package/dist/{window-BkvrP0gB.mjs → window-DSb1tqSe.mjs} +1 -1
- package/dist/worktree-ChdDlG3Q.mjs +25 -0
- package/dist/worktree-DC0kTxxQ.mjs +20 -0
- package/dist/worktree-xAro1xAB.mjs +24 -0
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +17 -14
- package/skill-data/dashboard/SKILL.md +2 -2
- package/skill-data/git-sync/SKILL.md +91 -1
- package/skill-data/transform/SKILL.md +9 -1
- package/dist/archive-BxNPHxOY.mjs +0 -32
- package/dist/archive-ChORH5JH.mjs +0 -32
- package/dist/cancel-task-C5CU1pxU.mjs +0 -28
- package/dist/card-CHI2bmds.mjs +0 -24
- package/dist/collection-CY0AB99E.mjs +0 -20
- package/dist/create-branch-CYo6jZth.mjs +0 -35
- package/dist/dependencies-Bj3QrGIm.mjs +0 -36
- package/dist/dirty-DNYoM6Bp.mjs +0 -31
- package/dist/document-BbskZPTT.mjs +0 -19
- package/dist/get-ByBOq30r.mjs +0 -31
- package/dist/get-C2-Q3iQ5.mjs +0 -31
- package/dist/get-DkWO0EI0.mjs +0 -36
- package/dist/git-sync-MQQYRYLg.mjs +0 -28
- package/dist/list-BOET6zhP.mjs +0 -36
- package/dist/list-C5Zs8nrb.mjs +0 -28
- package/dist/list-CKK-s3Ty.mjs +0 -28
- package/dist/list-DMKDsBRd.mjs +0 -38
- package/dist/snippet-DRwKb2x7.mjs +0 -19
- package/dist/timeline-xlDbEKWg.mjs +0 -21
- package/dist/transform-Bs0EWijQ.mjs +0 -28
- package/dist/transform-job-BcLChRup.mjs +0 -22
- package/dist/tree-CH-f3bjP.mjs +0 -27
- package/dist/upload-Dey_8rLf.mjs +0 -13
|
@@ -135,6 +135,7 @@ const Transform = z.object({
|
|
|
135
135
|
updated_at: z.string(),
|
|
136
136
|
creator_id: z.number().int(),
|
|
137
137
|
collection_id: z.number().int().nullable(),
|
|
138
|
+
worktree_id: z.number().int().positive().nullable().optional(),
|
|
138
139
|
run_trigger: TransformRunTrigger.nullable().optional(),
|
|
139
140
|
last_run: TransformLastRun.nullable().optional(),
|
|
140
141
|
tag_ids: z.array(z.number().int()).optional()
|
|
@@ -144,7 +145,8 @@ const TransformCompact = Transform.pick({
|
|
|
144
145
|
name: true,
|
|
145
146
|
description: true,
|
|
146
147
|
source_type: true,
|
|
147
|
-
target_db_id: true
|
|
148
|
+
target_db_id: true,
|
|
149
|
+
worktree_id: true
|
|
148
150
|
}).strip().extend({ target: TransformTargetCompact });
|
|
149
151
|
const TransformCreateInput = z.object({
|
|
150
152
|
name: z.string().min(1),
|
|
@@ -154,6 +156,7 @@ const TransformCreateInput = z.object({
|
|
|
154
156
|
run_trigger: TransformRunTrigger.optional(),
|
|
155
157
|
tag_ids: z.array(z.number().int().positive()).optional(),
|
|
156
158
|
collection_id: z.number().int().positive().nullable().optional(),
|
|
159
|
+
worktree_id: z.number().int().positive().nullable().optional(),
|
|
157
160
|
owner_user_id: z.number().int().positive().nullable().optional(),
|
|
158
161
|
owner_email: z.string().nullable().optional()
|
|
159
162
|
}).loose();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as TransformRunCompact, n as TransformCompact, s as TransformTarget } from "./transform-
|
|
1
|
+
import { g as MALFORMED_CELL } from "./cli.mjs";
|
|
2
|
+
import { a as TransformRunCompact, n as TransformCompact, s as TransformTarget } from "./transform-BvOEn41C.mjs";
|
|
3
3
|
//#region src/output/views/transform.ts
|
|
4
4
|
function formatTarget(value) {
|
|
5
5
|
const parsed = TransformTarget.safeParse(value);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-YN6jj2AN.mjs";
|
|
2
|
+
//#region src/commands/transform/index.ts
|
|
3
|
+
var transform_default = defineCommandGroup({
|
|
4
|
+
name: "transform",
|
|
5
|
+
description: "Manage Metabase transforms",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "transform",
|
|
8
|
+
purpose: "body shape, run-with-wait, iterate"
|
|
9
|
+
}, {
|
|
10
|
+
skill: "mbql",
|
|
11
|
+
purpose: "MBQL source.query bodies"
|
|
12
|
+
}],
|
|
13
|
+
subCommands: {
|
|
14
|
+
list: () => import("./list-5Iojbr_p.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-jV8G90Zy.mjs").then((mod) => mod.default),
|
|
16
|
+
dependencies: () => import("./dependencies-DEx0BsZ3.mjs").then((mod) => mod.default),
|
|
17
|
+
create: () => import("./create-CY-SzM66.mjs").then((mod) => mod.default),
|
|
18
|
+
update: () => import("./update-B9DcRSBQ.mjs").then((mod) => mod.default),
|
|
19
|
+
delete: () => import("./delete-QNgBV6eS.mjs").then((mod) => mod.default),
|
|
20
|
+
"delete-table": () => import("./delete-table-DamlxnSO.mjs").then((mod) => mod.default),
|
|
21
|
+
run: () => import("./run-DI_pDxji.mjs").then((mod) => mod.default),
|
|
22
|
+
cancel: () => import("./cancel-DrQqmxvn.mjs").then((mod) => mod.default),
|
|
23
|
+
"get-run": () => import("./get-run-4Ng8_awa.mjs").then((mod) => mod.default),
|
|
24
|
+
runs: () => import("./runs-9Fu0mug5.mjs").then((mod) => mod.default)
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { transform_default as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-YN6jj2AN.mjs";
|
|
2
|
+
//#region src/commands/transform-job/index.ts
|
|
3
|
+
var transform_job_default = defineCommandGroup({
|
|
4
|
+
name: "transform-job",
|
|
5
|
+
description: "Manage Metabase transform jobs",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "transform",
|
|
8
|
+
purpose: "tag-driven job schedules"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-L2U1l6R4.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BBOfshz1.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-C2XFfbjx.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-CfQoYVTc.mjs").then((mod) => mod.default),
|
|
15
|
+
delete: () => import("./delete-CD_-B4Kq.mjs").then((mod) => mod.default),
|
|
16
|
+
run: () => import("./run-BmGmC-GQ.mjs").then((mod) => mod.default),
|
|
17
|
+
transforms: () => import("./transforms-C-jYgS6z.mjs").then((mod) => mod.default),
|
|
18
|
+
"set-active": () => import("./set-active-CkE0Eiqh.mjs").then((mod) => mod.default)
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
export { transform_job_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-YN6jj2AN.mjs";
|
|
2
2
|
//#region src/commands/transform-tag/index.ts
|
|
3
3
|
var transform_tag_default = defineCommandGroup({
|
|
4
4
|
name: "transform-tag",
|
|
@@ -8,10 +8,10 @@ var transform_tag_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "tags that drive job schedules"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
create: () => import("./create-
|
|
13
|
-
update: () => import("./update-
|
|
14
|
-
delete: () => import("./delete-
|
|
11
|
+
list: () => import("./list-BD4onDqO.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-C7iooS6W.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-AZSXMJqu.mjs").then((mod) => mod.default),
|
|
14
|
+
delete: () => import("./delete-eAUB7p-f.mjs").then((mod) => mod.default)
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -4,14 +4,19 @@ const TransformTag = z.object({
|
|
|
4
4
|
id: z.number().int(),
|
|
5
5
|
name: z.string(),
|
|
6
6
|
entity_id: z.string().nullable(),
|
|
7
|
-
built_in_type: z.string().nullable()
|
|
7
|
+
built_in_type: z.string().nullable(),
|
|
8
|
+
worktree_id: z.number().int().positive().nullable().optional()
|
|
8
9
|
}).loose();
|
|
9
10
|
const TransformTagCompact = TransformTag.pick({
|
|
10
11
|
id: true,
|
|
11
12
|
name: true,
|
|
12
|
-
built_in_type: true
|
|
13
|
+
built_in_type: true,
|
|
14
|
+
worktree_id: true
|
|
13
15
|
}).strip();
|
|
14
|
-
const TransformTagCreateInput = z.object({
|
|
15
|
-
|
|
16
|
+
const TransformTagCreateInput = z.object({
|
|
17
|
+
name: z.string().min(1),
|
|
18
|
+
worktree_id: z.number().int().positive().nullable().optional()
|
|
19
|
+
}).loose();
|
|
20
|
+
const TransformTagUpdateInput = z.object({ name: z.string().min(1) }).loose();
|
|
16
21
|
//#endregion
|
|
17
22
|
export { TransformTagUpdateInput as i, TransformTagCompact as n, TransformTagCreateInput as r, TransformTag as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
5
|
-
import { n as TransformCompact } from "./transform-
|
|
6
|
-
import { n as transformView } from "./transform-
|
|
1
|
+
import { G as listEnvelopeSchema, H as profileFlag, R as connectionFlags, V as outputFlags, f as renderList, z as listFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { n as windowList } from "./window-DSb1tqSe.mjs";
|
|
5
|
+
import { n as TransformCompact } from "./transform-BvOEn41C.mjs";
|
|
6
|
+
import { n as transformView } from "./transform-CiDOJGBW.mjs";
|
|
7
7
|
//#region src/commands/transform-job/transforms.ts
|
|
8
8
|
const TransformJobTransformsEnvelope = listEnvelopeSchema(TransformCompact);
|
|
9
9
|
var transforms_default = defineMetabaseCommand({
|
|
@@ -13,6 +13,7 @@ var transforms_default = defineMetabaseCommand({
|
|
|
13
13
|
},
|
|
14
14
|
details: "Resolves the transforms a job would execute, matched by the job's tags. The positional id is a JOB id, not a transform id.",
|
|
15
15
|
capabilities: { minVersion: 59 },
|
|
16
|
+
worktree: "any",
|
|
16
17
|
args: {
|
|
17
18
|
...outputFlags,
|
|
18
19
|
...listFlags,
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
|
+
import { H as profileFlag, R as connectionFlags, U as worktreeFlag, V as outputFlags, m as writeJson } from "./cli.mjs";
|
|
3
|
+
import { r as WORKTREE_SCOPE_DETAIL, s as scopeQuery, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
4
|
+
import { f as CollectionTreeNode } from "./collection-BxE7OzcQ.mjs";
|
|
5
|
+
import { z } from "zod";
|
|
6
|
+
//#region src/commands/collection/tree.ts
|
|
7
|
+
const CollectionTreeResponse = z.array(CollectionTreeNode);
|
|
8
|
+
var tree_default = defineMetabaseCommand({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "tree",
|
|
11
|
+
description: "Fetch the collection hierarchy as a nested tree (JSON only)"
|
|
12
|
+
},
|
|
13
|
+
capabilities: { minVersion: 58 },
|
|
14
|
+
worktree: "scoped",
|
|
15
|
+
details: WORKTREE_SCOPE_DETAIL,
|
|
16
|
+
args: {
|
|
17
|
+
...outputFlags,
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags,
|
|
20
|
+
...worktreeFlag
|
|
21
|
+
},
|
|
22
|
+
outputSchema: CollectionTreeResponse,
|
|
23
|
+
examples: [
|
|
24
|
+
"mb collection tree",
|
|
25
|
+
"mb collection tree --json",
|
|
26
|
+
"mb collection tree --worktree feat/transforms"
|
|
27
|
+
],
|
|
28
|
+
async run({ ctx, getClient, getWorktree }) {
|
|
29
|
+
if (ctx.format === "text") throw new ConfigError("collection tree output is JSON-only; --format text is not supported");
|
|
30
|
+
const client = await getClient();
|
|
31
|
+
const scope = await getWorktree();
|
|
32
|
+
writeJson((await client.collection.tree(scopeQuery(scope))).data);
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { tree_default as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { H as profileFlag, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { A as readProfileRecord, I as writeProfileWorktree, m as resolveProfileName, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
//#region src/commands/worktree/unpin.ts
|
|
5
|
+
const WorktreeUnpinResult = z.object({
|
|
6
|
+
profile: z.string(),
|
|
7
|
+
unpinned: z.boolean()
|
|
8
|
+
});
|
|
9
|
+
const worktreeUnpinView = {
|
|
10
|
+
compactPick: WorktreeUnpinResult,
|
|
11
|
+
tableColumns: [{
|
|
12
|
+
key: "profile",
|
|
13
|
+
label: "Profile"
|
|
14
|
+
}, {
|
|
15
|
+
key: "unpinned",
|
|
16
|
+
label: "Unpinned"
|
|
17
|
+
}]
|
|
18
|
+
};
|
|
19
|
+
var unpin_default = defineMetabaseCommand({
|
|
20
|
+
meta: {
|
|
21
|
+
name: "unpin",
|
|
22
|
+
description: "Release a profile's worktree pin"
|
|
23
|
+
},
|
|
24
|
+
capabilities: null,
|
|
25
|
+
worktree: "any",
|
|
26
|
+
args: {
|
|
27
|
+
...outputFlags,
|
|
28
|
+
...profileFlag
|
|
29
|
+
},
|
|
30
|
+
outputSchema: WorktreeUnpinResult,
|
|
31
|
+
examples: ["mb worktree unpin", "mb worktree unpin --profile agent --json"],
|
|
32
|
+
async run({ args, ctx }) {
|
|
33
|
+
const profile = resolveProfileName(args.profile);
|
|
34
|
+
const pin = (await readProfileRecord(profile))?.worktree ?? null;
|
|
35
|
+
if (pin !== null) await writeProfileWorktree(profile, null);
|
|
36
|
+
const result = {
|
|
37
|
+
profile,
|
|
38
|
+
unpinned: pin !== null
|
|
39
|
+
};
|
|
40
|
+
const text = pin === null ? `Profile "${profile}" is not pinned to a worktree.` : `Unpinned profile "${profile}" from worktree ${pin.id} (${pin.branch}).`;
|
|
41
|
+
renderSummary(result, worktreeUnpinView, text, ctx);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
export { unpin_default as default };
|
|
@@ -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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-D4iOP5uB.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/library/unpublish.ts
|
|
6
6
|
const LibraryUnpublishResult = z.object({
|
|
@@ -40,6 +40,7 @@ var unpublish_default = defineMetabaseCommand({
|
|
|
40
40
|
minVersion: 59,
|
|
41
41
|
tokenFeature: "library"
|
|
42
42
|
},
|
|
43
|
+
worktree: "main-only",
|
|
43
44
|
args: {
|
|
44
45
|
...outputFlags,
|
|
45
46
|
...profileFlag,
|
|
@@ -1,10 +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 profileFlag, R as connectionFlags, U as worktreeFlag, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { r as WORKTREE_SCOPE_DETAIL, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-
|
|
7
|
-
import { t as transformTagView } from "./transform-tag-
|
|
6
|
+
import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-jBVd6wXd.mjs";
|
|
7
|
+
import { t as transformTagView } from "./transform-tag-DiXWRCQG.mjs";
|
|
8
|
+
import { t as assertTagInWorktree } from "./scope-DsGuWG5w.mjs";
|
|
8
9
|
//#region src/commands/transform-tag/update.ts
|
|
9
10
|
var update_default = defineMetabaseCommand({
|
|
10
11
|
meta: {
|
|
@@ -12,10 +13,13 @@ var update_default = defineMetabaseCommand({
|
|
|
12
13
|
description: "Update a transform tag by id"
|
|
13
14
|
},
|
|
14
15
|
capabilities: { minVersion: 59 },
|
|
16
|
+
worktree: "scoped",
|
|
17
|
+
details: WORKTREE_SCOPE_DETAIL,
|
|
15
18
|
args: {
|
|
16
19
|
...outputFlags,
|
|
17
20
|
...profileFlag,
|
|
18
21
|
...connectionFlags,
|
|
22
|
+
...worktreeFlag,
|
|
19
23
|
...bodyInputFlags,
|
|
20
24
|
id: {
|
|
21
25
|
type: "positional",
|
|
@@ -30,13 +34,15 @@ var update_default = defineMetabaseCommand({
|
|
|
30
34
|
"mb transform-tag update 5 --file tag.json",
|
|
31
35
|
"echo '{\"name\":\"renamed\"}' | mb transform-tag update 5"
|
|
32
36
|
],
|
|
33
|
-
async run({ args, ctx, getClient }) {
|
|
37
|
+
async run({ args, ctx, getClient, getWorktree }) {
|
|
34
38
|
const id = parseId(args.id);
|
|
35
39
|
const body = await readBody({
|
|
36
40
|
flag: args.body,
|
|
37
41
|
file: args.file
|
|
38
42
|
}, TransformTagUpdateInput);
|
|
39
|
-
const
|
|
43
|
+
const client = await getClient();
|
|
44
|
+
await assertTagInWorktree(client, id, await getWorktree());
|
|
45
|
+
const updated = await client.transformTag.update(id, body);
|
|
40
46
|
renderSummary(updated, transformTagView, `Updated transform tag ${updated.id} "${updated.name}".`, ctx);
|
|
41
47
|
}
|
|
42
48
|
});
|
|
@@ -1,28 +1,30 @@
|
|
|
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 profileFlag, R as connectionFlags, U as worktreeFlag, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { i as assertInWorktree, r as WORKTREE_SCOPE_DETAIL, t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { c as TransformUpdateInput, t as Transform } from "./transform-
|
|
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 { c as TransformUpdateInput, t as Transform } from "./transform-BvOEn41C.mjs";
|
|
7
|
+
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-Chc43ezW.mjs";
|
|
8
|
+
import { n as transformView } from "./transform-CiDOJGBW.mjs";
|
|
9
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-CEoQ7G08.mjs";
|
|
10
10
|
//#region src/commands/transform/update.ts
|
|
11
11
|
var update_default = defineMetabaseCommand({
|
|
12
12
|
meta: {
|
|
13
13
|
name: "update",
|
|
14
14
|
description: "Update a transform by id (partial)"
|
|
15
15
|
},
|
|
16
|
-
details: "Patches only the fields you send (any of `name`, `source`, `target`, `tag_ids`, …). When a new `source.query` is an MBQL 5 query it is checked against a bundled JSON Schema (print it with `mb query --print-schema`) before sending; pass --skip-validate to bypass.",
|
|
16
|
+
details: "Patches only the fields you send (any of `name`, `source`, `target`, `tag_ids`, …). When a new `source.query` is an MBQL 5 query it is checked against a bundled JSON Schema (print it with `mb query --print-schema`) before sending; pass --skip-validate to bypass. " + WORKTREE_SCOPE_DETAIL,
|
|
17
17
|
skills: [{
|
|
18
18
|
skill: "mbql",
|
|
19
19
|
purpose: "MBQL source.query bodies"
|
|
20
20
|
}],
|
|
21
21
|
capabilities: { minVersion: 59 },
|
|
22
|
+
worktree: "scoped",
|
|
22
23
|
args: {
|
|
23
24
|
...outputFlags,
|
|
24
25
|
...profileFlag,
|
|
25
26
|
...connectionFlags,
|
|
27
|
+
...worktreeFlag,
|
|
26
28
|
...bodyInputFlags,
|
|
27
29
|
id: {
|
|
28
30
|
type: "positional",
|
|
@@ -37,16 +39,20 @@ var update_default = defineMetabaseCommand({
|
|
|
37
39
|
"cat patch.json | mb transform update 1",
|
|
38
40
|
"mb transform update 1 --file patch.json",
|
|
39
41
|
"mb transform update 1 --body '{\"name\":\"renamed\"}'",
|
|
40
|
-
"mb transform update 1 --file patch.json --skip-validate"
|
|
42
|
+
"mb transform update 1 --file patch.json --skip-validate",
|
|
43
|
+
"mb transform update 1 --body '{\"name\":\"renamed\"}' --worktree feat/transforms"
|
|
41
44
|
],
|
|
42
|
-
async run({ args, ctx, getClient }) {
|
|
45
|
+
async run({ args, ctx, getClient, getWorktree }) {
|
|
43
46
|
const id = parseId(args.id);
|
|
44
47
|
const body = await readBody({
|
|
45
48
|
flag: args.body,
|
|
46
49
|
file: args.file
|
|
47
50
|
}, TransformUpdateInput);
|
|
48
51
|
if (body.source !== void 0 && body.source.type === "query") preflightMbql5Query(body.source.query, TRANSFORM_SOURCE_QUERY_LABELS, { skip: args["skip-validate"] === true });
|
|
49
|
-
const
|
|
52
|
+
const client = await getClient();
|
|
53
|
+
const scope = await getWorktree();
|
|
54
|
+
if (scope !== null) assertInWorktree("transform", id, (await client.transform.get(id)).worktree_id, scope);
|
|
55
|
+
const updated = await client.transform.update(id, body).catch((error) => {
|
|
50
56
|
throw enrichTransformCollectionError(error);
|
|
51
57
|
});
|
|
52
58
|
renderSummary(updated, transformView, `Updated transform ${updated.id} "${updated.name}".`, ctx);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { H as profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } 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-CNAZ_FuR.mjs";
|
|
5
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.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-DxRSAMNC.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({
|
|
@@ -19,6 +19,7 @@ var update_default = defineMetabaseCommand({
|
|
|
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
|
capabilities: { minVersion: 58 },
|
|
22
|
+
worktree: "main-only",
|
|
22
23
|
args: {
|
|
23
24
|
...outputFlags,
|
|
24
25
|
...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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { a as PulseUpdateInput, t as Pulse } from "./pulse-BmsDenXm.mjs";
|
|
7
|
-
import { t as pulseView } from "./pulse-
|
|
7
|
+
import { t as pulseView } from "./pulse-a-83M4DV.mjs";
|
|
8
8
|
//#region src/commands/subscription/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -18,6 +18,7 @@ var update_default = defineMetabaseCommand({
|
|
|
18
18
|
"A subscription's `dashboard_id` and `collection_id` are fixed at creation and cannot be changed."
|
|
19
19
|
].join(" "),
|
|
20
20
|
capabilities: { minVersion: 58 },
|
|
21
|
+
worktree: "main-only",
|
|
21
22
|
args: {
|
|
22
23
|
...outputFlags,
|
|
23
24
|
...profileFlag,
|
|
@@ -1,18 +1,18 @@
|
|
|
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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { i as DashboardDetail, o as DashboardUpdateInput } from "./dashboard-
|
|
7
|
-
import { t as dashboardView } from "./dashboard-
|
|
8
|
-
import { t as preflightDashcardCardReferences } from "./preflight-
|
|
6
|
+
import { i as DashboardDetail, o as DashboardUpdateInput } from "./dashboard-CKUR8ZpQ.mjs";
|
|
7
|
+
import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
|
|
8
|
+
import { t as preflightDashcardCardReferences } from "./preflight-HLUVr2Yf.mjs";
|
|
9
9
|
//#region src/commands/dashboard/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
12
12
|
name: "update",
|
|
13
13
|
description: "Update a dashboard (and optionally its dashcards/tabs) by id"
|
|
14
14
|
},
|
|
15
|
-
details: "
|
|
15
|
+
details: "Every dashcard must include card_id (a card id, or null for a virtual card). Any positive card_id is pre-flight-validated (exists and readable, not archived) before the PUT.",
|
|
16
16
|
skills: [{
|
|
17
17
|
skill: "dashboard",
|
|
18
18
|
purpose: "wiring filters, cross-filtering, click behavior, tabs"
|
|
@@ -21,6 +21,7 @@ var update_default = defineMetabaseCommand({
|
|
|
21
21
|
purpose: "dashcard visualization_settings and the 24-column grid"
|
|
22
22
|
}],
|
|
23
23
|
capabilities: { minVersion: 58 },
|
|
24
|
+
worktree: "main-only",
|
|
24
25
|
args: {
|
|
25
26
|
...outputFlags,
|
|
26
27
|
...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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { o as FieldUpdateInput, t as Field } from "./field-Cr2DPUG9.mjs";
|
|
7
7
|
import { r as fieldView } from "./field-BPsNa-TO.mjs";
|
|
@@ -12,6 +12,7 @@ var update_default = defineMetabaseCommand({
|
|
|
12
12
|
description: "Update a field (description, semantic_type, FK target, visibility, etc.)"
|
|
13
13
|
},
|
|
14
14
|
capabilities: { minVersion: 58 },
|
|
15
|
+
worktree: "main-only",
|
|
15
16
|
args: {
|
|
16
17
|
...outputFlags,
|
|
17
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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.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";
|
|
@@ -13,6 +13,7 @@ var update_default = defineMetabaseCommand({
|
|
|
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
|
capabilities: { minVersion: 58 },
|
|
16
|
+
worktree: "main-only",
|
|
16
17
|
args: {
|
|
17
18
|
...outputFlags,
|
|
18
19
|
...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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.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";
|
|
@@ -13,6 +13,7 @@ var update_default = defineMetabaseCommand({
|
|
|
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
|
capabilities: { minVersion: 58 },
|
|
16
|
+
worktree: "main-only",
|
|
16
17
|
args: {
|
|
17
18
|
...outputFlags,
|
|
18
19
|
...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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.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-Chc43ezW.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({
|
|
@@ -18,6 +18,7 @@ var update_default = defineMetabaseCommand({
|
|
|
18
18
|
purpose: "the definition filter clause"
|
|
19
19
|
}],
|
|
20
20
|
capabilities: { minVersion: 58 },
|
|
21
|
+
worktree: "main-only",
|
|
21
22
|
args: {
|
|
22
23
|
...outputFlags,
|
|
23
24
|
...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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.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-Chc43ezW.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({
|
|
@@ -18,6 +18,7 @@ var update_default = defineMetabaseCommand({
|
|
|
18
18
|
purpose: "the definition aggregation"
|
|
19
19
|
}],
|
|
20
20
|
capabilities: { minVersion: 59 },
|
|
21
|
+
worktree: "main-only",
|
|
21
22
|
args: {
|
|
22
23
|
...outputFlags,
|
|
23
24
|
...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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-DRrK28IH.mjs";
|
|
7
7
|
import { t as transformJobView } from "./transform-job-50GZHhKH.mjs";
|
|
@@ -12,6 +12,7 @@ var update_default = defineMetabaseCommand({
|
|
|
12
12
|
description: "Update a transform job by id"
|
|
13
13
|
},
|
|
14
14
|
capabilities: { minVersion: 59 },
|
|
15
|
+
worktree: "main-only",
|
|
15
16
|
args: {
|
|
16
17
|
...outputFlags,
|
|
17
18
|
...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 profileFlag, R as connectionFlags, V as outputFlags, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-CNAZ_FuR.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DDCn3VXx.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.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-CrBGUkGQ.mjs";
|
|
7
|
+
import { n as cardView } from "./card-BEeafd4Y.mjs";
|
|
8
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-Chc43ezW.mjs";
|
|
9
9
|
//#region src/commands/card/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -21,6 +21,7 @@ var update_default = defineMetabaseCommand({
|
|
|
21
21
|
purpose: "choose display and visualization_settings"
|
|
22
22
|
}],
|
|
23
23
|
capabilities: { minVersion: 58 },
|
|
24
|
+
worktree: "main-only",
|
|
24
25
|
args: {
|
|
25
26
|
...outputFlags,
|
|
26
27
|
...profileFlag,
|