@metabase/cli 0.1.10 → 0.1.12
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/.claude-plugin/marketplace.json +1 -1
- package/README.md +9 -6
- package/dist/add-collection-BPtBMh8Y.mjs +10 -0
- package/dist/{add-collection-DUqTrC5T.mjs → add-collection-DEME4IOy.mjs} +4 -4
- package/dist/{archive-_GMNY8wH.mjs → archive-BFk-oupo.mjs} +3 -3
- package/dist/{archive-44EWiXud.mjs → archive-BNioNJtG.mjs} +3 -3
- package/dist/{archive-BZfpjMir.mjs → archive-BtDvBsr8.mjs} +3 -3
- package/dist/{archive-0krZxAXq.mjs → archive-CMeTr8jv.mjs} +3 -3
- package/dist/{archive-BEIyIsin.mjs → archive-DUlrUlok.mjs} +3 -3
- package/dist/{archive-DtE2H4A6.mjs → archive-Dc-FwNZm.mjs} +3 -3
- package/dist/{archive-B59Y7ajB.mjs → archive-MTTQv3wR.mjs} +3 -3
- package/dist/auth-CjFnuPe9.mjs +19 -0
- package/dist/{body-BdRyuvU4.mjs → body-89w3r7In.mjs} +2 -2
- package/dist/{branches-Jpv-FNds.mjs → branches-DuVKH8Ye.mjs} +4 -4
- package/dist/{cancel-ChC4lFd4.mjs → cancel-BEMQKVuR.mjs} +3 -3
- package/dist/{cancel-task-DyhIkNaL.mjs → cancel-task-D2mSPFXO.mjs} +4 -4
- package/dist/card-DoDpwR4t.mjs +20 -0
- package/dist/{cards-O-nKkQKP.mjs → cards-L9jksUMD.mjs} +3 -3
- package/dist/cli.mjs +23 -23
- package/dist/collection-CF-1RIPY.mjs +20 -0
- package/dist/{collection-namespace-7724zUMx.mjs → collection-namespace-w26SavJH.mjs} +1 -1
- package/dist/{create-D45uFXlo.mjs → create-8hMjPz7j.mjs} +4 -4
- package/dist/{create-B4f4Pldw.mjs → create-Bu9Jayck.mjs} +5 -5
- package/dist/{create-BxRsXQrm.mjs → create-C3b3MoIN.mjs} +4 -4
- package/dist/{create-DeZ2x2Db.mjs → create-Cxg_h8Kf.mjs} +4 -4
- package/dist/{create-DS52EhPd.mjs → create-D6QqOX6u.mjs} +4 -4
- package/dist/{create-BbF9zVFP.mjs → create-DCYc032c.mjs} +5 -5
- package/dist/{create-BnFHcnlL.mjs → create-Dew3rKsR.mjs} +4 -4
- package/dist/{create-CvYKJOcE.mjs → create-DoeqRVmx.mjs} +4 -4
- package/dist/{create-branch-KOWUIE72.mjs → create-branch-C5P2y8U5.mjs} +4 -4
- package/dist/{create-BuKx7kw6.mjs → create-zEq4ZJAT.mjs} +4 -4
- package/dist/{current-task-ClcWPPMc.mjs → current-task-uD4QO5bM.mjs} +4 -4
- package/dist/dashboard-C5zTX345.mjs +21 -0
- package/dist/db-4y5Z1CQw.mjs +22 -0
- package/dist/{delete-D68oS73R.mjs → delete-Bftif2R3.mjs} +3 -3
- package/dist/{delete-CX2VUA5R.mjs → delete-DGaNAFdQ.mjs} +3 -3
- package/dist/{delete-table-DLvL9mDA.mjs → delete-table-C0qxP6FE.mjs} +3 -3
- package/dist/{dirty-1OrXpc7E.mjs → dirty-CZZLpWt1.mjs} +4 -4
- package/dist/document-97l9Non_.mjs +19 -0
- package/dist/{eid-CzLhHZMW.mjs → eid-C8xTmR8e.mjs} +4 -4
- package/dist/{error-BWXBhqLW.mjs → error-BGH4gxGN.mjs} +2 -1
- package/dist/{export-B5z8w-xo.mjs → export-DWdjnBKo.mjs} +6 -6
- package/dist/field-BwUTrelF.mjs +18 -0
- package/dist/{fields-sC7pzmPX.mjs → fields-Cq08PQec.mjs} +3 -3
- package/dist/{get-CHb6J908.mjs → get-7IhxPyE_.mjs} +2 -2
- package/dist/{get-BYw3xS0X.mjs → get-8nAjRL2H.mjs} +3 -3
- package/dist/{get-ByZ4HR2T.mjs → get-B2vGW7Aw.mjs} +3 -3
- package/dist/{get-BC60bhel.mjs → get-B_BJ10pV.mjs} +3 -3
- package/dist/{get-DLwb_gUh.mjs → get-BaKKF50e.mjs} +3 -3
- package/dist/{get-Dl62Fy6Y.mjs → get-Bbij6RjC.mjs} +3 -3
- package/dist/{get-reSMTfQi.mjs → get-Bcr_5fAb.mjs} +2 -2
- package/dist/{get-lcX52Skc.mjs → get-Cr8oz_jr.mjs} +3 -3
- package/dist/{get-DTHLETau.mjs → get-DHPN1716.mjs} +3 -3
- package/dist/{get-C6n86-dS.mjs → get-DtKv-gl3.mjs} +3 -3
- package/dist/{get-ZesERdyk.mjs → get-DzLAmSKd.mjs} +2 -2
- package/dist/{get-Bo1FGyFs.mjs → get-Rqz7UHv1.mjs} +3 -3
- package/dist/{get-4GEDd9YN.mjs → get-f5ENeUNw.mjs} +3 -3
- package/dist/{get-run-CpCbHJad.mjs → get-run-DhbHXaZE.mjs} +3 -3
- package/dist/{get-Fn9WkNhS.mjs → get-ug26gcOI.mjs} +3 -3
- package/dist/git-sync-JIMEYW-E.mjs +28 -0
- package/dist/{has-remote-changes-CPz_-uxd.mjs → has-remote-changes-CTLh3WjZ.mjs} +4 -4
- package/dist/{import-DaWgprK6.mjs → import-XakIQfRp.mjs} +6 -6
- package/dist/{input-xewHccej.mjs → input-BZwm4yby.mjs} +25 -3
- package/dist/is-dirty-4gf8ujws.mjs +9 -0
- package/dist/{is-dirty-DZlI7lQx.mjs → is-dirty-DkOOyjsZ.mjs} +3 -3
- package/dist/{items-hgbRYsYD.mjs → items-DC985V8K.mjs} +3 -3
- package/dist/{list-BgHESP7b.mjs → list-B83-hnq5.mjs} +2 -2
- package/dist/{list-BGerkRHH.mjs → list-BtNboYpZ.mjs} +3 -3
- package/dist/{list-BWv5y307.mjs → list-CEbMS6g3.mjs} +2 -2
- package/dist/{list-CKeVS1IZ.mjs → list-CIEI8XK_.mjs} +2 -2
- package/dist/{list-Cd2nOCAx.mjs → list-Cnb9mQdd.mjs} +2 -2
- package/dist/{list-B9J3ujwn.mjs → list-CtAFlkLe.mjs} +2 -2
- package/dist/{list-36H-dvJZ.mjs → list-CyIgwqFB.mjs} +2 -2
- package/dist/{list-CGdOC9zX.mjs → list-Df4MhR2A.mjs} +2 -2
- package/dist/{list-DO8T-nmF.mjs → list-DfPwBQrZ.mjs} +2 -2
- package/dist/{list-DBlsRSpZ.mjs → list-OGkVAG6b.mjs} +2 -2
- package/dist/{list-DOVX3vCb.mjs → list-PYNFVJGM.mjs} +3 -3
- package/dist/{list-kath_2cX.mjs → list-STlBcPs8.mjs} +2 -2
- package/dist/{list-CCZnH2-Z.mjs → list-gy64AAWO.mjs} +2 -2
- package/dist/{list-D9EuxFHO.mjs → list-xfmTxHNu.mjs} +2 -2
- package/dist/{login-BzrAGJfu.mjs → login-C0VFlX8y.mjs} +4 -4
- package/dist/{logout-CKBiltoS.mjs → logout-BUgUTFol.mjs} +2 -2
- package/dist/measure-BmcmxRQ3.mjs +19 -0
- package/dist/{metadata-BcGcUEVJ.mjs → metadata-B1EmV1l5.mjs} +3 -3
- package/dist/{metadata-BjOrKtnv.mjs → metadata-Dwkcsa1c.mjs} +3 -3
- package/dist/{parse-id--iVTCKSo.mjs → parse-id-sKNP6yu5.mjs} +1 -1
- package/dist/{path-LgGU6Bd0.mjs → path-BZJR7YLR.mjs} +2 -2
- package/dist/{poll-BucRFJT-.mjs → poll-Cyw-dQi4.mjs} +1 -1
- package/dist/{poll-task-DTzKB3T3.mjs → poll-task-BG0oVnfZ.mjs} +2 -2
- package/dist/{preflight-CzqVX0PP.mjs → preflight-BjR63JnX.mjs} +1 -1
- package/dist/{query-BVZkK6Qk.mjs → query-C2xqnz24.mjs} +3 -3
- package/dist/{query-DG_jygDF.mjs → query-Dk55Wp2p.mjs} +4 -4
- package/dist/{remove-collection-HdeAfLyi.mjs → remove-collection-DbVNWGyb.mjs} +6 -6
- package/dist/{rescan-values-hWubCruZ.mjs → rescan-values-CuLQ9UHP.mjs} +3 -3
- package/dist/{run-C1-lDmQF.mjs → run-PDN33QjN.mjs} +5 -5
- package/dist/{runs-Q6DYQyqj.mjs → runs-B9T-7lei.mjs} +3 -3
- package/dist/{runtime-colqvhLf.mjs → runtime-DgHh4T6t.mjs} +1 -1
- package/dist/{schema-tables-BEastV_8.mjs → schema-tables-DjmNwrlT.mjs} +3 -3
- package/dist/{schemas-CgawwI_k.mjs → schemas-CWL8gv1C.mjs} +3 -3
- package/dist/{search-BWo7xSPP.mjs → search-D7JzmvfR.mjs} +3 -3
- package/dist/segment-DrZNuxsM.mjs +19 -0
- package/dist/{set-7Nm2ZTb_.mjs → set-C0dCLnUA.mjs} +4 -4
- package/dist/{setting-DSGXJehQ.mjs → setting-Licy7ZSs.mjs} +3 -3
- package/dist/{setup-aJLGLrIT.mjs → setup-BL4fqxoU.mjs} +4 -4
- package/dist/{skills-Q2AFsYvc.mjs → skills-Cn8FMCxG.mjs} +3 -3
- package/dist/snippet-C5_4nPGj.mjs +19 -0
- package/dist/{stash-DPQ0c-Cd.mjs → stash-SGod4B8-.mjs} +6 -6
- package/dist/{status-CvKPrV5X.mjs → status-BCb5iCsQ.mjs} +5 -5
- package/dist/{status-CvAATvV0.mjs → status-CvUuZVvC.mjs} +2 -2
- package/dist/{summary-CeOnoOq2.mjs → summary-qaTPTLWs.mjs} +3 -3
- package/dist/{sync-schema-aOPBc3CY.mjs → sync-schema-CjjAYTbO.mjs} +5 -5
- package/dist/table-DK1B8Hzq.mjs +19 -0
- package/dist/transform-Dh5746zH.mjs +24 -0
- package/dist/transform-job-D0nRGPYN.mjs +19 -0
- package/dist/{tree-MOQOBeAP.mjs → tree-C0MFcweC.mjs} +2 -2
- package/dist/{update-BWyCK8QV.mjs → update-BImaz9vj.mjs} +6 -6
- package/dist/{update-B6mg3AZD.mjs → update-BTzsE8GU.mjs} +5 -5
- package/dist/{update-BRrnfG0q.mjs → update-BUoWwmQV.mjs} +5 -5
- package/dist/{update-CitS-QRN.mjs → update-BqsGGrzx.mjs} +6 -6
- package/dist/{update-57uxZWcR.mjs → update-CHUUY-IB.mjs} +5 -5
- package/dist/{update-Bj9s0ri8.mjs → update-CJASCsG4.mjs} +5 -5
- package/dist/{update-DfNKr_vS.mjs → update-DCR0wFNl.mjs} +5 -5
- package/dist/{update-BkMWBzvk.mjs → update-Dty6LvU2.mjs} +5 -5
- package/dist/{update-dashcard-D_-ura3Y.mjs → update-dashcard-BkJaVVvf.mjs} +5 -5
- package/dist/{update-BD9xkglP.mjs → update-qoP7hZTg.mjs} +5 -5
- package/dist/{update-Dri4Zg2H.mjs → update-vk_M0eOR.mjs} +5 -5
- package/dist/{upgrade-CFkZ4USY.mjs → upgrade-TdaiAYbH.mjs} +2 -2
- package/dist/{uuid-DpinhSxA.mjs → uuid-BeUz8VpP.mjs} +2 -2
- package/dist/{values-BSS4DRxk.mjs → values-DR-3HcK6.mjs} +3 -3
- package/dist/{verify-B_A7v8TY.mjs → verify-D2uBlvmt.mjs} +1 -1
- package/dist/{wait-D3iSnjMM.mjs → wait-FAnqO-LT.mjs} +5 -5
- package/dist/{wait-flags-_LnHOeBA.mjs → wait-flags-B5BI_xob.mjs} +2 -2
- package/package.json +2 -1
- package/skill-data/core/SKILL.md +22 -23
- package/skill-data/data-analysis/SKILL.md +65 -0
- package/skill-data/data-transformation/SKILL.md +200 -0
- package/skill-data/document/SKILL.md +4 -4
- package/skill-data/mbql/SKILL.md +20 -20
- package/skill-data/robot-data-engineer/SKILL.md +142 -0
- package/skill-data/semantic-layer/SKILL.md +166 -0
- package/skill-data/transform/SKILL.md +46 -48
- package/skill-data/visualization/SKILL.md +5 -3
- package/skills/metabase-cli/SKILL.md +6 -0
- package/dist/add-collection-D9wXgmRj.mjs +0 -10
- package/dist/auth-cFC5m69m.mjs +0 -19
- package/dist/card-ClvGX6dQ.mjs +0 -20
- package/dist/collection-DjvowSJC.mjs +0 -20
- package/dist/dashboard-BFeURTOw.mjs +0 -21
- package/dist/db-CSH1kwQr.mjs +0 -22
- package/dist/document-KdT_Xj6r.mjs +0 -19
- package/dist/field-CTFnZI8G.mjs +0 -18
- package/dist/git-sync-C2vib8rx.mjs +0 -28
- package/dist/is-dirty-Bb0Rtj7x.mjs +0 -9
- package/dist/measure-Dw1QpRZa.mjs +0 -19
- package/dist/segment-DMuYvFjg.mjs +0 -19
- package/dist/snippet-Df2TrP7-.mjs +0 -19
- package/dist/table-pK4OkVtL.mjs +0 -19
- package/dist/transform-D60veFH8.mjs +0 -24
- package/dist/transform-job-DXt5LsrY.mjs +0 -19
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
|
-
import { parseId } from "./parse-id
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import { Table, TableCompact, tableView } from "./table-CkWja2UH.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { Segment, SegmentCompact, segmentView } from "./segment-d-708KKO.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { loadVisibleSkills } from "./skills-CY_FmaPo.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-n8W6tLqF.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ConfigError, errorMessage } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { DEFAULT_PROFILE, ParsedVersionSchema, ProbedUser, defineMetabaseCommand, explicitProfileName, keyringFallbackWarning, normalizeUrl, readEnvCredentials, writeProbeFailure, writeProbeResult, writeProfile } from "./runtime-
|
|
4
|
-
import { verifyAndProbe } from "./verify-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { DEFAULT_PROFILE, ParsedVersionSchema, ProbedUser, defineMetabaseCommand, explicitProfileName, keyringFallbackWarning, normalizeUrl, readEnvCredentials, writeProbeFailure, writeProbeResult, writeProfile } from "./runtime-DgHh4T6t.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-D2uBlvmt.mjs";
|
|
5
5
|
import { renderSummary, warn } from "./capabilities-7L9GVMd_.mjs";
|
|
6
6
|
import { EMPTY_CELL, renderUserName, renderUserRole, renderVersionTag } from "./render-BQHJhSP1.mjs";
|
|
7
7
|
import { promptPassword, promptText } from "./prompt-u4WhE4T5.mjs";
|
|
8
|
-
import { readInput } from "./input-
|
|
8
|
+
import { readInput } from "./input-BZwm4yby.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/auth/login.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { clearProfile, defineMetabaseCommand, resolveProfileName } from "./runtime-
|
|
2
|
+
import { outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { clearProfile, defineMetabaseCommand, resolveProfileName } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { promptConfirm } from "./prompt-u4WhE4T5.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/measure/index.ts
|
|
4
|
+
var measure_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "measure",
|
|
7
|
+
description: "Manage Metabase measures"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-CIEI8XK_.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-DtKv-gl3.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-Cxg_h8Kf.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-vk_M0eOR.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-MTTQv3wR.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { measure_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
|
-
import { parseId } from "./parse-id
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import { TableQueryMetadata, tableView } from "./table-CkWja2UH.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/table/metadata.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
|
-
import { parseId } from "./parse-id
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import "./table-CkWja2UH.mjs";
|
|
8
8
|
import { Database, databaseView } from "./database-Dsv4QBs0.mjs";
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { findSkillByName, loadAllSkills, loadVisibleSkills } from "./skills-CY_FmaPo.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TimeoutError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { combineAborts, throwIfAborted } from "./runtime-
|
|
2
|
+
import { combineAborts, throwIfAborted } from "./runtime-DgHh4T6t.mjs";
|
|
3
3
|
import { setTimeout } from "node:timers/promises";
|
|
4
4
|
|
|
5
5
|
//#region src/runtime/poll.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parseJsonOrPlain } from "./runtime-
|
|
2
|
-
import { pollUntil } from "./poll-
|
|
1
|
+
import { parseJsonOrPlain } from "./runtime-DgHh4T6t.mjs";
|
|
2
|
+
import { pollUntil } from "./poll-Cyw-dQi4.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/domain/git-sync.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChainedRequestError, ConfigError, MetabaseError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { HttpError } from "./runtime-
|
|
2
|
+
import { HttpError } from "./runtime-DgHh4T6t.mjs";
|
|
3
3
|
import { writeJson } from "./capabilities-7L9GVMd_.mjs";
|
|
4
4
|
import { Card } from "./card-DnIeMmUn.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseJson } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseJson } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
6
|
import { CardQueryResult, cardQueryView } from "./card-DnIeMmUn.mjs";
|
|
7
|
-
import { parseId } from "./parse-id
|
|
7
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
8
8
|
import { formatQueryResult } from "./query-result-B4kTRid7.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { Writable } from "node:stream";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary, writeJson } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
6
|
import "./field-MGxpNQUH.mjs";
|
|
7
7
|
import { CardQueryResult, cardQueryView } from "./card-DnIeMmUn.mjs";
|
|
8
|
-
import { readBody } from "./body-
|
|
8
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
9
9
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
10
10
|
import { assertNotLegacyEnvelopeWrappingMbql5, getQuerySchemaBundle, isMbql5Query, validateQuery } from "./validate-B62TRDGV.mjs";
|
|
11
11
|
import { skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
6
|
-
import "./poll-
|
|
7
|
-
import "./poll-task-
|
|
8
|
-
import { SyncSettingsUpdateResult, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
7
|
+
import "./poll-task-BG0oVnfZ.mjs";
|
|
8
|
+
import { SyncSettingsUpdateResult, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-DEME4IOy.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/remove-collection.ts
|
|
11
11
|
var remove_collection_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
|
-
import { parseId } from "./parse-id
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import "./table-CkWja2UH.mjs";
|
|
8
8
|
import { DatabaseSyncResult, DatabaseTaskAck, databaseSyncResultView } from "./database-Dsv4QBs0.mjs";
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { TimeoutError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
6
|
-
import { pollUntil } from "./poll-
|
|
7
|
-
import { parseWaitFlags, waitFlags } from "./wait-flags-
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
|
+
import { pollUntil } from "./poll-Cyw-dQi4.mjs";
|
|
7
|
+
import { parseWaitFlags, waitFlags } from "./wait-flags-B5BI_xob.mjs";
|
|
8
8
|
import { Transform, TransformRun } from "./transform--dviwMA1.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { collectPaginated } from "./paginate-Dfm9eO9A.mjs";
|
|
7
7
|
import { TransformRun, TransformRunCompact, transformRunView } from "./transform--dviwMA1.mjs";
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AbortError, ConfigError, MetabaseError, NetworkError, ResponseShapeError, TimeoutError, ValidationError, errorMessage, flagConsumesValue, isNotFoundError, normalizeFlag, setMetabaseAugment, toAliasArray } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { DEFAULT_MAX_BYTES, package_default, reportError } from "./error-
|
|
2
|
+
import { DEFAULT_MAX_BYTES, package_default, reportError } from "./error-BGH4gxGN.mjs";
|
|
3
3
|
import { BASELINE_CAPABILITIES, isPlainObject, warn } from "./capabilities-7L9GVMd_.mjs";
|
|
4
4
|
import { defineCommand } from "citty";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
|
-
import { parseId } from "./parse-id
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import { Table, TableCompact, tableView } from "./table-CkWja2UH.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/db/schemas.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnumCsv } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnumCsv } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/domain/search.ts
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/segment/index.ts
|
|
4
|
+
var segment_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "segment",
|
|
7
|
+
description: "Manage Metabase segments"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-STlBcPs8.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-Rqz7UHv1.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-C3b3MoIN.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-DCR0wFNl.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-Dc-FwNZm.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { segment_default as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { formatScalar, renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { SettingValue, settingValueView } from "./setting-CSJvi1-6.mjs";
|
|
8
8
|
import { parseSettingKey, rethrowSettingError } from "./key-y4TtxKwU.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
@@ -7,9 +7,9 @@ var setting_default = defineCommand({
|
|
|
7
7
|
description: "Inspect and update Metabase settings"
|
|
8
8
|
},
|
|
9
9
|
subCommands: {
|
|
10
|
-
list: () => import("./list-
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
set: () => import("./set-
|
|
10
|
+
list: () => import("./list-B83-hnq5.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-7IhxPyE_.mjs").then((m) => m.default),
|
|
12
|
+
set: () => import("./set-C0dCLnUA.mjs").then((m) => m.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
7
7
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
@@ -8,9 +8,9 @@ var skills_default = defineCommand({
|
|
|
8
8
|
},
|
|
9
9
|
default: "list",
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get-
|
|
13
|
-
path: () => import("./path-
|
|
11
|
+
list: () => import("./list-gy64AAWO.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-DzLAmSKd.mjs").then((m) => m.default),
|
|
13
|
+
path: () => import("./path-BZJR7YLR.mjs").then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/snippet/index.ts
|
|
4
|
+
var snippet_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "snippet",
|
|
7
|
+
description: "Manage Metabase native query snippets"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-CEbMS6g3.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-BaKKF50e.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-zEq4ZJAT.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-BUoWwmQV.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-DUlrUlok.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { snippet_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./parse-id
|
|
6
|
-
import "./poll-
|
|
7
|
-
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-
|
|
8
|
-
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
5
|
+
import "./parse-id-sKNP6yu5.mjs";
|
|
6
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
7
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-B5BI_xob.mjs";
|
|
8
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-BG0oVnfZ.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/git-sync/stash.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./poll-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncTask, fetchCurrentTask, fetchOptionalParsed, formatSyncTask } from "./poll-task-
|
|
7
|
-
import { IsDirtyResult } from "./is-dirty-
|
|
5
|
+
import "./poll-Cyw-dQi4.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, fetchCurrentTask, fetchOptionalParsed, formatSyncTask } from "./poll-task-BG0oVnfZ.mjs";
|
|
7
|
+
import { IsDirtyResult } from "./is-dirty-DkOOyjsZ.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
|
|
10
10
|
//#region src/commands/git-sync/status.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { ParsedVersionSchema, ProbedUser, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, originOnly, readProfileRecord, resolveProfileName } from "./runtime-
|
|
2
|
+
import { outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { ParsedVersionSchema, ProbedUser, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, originOnly, readProfileRecord, resolveProfileName } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { renderTimestamp, renderUserName, renderUserRole, renderVersionTag } from "./render-BQHJhSP1.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderItem } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { FieldSummary, FieldSummaryRaw, fieldSummaryView } from "./field-MGxpNQUH.mjs";
|
|
6
|
-
import { parseId } from "./parse-id
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/field/summary.ts
|
|
9
9
|
var summary_default = defineMetabaseCommand({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
|
-
import { parseId } from "./parse-id
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
7
|
import "./table-CkWja2UH.mjs";
|
|
8
8
|
import { Database, DatabaseSyncResult, DatabaseTaskAck, databaseSyncResultView } from "./database-Dsv4QBs0.mjs";
|
|
9
|
-
import { pollUntil } from "./poll-
|
|
10
|
-
import { parseWaitFlags, waitFlags } from "./wait-flags-
|
|
9
|
+
import { pollUntil } from "./poll-Cyw-dQi4.mjs";
|
|
10
|
+
import { parseWaitFlags, waitFlags } from "./wait-flags-B5BI_xob.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/db/sync-schema.ts
|
|
13
13
|
var sync_schema_default = defineMetabaseCommand({
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/table/index.ts
|
|
4
|
+
var table_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "table",
|
|
7
|
+
description: "Manage Metabase tables"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-PYNFVJGM.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-DHPN1716.mjs").then((m) => m.default),
|
|
12
|
+
metadata: () => import("./metadata-B1EmV1l5.mjs").then((m) => m.default),
|
|
13
|
+
fields: () => import("./fields-Cq08PQec.mjs").then((m) => m.default),
|
|
14
|
+
update: () => import("./update-qoP7hZTg.mjs").then((m) => m.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { table_default as default };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/transform/index.ts
|
|
4
|
+
var transform_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "transform",
|
|
7
|
+
description: "Manage Metabase transforms"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-DfPwBQrZ.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-Cr8oz_jr.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-DCYc032c.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-BImaz9vj.mjs").then((mod) => mod.default),
|
|
14
|
+
delete: () => import("./delete-DGaNAFdQ.mjs").then((mod) => mod.default),
|
|
15
|
+
"delete-table": () => import("./delete-table-C0qxP6FE.mjs").then((mod) => mod.default),
|
|
16
|
+
run: () => import("./run-PDN33QjN.mjs").then((mod) => mod.default),
|
|
17
|
+
cancel: () => import("./cancel-BEMQKVuR.mjs").then((mod) => mod.default),
|
|
18
|
+
"get-run": () => import("./get-run-DhbHXaZE.mjs").then((mod) => mod.default),
|
|
19
|
+
runs: () => import("./runs-B9T-7lei.mjs").then((mod) => mod.default)
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { transform_default as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { defineCommand } from "citty";
|
|
2
|
+
|
|
3
|
+
//#region src/commands/transform-job/index.ts
|
|
4
|
+
var transform_job_default = defineCommand({
|
|
5
|
+
meta: {
|
|
6
|
+
name: "transform-job",
|
|
7
|
+
description: "Manage Metabase transform jobs"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-xfmTxHNu.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-f5ENeUNw.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-Dew3rKsR.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-CJASCsG4.mjs").then((mod) => mod.default),
|
|
14
|
+
delete: () => import("./delete-Bftif2R3.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { transform_job_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ConfigError } from "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { writeJson } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { CollectionTreeNode } from "./collection-BPTlcFw5.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
6
|
-
import { parseId } from "./parse-id
|
|
7
|
-
import { readBody } from "./body-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
7
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
9
9
|
import "./validate-B62TRDGV.mjs";
|
|
10
10
|
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-BpiN1CFu.mjs";
|
|
11
11
|
import { Transform, TransformUpdateInput, transformView } from "./transform--dviwMA1.mjs";
|
|
12
|
-
import { enrichTransformCollectionError } from "./collection-namespace-
|
|
12
|
+
import { enrichTransformCollectionError } from "./collection-namespace-w26SavJH.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/transform/update.ts
|
|
15
15
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BGH4gxGN.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-DgHh4T6t.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import "./input-
|
|
5
|
+
import "./input-BZwm4yby.mjs";
|
|
6
6
|
import { Field, FieldUpdateInput, fieldView } from "./field-MGxpNQUH.mjs";
|
|
7
|
-
import { parseId } from "./parse-id
|
|
8
|
-
import { readBody } from "./body-
|
|
7
|
+
import { parseId } from "./parse-id-sKNP6yu5.mjs";
|
|
8
|
+
import { readBody } from "./body-89w3r7In.mjs";
|
|
9
9
|
import { bodyInputFlags } from "./body-flags-D78h_-Ua.mjs";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/field/update.ts
|