@metabase/cli 0.3.0 → 0.3.1-alpha.transform-tests.3fbcf8b
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-C-XJPp3F.mjs} +2 -2
- package/dist/{alert-DT-ee7yf.mjs → alert-Klz8Bhst.mjs} +6 -6
- package/dist/{alerts-Bf2RH_p_.mjs → alerts-Bp2vByJf.mjs} +3 -3
- package/dist/{append-DFzQRPMd.mjs → append-D16_s1HW.mjs} +4 -3
- package/dist/{archive-ChORH5JH.mjs → archive-BOJUGwyL.mjs} +2 -2
- package/dist/{archive-CwAdlv63.mjs → archive-Bj4MjbJY.mjs} +2 -2
- package/dist/{archive-ByvA49Kz.mjs → archive-C9iNjXcI.mjs} +2 -2
- package/dist/{archive-Cd29QC0c.mjs → archive-CA-HIfQq.mjs} +2 -2
- package/dist/{archive-4tmm946K.mjs → archive-D4nGMs8A.mjs} +2 -2
- package/dist/{archive-B6eXiyER.mjs → archive-Dd7ZTibw.mjs} +2 -2
- package/dist/{archive-lQqs13Uz.mjs → archive-Q_qUuYh8.mjs} +2 -2
- package/dist/{archive-BxNPHxOY.mjs → archive-RzzXt2V0.mjs} +2 -2
- package/dist/{archive-C7w49Grr.mjs → archive-lDnTIypd.mjs} +2 -2
- package/dist/{archive-gid9Y09v.mjs → archive-nDvHMzTv.mjs} +2 -2
- package/dist/{archive-Dr9Xnx_Z.mjs → archive-vzu8ghZZ.mjs} +4 -4
- package/dist/{auth-Dltxua89.mjs → auth-kyPQfiND.mjs} +4 -4
- package/dist/{body-Cur4NJt9.mjs → body-DxRSAMNC.mjs} +1 -1
- package/dist/{branches-DchlyU0i.mjs → branches-QixvzIpl.mjs} +1 -1
- package/dist/{cancel-BMQa5R1Z.mjs → cancel-CPStS4zJ.mjs} +2 -2
- package/dist/{cancel-task-C5CU1pxU.mjs → cancel-task--cuSISnl.mjs} +1 -1
- package/dist/{card-CHI2bmds.mjs → card-p2r_szeS.mjs} +7 -7
- package/dist/{cards-SccWvRQD.mjs → cards-CNbV8aGO.mjs} +4 -4
- package/dist/cli.mjs +32 -30
- package/dist/{client-BqhzKdLM.mjs → client-DynvZqa0.mjs} +98 -10
- package/dist/{collection-CY0AB99E.mjs → collection-CAM47Der.mjs} +6 -6
- package/dist/{collection-namespace-GwydWBF3.mjs → collection-namespace-CEoQ7G08.mjs} +1 -1
- package/dist/content-translation-BrHOrmj9.mjs +5 -0
- package/dist/content-translation-CxTabpLF.mjs +12 -0
- package/dist/{create-DV-Ln5Mo.mjs → create-BGV7ejai.mjs} +2 -2
- package/dist/{create-C79vErX0.mjs → create-BGy4L_yh.mjs} +2 -2
- package/dist/{create-DJmXXQoq.mjs → create-BMokmmLp2.mjs} +3 -3
- package/dist/{create-CAWytBE5.mjs → create-BTvSwLws.mjs} +2 -2
- package/dist/{create-Beh-2uoN.mjs → create-BikaTHCw.mjs} +2 -2
- package/dist/{create-zeveFdnd.mjs → create-BsvpUxJq.mjs} +1 -1
- package/dist/{create-DF4QtgDL.mjs → create-CEP4Jsrd.mjs} +2 -2
- package/dist/{create-i14Wv3Tj.mjs → create-CYhsYOOJ.mjs} +2 -2
- package/dist/{create-CD008jdE.mjs → create-CsABLrSI.mjs} +6 -6
- package/dist/{create-tQbnuz-I.mjs → create-CtDaASGO.mjs} +2 -2
- package/dist/{create-CHQx7jq4.mjs → create-DMLjSEkF.mjs} +2 -2
- package/dist/{create-CAQV2g6V.mjs → create-M8qXs24L.mjs} +2 -2
- package/dist/{create-BNQ_DytP.mjs → create-U15wd8_9.mjs} +2 -2
- package/dist/{create-BOLwWt8Q.mjs → create-UxWtLwXT.mjs} +2 -2
- package/dist/{create-CCh_LyW9.mjs → create-WIIp7MVV.mjs} +2 -2
- package/dist/{create-branch-CYo6jZth.mjs → create-branch-Bkq9rtf7.mjs} +1 -1
- package/dist/create-ku05K1Oj.mjs +34 -0
- package/dist/{csv-B2Jgb1GM.mjs → csv-GincCch9.mjs} +4 -3
- package/dist/{current-task-MpBFGttd.mjs → current-task-CbnNWQ7H.mjs} +1 -1
- package/dist/{dashboard-CsIFFpzK.mjs → dashboard-BlbNszi8.mjs} +1 -1
- package/dist/{dashboard-BCpSq_G-.mjs → dashboard-CKUR8ZpQ.mjs} +1 -0
- package/dist/{dashboard-BHJBoaG7.mjs → dashboard-ReNaou5J.mjs} +9 -9
- package/dist/{db-DsfojyeH.mjs → db-2hSYsqHk.mjs} +6 -6
- package/dist/{delete-BApOjQvl.mjs → delete-B2wmUpj_.mjs} +2 -2
- package/dist/{delete-DFmX7jTp.mjs → delete-BEPw7WRT.mjs} +2 -2
- package/dist/{delete-B8e01xAG.mjs → delete-Bv3_SIqh.mjs} +2 -2
- package/dist/{delete-Ob06PPie.mjs → delete-C1YmyeVy.mjs} +2 -2
- package/dist/delete-CZqleA9Q.mjs +44 -0
- package/dist/{delete-Ck0q4Dzp.mjs → delete-DNsY94Ok.mjs} +2 -2
- package/dist/{delete-table-DuyhGrvA.mjs → delete-table-DySwoEaq.mjs} +2 -2
- package/dist/{dependencies-Bj3QrGIm.mjs → dependencies-ygT6uMu4.mjs} +2 -2
- package/dist/{dirty-DNYoM6Bp.mjs → dirty-BkiHZ8gb.mjs} +1 -1
- package/dist/{document-BbskZPTT.mjs → document-DGbDloCb.mjs} +5 -5
- package/dist/download-Chr-YNTG.mjs +28 -0
- package/dist/{eid-WTZmDdsr.mjs → eid-BvY-YGpN.mjs} +2 -2
- package/dist/{events-Bn7jh5lP.mjs → events-B01P0G7C.mjs} +2 -2
- package/dist/{export-BjfoZRDJ.mjs → export-CG23iezf.mjs} +2 -2
- package/dist/{field-Zau6Hc6X.mjs → field-DikmNcAt.mjs} +4 -4
- package/dist/{fields-CBBa-Prp.mjs → fields-C9BF3jHL.mjs} +2 -2
- package/dist/{get-ByBOq30r.mjs → get-B3jvGI0b.mjs} +2 -2
- package/dist/{get-CvI--9S_.mjs → get-B4GltkXP.mjs} +1 -1
- package/dist/get-BHpVRSbm.mjs +32 -0
- package/dist/{get-DmpB6J9g.mjs → get-BYSFFlsd.mjs} +2 -2
- package/dist/{get-Dn9ZiSZr.mjs → get-Blbcl76m.mjs} +2 -2
- package/dist/{get-D_h-G9bn.mjs → get-BtauixMx.mjs} +2 -2
- package/dist/{get-CDJFVvhj.mjs → get-Buxkx-RX.mjs} +1 -1
- package/dist/{get-C2-Q3iQ5.mjs → get-C1V7vZse.mjs} +2 -2
- package/dist/{get-Dmj9Ygz1.mjs → get-C99cjjD0.mjs} +2 -2
- package/dist/{get-DRvsATp-.mjs → get-CMMXBVff.mjs} +2 -2
- package/dist/{get-CnbUCzDM.mjs → get-CkMLxzVy.mjs} +2 -2
- package/dist/{get-Bz99dAxK.mjs → get-DY-e5oP7.mjs} +4 -4
- package/dist/{get-DdsoHaKH.mjs → get-DZpRq_Fw.mjs} +2 -2
- package/dist/{get-DYO1kywc.mjs → get-DdSB-fpR.mjs} +2 -2
- package/dist/{get-CDMGbgrh.mjs → get-DvqYIBp5.mjs} +2 -2
- package/dist/{get-DkWO0EI0.mjs → get-FJofgEPB.mjs} +1 -1
- package/dist/{get-B_xdF1kq.mjs → get-N5EUCDL0.mjs} +2 -2
- package/dist/{get-00lyLv6R.mjs → get-PKhv8WUf.mjs} +2 -2
- package/dist/{get-B7sMgsFs.mjs → get-UW0DOjH5.mjs} +2 -2
- package/dist/{get-DY03Azx9.mjs → get-gFM8-HHP.mjs} +1 -1
- package/dist/{get-run-Cnux9ln0.mjs → get-run-F7ARJeAD.mjs} +2 -2
- package/dist/git-sync-IW4T2sKq.mjs +28 -0
- package/dist/{has-remote-changes-C684Redh.mjs → has-remote-changes-Bwyp8mc-.mjs} +1 -1
- package/dist/{import-Rmmttboo.mjs → import-CPY8aM8d.mjs} +2 -2
- package/dist/{is-dirty-DYeJYhBz.mjs → is-dirty-0F_UJY7Q.mjs} +1 -1
- package/dist/{items-CQlPXBXE.mjs → items-FUop0zGR.mjs} +1 -1
- package/dist/{library-Bsm5KsFF.mjs → library-DpOtb0E0.mjs} +4 -4
- package/dist/{list-CQwOgIlj.mjs → list--B2EUWJg.mjs} +1 -1
- package/dist/list-B-74c1BD.mjs +35 -0
- package/dist/{list-BpFp9Wre.mjs → list-BASNYNJr.mjs} +1 -1
- package/dist/{list-CKK-s3Ty.mjs → list-BQaXU1bp.mjs} +1 -1
- package/dist/{list-CQDprvW0.mjs → list-BQrk4Ua4.mjs} +3 -3
- package/dist/{list-BP3MPq-M.mjs → list-Beoh2AYD.mjs} +1 -1
- package/dist/{list-CNUiF8Z7.mjs → list-Bqm0F1Y-.mjs} +1 -1
- package/dist/{list-B4hJuMhA.mjs → list-C2qxVTu7.mjs} +1 -1
- package/dist/{list-DMKDsBRd.mjs → list-CGkgypYz.mjs} +1 -1
- package/dist/{list-UhpKG6_m.mjs → list-CvzWE6CS.mjs} +1 -1
- package/dist/{list-C5Zs8nrb.mjs → list-DMlFbccD.mjs} +1 -1
- package/dist/{list-B8nAGwP4.mjs → list-DdFViPYS.mjs} +1 -1
- package/dist/{list-BtkWNtvY.mjs → list-DfbsmsHv.mjs} +2 -2
- package/dist/{list-CMpoc2TN.mjs → list-GyP4b_tU.mjs} +1 -1
- package/dist/{list-DF2rvoO1.mjs → list-Uc1OxV36.mjs} +3 -3
- package/dist/{list-BzVTHOoH.mjs → list-ba7lI44w.mjs} +1 -1
- package/dist/{list-BtmsNOEn.mjs → list-lzIKVtE9.mjs} +1 -1
- package/dist/{list-BOET6zhP.mjs → list-rQ-6XSua.mjs} +1 -1
- package/dist/{list-DE9FM957.mjs → list-xC99-2X0.mjs} +1 -1
- package/dist/{login-CGHeSjlP.mjs → login-D5jt0q9K.mjs} +3 -3
- package/dist/{logout-DAxOlbv4.mjs → logout-DViy0VzV.mjs} +1 -1
- package/dist/{measure-BsYv0p26.mjs → measure-IPlonpqU.mjs} +5 -5
- package/dist/{network-error-CEb9ymDW.mjs → network-error-D6CiOEBw.mjs} +10 -2
- package/dist/{parameter-values-CJTdqd8c.mjs → parameter-values-CHyOCxmR.mjs} +2 -2
- package/dist/{parse-id-C_jmKFaa.mjs → parse-id-CPINxy7h.mjs} +1 -1
- package/dist/{path-B5gHvrYL.mjs → path-bMZzUOVo.mjs} +1 -1
- package/dist/{preflight-YpPQo-sa.mjs → preflight-CoF1Em99.mjs} +1 -1
- package/dist/{publish-DijrxaCW.mjs → publish-Cs-OUG6n.mjs} +2 -2
- package/dist/{query-Dc__-KJH.mjs → query-CEdmSEq8.mjs} +2 -2
- package/dist/{query-BbqECzmF.mjs → query-CpD46hL6.mjs} +4 -9
- package/dist/{remove-collection-BOnxYvhj.mjs → remove-collection-DynsqkwG.mjs} +2 -2
- package/dist/{replace-Cq4CxVa-.mjs → replace-C6YqqCG9.mjs} +4 -3
- package/dist/{rescan-values-Dr_j416g.mjs → rescan-values-C6PB02uT.mjs} +2 -2
- package/dist/run-C7PXBBEl.mjs +50 -0
- package/dist/{run-C3DkS6NP.mjs → run-Cb86sH_c.mjs} +3 -3
- package/dist/{run-DdGJ544X.mjs → run-CpmWoOGp.mjs} +2 -2
- package/dist/{runs-CUNWiidL.mjs → runs-CCRszsbB.mjs} +2 -2
- package/dist/{runtime-DiKyBxOw.mjs → runtime-BMJv4VOi.mjs} +2 -2
- package/dist/{schema-tables-CV386fnC.mjs → schema-tables-BQdFNy1B.mjs} +2 -2
- package/dist/{schemas-DM-UqZBQ.mjs → schemas-CNAPFh4n.mjs} +2 -2
- package/dist/{search-DmGScXs8.mjs → search-BKVV6YtB.mjs} +2 -2
- package/dist/{segment-BzUGM2Fr.mjs → segment-CDoZHSYX.mjs} +5 -5
- package/dist/{selectors-DGDn0Hto.mjs → selectors-BXbjj36S.mjs} +2 -2
- package/dist/{send-CVxxEpDB.mjs → send-D2eXL9lt.mjs} +2 -2
- package/dist/{set-active-BD8L1lPX.mjs → set-active-DT61WwV0.mjs} +1 -1
- package/dist/{set-DFolTjbd.mjs → set-sHBtSGLi.mjs} +2 -2
- package/dist/{setting-DyhaeICs.mjs → setting-dkfKvCxc.mjs} +3 -3
- package/dist/{setup-BbDQN8fe.mjs → setup-TOwWatgm.mjs} +2 -2
- package/dist/{skills--vK6J-e4.mjs → skills-BcOjZldN.mjs} +3 -3
- package/dist/{snippet-DRwKb2x7.mjs → snippet-DMdFqvNq.mjs} +5 -5
- package/dist/{stash-D0S4JmAz.mjs → stash-BgWw2lyu.mjs} +2 -2
- package/dist/{status-hL1am-HV.mjs → status-B14FO8n7.mjs} +2 -2
- package/dist/{status-BhswxJL1.mjs → status-J4pEIm-c.mjs} +1 -1
- package/dist/stream-McixcoUl.mjs +7 -0
- package/dist/{subscription-_d5fB45F.mjs → subscription-B1uuKxM7.mjs} +5 -5
- package/dist/{subscriptions-s4TF6Ax3.mjs → subscriptions-BHIATSN6.mjs} +3 -3
- package/dist/{summary-CsPvcUwW.mjs → summary-B1V5TXaZ.mjs} +2 -2
- package/dist/{sync-schema-DaZ_MV-u.mjs → sync-schema-D1vX-rpv.mjs} +3 -3
- package/dist/{table-DYoC1kPn.mjs → table-CDeO1WbH.mjs} +4 -4
- package/dist/{timeline-xlDbEKWg.mjs → timeline-MQFX3Fla.mjs} +7 -7
- package/dist/{timeline-event-CNQdCTDg.mjs → timeline-event-oGmne082.mjs} +5 -5
- package/dist/transform-CWIqW64R.mjs +28 -0
- package/dist/transform-job-DpF2MARE.mjs +22 -0
- package/dist/{transform-tag-_tgwlsdB.mjs → transform-tag-Bpj8l5Ci.mjs} +4 -4
- package/dist/transform-test-BJOPAwKl.mjs +25 -0
- package/dist/transform-test-BhkpwFqD.mjs +16 -0
- package/dist/transform-test-Dhcj7u-U.mjs +142 -0
- package/dist/{transforms-oU4zizbO.mjs → transforms-K7Y4ON_q.mjs} +2 -2
- package/dist/{tree-CH-f3bjP.mjs → tree-CtFtroe4.mjs} +1 -1
- package/dist/{unpublish-BUl9RU5C.mjs → unpublish-D7UaaIWA.mjs} +2 -2
- package/dist/{update-C4YJQFDS.mjs → update-3ksm443P.mjs} +3 -3
- package/dist/{update-BiFDBcEH.mjs → update-B7veBLhx.mjs} +3 -3
- package/dist/{update-CmDTljK-.mjs → update-BicO3Lio.mjs} +3 -3
- package/dist/{update-CHNSUHK4.mjs → update-BlBEKrNE.mjs} +3 -3
- package/dist/{update-tX9mKBN_.mjs → update-BpuZsX9z.mjs} +7 -7
- package/dist/{update-CVPAwJaH.mjs → update-BvbPpgOL.mjs} +3 -3
- package/dist/{update-BZPllQoR.mjs → update-CGJXd_E3.mjs} +3 -3
- package/dist/{update-BCS5FxKr.mjs → update-C_wTtrtX.mjs} +4 -4
- package/dist/{update-BzMDeZiU.mjs → update-D9Nfv864.mjs} +3 -3
- package/dist/{update-D-NE60AV.mjs → update-DUNJEk8m.mjs} +3 -3
- package/dist/{update-cYkvbqK8.mjs → update-HqUKBeM2.mjs} +3 -3
- package/dist/{update-CO4m4wH3.mjs → update-MWaDj2VX.mjs} +3 -3
- package/dist/{update-bD_Jh5-s.mjs → update-YkB3xWUh.mjs} +3 -3
- package/dist/{update-CvOO8TED.mjs → update-bix8NoKq.mjs} +3 -3
- package/dist/{update-Nfi44RrE.mjs → update-dRAPKE3c.mjs} +3 -3
- package/dist/{update-dashcard-C3TuYO_k.mjs → update-dashcard-BGqKMqQb.mjs} +5 -5
- package/dist/update-e4ufwrkF.mjs +41 -0
- package/dist/{upgrade-DXMV4AyP.mjs → upgrade-DkQ1wk4z.mjs} +2 -2
- package/dist/upload-BfGc-L4t.mjs +42 -0
- package/dist/upload-C3z5ZaXA.mjs +24 -0
- package/dist/{upload-CH632qW6.mjs → upload-CD555ui1.mjs} +1 -24
- package/dist/{upload-Dey_8rLf.mjs → upload-JN6EK96c.mjs} +3 -3
- package/dist/{uuid-BJkDWj9p.mjs → uuid-BLBLkWAF.mjs} +1 -1
- package/dist/{values-Dxf1JEoA.mjs → values-8CrXBkyg.mjs} +2 -2
- package/dist/{verify-K96rItG5.mjs → verify-nNVN-0CR.mjs} +3 -3
- package/dist/{wait-DoMDH226.mjs → wait-YrD7UYFF.mjs} +2 -2
- package/dist/{wait-flags-DWEF9tX4.mjs → wait-flags-CDtMS8FP.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +6 -5
- package/skill-data/dashboard/SKILL.md +2 -2
- package/skill-data/transform/SKILL.md +55 -1
- package/dist/git-sync-MQQYRYLg.mjs +0 -28
- package/dist/transform-Bs0EWijQ.mjs +0 -28
- package/dist/transform-job-BcLChRup.mjs +0 -22
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
3
|
import { t as Library } from "./library-ClLgrAXy.mjs";
|
|
4
4
|
import { t as libraryView } from "./library-DfYAT2Ep.mjs";
|
|
5
5
|
//#region src/commands/library/create.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.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";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.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-CoF1Em99.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"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.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";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M 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-BMJv4VOi.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-DxRSAMNC.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({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { a as CollectionCreateInput, r as Collection, u as CollectionNamespace } from "./collection-CfulNRBG.mjs";
|
|
6
6
|
import { t as parseEnumFlag } from "./parse-enum-D0Jfm_Bz.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.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
6
|
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-DaGYSmpQ.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
4
4
|
import { t as SyncBranchCreated } from "./git-sync-BDnxPrqU.mjs";
|
|
5
5
|
import { t as syncBranchCreatedView } from "./git-sync-DxD_ng48.mjs";
|
|
6
6
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
4
|
+
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
+
import { r as TransformTestCreateInput, t as TransformTest } from "./transform-test-Dhcj7u-U.mjs";
|
|
6
|
+
import { t as transformTestView } from "./transform-test-BJOPAwKl.mjs";
|
|
7
|
+
//#region src/commands/transform-test/create.ts
|
|
8
|
+
var create_default = defineMetabaseCommand({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "create",
|
|
11
|
+
description: "Create a transform test from JSON"
|
|
12
|
+
},
|
|
13
|
+
details: "The JSON body needs a `transform_id`, a `name`, the `inputs` standing in for every table the transform reads, and the `expectations` checked against its output. An input names its `table` and carries either `format: \"sql\"` with a `sql` query or `format: \"rows\"` with `columns` and `rows`. An expectation is either `type: \"empty\"` with the `sql` that must return nothing, or `type: \"equals\"`, which takes the same `format` split as an input: `format: \"rows\"` with the `columns` and `rows` the output must hold, or `format: \"sql\"` with a query returning them. The body is closed: a test read back with `get --full` has to shed `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` before it can be sent.",
|
|
14
|
+
capabilities: { minVersion: 64 },
|
|
15
|
+
args: {
|
|
16
|
+
...outputFlags,
|
|
17
|
+
...profileFlag,
|
|
18
|
+
...connectionFlags,
|
|
19
|
+
...bodyInputFlags
|
|
20
|
+
},
|
|
21
|
+
inputSchema: TransformTestCreateInput,
|
|
22
|
+
outputSchema: TransformTest,
|
|
23
|
+
examples: ["cat transform-test.json | mb transform-test create", "mb transform-test create --file transform-test.json"],
|
|
24
|
+
async run({ args, ctx, getClient }) {
|
|
25
|
+
const body = await readBody({
|
|
26
|
+
flag: args.body,
|
|
27
|
+
file: args.file
|
|
28
|
+
}, TransformTestCreateInput);
|
|
29
|
+
const created = await (await getClient()).transformTest.create(body);
|
|
30
|
+
renderSummary(created, transformTestView, `Created transform test ${created.id} "${created.name}".`, ctx);
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { create_default as default };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.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-CD555ui1.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({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.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
|
|
@@ -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,
|
|
@@ -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(),
|
|
@@ -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-BQrk4Ua4.mjs").then((mod) => mod.default),
|
|
22
|
+
get: () => import("./get-DY-e5oP7.mjs").then((mod) => mod.default),
|
|
23
|
+
cards: () => import("./cards-CNbV8aGO.mjs").then((mod) => mod.default),
|
|
24
|
+
"parameter-values": () => import("./parameter-values-CHyOCxmR.mjs").then((mod) => mod.default),
|
|
25
|
+
subscriptions: () => import("./subscriptions-BHIATSN6.mjs").then((mod) => mod.default),
|
|
26
|
+
create: () => import("./create-CsABLrSI.mjs").then((mod) => mod.default),
|
|
27
|
+
update: () => import("./update-BpuZsX9z.mjs").then((mod) => mod.default),
|
|
28
|
+
"update-dashcard": () => import("./update-dashcard-BGqKMqQb.mjs").then((mod) => mod.default),
|
|
29
|
+
archive: () => import("./archive-vzu8ghZZ.mjs").then((mod) => mod.default)
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
@@ -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--B2EUWJg.mjs").then((m) => m.default),
|
|
16
|
+
get: () => import("./get-C99cjjD0.mjs").then((m) => m.default),
|
|
17
|
+
schemas: () => import("./schemas-CNAPFh4n.mjs").then((m) => m.default),
|
|
18
|
+
"schema-tables": () => import("./schema-tables-BQdFNy1B.mjs").then((m) => m.default),
|
|
19
|
+
"sync-schema": () => import("./sync-schema-D1vX-rpv.mjs").then((m) => m.default),
|
|
20
|
+
"rescan-values": () => import("./rescan-values-C6PB02uT.mjs").then((m) => m.default)
|
|
21
21
|
}
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-D74s6vhu.mjs";
|
|
5
5
|
//#region src/commands/timeline-event/delete.ts
|
|
6
6
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-D74s6vhu.mjs";
|
|
5
5
|
//#region src/commands/transform-job/delete.ts
|
|
6
6
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-D74s6vhu.mjs";
|
|
5
5
|
//#region src/commands/transform-tag/delete.ts
|
|
6
6
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-D74s6vhu.mjs";
|
|
5
5
|
//#region src/commands/timeline/delete.ts
|
|
6
6
|
var delete_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { F as outputFlags, I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
|
+
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-D74s6vhu.mjs";
|
|
5
|
+
//#region src/commands/transform-test/delete.ts
|
|
6
|
+
var delete_default = defineMetabaseCommand({
|
|
7
|
+
meta: {
|
|
8
|
+
name: "delete",
|
|
9
|
+
description: "Delete a transform test by id"
|
|
10
|
+
},
|
|
11
|
+
capabilities: { minVersion: 64 },
|
|
12
|
+
args: {
|
|
13
|
+
...outputFlags,
|
|
14
|
+
...profileFlag,
|
|
15
|
+
...connectionFlags,
|
|
16
|
+
yes: {
|
|
17
|
+
type: "boolean",
|
|
18
|
+
description: "Skip confirmation",
|
|
19
|
+
default: false
|
|
20
|
+
},
|
|
21
|
+
id: {
|
|
22
|
+
type: "positional",
|
|
23
|
+
description: "Transform test id",
|
|
24
|
+
required: true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
outputSchema: DeleteResult,
|
|
28
|
+
examples: ["mb transform-test delete 1 --yes", "mb transform-test delete 1"],
|
|
29
|
+
async run({ args, ctx, getClient }) {
|
|
30
|
+
const id = parseId(args.id);
|
|
31
|
+
const client = await getClient();
|
|
32
|
+
await confirmAndDelete({
|
|
33
|
+
id,
|
|
34
|
+
yes: args.yes,
|
|
35
|
+
promptMessage: `Delete transform test ${id}?`,
|
|
36
|
+
successMessage: `Deleted transform test ${id}.`,
|
|
37
|
+
abortMessage: `Aborted; transform test ${id} was not deleted.`,
|
|
38
|
+
deleteResource: () => client.transformTest.delete(id),
|
|
39
|
+
ctx
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
export { delete_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-D74s6vhu.mjs";
|
|
5
5
|
//#region src/commands/transform/delete.ts
|
|
6
6
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as confirmAndDelete, t as DeleteResult } from "./delete-runtime-D74s6vhu.mjs";
|
|
5
5
|
//#region src/commands/transform/delete-table.ts
|
|
6
6
|
var delete_table_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, R as listEnvelopeSchema, s as renderList } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { n as TransformCompact } from "./transform-D3QX0jxA.mjs";
|
|
6
6
|
import { n as transformView } from "./transform-DoTyyXAu.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, R as listEnvelopeSchema, s as renderList } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { r as SyncDirtyItemCompact } from "./git-sync-BDnxPrqU.mjs";
|
|
5
5
|
import { n as syncDirtyItemView } from "./git-sync-DxD_ng48.mjs";
|
|
@@ -8,11 +8,11 @@ var document_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "author the ProseMirror document body"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get-
|
|
13
|
-
create: () => import("./create-
|
|
14
|
-
update: () => import("./update-
|
|
15
|
-
archive: () => import("./archive-
|
|
11
|
+
list: () => import("./list-Bqm0F1Y-.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BtauixMx.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-CtDaASGO.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-DUNJEk8m.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-Q_qUuYh8.mjs").then((mod) => mod.default)
|
|
16
16
|
}
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { I as profileFlag, M as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as pipeToStdout } from "./stream-McixcoUl.mjs";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
//#region src/commands/content-translation/download.ts
|
|
6
|
+
const ContentTranslationCsv = z.string().describe("The raw content translation dictionary CSV.");
|
|
7
|
+
var download_default = defineMetabaseCommand({
|
|
8
|
+
meta: {
|
|
9
|
+
name: "download",
|
|
10
|
+
description: "Stream the complete content translation dictionary as CSV"
|
|
11
|
+
},
|
|
12
|
+
details: "Streams the active dictionary to stdout with the server's CSV formatting. Redirect stdout to preserve it as a file that can be reviewed, versioned, or uploaded later. An empty dictionary downloads as Metabase's four-row sample dictionary, not a header-only file.",
|
|
13
|
+
capabilities: {
|
|
14
|
+
minVersion: 58,
|
|
15
|
+
tokenFeature: "content_translation"
|
|
16
|
+
},
|
|
17
|
+
args: {
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags
|
|
20
|
+
},
|
|
21
|
+
outputSchema: ContentTranslationCsv,
|
|
22
|
+
examples: ["mb content-translation download > metabase-content-translations.csv", "mb content-translation download --profile prod > translations.csv"],
|
|
23
|
+
async run({ getClient }) {
|
|
24
|
+
await pipeToStdout(await (await getClient()).contentTranslation.download());
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
export { download_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary } from "./cli.mjs";
|
|
3
|
-
import { n as parseCsv, t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { n as parseCsv, t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { a as EidTranslateResultCompact, i as EidTranslateResult, n as EidModel, r as EidTranslateInput, t as EID_MODELS } from "./eid-translation-zEHtr5Oc.mjs";
|
|
7
7
|
//#region src/output/views/eid-translation.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, R as listEnvelopeSchema, s as renderList } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { a as TimelineEventCompact } from "./timeline-CCSU2qOS.mjs";
|
|
6
6
|
import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, b as warn, c as renderSummary } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
3
|
import { i as SyncExportResult } from "./git-sync-BDnxPrqU.mjs";
|
|
4
|
-
import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-
|
|
4
|
+
import { n as parseWaitFlags, t as gitSyncWaitFlags } from "./wait-flags-CDtMS8FP.mjs";
|
|
5
5
|
import { r as syncExportView } from "./git-sync-DxD_ng48.mjs";
|
|
6
6
|
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask } from "./sync-task-BACcrs0i.mjs";
|
|
7
7
|
//#region src/commands/git-sync/export.ts
|
|
@@ -8,10 +8,10 @@ var field_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "semantic types, FK targets, visibility, dropdown behavior"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
values: () => import("./values-
|
|
13
|
-
summary: () => import("./summary-
|
|
14
|
-
update: () => import("./update-
|
|
11
|
+
get: () => import("./get-PKhv8WUf.mjs").then((m) => m.default),
|
|
12
|
+
values: () => import("./values-8CrXBkyg.mjs").then((m) => m.default),
|
|
13
|
+
summary: () => import("./summary-B1V5TXaZ.mjs").then((m) => m.default),
|
|
14
|
+
update: () => import("./update-3ksm443P.mjs").then((m) => m.default)
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, N as listFlags, R as listEnvelopeSchema, s as renderList } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { r as FieldCompact } from "./field-Cr2DPUG9.mjs";
|
|
6
6
|
import { r as fieldView } from "./field-BPsNa-TO.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { t as Transform } from "./transform-D3QX0jxA.mjs";
|
|
5
5
|
import { n as transformView } from "./transform-DoTyyXAu.mjs";
|
|
6
6
|
//#region src/commands/transform/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { F as outputFlags, N as listFlags, R as listEnvelopeSchema, s as renderList, u as writeText } from "./cli.mjs";
|
|
3
|
-
import { n as parseCsv, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { n as parseCsv, t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { a as readSkillContent, i as loadVisibleSkills, o as selectSkillsByNames, r as loadAllSkills, t as SkillContent } from "./skills-DTCrMcix.mjs";
|
|
6
6
|
//#region src/commands/skills/get.ts
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
|
+
import { t as TransformTest } from "./transform-test-Dhcj7u-U.mjs";
|
|
5
|
+
import { t as transformTestView } from "./transform-test-BJOPAwKl.mjs";
|
|
6
|
+
//#region src/commands/transform-test/get.ts
|
|
7
|
+
var get_default = defineMetabaseCommand({
|
|
8
|
+
meta: {
|
|
9
|
+
name: "get",
|
|
10
|
+
description: "Get a transform test by id"
|
|
11
|
+
},
|
|
12
|
+
details: "The compact form carries the id, transform, name and description. Pass --full for the `inputs` and `expectations` themselves, which is also the body to edit and send back to `update`.",
|
|
13
|
+
capabilities: { minVersion: 64 },
|
|
14
|
+
args: {
|
|
15
|
+
...outputFlags,
|
|
16
|
+
...profileFlag,
|
|
17
|
+
...connectionFlags,
|
|
18
|
+
id: {
|
|
19
|
+
type: "positional",
|
|
20
|
+
description: "Transform test id",
|
|
21
|
+
required: true
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
outputSchema: TransformTest,
|
|
25
|
+
examples: ["mb transform-test get 1", "mb transform-test get 1 --full --json"],
|
|
26
|
+
async run({ args, ctx, getClient }) {
|
|
27
|
+
const id = parseId(args.id);
|
|
28
|
+
renderItem(await (await getClient()).transformTest.get(id), transformTestView, ctx);
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { get_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { t as Pulse } from "./pulse-BmsDenXm.mjs";
|
|
5
5
|
import { t as pulseView } from "./pulse-DhG6I9mI.mjs";
|
|
6
6
|
//#region src/commands/subscription/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
-
import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { r as TableGetInclude, t as Table } from "./table-CeeTJgQb.mjs";
|
|
5
5
|
import { t as tableView } from "./table-CsIJNPFf.mjs";
|
|
6
6
|
//#region src/commands/table/hints.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { t as Document } from "./document-Cd2mmqCp.mjs";
|
|
5
5
|
import { t as documentView } from "./document-D6OybtP2.mjs";
|
|
6
6
|
//#region src/commands/document/get.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, c as renderSummary, f as formatScalar } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
3
|
import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
|
|
4
4
|
import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
|
|
5
5
|
import { t as parseSettingKey } from "./key-BEhqIzIQ.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
5
5
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
6
6
|
//#region src/commands/snippet/get.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
-
import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { r as DatabaseGetInclude, t as Database } from "./database-C8G6ZKG0.mjs";
|
|
5
5
|
import { n as databaseView } from "./database-B19qlLKZ.mjs";
|
|
6
6
|
//#region src/commands/db/hints.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, o as renderItem } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-BMJv4VOi.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-CPINxy7h.mjs";
|
|
4
4
|
import { t as TransformJob } from "./transform-job-DRrK28IH.mjs";
|
|
5
5
|
import { t as transformJobView } from "./transform-job-50GZHhKH.mjs";
|
|
6
6
|
//#region src/commands/transform-job/get.ts
|