@metabase/cli 0.3.0 → 0.3.1-alpha.versioning.9ac5f50
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-Dmd-uNeU.mjs} +4 -7
- package/dist/{alert-DT-ee7yf.mjs → alert-D1u2MVZj.mjs} +7 -7
- package/dist/{alerts-Bf2RH_p_.mjs → alerts-DcBjcfEE.mjs} +5 -5
- package/dist/{append-DFzQRPMd.mjs → append-B9Htvmab.mjs} +6 -5
- package/dist/{archive-lQqs13Uz.mjs → archive-B660RguB.mjs} +4 -4
- package/dist/{archive-ByvA49Kz.mjs → archive-BNivAYGr.mjs} +4 -4
- package/dist/{archive-4tmm946K.mjs → archive-BUoYMkxO.mjs} +4 -4
- package/dist/{archive-C7w49Grr.mjs → archive-BVmFGFwG.mjs} +4 -4
- package/dist/{archive-ChORH5JH.mjs → archive-Bf014rFm.mjs} +4 -4
- package/dist/{archive-gid9Y09v.mjs → archive-BmsZFOZY.mjs} +4 -4
- package/dist/{archive-BxNPHxOY.mjs → archive-CNif6BKy.mjs} +6 -6
- package/dist/{archive-Cd29QC0c.mjs → archive-CgmidYZV.mjs} +4 -4
- package/dist/{archive-CwAdlv63.mjs → archive-CvU2z5192.mjs} +4 -4
- package/dist/{archive-Dr9Xnx_Z.mjs → archive-DhDQIKR_.mjs} +6 -6
- package/dist/{archive-B6eXiyER.mjs → archive-bPdDITuY.mjs} +4 -4
- package/dist/{auth-Dltxua89.mjs → auth-CefYEPP5.mjs} +5 -5
- package/dist/{body-Cur4NJt9.mjs → body-C7m9q4cm.mjs} +3 -3
- package/dist/{branches-DchlyU0i.mjs → branches-pz04OjF2.mjs} +3 -6
- package/dist/{cancel-BMQa5R1Z.mjs → cancel-CNLnv19e.mjs} +4 -4
- package/dist/{cancel-task-C5CU1pxU.mjs → cancel-task-DbnxSh7U.mjs} +3 -6
- package/dist/card-BRarvKYX.mjs +24 -0
- package/dist/{cards-SccWvRQD.mjs → cards-DtYlVoGP.mjs} +6 -6
- package/dist/cli.mjs +554 -62
- package/dist/{client-BqhzKdLM.mjs → client-Bv7Iwdvh.mjs} +258 -76
- package/dist/collection-CKeO8X7U.mjs +20 -0
- package/dist/{collection-CGoVLvcD.mjs → collection-DALwHnbz.mjs} +1 -1
- package/dist/{collection-CfulNRBG.mjs → collection-WFdBeyqa.mjs} +1 -1
- package/dist/{collection-namespace-GwydWBF3.mjs → collection-namespace-CvT0TIZA.mjs} +2 -2
- package/dist/content-translation-BrHOrmj9.mjs +5 -0
- package/dist/content-translation-D7POzJJ6.mjs +12 -0
- package/dist/{create-CD008jdE.mjs → create-BEE8uvz2.mjs} +12 -8
- package/dist/{create-CAQV2g6V.mjs → create-Bh2j733n.mjs} +7 -7
- package/dist/{create-BNQ_DytP.mjs → create-Bwg-5p08.mjs} +4 -4
- package/dist/{create-C79vErX0.mjs → create-CGPle4nE.mjs} +5 -5
- package/dist/{create-i14Wv3Tj.mjs → create-CGgPnb7L.mjs} +4 -4
- package/dist/{create-DJmXXQoq.mjs → create-CLgalJUe.mjs} +8 -8
- package/dist/{create-Beh-2uoN.mjs → create-CN24yp_W.mjs} +6 -6
- package/dist/{create-DF4QtgDL.mjs → create-CuYGZ4gu2.mjs} +4 -4
- package/dist/{create-CAWytBE5.mjs → create-DGHILnnk.mjs} +5 -5
- package/dist/{create-zeveFdnd.mjs → create-DYd_o9BD.mjs} +5 -8
- package/dist/{create-DV-Ln5Mo.mjs → create-DhDREiiy.mjs} +4 -4
- package/dist/{create-CHQx7jq4.mjs → create-Di4YvIbK.mjs} +4 -4
- package/dist/{create-tQbnuz-I.mjs → create-DnqnjGGf.mjs} +4 -4
- package/dist/{create-CCh_LyW9.mjs → create-Ds-DnSBe.mjs} +4 -4
- package/dist/{create-BOLwWt8Q.mjs → create-JOXq0ULN.mjs} +5 -5
- package/dist/{create-branch-CYo6jZth.mjs → create-branch-DWcxC30N.mjs} +3 -7
- package/dist/{csv-B2Jgb1GM.mjs → csv-CUQvcCEk.mjs} +6 -5
- package/dist/{current-task-MpBFGttd.mjs → current-task-D6P0eL21.mjs} +3 -6
- package/dist/{dashboard-CsIFFpzK.mjs → dashboard-BlbNszi8.mjs} +1 -1
- package/dist/{dashboard-BHJBoaG7.mjs → dashboard-BudI952R.mjs} +10 -10
- package/dist/{dashboard-BCpSq_G-.mjs → dashboard-CKUR8ZpQ.mjs} +1 -0
- package/dist/{db-DsfojyeH.mjs → db-C7UTd-6P.mjs} +7 -7
- package/dist/{delete-DFmX7jTp.mjs → delete-DSxqbcFE.mjs} +5 -5
- package/dist/{delete-Ck0q4Dzp.mjs → delete-DbZZKcYj.mjs} +5 -5
- package/dist/{delete-Ob06PPie.mjs → delete-Ds-zGh9C.mjs} +5 -5
- package/dist/{delete-B8e01xAG.mjs → delete-Ud6iliGM.mjs} +5 -5
- package/dist/{delete-BApOjQvl.mjs → delete-_IHffP-A.mjs} +5 -5
- package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BjHL1ryM.mjs} +1 -2
- package/dist/{delete-table-DuyhGrvA.mjs → delete-table-DtXH6IN5.mjs} +5 -5
- package/dist/{dependencies-Bj3QrGIm.mjs → dependencies-CR1dlq-A.mjs} +6 -6
- package/dist/{dirty-DNYoM6Bp.mjs → dirty-CYxnOnh0.mjs} +3 -6
- package/dist/document-BoILnE_1.mjs +19 -0
- package/dist/download-DPpmmYQe.mjs +25 -0
- package/dist/{eid-WTZmDdsr.mjs → eid-D-BbtWjt.mjs} +4 -5
- package/dist/{events-Bn7jh5lP.mjs → events-CJEnn8WE.mjs} +4 -4
- package/dist/{export-BjfoZRDJ.mjs → export-BOgyuIOQ.mjs} +4 -7
- package/dist/{field-Zau6Hc6X.mjs → field-CzHBOPER.mjs} +5 -5
- package/dist/{fields-CBBa-Prp.mjs → fields-Bwgkrvus.mjs} +4 -4
- package/dist/{get-C2-Q3iQ5.mjs → get-B89DUSvw.mjs} +4 -4
- package/dist/{get-DkWO0EI0.mjs → get-BL90QC64.mjs} +6 -6
- package/dist/{get-ByBOq30r.mjs → get-BLJSCw53.mjs} +6 -6
- package/dist/{get-DRvsATp-.mjs → get-BOLwso0V.mjs} +6 -6
- package/dist/{get-B7sMgsFs.mjs → get-BaPadzdM.mjs} +4 -4
- package/dist/{get-00lyLv6R.mjs → get-BfVCLBqc.mjs} +4 -4
- package/dist/{get-DdsoHaKH.mjs → get-C1ZdOvMm.mjs} +4 -4
- package/dist/{get-DmpB6J9g.mjs → get-CLu4yzMp2.mjs} +4 -4
- package/dist/{get-DY03Azx9.mjs → get-COwdtskS.mjs} +5 -8
- package/dist/{get-D_h-G9bn.mjs → get-CWfIiXwL.mjs} +4 -4
- package/dist/get-CqQ-pf0q.mjs +89 -0
- package/dist/{get-DYO1kywc.mjs → get-CvIgxPXV.mjs} +4 -4
- package/dist/{get-Bz99dAxK.mjs → get-D4OTJblo.mjs} +6 -6
- package/dist/{get-Dn9ZiSZr.mjs → get-D8lHwu4-.mjs} +4 -4
- package/dist/{get-B_xdF1kq.mjs → get-DVi3a2nm.mjs} +4 -4
- package/dist/{get-CDJFVvhj.mjs → get-DgnYF7LR.mjs} +4 -4
- package/dist/{get-CDMGbgrh.mjs → get-DsKmZfM2.mjs} +4 -4
- package/dist/{get-Dmj9Ygz1.mjs → get-DyyPiiaB.mjs} +4 -4
- package/dist/{get-CnbUCzDM.mjs → get-Eqq13YY-.mjs} +4 -4
- package/dist/{get-run-Cnux9ln0.mjs → get-run-Iya0Yw9s.mjs} +6 -6
- package/dist/git-sync-CdN0Maun.mjs +28 -0
- package/dist/{group-DBM87IgC.mjs → group-CmVCLBDz.mjs} +2 -1
- package/dist/{has-remote-changes-C684Redh.mjs → has-remote-changes-DfJUMP8F.mjs} +3 -6
- package/dist/{import-Rmmttboo.mjs → import-FEAx-Y5A.mjs} +4 -7
- package/dist/{input-DH9i67x_.mjs → input-DFZ_qGW_.mjs} +1 -1
- package/dist/{is-dirty-DYeJYhBz.mjs → is-dirty-BsYjBSXG.mjs} +3 -6
- package/dist/{items-CQlPXBXE.mjs → items-D4rstE12.mjs} +6 -6
- package/dist/{key-BEhqIzIQ.mjs → key-BmWundO3.mjs} +1 -1
- package/dist/{library-DfYAT2Ep.mjs → library-CmctxHjv.mjs} +1 -1
- package/dist/library-DXB8sm4r.mjs +81 -0
- package/dist/{library-Bsm5KsFF.mjs → library-uzyHWBap.mjs} +5 -5
- package/dist/{list-DF2rvoO1.mjs → list-1DkkU82x.mjs} +13 -12
- package/dist/{list-BpFp9Wre.mjs → list-B7tqNV8B.mjs} +3 -3
- package/dist/{list-DE9FM957.mjs → list-BRpPbvyS.mjs} +3 -3
- package/dist/{list-CQwOgIlj.mjs → list-BXL8HFr_.mjs} +3 -3
- package/dist/{list-BzVTHOoH.mjs → list-Bjj0z5BS.mjs} +5 -5
- package/dist/{list-CQDprvW0.mjs → list-BmMi_wPD.mjs} +6 -6
- package/dist/{list-C5Zs8nrb.mjs → list-CC1M_n6Z.mjs} +5 -5
- package/dist/{list-CKK-s3Ty.mjs → list-CQy0z7f9.mjs} +3 -3
- package/dist/{list-BtmsNOEn.mjs → list-D_zvX0ms.mjs} +3 -3
- package/dist/{list-CMpoc2TN.mjs → list-DeNGm9G4.mjs} +3 -3
- package/dist/{list-DMKDsBRd.mjs → list-Dgm6TkqR.mjs} +6 -6
- package/dist/{list-BOET6zhP.mjs → list-DoTiQc3D.mjs} +3 -3
- package/dist/{list-BP3MPq-M.mjs → list-DrS3ePsv.mjs} +3 -3
- package/dist/list-bN0RC14-.mjs +59 -0
- package/dist/{list-B4hJuMhA.mjs → list-ndIl9XqV.mjs} +4 -4
- package/dist/{list-B8nAGwP4.mjs → list-sQcA4g05.mjs} +3 -3
- package/dist/{list-CNUiF8Z7.mjs → list-squb_ioH.mjs} +3 -3
- package/dist/{list-BtkWNtvY.mjs → list-xMfCeuZc.mjs} +4 -4
- package/dist/{login-CGHeSjlP.mjs → login-D_1-zE4A.mjs} +15 -12
- package/dist/{logout-DAxOlbv4.mjs → logout-DPi2q1Wu.mjs} +3 -4
- package/dist/{measure-BsYv0p26.mjs → measure-CdA8Nl3Z.mjs} +6 -6
- package/dist/{parameter-values-CJTdqd8c.mjs → parameter-values-C6dj6I4g.mjs} +4 -5
- package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-B1t8S194.mjs} +1 -1
- package/dist/{parse-id-C_jmKFaa.mjs → parse-id-DR8aUSdL.mjs} +1 -1
- package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-BJ_Q0tNW.mjs} +1 -1
- package/dist/{path-B5gHvrYL.mjs → path-B96DI8u2.mjs} +4 -4
- package/dist/{poll-75SvT7Zv.mjs → poll-By46YQ5J.mjs} +2 -2
- package/dist/{preflight-YpPQo-sa.mjs → preflight-Bl1oitm8.mjs} +3 -4
- package/dist/{process-DBOOrmET.mjs → process-CcQM4qPv.mjs} +1 -1
- package/dist/{publish-DijrxaCW.mjs → publish-BKJYvxif.mjs} +9 -9
- package/dist/{query-Dc__-KJH.mjs → query-BKSM-pbi.mjs} +6 -7
- package/dist/{query-BbqECzmF.mjs → query-qBHjZQc_.mjs} +5 -12
- package/dist/{remove-collection-BOnxYvhj.mjs → remove-collection-BWFW7Rn6.mjs} +4 -7
- package/dist/{render-CI93iP0I.mjs → render-DmykmrFB.mjs} +11 -2
- package/dist/{replace-Cq4CxVa-.mjs → replace-BmAqD3zY.mjs} +6 -5
- package/dist/{rescan-values-Dr_j416g.mjs → rescan-values-BrCLrihF.mjs} +4 -4
- package/dist/{run-C3DkS6NP.mjs → run-CtbzjDKY.mjs} +6 -6
- package/dist/{run-DdGJ544X.mjs → run-q5Y44Fxj.mjs} +26 -14
- package/dist/{runs-CUNWiidL.mjs → runs-JFlbezkQ.mjs} +6 -6
- package/dist/{runtime-DiKyBxOw.mjs → runtime-BQiGgbgZ.mjs} +850 -265
- package/dist/{schema-tables-CV386fnC.mjs → schema-tables-Bzx2ShyE.mjs} +4 -4
- package/dist/{schemas-DM-UqZBQ.mjs → schemas-ww5mU2AS.mjs} +4 -4
- package/dist/{search-DmGScXs8.mjs → search-J4RwCof-.mjs} +4 -4
- package/dist/{segment-BzUGM2Fr.mjs → segment-XXTjU0eG.mjs} +6 -6
- package/dist/{selectors-DGDn0Hto.mjs → selectors-BAAZMi43.mjs} +3 -3
- package/dist/{send-CVxxEpDB.mjs → send-BmpDlw9O.mjs} +4 -4
- package/dist/{set-DFolTjbd.mjs → set-DUWrSza9.mjs} +5 -5
- package/dist/{set-active-BD8L1lPX.mjs → set-active-BiUlbNI5.mjs} +5 -5
- package/dist/{setting-DyhaeICs.mjs → setting-B1KBQN3M.mjs} +4 -4
- package/dist/{setup-BbDQN8fe.mjs → setup-CVaNVwOd.mjs} +4 -4
- package/dist/{signal-CMd0EFUa.mjs → signal-GhGmuHfx.mjs} +11 -2
- package/dist/{list-UhpKG6_m.mjs → skill-list-DTnDhnL5.mjs} +17 -46
- package/dist/{skills--vK6J-e4.mjs → skills-BWrAlj9l.mjs} +3 -3
- package/dist/{skills-DTCrMcix.mjs → skills-DkDsSH5F.mjs} +102 -14
- package/dist/snippet-CG75L2DS.mjs +19 -0
- package/dist/{stash-D0S4JmAz.mjs → stash-DMm8YF8V.mjs} +4 -8
- package/dist/{status-hL1am-HV.mjs → status-BzEQjQ_t.mjs} +12 -11
- package/dist/{status-BhswxJL1.mjs → status-ClWsQD6v.mjs} +9 -7
- package/dist/stream-McixcoUl.mjs +7 -0
- package/dist/{subscription-_d5fB45F.mjs → subscription-CdFn2hre.mjs} +6 -6
- package/dist/{subscriptions-s4TF6Ax3.mjs → subscriptions-DBda1pE5.mjs} +5 -5
- package/dist/{summary-CsPvcUwW.mjs → summary-B4GPiuqD.mjs} +4 -4
- package/dist/{sync-schema-DaZ_MV-u.mjs → sync-schema-DsIM5g2U.mjs} +5 -5
- package/dist/{table-DYoC1kPn.mjs → table-D4Alrrwh.mjs} +5 -5
- package/dist/timeline-DmM0BuX8.mjs +21 -0
- package/dist/{timeline-event-CNQdCTDg.mjs → timeline-event-DWIh3Tdt.mjs} +6 -6
- package/dist/transform-BcV_XlSX.mjs +28 -0
- package/dist/{transform-DoTyyXAu.mjs → transform-Bk0D0nIs.mjs} +1 -1
- package/dist/{transform-D3QX0jxA.mjs → transform-DpuG-ON3.mjs} +26 -5
- package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
- package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
- package/dist/transform-job-CjtwBGoM.mjs +22 -0
- package/dist/{transform-tag-_tgwlsdB.mjs → transform-tag-DJ3_bksm.mjs} +5 -5
- package/dist/{transforms-oU4zizbO.mjs → transforms-Dg2MfB2a.mjs} +6 -6
- package/dist/{tree-CH-f3bjP.mjs → tree-BQL0f7YX.mjs} +4 -5
- package/dist/{unpublish-BUl9RU5C.mjs → unpublish-DfSvb_Rs.mjs} +4 -7
- package/dist/{update-D-NE60AV.mjs → update-B-hRR8gW.mjs} +5 -5
- package/dist/{update-CO4m4wH3.mjs → update-BCgAyfj_.mjs} +6 -6
- package/dist/{update-BzMDeZiU.mjs → update-Bhmli02m.mjs} +5 -5
- package/dist/{update-CvOO8TED.mjs → update-BxIyFtrX.mjs} +5 -5
- package/dist/{update-BiFDBcEH.mjs → update-CDo0Orvu.mjs} +5 -5
- package/dist/{update-BCS5FxKr.mjs → update-CKoBDTL7.mjs} +9 -9
- package/dist/{update-CmDTljK-.mjs → update-CiYxcf8M.mjs} +7 -7
- package/dist/{update-CHNSUHK4.mjs → update-Cr5zHb0D.mjs} +5 -5
- package/dist/{update-Nfi44RrE.mjs → update-CtDHMxW8.mjs} +6 -6
- package/dist/{update-bD_Jh5-s.mjs → update-D1QdfpKR.mjs} +5 -5
- package/dist/{update-BZPllQoR.mjs → update-D4qdTlLF.mjs} +5 -5
- package/dist/{update-C4YJQFDS.mjs → update-DBGaJDsj.mjs} +5 -5
- package/dist/{update-tX9mKBN_.mjs → update-Izqip6jY.mjs} +9 -9
- package/dist/{update-cYkvbqK8.mjs → update-NZhIjTCf.mjs} +5 -5
- package/dist/{update-dashcard-C3TuYO_k.mjs → update-dashcard-D5b971AO.mjs} +7 -7
- package/dist/{update-CVPAwJaH.mjs → update-sYLQIUgh.mjs} +6 -6
- package/dist/{upgrade-DXMV4AyP.mjs → upgrade-CD1xtsIv.mjs} +6 -8
- package/dist/upload-BUd3MG90.mjs +23 -0
- package/dist/upload-C3z5ZaXA.mjs +24 -0
- package/dist/upload-DzGTlldn.mjs +13 -0
- package/dist/upload-akKFxpVA.mjs +39 -0
- package/dist/{uuid-BJkDWj9p.mjs → uuid-oVdJ62eA.mjs} +3 -4
- package/dist/{validate-BWchyW0V.mjs → validate-CWd6l6KZ.mjs} +1 -1
- package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-Boi8-cAP.mjs} +2 -3
- package/dist/{values-Dxf1JEoA.mjs → values-DLwZl-P8.mjs} +4 -4
- package/dist/{verify-K96rItG5.mjs → verify-CH9Tw8yv.mjs} +3 -18
- package/dist/{wait-flags-DWEF9tX4.mjs → wait-flags-DiQ_kRjZ.mjs} +2 -2
- package/dist/{wait-DoMDH226.mjs → wait-rfTdQWdi.mjs} +5 -8
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +16 -5
- package/skill-data/dashboard/SKILL.md +2 -2
- 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 +1 -1
- package/skill-data/mbql/references/operators.md +20 -15
- package/skill-data/metadata/SKILL.md +1 -1
- package/skill-data/metadata/references/semantic-types.md +7 -1
- package/skill-data/native-sql/references/template-tags.md +6 -2
- package/skill-data/notification/SKILL.md +7 -1
- package/skill-data/transform/SKILL.md +12 -2
- package/skill-data/visualization/SKILL.md +11 -3
- package/skill-data/visualization/references/settings.md +6 -4
- package/skills/metabase-cli/SKILL.md +1 -1
- package/dist/card-CHI2bmds.mjs +0 -24
- package/dist/collection-CY0AB99E.mjs +0 -20
- package/dist/document-BbskZPTT.mjs +0 -19
- package/dist/get-CvI--9S_.mjs +0 -80
- package/dist/git-sync-MQQYRYLg.mjs +0 -28
- package/dist/library-ClLgrAXy.mjs +0 -19
- package/dist/network-error-CEb9ymDW.mjs +0 -423
- package/dist/predicates-Bkm2IoeX.mjs +0 -170
- 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/upload-CH632qW6.mjs +0 -46
- package/dist/upload-Dey_8rLf.mjs +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.mjs";
|
|
2
2
|
//#region src/commands/subscription/index.ts
|
|
3
3
|
var subscription_default = defineCommandGroup({
|
|
4
4
|
name: "subscription",
|
|
@@ -11,11 +11,11 @@ var subscription_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "the dashboard and dashcards a subscription delivers"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
list: () => import("./list-
|
|
15
|
-
get: () => import("./get-
|
|
16
|
-
create: () => import("./create-
|
|
17
|
-
update: () => import("./update-
|
|
18
|
-
archive: () => import("./archive-
|
|
14
|
+
list: () => import("./list-sQcA4g05.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-CLu4yzMp2.mjs").then((mod) => mod.default),
|
|
16
|
+
create: () => import("./create-CuYGZ4gu2.mjs").then((mod) => mod.default),
|
|
17
|
+
update: () => import("./update-Bhmli02m.mjs").then((mod) => mod.default),
|
|
18
|
+
archive: () => import("./archive-CvU2z5192.mjs").then((mod) => mod.default)
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, P as listFlags, o as renderList } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
|
|
6
|
-
import { SubscriptionListEnvelope } from "./list-
|
|
6
|
+
import { SubscriptionListEnvelope } from "./list-sQcA4g05.mjs";
|
|
7
7
|
//#region src/commands/dashboard/subscriptions.ts
|
|
8
8
|
var subscriptions_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -11,7 +11,7 @@ var subscriptions_default = defineMetabaseCommand({
|
|
|
11
11
|
description: "List subscriptions on a dashboard"
|
|
12
12
|
},
|
|
13
13
|
details: "Manage them with `mb subscription create|update|archive`, which take the subscription id printed here.",
|
|
14
|
-
|
|
14
|
+
requires: ["pulse.list"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...listFlags,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, a as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { a as FieldSummary } from "./field-Cr2DPUG9.mjs";
|
|
5
5
|
import { t as fieldSummaryView } from "./field-BPsNa-TO.mjs";
|
|
6
6
|
//#region src/commands/field/summary.ts
|
|
@@ -9,7 +9,7 @@ var summary_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "summary",
|
|
10
10
|
description: "Get the row count and distinct count for a field"
|
|
11
11
|
},
|
|
12
|
-
|
|
12
|
+
requires: ["field.summary"],
|
|
13
13
|
args: {
|
|
14
14
|
...outputFlags,
|
|
15
15
|
...profileFlag,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { a as DatabaseSyncResult } from "./database-C8G6ZKG0.mjs";
|
|
5
5
|
import { t as databaseSyncResultView } from "./database-B19qlLKZ.mjs";
|
|
6
|
-
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-
|
|
6
|
+
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-DiQ_kRjZ.mjs";
|
|
7
7
|
//#region src/commands/db/sync-schema.ts
|
|
8
8
|
var sync_schema_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -11,7 +11,7 @@ var sync_schema_default = defineMetabaseCommand({
|
|
|
11
11
|
description: "Trigger a manual schema sync for a database"
|
|
12
12
|
},
|
|
13
13
|
details: "Queues an async schema sync and returns immediately. Pass --wait to poll the database until its initial_sync_status reports `complete` (a database that has already finished its initial sync returns at once). To wait for a specific newly-materialized transform table to register, prefer `mb transform run <id> --sync`.",
|
|
14
|
-
|
|
14
|
+
requires: ["database.syncSchema"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.mjs";
|
|
2
2
|
//#region src/commands/table/index.ts
|
|
3
3
|
var table_default = defineCommandGroup({
|
|
4
4
|
name: "table",
|
|
@@ -8,10 +8,10 @@ var table_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "table and column metadata, semantic types, visibility"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get-
|
|
13
|
-
fields: () => import("./fields-
|
|
14
|
-
update: () => import("./update-
|
|
11
|
+
list: () => import("./list-xMfCeuZc.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-D8lHwu4-.mjs").then((m) => m.default),
|
|
13
|
+
fields: () => import("./fields-Bwgkrvus.mjs").then((m) => m.default),
|
|
14
|
+
update: () => import("./update-BxIyFtrX.mjs").then((m) => m.default)
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.mjs";
|
|
2
|
+
//#region src/commands/timeline/index.ts
|
|
3
|
+
var timeline_default = defineCommandGroup({
|
|
4
|
+
name: "timeline",
|
|
5
|
+
description: "Manage Metabase timelines (event annotations for time-series charts)",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "core",
|
|
8
|
+
purpose: "collection scoping — events render only on questions in the timeline's collection"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-DrS3ePsv.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-Eqq13YY-.mjs").then((mod) => mod.default),
|
|
13
|
+
events: () => import("./events-CJEnn8WE.mjs").then((mod) => mod.default),
|
|
14
|
+
create: () => import("./create-DhDREiiy.mjs").then((mod) => mod.default),
|
|
15
|
+
update: () => import("./update-NZhIjTCf.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-CgmidYZV.mjs").then((mod) => mod.default),
|
|
17
|
+
delete: () => import("./delete-Ds-zGh9C.mjs").then((mod) => mod.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { timeline_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.mjs";
|
|
2
2
|
//#region src/commands/timeline-event/index.ts
|
|
3
3
|
var timeline_event_default = defineCommandGroup({
|
|
4
4
|
name: "timeline-event",
|
|
@@ -8,11 +8,11 @@ var timeline_event_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "required event fields and timeline collection scoping"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
create: () => import("./create-
|
|
13
|
-
update: () => import("./update-
|
|
14
|
-
archive: () => import("./archive-
|
|
15
|
-
delete: () => import("./delete-
|
|
11
|
+
get: () => import("./get-BaPadzdM.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-CGgPnb7L.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-D4qdTlLF.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-bPdDITuY.mjs").then((mod) => mod.default),
|
|
15
|
+
delete: () => import("./delete-_IHffP-A.mjs").then((mod) => mod.default)
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.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-CC1M_n6Z.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-BLJSCw53.mjs").then((mod) => mod.default),
|
|
16
|
+
dependencies: () => import("./dependencies-CR1dlq-A.mjs").then((mod) => mod.default),
|
|
17
|
+
create: () => import("./create-CLgalJUe.mjs").then((mod) => mod.default),
|
|
18
|
+
update: () => import("./update-CKoBDTL7.mjs").then((mod) => mod.default),
|
|
19
|
+
delete: () => import("./delete-DbZZKcYj.mjs").then((mod) => mod.default),
|
|
20
|
+
"delete-table": () => import("./delete-table-DtXH6IN5.mjs").then((mod) => mod.default),
|
|
21
|
+
run: () => import("./run-CtbzjDKY.mjs").then((mod) => mod.default),
|
|
22
|
+
cancel: () => import("./cancel-CNLnv19e.mjs").then((mod) => mod.default),
|
|
23
|
+
"get-run": () => import("./get-run-Iya0Yw9s.mjs").then((mod) => mod.default),
|
|
24
|
+
runs: () => import("./runs-JFlbezkQ.mjs").then((mod) => mod.default)
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { transform_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as MALFORMED_CELL } from "./cli.mjs";
|
|
2
|
-
import { a as TransformRunCompact, n as TransformCompact, s as TransformTarget } from "./transform-
|
|
2
|
+
import { a as TransformRunCompact, n as TransformCompact, s as TransformTarget } from "./transform-DpuG-ON3.mjs";
|
|
3
3
|
//#region src/output/views/transform.ts
|
|
4
4
|
function formatTarget(value) {
|
|
5
5
|
const parsed = TransformTarget.safeParse(value);
|
|
@@ -119,7 +119,7 @@ const TransformRunResult = z.object({
|
|
|
119
119
|
final: TransformRun.nullable(),
|
|
120
120
|
target_table_id: z.number().int().nullable().optional()
|
|
121
121
|
});
|
|
122
|
-
const
|
|
122
|
+
const TransformBase = z.object({
|
|
123
123
|
id: z.number().int(),
|
|
124
124
|
name: z.string(),
|
|
125
125
|
description: z.string().nullable(),
|
|
@@ -128,8 +128,6 @@ const Transform = z.object({
|
|
|
128
128
|
source_type: TransformSourceType,
|
|
129
129
|
source_database_id: z.number().int().nullable().optional(),
|
|
130
130
|
target_db_id: z.number().int().nullable().optional(),
|
|
131
|
-
target_table_id: z.number().int().nullable().optional(),
|
|
132
|
-
table: z.object({ id: z.number().int() }).loose().nullable().optional(),
|
|
133
131
|
entity_id: z.string().nullable(),
|
|
134
132
|
created_at: z.string(),
|
|
135
133
|
updated_at: z.string(),
|
|
@@ -139,12 +137,35 @@ const Transform = z.object({
|
|
|
139
137
|
last_run: TransformLastRun.nullable().optional(),
|
|
140
138
|
tag_ids: z.array(z.number().int()).optional()
|
|
141
139
|
}).loose();
|
|
140
|
+
const Transform = TransformBase.extend({ target_table_id: z.number().int().nullable() });
|
|
141
|
+
const TransformWireV59Detail = TransformBase.extend({ table: z.object({ id: z.number().int() }).loose().nullable() });
|
|
142
|
+
function fromHydratedTable(wire) {
|
|
143
|
+
return {
|
|
144
|
+
...wire,
|
|
145
|
+
target_table_id: wire.table === null ? null : wire.table.id
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
function withoutLink(row) {
|
|
149
|
+
return {
|
|
150
|
+
...row,
|
|
151
|
+
target_table_id: null
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
/** The shape `GET /api/transform/{id}` answers on a server with `features`, read as `Transform`. */
|
|
155
|
+
function transformDetailSchema(features) {
|
|
156
|
+
return features.transformTargetTableId ? Transform : TransformWireV59Detail.transform(fromHydratedTable);
|
|
157
|
+
}
|
|
158
|
+
/** The shape every other transform endpoint answers on a server with `features`, read as `Transform`. */
|
|
159
|
+
function transformRowSchema(features) {
|
|
160
|
+
return features.transformTargetTableId ? Transform : TransformBase.transform(withoutLink);
|
|
161
|
+
}
|
|
142
162
|
const TransformCompact = Transform.pick({
|
|
143
163
|
id: true,
|
|
144
164
|
name: true,
|
|
145
165
|
description: true,
|
|
146
166
|
source_type: true,
|
|
147
|
-
target_db_id: true
|
|
167
|
+
target_db_id: true,
|
|
168
|
+
target_table_id: true
|
|
148
169
|
}).strip().extend({ target: TransformTargetCompact });
|
|
149
170
|
const TransformCreateInput = z.object({
|
|
150
171
|
name: z.string().min(1),
|
|
@@ -169,4 +190,4 @@ const TransformUpdateInput = z.object({
|
|
|
169
190
|
owner_email: z.string().nullable().optional()
|
|
170
191
|
}).loose();
|
|
171
192
|
//#endregion
|
|
172
|
-
export { TransformRunCompact as a, TransformUpdateInput as c, TransformRun as i, isTransformRunFailed as l, TransformCompact as n, TransformRunResult as o, TransformCreateInput as r, TransformTarget as s, Transform as t, isTransformRunTerminal as u };
|
|
193
|
+
export { TransformRunCompact as a, TransformUpdateInput as c, transformDetailSchema as d, transformRowSchema as f, TransformRun as i, isTransformRunFailed as l, TransformCompact as n, TransformRunResult as o, TransformCreateInput as r, TransformTarget as s, Transform as t, isTransformRunTerminal as u };
|
|
@@ -20,13 +20,12 @@ const JobLastRun = z.object({
|
|
|
20
20
|
updated_at: z.string()
|
|
21
21
|
}).loose();
|
|
22
22
|
const JobNextRun = z.object({ start_time: z.string() }).loose();
|
|
23
|
-
const
|
|
23
|
+
const TransformJobBase = z.object({
|
|
24
24
|
id: z.number().int(),
|
|
25
25
|
name: z.string(),
|
|
26
26
|
description: z.string().nullable(),
|
|
27
27
|
schedule: z.string(),
|
|
28
28
|
ui_display_type: CronUiDisplayType,
|
|
29
|
-
active: z.boolean().optional(),
|
|
30
29
|
entity_id: z.string().nullable(),
|
|
31
30
|
created_at: z.string(),
|
|
32
31
|
updated_at: z.string(),
|
|
@@ -35,6 +34,17 @@ const TransformJob = z.object({
|
|
|
35
34
|
last_run: JobLastRun.nullable().optional(),
|
|
36
35
|
next_run: JobNextRun.nullable().optional()
|
|
37
36
|
}).loose();
|
|
37
|
+
const TransformJob = TransformJobBase.extend({ active: z.boolean().nullable() });
|
|
38
|
+
function alwaysActive(wire) {
|
|
39
|
+
return {
|
|
40
|
+
...wire,
|
|
41
|
+
active: null
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
/** The shape every transform-job endpoint answers on a server with `features`, read as `TransformJob`. */
|
|
45
|
+
function transformJobSchema(features) {
|
|
46
|
+
return features.transformJobActivation ? TransformJob : TransformJobBase.transform(alwaysActive);
|
|
47
|
+
}
|
|
38
48
|
const TransformJobCompact = TransformJob.pick({
|
|
39
49
|
id: true,
|
|
40
50
|
name: true,
|
|
@@ -61,11 +71,38 @@ const TransformJobUpdateInput = z.object({
|
|
|
61
71
|
}).loose();
|
|
62
72
|
const TransformJobRunResult = z.object({
|
|
63
73
|
message: z.string(),
|
|
64
|
-
|
|
74
|
+
started: z.boolean().nullable(),
|
|
75
|
+
run_id: z.number().int().positive().nullable()
|
|
76
|
+
});
|
|
77
|
+
const TransformJobRunWireV59 = z.object({
|
|
78
|
+
message: z.string(),
|
|
79
|
+
job_run_id: z.string()
|
|
80
|
+
});
|
|
81
|
+
const TransformJobRunWireV64 = z.object({
|
|
82
|
+
message: z.string(),
|
|
83
|
+
job_run_id: z.number().int().positive().nullable()
|
|
65
84
|
});
|
|
85
|
+
function fromStubRunId(wire) {
|
|
86
|
+
return {
|
|
87
|
+
message: wire.message,
|
|
88
|
+
started: null,
|
|
89
|
+
run_id: null
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
function fromNumericRunId(wire) {
|
|
93
|
+
return {
|
|
94
|
+
message: wire.message,
|
|
95
|
+
started: wire.job_run_id !== null,
|
|
96
|
+
run_id: wire.job_run_id
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
/** The shape `POST /api/transform-job/{id}/run` answers on a server with `features`, read as `TransformJobRunResult`. */
|
|
100
|
+
function transformJobRunResultSchema(features) {
|
|
101
|
+
return features.transformJobRunIdIsNumeric ? TransformJobRunWireV64.transform(fromNumericRunId) : TransformJobRunWireV59.transform(fromStubRunId);
|
|
102
|
+
}
|
|
66
103
|
const TransformJobActiveResult = z.object({
|
|
67
104
|
updated: z.number().int(),
|
|
68
105
|
failed: z.number().int()
|
|
69
106
|
});
|
|
70
107
|
//#endregion
|
|
71
|
-
export { TransformJobRunResult as a, TransformJobCreateInput as i, TransformJobActiveResult as n, TransformJobUpdateInput as o, TransformJobCompact as r, TransformJob as t };
|
|
108
|
+
export { TransformJobRunResult as a, transformJobSchema as c, TransformJobCreateInput as i, TransformJobActiveResult as n, TransformJobUpdateInput as o, TransformJobCompact as r, transformJobRunResultSchema as s, TransformJob as t };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.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-Bjj0z5BS.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BOLwso0V.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-CN24yp_W.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-CiYxcf8M.mjs").then((mod) => mod.default),
|
|
15
|
+
delete: () => import("./delete-DSxqbcFE.mjs").then((mod) => mod.default),
|
|
16
|
+
run: () => import("./run-q5Y44Fxj.mjs").then((mod) => mod.default),
|
|
17
|
+
transforms: () => import("./transforms-Dg2MfB2a.mjs").then((mod) => mod.default),
|
|
18
|
+
"set-active": () => import("./set-active-BiUlbNI5.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-CmVCLBDz.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-CQy0z7f9.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-Ds-DnSBe.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-CDo0Orvu.mjs").then((mod) => mod.default),
|
|
14
|
+
delete: () => import("./delete-Ud6iliGM.mjs").then((mod) => mod.default)
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, P as listFlags, o as renderList, z as listEnvelopeSchema } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
|
-
import { n as TransformCompact } from "./transform-
|
|
6
|
-
import { n as transformView } from "./transform-
|
|
5
|
+
import { n as TransformCompact } from "./transform-DpuG-ON3.mjs";
|
|
6
|
+
import { n as transformView } from "./transform-Bk0D0nIs.mjs";
|
|
7
7
|
//#region src/commands/transform-job/transforms.ts
|
|
8
8
|
const TransformJobTransformsEnvelope = listEnvelopeSchema(TransformCompact);
|
|
9
9
|
var transforms_default = defineMetabaseCommand({
|
|
@@ -12,7 +12,7 @@ var transforms_default = defineMetabaseCommand({
|
|
|
12
12
|
description: "List the transforms a job will run"
|
|
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
|
+
requires: ["transformJob.transforms"],
|
|
16
16
|
args: {
|
|
17
17
|
...outputFlags,
|
|
18
18
|
...listFlags,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { f as CollectionTreeNode } from "./collection-CfulNRBG.mjs";
|
|
1
|
+
import { I as outputFlags, K as ConfigError, L as profileFlag, N as connectionFlags, l as writeJson } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { p as CollectionTreeNode } from "./collection-WFdBeyqa.mjs";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
//#region src/commands/collection/tree.ts
|
|
7
6
|
const CollectionTreeResponse = z.array(CollectionTreeNode);
|
|
@@ -10,7 +9,7 @@ var tree_default = defineMetabaseCommand({
|
|
|
10
9
|
name: "tree",
|
|
11
10
|
description: "Fetch the collection hierarchy as a nested tree (JSON only)"
|
|
12
11
|
},
|
|
13
|
-
|
|
12
|
+
requires: ["collection.tree"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-BAAZMi43.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,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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C7m9q4cm.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as DocumentUpdateInput, t as Document } from "./document-Cd2mmqCp.mjs";
|
|
7
7
|
import { t as documentView } from "./document-D6OybtP2.mjs";
|
|
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
|
|
|
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,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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C7m9q4cm.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { c as CardUpdateInput, t as Card } from "./card-DZxRmver.mjs";
|
|
7
7
|
import { n as cardView } from "./card-zyUkr2nS.mjs";
|
|
8
|
-
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-
|
|
8
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-Boi8-cAP.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,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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C7m9q4cm.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
7
|
import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
|
|
@@ -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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C7m9q4cm.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { a as TableUpdateInput, t as Table } from "./table-CeeTJgQb.mjs";
|
|
7
7
|
import { t as tableView } from "./table-CsIJNPFf.mjs";
|
|
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
|
|
|
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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C7m9q4cm.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,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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C7m9q4cm.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-DpuG-ON3.mjs";
|
|
7
|
+
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-Boi8-cAP.mjs";
|
|
8
|
+
import { n as transformView } from "./transform-Bk0D0nIs.mjs";
|
|
9
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-CvT0TIZA.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 { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { t as readBody } from "./body-C7m9q4cm.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,
|