@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
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.mjs";
|
|
2
|
+
//#region src/commands/collection/index.ts
|
|
3
|
+
var collection_default = defineCommandGroup({
|
|
4
|
+
name: "collection",
|
|
5
|
+
description: "Manage Metabase collections",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "core",
|
|
8
|
+
purpose: "collection ref forms and the transforms namespace"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-Dgm6TkqR.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BL90QC64.mjs").then((mod) => mod.default),
|
|
13
|
+
items: () => import("./items-D4rstE12.mjs").then((mod) => mod.default),
|
|
14
|
+
tree: () => import("./tree-BQL0f7YX.mjs").then((mod) => mod.default),
|
|
15
|
+
create: () => import("./create-Bh2j733n.mjs").then((mod) => mod.default),
|
|
16
|
+
archive: () => import("./archive-CNif6BKy.mjs").then((mod) => mod.default)
|
|
17
|
+
}
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { collection_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as CollectionItemCompact, i as CollectionCompact } from "./collection-WFdBeyqa.mjs";
|
|
2
2
|
//#region src/output/views/collection.ts
|
|
3
3
|
const collectionView = {
|
|
4
4
|
compactPick: CollectionCompact,
|
|
@@ -123,4 +123,4 @@ z.object({
|
|
|
123
123
|
archived: z.boolean().optional()
|
|
124
124
|
}).loose();
|
|
125
125
|
//#endregion
|
|
126
|
-
export { CollectionCreateInput as a,
|
|
126
|
+
export { CollectionCreateInput as a, CollectionItemCompact as c, CollectionNamespace as d, CollectionPinnedState as f, CollectionCompact as i, CollectionItemFilterModel as l, CollectionType as m, COLLECTION_PINNED_STATES as n, CollectionId as o, CollectionTreeNode as p, Collection as r, CollectionItem as s, COLLECTION_ITEM_FILTER_MODELS as t, CollectionListFilter as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { K as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { L as HttpError } from "./runtime-BQiGgbgZ.mjs";
|
|
3
3
|
//#region src/commands/transform/collection-namespace.ts
|
|
4
4
|
const TRANSFORMS_NAMESPACE_HINT = "transforms can only be filed in a :transforms-namespace collection. Create one with `mb collection create --body '{\"name\":\"…\"}' --namespace transforms` and pass its id as collection_id, or omit collection_id to leave the transform uncollected.";
|
|
5
5
|
function enrichTransformCollectionError(error) {
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-CmVCLBDz.mjs";
|
|
2
|
+
//#region src/commands/content-translation/index.ts
|
|
3
|
+
var content_translation_default = defineCommandGroup({
|
|
4
|
+
name: "content-translation",
|
|
5
|
+
description: "Download or replace the content translation dictionary",
|
|
6
|
+
subCommands: {
|
|
7
|
+
download: () => import("./download-DPpmmYQe.mjs").then((mod) => mod.default),
|
|
8
|
+
upload: () => import("./upload-akKFxpVA.mjs").then((mod) => mod.default)
|
|
9
|
+
}
|
|
10
|
+
});
|
|
11
|
+
//#endregion
|
|
12
|
+
export { content_translation_default as default };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
-
import { r as DashboardCreateInput, t as Dashboard } from "./dashboard-
|
|
6
|
-
import { t as dashboardView } from "./dashboard-
|
|
7
|
-
import { n as wrapChainedDashboardWriteError, t as preflightDashcardCardReferences } from "./preflight-
|
|
5
|
+
import { r as DashboardCreateInput, t as Dashboard } from "./dashboard-CKUR8ZpQ.mjs";
|
|
6
|
+
import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
|
|
7
|
+
import { n as wrapChainedDashboardWriteError, t as preflightDashcardCardReferences } from "./preflight-Bl1oitm8.mjs";
|
|
8
8
|
//#region src/commands/dashboard/create.ts
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "create",
|
|
12
12
|
description: "Create a dashboard from JSON"
|
|
13
13
|
},
|
|
14
|
-
details: "
|
|
14
|
+
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 dashboard is created.",
|
|
15
15
|
skills: [{
|
|
16
16
|
skill: "dashboard",
|
|
17
17
|
purpose: "wiring filters, cross-filtering, click behavior, tabs"
|
|
@@ -19,7 +19,11 @@ var create_default = defineMetabaseCommand({
|
|
|
19
19
|
skill: "visualization",
|
|
20
20
|
purpose: "dashcard visualization_settings and the 24-column grid"
|
|
21
21
|
}],
|
|
22
|
-
|
|
22
|
+
requires: [
|
|
23
|
+
"dashboard.create",
|
|
24
|
+
"dashboard.update",
|
|
25
|
+
"dashboard.checkCardReferences"
|
|
26
|
+
],
|
|
23
27
|
args: {
|
|
24
28
|
...outputFlags,
|
|
25
29
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
-
import { a as CollectionCreateInput,
|
|
6
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
7
|
-
import { n as collectionView } from "./collection-
|
|
5
|
+
import { a as CollectionCreateInput, d as CollectionNamespace, r as Collection } from "./collection-WFdBeyqa.mjs";
|
|
6
|
+
import { t as parseEnumFlag } from "./parse-enum-B1t8S194.mjs";
|
|
7
|
+
import { n as collectionView } from "./collection-DALwHnbz.mjs";
|
|
8
8
|
//#region src/commands/collection/create.ts
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -12,7 +12,7 @@ var create_default = defineMetabaseCommand({
|
|
|
12
12
|
description: "Create a collection from a JSON spec"
|
|
13
13
|
},
|
|
14
14
|
details: "Body keys: `name` (required), `description`, `parent_id`, `authority_level`, `namespace`. Most collections use the default namespace (omit it). Pass `namespace: \"transforms\"` (or `--namespace transforms`) to create the kind of collection a transform's `collection_id` can point at — a regular collection is rejected there.",
|
|
15
|
-
|
|
15
|
+
requires: ["collection.create"],
|
|
16
16
|
args: {
|
|
17
17
|
...outputFlags,
|
|
18
18
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { r as SnippetCreateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
6
6
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
@@ -10,7 +10,7 @@ var create_default = defineMetabaseCommand({
|
|
|
10
10
|
name: "create",
|
|
11
11
|
description: "Create a native query snippet from a JSON spec"
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
requires: ["snippet.create"],
|
|
14
14
|
args: {
|
|
15
15
|
...outputFlags,
|
|
16
16
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { r as CardCreateInput, t as Card } from "./card-DZxRmver.mjs";
|
|
6
6
|
import { n as cardView } from "./card-zyUkr2nS.mjs";
|
|
7
|
-
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-
|
|
7
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-Boi8-cAP.mjs";
|
|
8
8
|
//#region src/commands/card/create.ts
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -26,7 +26,7 @@ var create_default = defineMetabaseCommand({
|
|
|
26
26
|
purpose: "choose display and visualization_settings"
|
|
27
27
|
}
|
|
28
28
|
],
|
|
29
|
-
|
|
29
|
+
requires: ["card.create"],
|
|
30
30
|
args: {
|
|
31
31
|
...outputFlags,
|
|
32
32
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as TimelineEvent, o as TimelineEventCreateInput } from "./timeline-CCSU2qOS.mjs";
|
|
6
6
|
import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
|
|
@@ -11,7 +11,7 @@ var create_default = defineMetabaseCommand({
|
|
|
11
11
|
description: "Create a timeline event from JSON"
|
|
12
12
|
},
|
|
13
13
|
details: "The JSON body needs `name`, `timestamp` (ISO 8601), `timezone` (IANA name like UTC or America/New_York), `time_matters` (true when the time of day is significant, false when only the date is), and `timeline_id`; optional fields: `description`, `icon` (star|cake|mail|warning|bell|cloud, default: the timeline's icon).",
|
|
14
|
-
|
|
14
|
+
requires: ["timelineEvent.create"],
|
|
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 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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
-
import { r as TransformCreateInput, t as Transform } from "./transform-
|
|
6
|
-
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-
|
|
7
|
-
import { n as transformView } from "./transform-
|
|
8
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
5
|
+
import { r as TransformCreateInput, t as Transform } from "./transform-DpuG-ON3.mjs";
|
|
6
|
+
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-Boi8-cAP.mjs";
|
|
7
|
+
import { n as transformView } from "./transform-Bk0D0nIs.mjs";
|
|
8
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-CvT0TIZA.mjs";
|
|
9
9
|
//#region src/commands/transform/create.ts
|
|
10
10
|
var create_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -17,7 +17,7 @@ var create_default = defineMetabaseCommand({
|
|
|
17
17
|
skill: "mbql",
|
|
18
18
|
purpose: "MBQL source.query bodies"
|
|
19
19
|
}],
|
|
20
|
-
|
|
20
|
+
requires: ["transform.create"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
-
import { i as TransformJobCreateInput, t as TransformJob } from "./transform-job-
|
|
6
|
-
import { t as transformJobView } from "./transform-job-
|
|
5
|
+
import { i as TransformJobCreateInput, t as TransformJob } from "./transform-job-CCguL6LP.mjs";
|
|
6
|
+
import { t as transformJobView } from "./transform-job-AaMZRxAq.mjs";
|
|
7
7
|
//#region src/commands/transform-job/create.ts
|
|
8
8
|
var create_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
10
10
|
name: "create",
|
|
11
11
|
description: "Create a transform job"
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
requires: ["transformJob.create"],
|
|
14
14
|
args: {
|
|
15
15
|
...outputFlags,
|
|
16
16
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as PulseCreateInput, t as Pulse } from "./pulse-BmsDenXm.mjs";
|
|
6
6
|
import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
|
|
@@ -17,7 +17,7 @@ var create_default = defineMetabaseCommand({
|
|
|
17
17
|
"`daily` needs `schedule_hour` (0-23); `weekly` also needs `schedule_day` (mon..sun); `monthly` also needs `schedule_frame` (first|mid|last).",
|
|
18
18
|
"Email recipients are `[{email: \"a@b.com\"} | {id: <user-id>}]`; Slack targets a channel via `details: {channel: \"#general\"}`."
|
|
19
19
|
].join(" "),
|
|
20
|
-
|
|
20
|
+
requires: ["pulse.create"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { r as MeasureCreateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
|
|
6
|
-
import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-
|
|
6
|
+
import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-Boi8-cAP.mjs";
|
|
7
7
|
import { t as measureView } from "./measure-4P0bOlZ3.mjs";
|
|
8
8
|
//#region src/commands/measure/create.ts
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
@@ -16,7 +16,7 @@ var create_default = defineMetabaseCommand({
|
|
|
16
16
|
skill: "mbql",
|
|
17
17
|
purpose: "the definition aggregation"
|
|
18
18
|
}],
|
|
19
|
-
|
|
19
|
+
requires: ["measure.create"],
|
|
20
20
|
args: {
|
|
21
21
|
...outputFlags,
|
|
22
22
|
...profileFlag,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as Library } from "./library-
|
|
4
|
-
import { t as libraryView } from "./library-
|
|
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 Library } from "./library-DXB8sm4r.mjs";
|
|
4
|
+
import { t as libraryView } from "./library-CmctxHjv.mjs";
|
|
5
5
|
//#region src/commands/library/create.ts
|
|
6
6
|
var create_default = defineMetabaseCommand({
|
|
7
7
|
meta: {
|
|
@@ -9,10 +9,7 @@ var create_default = defineMetabaseCommand({
|
|
|
9
9
|
description: "Create the Library (Data + Metrics collections); idempotent"
|
|
10
10
|
},
|
|
11
11
|
details: "Creates the Library subtree if it doesn't exist and returns it; a no-op that returns the existing Library when it's already there. Only admins and data analysts can curate the Library.",
|
|
12
|
-
|
|
13
|
-
minVersion: 59,
|
|
14
|
-
tokenFeature: "library"
|
|
15
|
-
},
|
|
12
|
+
requires: ["library.create"],
|
|
16
13
|
args: {
|
|
17
14
|
...outputFlags,
|
|
18
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { r as TimelineCreateInput, t as Timeline } from "./timeline-CCSU2qOS.mjs";
|
|
6
6
|
import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
|
|
@@ -11,7 +11,7 @@ var create_default = defineMetabaseCommand({
|
|
|
11
11
|
description: "Create a timeline from JSON"
|
|
12
12
|
},
|
|
13
13
|
details: "The JSON body needs `name`; optional fields: `description`, `icon` (star|cake|mail|warning|bell|cloud, default star), `collection_id` (null = root collection), `default`.",
|
|
14
|
-
|
|
14
|
+
requires: ["timeline.create"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
2
|
import { a as NotificationCreateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
|
|
3
3
|
import { t as notificationView } from "./notification-Fcq1fIPw.mjs";
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
5
5
|
import { t as describeAlert } from "./summary-BytbDz6e.mjs";
|
|
6
|
-
import { t as readBody } from "./body-
|
|
6
|
+
import { t as readBody } from "./body-C7m9q4cm.mjs";
|
|
7
7
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
8
8
|
//#region src/commands/alert/create.ts
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
@@ -18,7 +18,7 @@ var create_default = defineMetabaseCommand({
|
|
|
18
18
|
"`handlers` is a list of `{channel_type: channel/email|channel/slack|channel/http, recipients}`;",
|
|
19
19
|
"each recipient is `{type: \"notification-recipient/user\", user_id}` or `{type: \"notification-recipient/raw-value\", details: {value: \"a@b.com\"}}`."
|
|
20
20
|
].join(" "),
|
|
21
|
-
|
|
21
|
+
requires: ["notification.create"],
|
|
22
22
|
args: {
|
|
23
23
|
...outputFlags,
|
|
24
24
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { r as DocumentCreateInput, t as Document } from "./document-Cd2mmqCp.mjs";
|
|
6
6
|
import { t as documentView } from "./document-D6OybtP2.mjs";
|
|
@@ -10,7 +10,7 @@ var create_default = defineMetabaseCommand({
|
|
|
10
10
|
name: "create",
|
|
11
11
|
description: "Create a document"
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
requires: ["document.create"],
|
|
14
14
|
args: {
|
|
15
15
|
...outputFlags,
|
|
16
16
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { r as TransformTagCreateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
6
6
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
|
|
@@ -10,7 +10,7 @@ var create_default = defineMetabaseCommand({
|
|
|
10
10
|
name: "create",
|
|
11
11
|
description: "Create a transform tag"
|
|
12
12
|
},
|
|
13
|
-
|
|
13
|
+
requires: ["transformTag.create"],
|
|
14
14
|
args: {
|
|
15
15
|
...outputFlags,
|
|
16
16
|
...profileFlag,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-C7m9q4cm.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { r as SegmentCreateInput, t as Segment } from "./segment-OsrbUDzw.mjs";
|
|
6
|
-
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-
|
|
6
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-Boi8-cAP.mjs";
|
|
7
7
|
import { t as segmentView } from "./segment-C_gl5ag6.mjs";
|
|
8
8
|
//#region src/commands/segment/create.ts
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
@@ -16,7 +16,7 @@ var create_default = defineMetabaseCommand({
|
|
|
16
16
|
skill: "mbql",
|
|
17
17
|
purpose: "the definition filter clause"
|
|
18
18
|
}],
|
|
19
|
-
|
|
19
|
+
requires: ["segment.create"],
|
|
20
20
|
args: {
|
|
21
21
|
...outputFlags,
|
|
22
22
|
...profileFlag,
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-DiKyBxOw.mjs";
|
|
1
|
+
import { I as outputFlags, K as ConfigError, L as profileFlag, N as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
4
3
|
import { t as SyncBranchCreated } from "./git-sync-BDnxPrqU.mjs";
|
|
5
4
|
import { t as syncBranchCreatedView } from "./git-sync-DxD_ng48.mjs";
|
|
6
5
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -9,10 +8,7 @@ var create_branch_default = defineMetabaseCommand({
|
|
|
9
8
|
name: "create-branch",
|
|
10
9
|
description: "Create a new branch on the git remote and switch git-sync to it"
|
|
11
10
|
},
|
|
12
|
-
|
|
13
|
-
minVersion: 60,
|
|
14
|
-
tokenFeature: "remote_sync"
|
|
15
|
-
},
|
|
11
|
+
requires: ["gitSync.createBranch"],
|
|
16
12
|
args: {
|
|
17
13
|
...outputFlags,
|
|
18
14
|
...profileFlag,
|
|
@@ -1,8 +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 { t as UploadResult } from "./upload-DAtxBBms.mjs";
|
|
5
|
-
import { n as requireUploadFilePath,
|
|
5
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-BUd3MG90.mjs";
|
|
6
|
+
import { t as uploadResultView } from "./upload-C3z5ZaXA.mjs";
|
|
6
7
|
//#region src/commands/upload/csv.ts
|
|
7
8
|
const ROOT_COLLECTION = "root";
|
|
8
9
|
var csv_default = defineMetabaseCommand({
|
|
@@ -11,7 +12,7 @@ var csv_default = defineMetabaseCommand({
|
|
|
11
12
|
description: "Upload a CSV file as a new table and model"
|
|
12
13
|
},
|
|
13
14
|
details: "Uploads the CSV to the server's configured uploads database, creating a new table plus a model over it, and prints the new model id and table id. Requires an uploads database to be configured on the server. Pass --collection to place the model in a specific collection (defaults to root).",
|
|
14
|
-
|
|
15
|
+
requires: ["upload.createFromCsv"],
|
|
15
16
|
args: {
|
|
16
17
|
...outputFlags,
|
|
17
18
|
...profileFlag,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
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
3
|
import { c as syncTaskView } from "./git-sync-DxD_ng48.mjs";
|
|
4
4
|
import { n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-BACcrs0i.mjs";
|
|
5
5
|
//#region src/commands/git-sync/current-task.ts
|
|
@@ -9,10 +9,7 @@ var current_task_default = defineMetabaseCommand({
|
|
|
9
9
|
name: "current-task",
|
|
10
10
|
description: "Get the most recent git-sync task (or idle if none)"
|
|
11
11
|
},
|
|
12
|
-
|
|
13
|
-
minVersion: 60,
|
|
14
|
-
tokenFeature: "remote_sync"
|
|
15
|
-
},
|
|
12
|
+
requires: ["gitSync.currentTask"],
|
|
16
13
|
args: {
|
|
17
14
|
...outputFlags,
|
|
18
15
|
...profileFlag,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as DashcardCompact, n as DashboardCompact } from "./dashboard-
|
|
1
|
+
import { c as DashcardCompact, n as DashboardCompact } from "./dashboard-CKUR8ZpQ.mjs";
|
|
2
2
|
//#region src/output/views/dashboard.ts
|
|
3
3
|
const dashcardView = {
|
|
4
4
|
compactPick: DashcardCompact,
|
|
@@ -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/dashboard/index.ts
|
|
3
3
|
var dashboard_default = defineCommandGroup({
|
|
4
4
|
name: "dashboard",
|
|
@@ -18,15 +18,15 @@ var dashboard_default = defineCommandGroup({
|
|
|
18
18
|
}
|
|
19
19
|
],
|
|
20
20
|
subCommands: {
|
|
21
|
-
list: () => import("./list-
|
|
22
|
-
get: () => import("./get-
|
|
23
|
-
cards: () => import("./cards-
|
|
24
|
-
"parameter-values": () => import("./parameter-values-
|
|
25
|
-
subscriptions: () => import("./subscriptions-
|
|
26
|
-
create: () => import("./create-
|
|
27
|
-
update: () => import("./update-
|
|
28
|
-
"update-dashcard": () => import("./update-dashcard-
|
|
29
|
-
archive: () => import("./archive-
|
|
21
|
+
list: () => import("./list-BmMi_wPD.mjs").then((mod) => mod.default),
|
|
22
|
+
get: () => import("./get-D4OTJblo.mjs").then((mod) => mod.default),
|
|
23
|
+
cards: () => import("./cards-DtYlVoGP.mjs").then((mod) => mod.default),
|
|
24
|
+
"parameter-values": () => import("./parameter-values-C6dj6I4g.mjs").then((mod) => mod.default),
|
|
25
|
+
subscriptions: () => import("./subscriptions-DBda1pE5.mjs").then((mod) => mod.default),
|
|
26
|
+
create: () => import("./create-BEE8uvz2.mjs").then((mod) => mod.default),
|
|
27
|
+
update: () => import("./update-Izqip6jY.mjs").then((mod) => mod.default),
|
|
28
|
+
"update-dashcard": () => import("./update-dashcard-D5b971AO.mjs").then((mod) => mod.default),
|
|
29
|
+
archive: () => import("./archive-DhDQIKR_.mjs").then((mod) => mod.default)
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
@@ -79,6 +79,7 @@ const DashboardCompact = Dashboard.pick({
|
|
|
79
79
|
});
|
|
80
80
|
const DashcardWrite = z.object({
|
|
81
81
|
id: z.number().int().describe("existing dashcard id; negative to create a new dashcard"),
|
|
82
|
+
card_id: z.number().int().positive().nullable().describe("card the dashcard renders; null for a virtual (text, heading, link) or action dashcard"),
|
|
82
83
|
size_x: z.number().int().positive(),
|
|
83
84
|
size_y: z.number().int().positive(),
|
|
84
85
|
row: z.number().int().nonnegative(),
|
|
@@ -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/db/index.ts
|
|
3
3
|
var db_default = defineCommandGroup({
|
|
4
4
|
name: "db",
|
|
@@ -12,12 +12,12 @@ var db_default = defineCommandGroup({
|
|
|
12
12
|
purpose: "model a raw database into clean tables"
|
|
13
13
|
}],
|
|
14
14
|
subCommands: {
|
|
15
|
-
list: () => import("./list-
|
|
16
|
-
get: () => import("./get-
|
|
17
|
-
schemas: () => import("./schemas-
|
|
18
|
-
"schema-tables": () => import("./schema-tables-
|
|
19
|
-
"sync-schema": () => import("./sync-schema-
|
|
20
|
-
"rescan-values": () => import("./rescan-values-
|
|
15
|
+
list: () => import("./list-BXL8HFr_.mjs").then((m) => m.default),
|
|
16
|
+
get: () => import("./get-DyyPiiaB.mjs").then((m) => m.default),
|
|
17
|
+
schemas: () => import("./schemas-ww5mU2AS.mjs").then((m) => m.default),
|
|
18
|
+
"schema-tables": () => import("./schema-tables-Bzx2ShyE.mjs").then((m) => m.default),
|
|
19
|
+
"sync-schema": () => import("./sync-schema-DsIM5g2U.mjs").then((m) => m.default),
|
|
20
|
+
"rescan-values": () => import("./rescan-values-BrCLrihF.mjs").then((m) => m.default)
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-BjHL1ryM.mjs";
|
|
5
5
|
//#region src/commands/transform-job/delete.ts
|
|
6
6
|
var delete_default = defineMetabaseCommand({
|
|
7
7
|
meta: {
|
|
8
8
|
name: "delete",
|
|
9
9
|
description: "Delete a transform job by id"
|
|
10
10
|
},
|
|
11
|
-
|
|
11
|
+
requires: ["transformJob.delete"],
|
|
12
12
|
args: {
|
|
13
13
|
...outputFlags,
|
|
14
14
|
...profileFlag,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-
|
|
1
|
+
import { I as outputFlags, L as profileFlag, N as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BQiGgbgZ.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DR8aUSdL.mjs";
|
|
4
|
+
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-BjHL1ryM.mjs";
|
|
5
5
|
//#region src/commands/transform/delete.ts
|
|
6
6
|
var delete_default = defineMetabaseCommand({
|
|
7
7
|
meta: {
|
|
8
8
|
name: "delete",
|
|
9
9
|
description: "Delete a transform by id"
|
|
10
10
|
},
|
|
11
|
-
|
|
11
|
+
requires: ["transform.delete"],
|
|
12
12
|
args: {
|
|
13
13
|
...outputFlags,
|
|
14
14
|
...profileFlag,
|