@metabase/cli 0.3.0-alpha.extract-api-client.e9b2dd5 → 0.3.1
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-CYDUm_XO.mjs} +2 -2
- package/dist/{alert-DT-ee7yf.mjs → alert-ClyhtxIz.mjs} +6 -6
- package/dist/{alerts-Bf2RH_p_.mjs → alerts-Dt3D1gcz.mjs} +3 -3
- package/dist/{append-DFzQRPMd.mjs → append-Bl_Ensmr.mjs} +4 -3
- package/dist/{archive-BxNPHxOY.mjs → archive-BJZ7Dace.mjs} +2 -2
- package/dist/{archive-CwAdlv63.mjs → archive-BOyKhNOz.mjs} +2 -2
- package/dist/{archive-gid9Y09v.mjs → archive-BdHXQg4I.mjs} +2 -2
- package/dist/{archive-Dr9Xnx_Z.mjs → archive-CNblz55j.mjs} +4 -4
- package/dist/{archive-ByvA49Kz.mjs → archive-CWceyy8x.mjs} +2 -2
- package/dist/{archive-ChORH5JH.mjs → archive-D3a3Wgz0.mjs} +2 -2
- package/dist/{archive-Cd29QC0c.mjs → archive-DDru3vdy.mjs} +2 -2
- package/dist/{archive-4tmm946K.mjs → archive-DSMqHRr1.mjs} +2 -2
- package/dist/{archive-lQqs13Uz.mjs → archive-DVGDg8mP.mjs} +2 -2
- package/dist/{archive-B6eXiyER.mjs → archive-DiGxCojL.mjs} +2 -2
- package/dist/{archive-C7w49Grr.mjs → archive-nKD3mOB8.mjs} +2 -2
- package/dist/{auth-Dltxua89.mjs → auth-aCksg8q2.mjs} +4 -4
- package/dist/{body-Cur4NJt9.mjs → body-DxRSAMNC.mjs} +1 -1
- package/dist/{branches-DchlyU0i.mjs → branches-_0VWR2Zm.mjs} +1 -1
- package/dist/{cancel-BMQa5R1Z.mjs → cancel-ctpVE8uC.mjs} +2 -2
- package/dist/{cancel-task-C5CU1pxU.mjs → cancel-task-FtxBka-M.mjs} +1 -1
- package/dist/{card-CHI2bmds.mjs → card-CGCXbdmD.mjs} +7 -7
- package/dist/{cards-SccWvRQD.mjs → cards-DHOWAvfv.mjs} +4 -4
- package/dist/cli.mjs +31 -30
- package/dist/{client-BqhzKdLM.mjs → client-mKuHg_sc.mjs} +34 -10
- package/dist/{collection-CY0AB99E.mjs → collection-D8Tk8i3a.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-DNKerjS3.mjs +12 -0
- package/dist/{create-Beh-2uoN.mjs → create-7ddYK4TA.mjs} +2 -2
- package/dist/{create-DF4QtgDL.mjs → create-BdPVWYSi.mjs} +2 -2
- package/dist/{create-DV-Ln5Mo.mjs → create-C3IaXXty.mjs} +2 -2
- package/dist/{create-CHQx7jq4.mjs → create-C78g8Crb.mjs} +2 -2
- package/dist/{create-CAWytBE5.mjs → create-C9vy4ZG6.mjs} +2 -2
- package/dist/{create-C79vErX0.mjs → create-CEydRMWS.mjs} +2 -2
- package/dist/{create-tQbnuz-I.mjs → create-CLG2-bso.mjs} +2 -2
- package/dist/{create-CAQV2g6V.mjs → create-CcLchJAN.mjs} +2 -2
- package/dist/{create-CD008jdE.mjs → create-DIVhBIyE.mjs} +6 -6
- package/dist/{create-DJmXXQoq.mjs → create-DaYRnK5P.mjs} +3 -3
- package/dist/{create-CCh_LyW9.mjs → create-DmvoibX8.mjs} +2 -2
- package/dist/{create-i14Wv3Tj.mjs → create-F4Lf09xq.mjs} +2 -2
- package/dist/{create-branch-CYo6jZth.mjs → create-branch-B8C7jl-J.mjs} +1 -1
- package/dist/{create-BOLwWt8Q.mjs → create-e650zxzX.mjs} +2 -2
- package/dist/{create-BNQ_DytP.mjs → create-vlrlY-2E.mjs} +2 -2
- package/dist/{create-zeveFdnd.mjs → create-wJR4CxHA.mjs} +1 -1
- package/dist/{csv-B2Jgb1GM.mjs → csv-BLPJtlSC.mjs} +4 -3
- package/dist/{current-task-MpBFGttd.mjs → current-task-C-ldJbWE.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-CtO_3EfC.mjs} +9 -9
- package/dist/{db-DsfojyeH.mjs → db-xXselnBq.mjs} +6 -6
- package/dist/{delete-BApOjQvl.mjs → delete-BZZHw6pm.mjs} +2 -2
- package/dist/{delete-DFmX7jTp.mjs → delete-BZwAOQxG.mjs} +2 -2
- package/dist/{delete-Ck0q4Dzp.mjs → delete-BwSPQy7m.mjs} +2 -2
- package/dist/{delete-Ob06PPie.mjs → delete-D6WxgWRp.mjs} +2 -2
- package/dist/{delete-B8e01xAG.mjs → delete-ZJJyqsRh.mjs} +2 -2
- package/dist/{delete-table-DuyhGrvA.mjs → delete-table-CJktZE3w.mjs} +2 -2
- package/dist/{dependencies-Bj3QrGIm.mjs → dependencies-BdqIqEIy.mjs} +2 -2
- package/dist/{dirty-DNYoM6Bp.mjs → dirty-BW2As2wS.mjs} +1 -1
- package/dist/{document-BbskZPTT.mjs → document-KbcHhzFz.mjs} +5 -5
- package/dist/download-mfFJ9oRS.mjs +28 -0
- package/dist/{eid-WTZmDdsr.mjs → eid-DZ-4t2xe.mjs} +2 -2
- package/dist/{events-Bn7jh5lP.mjs → events-D6yFmXP1.mjs} +2 -2
- package/dist/{export-BjfoZRDJ.mjs → export-DYZjz1WP.mjs} +2 -2
- package/dist/{field-Zau6Hc6X.mjs → field-BJ54wmIX.mjs} +4 -4
- package/dist/{fields-CBBa-Prp.mjs → fields-FUWCgPOa.mjs} +2 -2
- package/dist/{get-CvI--9S_.mjs → get-BC8J8BXB.mjs} +1 -1
- package/dist/{get-DkWO0EI0.mjs → get-BWl3vzsf.mjs} +1 -1
- package/dist/{get-DRvsATp-.mjs → get-Ba2HRdrx.mjs} +2 -2
- package/dist/{get-ByBOq30r.mjs → get-BraVQ1FJ.mjs} +2 -2
- package/dist/{get-DYO1kywc.mjs → get-ByZJf9nO.mjs} +2 -2
- package/dist/{get-DmpB6J9g.mjs → get-C5q49Dgx.mjs} +2 -2
- package/dist/{get-DY03Azx9.mjs → get-CQ0-fFWP.mjs} +1 -1
- package/dist/{get-B_xdF1kq.mjs → get-CWnriw33.mjs} +2 -2
- package/dist/{get-B7sMgsFs.mjs → get-C_5AbfpO.mjs} +2 -2
- package/dist/{get-C2-Q3iQ5.mjs → get-CsN7NBI0.mjs} +2 -2
- package/dist/{get-Bz99dAxK.mjs → get-DAOSGt5Z.mjs} +4 -4
- package/dist/{get-CnbUCzDM.mjs → get-DCutQeiV.mjs} +2 -2
- package/dist/{get-DdsoHaKH.mjs → get-DMECsioX.mjs} +2 -2
- package/dist/{get-CDJFVvhj.mjs → get-DRJtsS1_.mjs} +1 -1
- package/dist/{get-D_h-G9bn.mjs → get-DVyesErX.mjs} +2 -2
- package/dist/{get-Dn9ZiSZr.mjs → get-DYaQpixt.mjs} +2 -2
- package/dist/{get-CDMGbgrh.mjs → get-DhkltKIV.mjs} +2 -2
- package/dist/{get-Dmj9Ygz1.mjs → get-LAew34ID.mjs} +2 -2
- package/dist/{get-00lyLv6R.mjs → get-_ggLr1tY.mjs} +2 -2
- package/dist/{get-run-Cnux9ln0.mjs → get-run-oH4dRCBx.mjs} +2 -2
- package/dist/git-sync-Dik8nKfw.mjs +28 -0
- package/dist/{has-remote-changes-C684Redh.mjs → has-remote-changes-CnmyIw_7.mjs} +1 -1
- package/dist/{import-Rmmttboo.mjs → import-B7Si-bSI.mjs} +2 -2
- package/dist/{is-dirty-DYeJYhBz.mjs → is-dirty-BOH_VEA8.mjs} +1 -1
- package/dist/{items-CQlPXBXE.mjs → items-DouHkWev.mjs} +1 -1
- package/dist/{library-Bsm5KsFF.mjs → library-1J_4Dicw.mjs} +4 -4
- package/dist/{list-CMpoc2TN.mjs → list-B2Ddf4W0.mjs} +1 -1
- package/dist/{list-BP3MPq-M.mjs → list-BK_6VNm_.mjs} +1 -1
- package/dist/{list-BpFp9Wre.mjs → list-BXlTYsYA.mjs} +1 -1
- package/dist/{list-CQDprvW0.mjs → list-BeMYIeiI.mjs} +3 -3
- package/dist/{list-B8nAGwP4.mjs → list-C0zJ2ehz.mjs} +1 -1
- package/dist/{list-BOET6zhP.mjs → list-C1bAtgO1.mjs} +1 -1
- package/dist/{list-C5Zs8nrb.mjs → list-C7UvO3Uw.mjs} +1 -1
- package/dist/{list-UhpKG6_m.mjs → list-CW5PdYCX.mjs} +1 -1
- package/dist/{list-BtmsNOEn.mjs → list-Cy0w4Fap.mjs} +1 -1
- package/dist/{list-DMKDsBRd.mjs → list-D25ofn4v.mjs} +1 -1
- package/dist/{list-BzVTHOoH.mjs → list-D2IYZ6lk.mjs} +1 -1
- package/dist/{list-DF2rvoO1.mjs → list-DJK9_BEF.mjs} +3 -3
- package/dist/{list-BtkWNtvY.mjs → list-DWLGpMvr.mjs} +2 -2
- package/dist/{list-CNUiF8Z7.mjs → list-DhViDVx_.mjs} +1 -1
- package/dist/{list-CKK-s3Ty.mjs → list-DptEWB5Y.mjs} +1 -1
- package/dist/{list-B4hJuMhA.mjs → list-aKUk-a1Y.mjs} +1 -1
- package/dist/{list-DE9FM957.mjs → list-qs9wAtC3.mjs} +1 -1
- package/dist/{list-CQwOgIlj.mjs → list-sDpy4nDU.mjs} +1 -1
- package/dist/{login-CGHeSjlP.mjs → login-BmyCAfRV.mjs} +3 -3
- package/dist/{logout-DAxOlbv4.mjs → logout-DUR32q0V.mjs} +1 -1
- package/dist/{measure-BsYv0p26.mjs → measure-DdVp-8jw.mjs} +5 -5
- package/dist/{network-error-CEb9ymDW.mjs → network-error-D6CiOEBw.mjs} +10 -2
- package/dist/{parameter-values-CJTdqd8c.mjs → parameter-values-CBR-cBev.mjs} +2 -2
- package/dist/{parse-id-C_jmKFaa.mjs → parse-id-B3YwNojT.mjs} +1 -1
- package/dist/{path-B5gHvrYL.mjs → path-D8BQmEhL.mjs} +1 -1
- package/dist/{preflight-YpPQo-sa.mjs → preflight-CoF1Em99.mjs} +1 -1
- package/dist/{publish-DijrxaCW.mjs → publish-Cb7XrQ3X.mjs} +2 -2
- package/dist/{query-Dc__-KJH.mjs → query-C256WBYG.mjs} +2 -2
- package/dist/{query-BbqECzmF.mjs → query-D35B588l.mjs} +4 -9
- package/dist/{remove-collection-BOnxYvhj.mjs → remove-collection-DJem6V26.mjs} +2 -2
- package/dist/{replace-Cq4CxVa-.mjs → replace-CtsWICrD.mjs} +4 -3
- package/dist/{rescan-values-Dr_j416g.mjs → rescan-values-CaXUL6z5.mjs} +2 -2
- package/dist/{run-C3DkS6NP.mjs → run-BeLm17F4.mjs} +3 -3
- package/dist/{run-DdGJ544X.mjs → run-CM-Amtbf.mjs} +2 -2
- package/dist/{runs-CUNWiidL.mjs → runs-DFG63zgr.mjs} +2 -2
- package/dist/{runtime-DiKyBxOw.mjs → runtime-z8rra6-I.mjs} +2 -2
- package/dist/{schema-tables-CV386fnC.mjs → schema-tables-COAHkIcy.mjs} +2 -2
- package/dist/{schemas-DM-UqZBQ.mjs → schemas-BX5BATiV.mjs} +2 -2
- package/dist/{search-DmGScXs8.mjs → search-CPvvmhdt.mjs} +2 -2
- package/dist/{segment-BzUGM2Fr.mjs → segment-C62L6BI3.mjs} +5 -5
- package/dist/{selectors-DGDn0Hto.mjs → selectors-P4QnrORk.mjs} +2 -2
- package/dist/{send-CVxxEpDB.mjs → send-PZh5IKF8.mjs} +2 -2
- package/dist/{set-DFolTjbd.mjs → set-DbCtUoFd.mjs} +2 -2
- package/dist/{set-active-BD8L1lPX.mjs → set-active-DL4QzWDO.mjs} +1 -1
- package/dist/{setting-DyhaeICs.mjs → setting-BlRcZbhC.mjs} +3 -3
- package/dist/{setup-BbDQN8fe.mjs → setup-D_SLaC-3.mjs} +2 -2
- package/dist/{skills--vK6J-e4.mjs → skills-D991LB1M.mjs} +3 -3
- package/dist/{snippet-DRwKb2x7.mjs → snippet-DTDO55Cg.mjs} +5 -5
- package/dist/{stash-D0S4JmAz.mjs → stash-DyBxFoP6.mjs} +2 -2
- package/dist/{status-BhswxJL1.mjs → status-DUsiogz5.mjs} +1 -1
- package/dist/{status-hL1am-HV.mjs → status-cfDHqK2Q.mjs} +2 -2
- package/dist/stream-McixcoUl.mjs +7 -0
- package/dist/{subscription-_d5fB45F.mjs → subscription-Bn0AU7GN.mjs} +5 -5
- package/dist/{subscriptions-s4TF6Ax3.mjs → subscriptions-DwqjCVlc.mjs} +3 -3
- package/dist/{summary-CsPvcUwW.mjs → summary-BGwSNzf4.mjs} +2 -2
- package/dist/{sync-schema-DaZ_MV-u.mjs → sync-schema-dtkDOAKe.mjs} +3 -3
- package/dist/{table-DYoC1kPn.mjs → table-BJoEAoCU.mjs} +4 -4
- package/dist/{timeline-xlDbEKWg.mjs → timeline-DcXPshcT.mjs} +7 -7
- package/dist/{timeline-event-CNQdCTDg.mjs → timeline-event-BsF7YqzZ.mjs} +5 -5
- package/dist/transform-Dsf_wHAj.mjs +28 -0
- package/dist/transform-job-B1yLv5l-.mjs +22 -0
- package/dist/{transform-tag-_tgwlsdB.mjs → transform-tag-VM9R7Q_M.mjs} +4 -4
- package/dist/{transforms-oU4zizbO.mjs → transforms-BjACGbBp.mjs} +2 -2
- package/dist/{tree-CH-f3bjP.mjs → tree-BwS6JAmk.mjs} +1 -1
- package/dist/{unpublish-BUl9RU5C.mjs → unpublish-DWdPnENY.mjs} +2 -2
- package/dist/{update-CmDTljK-.mjs → update-3idz42uD.mjs} +3 -3
- package/dist/{update-Nfi44RrE.mjs → update-B2CF2DK4.mjs} +3 -3
- package/dist/{update-BZPllQoR.mjs → update-BCT9qpVr.mjs} +3 -3
- package/dist/{update-BiFDBcEH.mjs → update-BR_vkkd1.mjs} +3 -3
- package/dist/{update-bD_Jh5-s.mjs → update-BpPaacCF.mjs} +3 -3
- package/dist/{update-tX9mKBN_.mjs → update-C1FBVLfC.mjs} +7 -7
- package/dist/{update-CvOO8TED.mjs → update-C4y3iQsv.mjs} +3 -3
- package/dist/{update-CVPAwJaH.mjs → update-DCjAjihm.mjs} +3 -3
- package/dist/{update-C4YJQFDS.mjs → update-DKEHY-gt.mjs} +3 -3
- package/dist/{update-BzMDeZiU.mjs → update-DTmRHBik.mjs} +3 -3
- package/dist/{update-D-NE60AV.mjs → update-DkviXwSg.mjs} +3 -3
- package/dist/{update-BCS5FxKr.mjs → update-DlTaD1x3.mjs} +4 -4
- package/dist/{update-cYkvbqK8.mjs → update-DsZttiSC.mjs} +3 -3
- package/dist/{update-CHNSUHK4.mjs → update-cqR1U6DU.mjs} +3 -3
- package/dist/{update-dashcard-C3TuYO_k.mjs → update-dashcard-DlE_bb2F.mjs} +5 -5
- package/dist/{update-CO4m4wH3.mjs → update-tLIhVIPp.mjs} +3 -3
- package/dist/{upgrade-DXMV4AyP.mjs → upgrade-mNV7XuJG.mjs} +2 -2
- package/dist/upload-C3z5ZaXA.mjs +24 -0
- package/dist/{upload-CH632qW6.mjs → upload-CD555ui1.mjs} +1 -24
- package/dist/upload-CEGVxmYB.mjs +42 -0
- package/dist/{upload-Dey_8rLf.mjs → upload-DsYCf5kB.mjs} +3 -3
- package/dist/{uuid-BJkDWj9p.mjs → uuid-C4hqn3kA.mjs} +1 -1
- package/dist/{values-Dxf1JEoA.mjs → values-C0O3eNaW.mjs} +2 -2
- package/dist/{verify-K96rItG5.mjs → verify-DfTjYF7s.mjs} +3 -3
- package/dist/{wait-DoMDH226.mjs → wait-WZmFenN_.mjs} +2 -2
- package/dist/{wait-flags-DWEF9tX4.mjs → wait-flags-BbfDSP8R.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +4 -3
- package/skill-data/dashboard/SKILL.md +2 -2
- 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-z8rra6-I.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/commands/git-sync/is-dirty.ts
|
|
5
5
|
const IsDirtyResult = z.object({ is_dirty: z.boolean() });
|
|
@@ -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 { i as parseEnumCsv, r as parseEnum, t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { i as parseEnumCsv, r as parseEnum, t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
3
|
import { t as collectForOutput } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { c as CollectionItemFilterModel, d as CollectionPinnedState, n as COLLECTION_PINNED_STATES, s as CollectionItemCompact, t as COLLECTION_ITEM_FILTER_MODELS } from "./collection-CfulNRBG.mjs";
|
|
5
5
|
import { t as collectionItemView } from "./collection-CGoVLvcD.mjs";
|
|
@@ -11,10 +11,10 @@ var library_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "which tables are worth publishing"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
get: () => import("./get-
|
|
15
|
-
create: () => import("./create-
|
|
16
|
-
publish: () => import("./publish-
|
|
17
|
-
unpublish: () => import("./unpublish-
|
|
14
|
+
get: () => import("./get-CQ0-fFWP.mjs").then((m) => m.default),
|
|
15
|
+
create: () => import("./create-wJR4CxHA.mjs").then((m) => m.default),
|
|
16
|
+
publish: () => import("./publish-Cb7XrQ3X.mjs").then((m) => m.default),
|
|
17
|
+
unpublish: () => import("./unpublish-DWdPnENY.mjs").then((m) => m.default)
|
|
18
18
|
}
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
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
2
|
import { i as NotificationCompact } from "./notification-DaA4bBHW.mjs";
|
|
3
3
|
import { t as notificationView } from "./notification-Fcq1fIPw.mjs";
|
|
4
|
-
import { t as defineMetabaseCommand, z as parseOptionalInteger } from "./runtime-
|
|
4
|
+
import { t as defineMetabaseCommand, z as parseOptionalInteger } from "./runtime-z8rra6-I.mjs";
|
|
5
5
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
6
6
|
//#region src/commands/alert/list.ts
|
|
7
7
|
const AlertListEnvelope = listEnvelopeSchema(NotificationCompact);
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as TimelineCompact } from "./timeline-CCSU2qOS.mjs";
|
|
5
5
|
import { n as timelineView } from "./timeline-uDCmwGFT.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as SegmentCompact } from "./segment-OsrbUDzw.mjs";
|
|
5
5
|
import { t as segmentView } from "./segment-C_gl5ag6.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
|
-
import { a as DashboardListFilter, n as DashboardCompact } from "./dashboard-
|
|
4
|
+
import { a as DashboardListFilter, n as DashboardCompact } from "./dashboard-CKUR8ZpQ.mjs";
|
|
5
5
|
import { t as parseEnumFlag } from "./parse-enum-D0Jfm_Bz.mjs";
|
|
6
|
-
import { t as dashboardView } from "./dashboard-
|
|
6
|
+
import { t as dashboardView } from "./dashboard-BlbNszi8.mjs";
|
|
7
7
|
//#region src/commands/dashboard/list.ts
|
|
8
8
|
const DashboardListEnvelope = listEnvelopeSchema(DashboardCompact);
|
|
9
9
|
var list_default = defineMetabaseCommand({
|
|
@@ -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, z as parseOptionalInteger } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand, z as parseOptionalInteger } from "./runtime-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { r as PulseCompact } from "./pulse-BmsDenXm.mjs";
|
|
5
5
|
import { t as pulseView } from "./pulse-DhG6I9mI.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as SnippetCompact } from "./snippet-CyKAgIZl.mjs";
|
|
5
5
|
import { t as snippetView } from "./snippet-oJLaYW9V.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as TransformCompact } from "./transform-D3QX0jxA.mjs";
|
|
5
5
|
import { n as transformView } from "./transform-DoTyyXAu.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as outputFlags, N as listFlags, R as listEnvelopeSchema, b as warn, s as renderList, y as listTruncationNotice } from "./cli.mjs";
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { i as loadVisibleSkills } from "./skills-DTCrMcix.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as MeasureCompact } from "./measure-CtfjqJFP.mjs";
|
|
5
5
|
import { t as measureView } from "./measure-4P0bOlZ3.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { i as CollectionCompact, l as CollectionListFilter } from "./collection-CfulNRBG.mjs";
|
|
5
5
|
import { t as parseEnumFlag } from "./parse-enum-D0Jfm_Bz.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { r as TransformJobCompact } from "./transform-job-DRrK28IH.mjs";
|
|
5
5
|
import { t as transformJobView } from "./transform-job-50GZHhKH.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { F as outputFlags, N as listFlags, R as listEnvelopeSchema, b as warn, s as renderList, t as interruptSignal } from "./cli.mjs";
|
|
2
|
-
import { A as ProbedUser, D as writeProbeFailure, L as TokenFeatures, M as ProfileLastFailure, N as profileAuthMethod, O as writeProbeResult, P as ParsedVersion, S as listProfileRecords, T as resolveRecordCredential, a as createCredentialRefresher, j as ProfileAuthMethod, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as verifyAndProbe } from "./verify-
|
|
4
|
-
import { s as displayUrl } from "./network-error-
|
|
2
|
+
import { A as ProbedUser, D as writeProbeFailure, L as TokenFeatures, M as ProfileLastFailure, N as profileAuthMethod, O as writeProbeResult, P as ParsedVersion, S as listProfileRecords, T as resolveRecordCredential, a as createCredentialRefresher, j as ProfileAuthMethod, t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as verifyAndProbe } from "./verify-DfTjYF7s.mjs";
|
|
4
|
+
import { s as displayUrl } from "./network-error-D6CiOEBw.mjs";
|
|
5
5
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
6
6
|
import { a as renderVersionTag, i as renderUserRole, n as renderTimestamp, t as renderAuthMethod } from "./render-CI93iP0I.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { n as TableCompact } from "./table-CeeTJgQb.mjs";
|
|
6
6
|
import { t as tableView } from "./table-CsIJNPFf.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as DocumentCompact } from "./document-Cd2mmqCp.mjs";
|
|
5
5
|
import { t as documentView } from "./document-D6OybtP2.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as TransformTagCompact } from "./transform-tag-CcElGp3C.mjs";
|
|
5
5
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { a as CardListFilter, n as CardCompact } from "./card-DZxRmver.mjs";
|
|
5
5
|
import { n as cardView } from "./card-zyUkr2nS.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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { n as SettingCompact } from "./setting-DTiLCW8g.mjs";
|
|
5
5
|
import { n as settingView } from "./setting-CwRYgHYN.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 { r as parseEnum, t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { r as parseEnum, t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { i as DatabaseListInclude, n as DatabaseCompact } from "./database-C8G6ZKG0.mjs";
|
|
5
5
|
import { n as databaseView } from "./database-B19qlLKZ.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as errorMessage, i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, _ as promptSelect, b as warn, c as renderSummary, g as promptPassword, t as interruptSignal, v as promptText } from "./cli.mjs";
|
|
3
|
-
import { A as ProbedUser, D as writeProbeFailure, E as writeOAuthProfile, O as writeProbeResult, P as ParsedVersion, _ as DEFAULT_PROFILE, b as consumeKeyringDowngradeWarning, d as revokeOAuthCredential, f as OAUTH_SCOPE, g as tryDiscoverMetadata, h as registerClient, k as writeProfile, l as OAUTH_CLIENT_NAME, m as exchangeCode, o as explicitProfileName, p as discoverMetadata, s as readEnvCredentials, t as defineMetabaseCommand, u as USER_AGENT, x as keyringFallbackWarning, y as consumeKeychainResidualWarning } from "./runtime-
|
|
4
|
-
import { t as verifyAndProbe } from "./verify-
|
|
5
|
-
import { c as normalizeUrl, p as oauthCredentialFromTokens } from "./network-error-
|
|
3
|
+
import { A as ProbedUser, D as writeProbeFailure, E as writeOAuthProfile, O as writeProbeResult, P as ParsedVersion, _ as DEFAULT_PROFILE, b as consumeKeyringDowngradeWarning, d as revokeOAuthCredential, f as OAUTH_SCOPE, g as tryDiscoverMetadata, h as registerClient, k as writeProfile, l as OAUTH_CLIENT_NAME, m as exchangeCode, o as explicitProfileName, p as discoverMetadata, s as readEnvCredentials, t as defineMetabaseCommand, u as USER_AGENT, x as keyringFallbackWarning, y as consumeKeychainResidualWarning } from "./runtime-z8rra6-I.mjs";
|
|
4
|
+
import { t as verifyAndProbe } from "./verify-DfTjYF7s.mjs";
|
|
5
|
+
import { c as normalizeUrl, p as oauthCredentialFromTokens } from "./network-error-D6CiOEBw.mjs";
|
|
6
6
|
import { r as readInput } from "./input-DH9i67x_.mjs";
|
|
7
7
|
import { a as renderVersionTag, i as renderUserRole, r as renderUserName } from "./render-CI93iP0I.mjs";
|
|
8
8
|
import { t as openBrowser } from "./process-DBOOrmET.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { f as errorMessage } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { F as outputFlags, I as profileFlag, b as warn, c as renderSummary, h as promptConfirm } from "./cli.mjs";
|
|
3
|
-
import { C as readProfileCredential, c as resolveProfileName, d as revokeOAuthCredential, t as defineMetabaseCommand, u as USER_AGENT, v as clearProfile, y as consumeKeychainResidualWarning } from "./runtime-
|
|
3
|
+
import { C as readProfileCredential, c as resolveProfileName, d as revokeOAuthCredential, t as defineMetabaseCommand, u as USER_AGENT, v as clearProfile, y as consumeKeychainResidualWarning } from "./runtime-z8rra6-I.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/auth/logout.ts
|
|
6
6
|
const LogoutResult = z.object({
|
|
@@ -11,11 +11,11 @@ var measure_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "define reusable measures"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
list: () => import("./list-
|
|
15
|
-
get: () => import("./get-
|
|
16
|
-
create: () => import("./create-
|
|
17
|
-
update: () => import("./update-
|
|
18
|
-
archive: () => import("./archive-
|
|
14
|
+
list: () => import("./list-Cy0w4Fap.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-DhkltKIV.mjs").then((mod) => mod.default),
|
|
16
|
+
create: () => import("./create-C9vy4ZG6.mjs").then((mod) => mod.default),
|
|
17
|
+
update: () => import("./update-B2CF2DK4.mjs").then((mod) => mod.default),
|
|
18
|
+
archive: () => import("./archive-DSMqHRr1.mjs").then((mod) => mod.default)
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -159,6 +159,7 @@ function redactBody(body, ctx) {
|
|
|
159
159
|
//#endregion
|
|
160
160
|
//#region ../client/src/http/errors.ts
|
|
161
161
|
const NOT_FOUND_STATUS = 404;
|
|
162
|
+
const TEXT_CONTENT_TYPE = "text/plain";
|
|
162
163
|
const ROUTE_MISSING_LITERAL = "API endpoint does not exist.";
|
|
163
164
|
const RESOURCE_MISSING_LITERAL = "Not found.";
|
|
164
165
|
const STATUS_CLASSIFICATIONS = {
|
|
@@ -208,7 +209,7 @@ var HttpError = class extends MetabaseError {
|
|
|
208
209
|
const sanitizedBody = sanitizeBody(input.rawBody, input.redactionContext);
|
|
209
210
|
const redactedHeaders = redactHeaders(input.responseHeaders);
|
|
210
211
|
const kind = classifyKind(input.status, sanitizedBody, redactedHeaders);
|
|
211
|
-
super(input.overrideUserMessage ?? buildUserMessage(kind, input, sanitizedBody));
|
|
212
|
+
super(input.overrideUserMessage ?? buildUserMessage(kind, input, sanitizedBody, redactedHeaders));
|
|
212
213
|
const fields = extractFieldErrors(sanitizedBody);
|
|
213
214
|
this.name = "HttpError";
|
|
214
215
|
this.status = input.status;
|
|
@@ -268,14 +269,21 @@ function isRouteMissingResponse(sanitizedBody, redactedHeaders) {
|
|
|
268
269
|
if (sanitizedBody === null || sanitizedBody.trim() === "") return true;
|
|
269
270
|
return parseEnvelope(sanitizedBody) === null;
|
|
270
271
|
}
|
|
271
|
-
function buildUserMessage(kind, input, sanitizedBody) {
|
|
272
|
+
function buildUserMessage(kind, input, sanitizedBody, redactedHeaders) {
|
|
272
273
|
if (kind === "route-missing") return buildRouteMissingMessage(input);
|
|
273
274
|
if (kind === "resource-missing") return `Not found: ${input.method} ${pathFromUrl(input.url)}.`;
|
|
274
275
|
const fromBody = parseEnvelopeMessage(sanitizedBody);
|
|
275
276
|
if (fromBody !== null) return fromBody;
|
|
276
277
|
if (kind === "auth") return `Invalid or unauthorized API key (host: ${hostFromUrl(input.url)}).`;
|
|
278
|
+
const fromText = plainTextMessage(sanitizedBody, redactedHeaders);
|
|
279
|
+
if (fromText !== null) return fromText;
|
|
277
280
|
return defaultMessageForStatus(input.status);
|
|
278
281
|
}
|
|
282
|
+
function plainTextMessage(sanitizedBody, redactedHeaders) {
|
|
283
|
+
if (sanitizedBody === null || !redactedHeaders["content-type"]?.includes(TEXT_CONTENT_TYPE)) return null;
|
|
284
|
+
const trimmed = sanitizedBody.trim();
|
|
285
|
+
return trimmed === "" ? null : capLength(trimmed);
|
|
286
|
+
}
|
|
279
287
|
function buildRouteMissingMessage(input) {
|
|
280
288
|
const path = pathFromUrl(input.url);
|
|
281
289
|
if (!input.serverTag) return `This endpoint is not available on the connected Metabase: ${input.method} ${path}.`;
|
|
@@ -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 { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
4
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
5
5
|
import { i as ParameterValuesCompact, r as ParameterValues } from "./parameter-DUKR8NXo.mjs";
|
|
6
6
|
//#region src/output/views/parameter.ts
|
|
7
7
|
const parameterValuesView = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { F as outputFlags, 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-z8rra6-I.mjs";
|
|
3
3
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
4
4
|
import { i as loadVisibleSkills, n as findSkillByName, r as loadAllSkills } from "./skills-DTCrMcix.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ConfigError, o as MetabaseError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { l as writeJson } from "./cli.mjs";
|
|
3
|
-
import { i as chainRequestFailure } from "./network-error-
|
|
3
|
+
import { i as chainRequestFailure } from "./network-error-D6CiOEBw.mjs";
|
|
4
4
|
import "./validate-BWchyW0V.mjs";
|
|
5
5
|
//#region src/commands/dashboard/preflight.ts
|
|
6
6
|
async function preflightDashcardCardReferences(client, dashcards) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { f as errorMessage } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, b as warn, c as renderSummary } from "./cli.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
4
4
|
import { i as CollectionCompact, r as Collection } from "./collection-CfulNRBG.mjs";
|
|
5
|
-
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-
|
|
5
|
+
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-P4QnrORk.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/git-sync/sync-scope.ts
|
|
8
8
|
function isOutsideSyncScope(collection) {
|
|
@@ -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, l as writeJson } from "./cli.mjs";
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
4
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { o as CardQueryResult } from "./card-DZxRmver.mjs";
|
|
7
7
|
import { t as cardQueryView } from "./card-zyUkr2nS.mjs";
|
|
@@ -1,18 +1,13 @@
|
|
|
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, z as parseOptionalInteger } from "./runtime-
|
|
4
|
-
import { t as parseId } from "./parse-id-
|
|
5
|
-
import { h as parseJson } from "./network-error-
|
|
3
|
+
import { t as defineMetabaseCommand, z as parseOptionalInteger } from "./runtime-z8rra6-I.mjs";
|
|
4
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
5
|
+
import { h as parseJson } from "./network-error-D6CiOEBw.mjs";
|
|
6
6
|
import { i as CardExportFormat, o as CardQueryResult } from "./card-DZxRmver.mjs";
|
|
7
7
|
import { t as cardQueryView } from "./card-zyUkr2nS.mjs";
|
|
8
8
|
import { t as formatQueryResult } from "./query-result-DBDwk8TS.mjs";
|
|
9
|
+
import { t as pipeToStdout } from "./stream-McixcoUl.mjs";
|
|
9
10
|
import { z } from "zod";
|
|
10
|
-
import { Writable } from "node:stream";
|
|
11
|
-
//#region src/output/stream.ts
|
|
12
|
-
async function pipeToStdout(stream) {
|
|
13
|
-
await stream.pipeTo(Writable.toWeb(process.stdout));
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
11
|
//#region src/commands/card/query.ts
|
|
17
12
|
const QueryParameters = z.array(z.unknown());
|
|
18
13
|
var query_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 parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { s as SyncSettingsUpdateResult } from "./git-sync-BDnxPrqU.mjs";
|
|
5
5
|
import { o as syncSettingsUpdateView } from "./git-sync-DxD_ng48.mjs";
|
|
6
6
|
//#region src/commands/git-sync/remove-collection.ts
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { n as UploadUpdateResult } from "./upload-DAtxBBms.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-CD555ui1.mjs";
|
|
6
|
+
import { n as uploadUpdateResultView } from "./upload-C3z5ZaXA.mjs";
|
|
6
7
|
//#region src/commands/upload/replace.ts
|
|
7
8
|
var replace_default = defineMetabaseCommand({
|
|
8
9
|
meta: {
|
|
@@ -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 parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { a as DatabaseSyncResult } from "./database-C8G6ZKG0.mjs";
|
|
5
5
|
import { t as databaseSyncResultView } from "./database-B19qlLKZ.mjs";
|
|
6
6
|
//#region src/commands/db/rescan-values.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
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-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { l as isTransformRunFailed, o as TransformRunResult } from "./transform-D3QX0jxA.mjs";
|
|
5
|
-
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-
|
|
5
|
+
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-BbfDSP8R.mjs";
|
|
6
6
|
//#region src/commands/transform/run.ts
|
|
7
7
|
const transformRunResultView = {
|
|
8
8
|
compactPick: TransformRunResult,
|
|
@@ -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 parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { a as TransformJobRunResult } from "./transform-job-DRrK28IH.mjs";
|
|
5
5
|
//#region src/commands/transform-job/run.ts
|
|
6
6
|
const transformJobRunResultView = {
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { t as collectForOutput } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { a as TransformRunCompact } from "./transform-D3QX0jxA.mjs";
|
|
6
6
|
import { t as transformRunView } from "./transform-DoTyyXAu.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as ValidationError, f as errorMessage, i as ConfigError, l as TimeoutError, o as MetabaseError, p as isFileNotFoundError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
2
|
import { B as normalizeFlag, D as consumeLegacyEnvWarnings, E as ENV_URL, O as readEnv, S as ENV_DISABLE_KEYRING, T as ENV_SKIP_PREFLIGHT, V as toAliasArray, a as reportError, b as warn, i as mergeCapabilities, j as version, k as setMetabaseAugment, n as BASELINE_CAPABILITIES, r as checkCapabilities, t as interruptSignal, x as ENV_API_KEY, z as flagConsumesValue } from "./cli.mjs";
|
|
3
|
-
import { _ as parseJsonResult, a as isRetryableStatus, c as normalizeUrl, f as isOAuthExpired, m as JSON_CONTENT_TYPE, o as assertEndpointOrigin, p as oauthCredentialFromTokens, r as HttpError, t as buildNetworkError } from "./network-error-
|
|
3
|
+
import { _ as parseJsonResult, a as isRetryableStatus, c as normalizeUrl, f as isOAuthExpired, m as JSON_CONTENT_TYPE, o as assertEndpointOrigin, p as oauthCredentialFromTokens, r as HttpError, t as buildNetworkError } from "./network-error-D6CiOEBw.mjs";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { parse } from "semver";
|
|
@@ -900,7 +900,7 @@ function defineMetabaseCommand(def) {
|
|
|
900
900
|
const rawGetClient = async () => {
|
|
901
901
|
if (cachedClient === null) {
|
|
902
902
|
const resolved = await getResolvedConfig();
|
|
903
|
-
const { createClient } = await import("./client-
|
|
903
|
+
const { createClient } = await import("./client-mKuHg_sc.mjs").then((n) => n.t);
|
|
904
904
|
cachedClient = createClient({
|
|
905
905
|
url: resolved.url,
|
|
906
906
|
credential: resolved.credential
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { n as TableCompact } from "./table-CeeTJgQb.mjs";
|
|
6
6
|
import { t as tableView } from "./table-CsIJNPFf.mjs";
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { n as windowList } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/db/schemas.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { F as outputFlags, I as profileFlag, M as connectionFlags, P as listFlagsWithDefaultLimit, R as listEnvelopeSchema, s as renderList } from "./cli.mjs";
|
|
2
|
-
import { i as parseEnumCsv, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { i as parseEnumCsv, t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { r as windowServerPage } from "./window-BkvrP0gB.mjs";
|
|
5
5
|
import { i as SearchResultCompact, n as SearchModel, t as SEARCH_MODELS } from "./search-DFBwUc6d.mjs";
|
|
6
6
|
//#region src/output/views/search.ts
|
|
@@ -11,11 +11,11 @@ var segment_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "define reusable segments"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
list: () => import("./list-
|
|
15
|
-
get: () => import("./get-
|
|
16
|
-
create: () => import("./create-
|
|
17
|
-
update: () => import("./update-
|
|
18
|
-
archive: () => import("./archive-
|
|
14
|
+
list: () => import("./list-BXlTYsYA.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-DMECsioX.mjs").then((mod) => mod.default),
|
|
16
|
+
create: () => import("./create-e650zxzX.mjs").then((mod) => mod.default),
|
|
17
|
+
update: () => import("./update-DCjAjihm.mjs").then((mod) => mod.default),
|
|
18
|
+
archive: () => import("./archive-BdHXQg4I.mjs").then((mod) => mod.default)
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as ConfigError } from "./predicates-Bkm2IoeX.mjs";
|
|
2
|
-
import { n as parseCsv } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
2
|
+
import { n as parseCsv } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
//#region src/commands/library/selectors.ts
|
|
5
5
|
const tableSelectorFlags = {
|
|
6
6
|
"table-ids": {
|
|
@@ -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 parseId } from "./parse-id-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-B3YwNojT.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/alert/send.ts
|
|
6
6
|
const AlertSendResult = z.object({
|
|
@@ -1,6 +1,6 @@
|
|
|
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-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-z8rra6-I.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
4
4
|
import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
|
|
5
5
|
import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
|
|
6
6
|
import { t as parseSettingKey } from "./key-BEhqIzIQ.mjs";
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
3
|
import { n as TransformJobActiveResult } from "./transform-job-DRrK28IH.mjs";
|
|
4
4
|
import { t as parseEnumFlag } from "./parse-enum-D0Jfm_Bz.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -8,9 +8,9 @@ var setting_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "setting get/set JSON value quoting"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get-
|
|
13
|
-
set: () => import("./set-
|
|
11
|
+
list: () => import("./list-qs9wAtC3.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-DRJtsS1_.mjs").then((m) => m.default),
|
|
13
|
+
set: () => import("./set-DbCtUoFd.mjs").then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -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-z8rra6-I.mjs";
|
|
3
|
+
import { t as readBody } from "./body-DxRSAMNC.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { n as SetupResult, r as SetupResultCompact, t as SetupInput } from "./setup-CO7QV-ao.mjs";
|
|
6
6
|
//#region src/output/views/setup.ts
|
|
@@ -7,9 +7,9 @@ var skills_default = defineCommand({
|
|
|
7
7
|
},
|
|
8
8
|
default: "list",
|
|
9
9
|
subCommands: {
|
|
10
|
-
list: () => import("./list-
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
path: () => import("./path-
|
|
10
|
+
list: () => import("./list-CW5PdYCX.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-BC8J8BXB.mjs").then((m) => m.default),
|
|
12
|
+
path: () => import("./path-D8BQmEhL.mjs").then((m) => m.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|