@metabase/cli 0.1.9 → 0.1.10
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/README.md +63 -0
- package/dist/add-collection-D9wXgmRj.mjs +10 -0
- package/dist/{add-collection-CoP-6FZR.mjs → add-collection-DUqTrC5T.mjs} +4 -4
- package/dist/{archive-BY8nrgnq.mjs → archive-0krZxAXq.mjs} +3 -3
- package/dist/{archive-BxwGVDpd.mjs → archive-44EWiXud.mjs} +3 -3
- package/dist/{archive-Blt0TxxA.mjs → archive-B59Y7ajB.mjs} +5 -5
- package/dist/{archive-CPLXsrzD.mjs → archive-BEIyIsin.mjs} +4 -4
- package/dist/{archive-BeslLaal.mjs → archive-BZfpjMir.mjs} +3 -3
- package/dist/{archive-C17qIvFW.mjs → archive-DtE2H4A6.mjs} +5 -5
- package/dist/archive-_GMNY8wH.mjs +39 -0
- package/dist/auth-cFC5m69m.mjs +19 -0
- package/dist/{body-2jl-YSxT.mjs → body-BdRyuvU4.mjs} +1 -1
- package/dist/{branches-Vlu44J51.mjs → branches-Jpv-FNds.mjs} +4 -4
- package/dist/{cancel-D0aBPUhs.mjs → cancel-ChC4lFd4.mjs} +3 -3
- package/dist/{cancel-task-DoL2bqs1.mjs → cancel-task-DyhIkNaL.mjs} +4 -4
- package/dist/card-ClvGX6dQ.mjs +20 -0
- package/dist/{cards-6MTreYAo.mjs → cards-O-nKkQKP.mjs} +3 -3
- package/dist/cli.mjs +24 -23
- package/dist/collection-DjvowSJC.mjs +20 -0
- package/dist/{collection-namespace-BdqQJb7j.mjs → collection-namespace-7724zUMx.mjs} +1 -1
- package/dist/{create-DcoF52Kx.mjs → create-B4f4Pldw.mjs} +4 -4
- package/dist/{create-BWD8H6yw.mjs → create-BbF9zVFP.mjs} +5 -5
- package/dist/{create-DNYFXAsy.mjs → create-BnFHcnlL.mjs} +4 -4
- package/dist/{create-BZRA7nPu.mjs → create-BuKx7kw6.mjs} +4 -4
- package/dist/{create-C_Z3IDrW.mjs → create-BxRsXQrm.mjs} +4 -4
- package/dist/{create-BsOdn1Q1.mjs → create-CvYKJOcE.mjs} +3 -3
- package/dist/create-D45uFXlo.mjs +44 -0
- package/dist/{create-dVmIemXi.mjs → create-DS52EhPd.mjs} +3 -3
- package/dist/{create-k59K2qf1.mjs → create-DeZ2x2Db.mjs} +4 -4
- package/dist/{create-branch-40Xm4DN7.mjs → create-branch-KOWUIE72.mjs} +4 -4
- package/dist/{current-task-BN_XEFSX.mjs → current-task-ClcWPPMc.mjs} +4 -4
- package/dist/dashboard-BFeURTOw.mjs +21 -0
- package/dist/db-CSH1kwQr.mjs +22 -0
- package/dist/{delete-tPjicYO4.mjs → delete-CX2VUA5R.mjs} +4 -4
- package/dist/{delete-DEFgs5LE.mjs → delete-D68oS73R.mjs} +4 -4
- package/dist/{delete-table-CDj19Qn6.mjs → delete-table-DLvL9mDA.mjs} +4 -4
- package/dist/{dirty-DGCa6W1F.mjs → dirty-1OrXpc7E.mjs} +4 -4
- package/dist/document-CcfiiV3b.mjs +100 -0
- package/dist/document-KdT_Xj6r.mjs +19 -0
- package/dist/{eid-3v5MAKNA.mjs → eid-CzLhHZMW.mjs} +3 -3
- package/dist/{error-BndUmcwS.mjs → error-BWXBhqLW.mjs} +1 -1
- package/dist/{export-BIZ-UR_M.mjs → export-B5z8w-xo.mjs} +6 -6
- package/dist/field-CTFnZI8G.mjs +18 -0
- package/dist/{fields-9lOrO8UH.mjs → fields-sC7pzmPX.mjs} +3 -3
- package/dist/{get-CRa-h69C.mjs → get-4GEDd9YN.mjs} +4 -4
- package/dist/get-BC60bhel.mjs +36 -0
- package/dist/{get-BIH72g0v.mjs → get-BYw3xS0X.mjs} +3 -3
- package/dist/{get-CHaIVT6Y.mjs → get-Bo1FGyFs.mjs} +4 -4
- package/dist/{get-LI2xsRoT.mjs → get-ByZ4HR2T.mjs} +3 -3
- package/dist/{get-DlGlnciR.mjs → get-C6n86-dS.mjs} +4 -4
- package/dist/{get-BYSj7tMP.mjs → get-CHb6J908.mjs} +4 -4
- package/dist/{get-BuM6QPjZ.mjs → get-DLwb_gUh.mjs} +4 -4
- package/dist/{get-BSJN5TwW.mjs → get-DTHLETau.mjs} +3 -3
- package/dist/{get-6Cj360cH.mjs → get-Dl62Fy6Y.mjs} +3 -3
- package/dist/{get-w-WqpjKy.mjs → get-Fn9WkNhS.mjs} +3 -3
- package/dist/{get-BpWjLkKT.mjs → get-ZesERdyk.mjs} +3 -3
- package/dist/{get-DFe2WoJ2.mjs → get-lcX52Skc.mjs} +4 -4
- package/dist/{get-Bk81meka.mjs → get-reSMTfQi.mjs} +2 -2
- package/dist/{get-run-hCZaw8-h.mjs → get-run-CpCbHJad.mjs} +4 -4
- package/dist/git-sync-C2vib8rx.mjs +28 -0
- package/dist/{has-remote-changes-DcpW1_KX.mjs → has-remote-changes-CPz_-uxd.mjs} +4 -4
- package/dist/{import-CTQT1atq.mjs → import-DaWgprK6.mjs} +6 -6
- package/dist/is-dirty-Bb0Rtj7x.mjs +9 -0
- package/dist/{is-dirty-DGrmt1ss.mjs → is-dirty-DZlI7lQx.mjs} +3 -3
- package/dist/{items-Kr0oN2V7.mjs → items-hgbRYsYD.mjs} +3 -3
- package/dist/{list-jcgK0thu.mjs → list-36H-dvJZ.mjs} +2 -2
- package/dist/list-B9J3ujwn.mjs +32 -0
- package/dist/{list-D2D5Mw1E.mjs → list-BGerkRHH.mjs} +3 -3
- package/dist/{list-Bz2ej0Cl.mjs → list-BWv5y307.mjs} +3 -3
- package/dist/{list-CCtYVgPN.mjs → list-BgHESP7b.mjs} +3 -3
- package/dist/{list-DzKKdfCI.mjs → list-CCZnH2-Z.mjs} +3 -3
- package/dist/{list-Cj3v4Lgv.mjs → list-CGdOC9zX.mjs} +2 -2
- package/dist/{list-zRQsvrH6.mjs → list-CKeVS1IZ.mjs} +3 -3
- package/dist/{list-tklIxo38.mjs → list-Cd2nOCAx.mjs} +2 -2
- package/dist/{list-DaESiI72.mjs → list-D9EuxFHO.mjs} +3 -3
- package/dist/{list-Ccj8-vb5.mjs → list-DBlsRSpZ.mjs} +2 -2
- package/dist/{list-Cl_O4_U4.mjs → list-DO8T-nmF.mjs} +3 -3
- package/dist/{list-CLvlEVQo.mjs → list-DOVX3vCb.mjs} +3 -3
- package/dist/{list-DNmekF2B.mjs → list-kath_2cX.mjs} +3 -3
- package/dist/{login-BMKBmgeQ.mjs → login-BzrAGJfu.mjs} +3 -3
- package/dist/{logout-C5pod937.mjs → logout-CKBiltoS.mjs} +2 -2
- package/dist/measure-Dw1QpRZa.mjs +19 -0
- package/dist/{metadata-CG4VZ5NW.mjs → metadata-BcGcUEVJ.mjs} +3 -3
- package/dist/{metadata-DIEbyQeS.mjs → metadata-BjOrKtnv.mjs} +3 -3
- package/dist/{parse-id-Boqc4wn4.mjs → parse-id--iVTCKSo.mjs} +1 -1
- package/dist/{path-ur3NsMFr.mjs → path-LgGU6Bd0.mjs} +3 -3
- package/dist/{poll-BMjCkDaj.mjs → poll-BucRFJT-.mjs} +1 -1
- package/dist/{poll-task-CiRA0ER9.mjs → poll-task-DTzKB3T3.mjs} +2 -2
- package/dist/{preflight-CSqcIlbX.mjs → preflight-CzqVX0PP.mjs} +1 -1
- package/dist/{query-B8JzsQ_I.mjs → query-BVZkK6Qk.mjs} +3 -3
- package/dist/{query-CG0rEMS-.mjs → query-DG_jygDF.mjs} +3 -3
- package/dist/{remove-collection-Clwz3EHQ.mjs → remove-collection-HdeAfLyi.mjs} +6 -6
- package/dist/{rescan-values-DuHBnFjK.mjs → rescan-values-hWubCruZ.mjs} +3 -3
- package/dist/{run-JXRivkfH.mjs → run-C1-lDmQF.mjs} +6 -6
- package/dist/{runs-FxgbXvax.mjs → runs-Q6DYQyqj.mjs} +4 -4
- package/dist/{runtime-Ck8KKQe-.mjs → runtime-colqvhLf.mjs} +1 -1
- package/dist/{schema-tables-izDPI4f5.mjs → schema-tables-BEastV_8.mjs} +3 -3
- package/dist/{schemas-CyzplnXl.mjs → schemas-CgawwI_k.mjs} +3 -3
- package/dist/{search-BeuoOEQV.mjs → search-BWo7xSPP.mjs} +3 -3
- package/dist/segment-DMuYvFjg.mjs +19 -0
- package/dist/{set-ClzB_5Jk.mjs → set-7Nm2ZTb_.mjs} +5 -5
- package/dist/{setting-CBJVEx7_.mjs → setting-DSGXJehQ.mjs} +3 -3
- package/dist/{setup-vKXEUMM7.mjs → setup-aJLGLrIT.mjs} +3 -3
- package/dist/{skills-1Z5Wj7Kp.mjs → skills-Q2AFsYvc.mjs} +3 -3
- package/dist/snippet-Df2TrP7-.mjs +19 -0
- package/dist/{stash-DLtVf4_D.mjs → stash-DPQ0c-Cd.mjs} +6 -6
- package/dist/{status-AnPzI1f7.mjs → status-CvAATvV0.mjs} +2 -2
- package/dist/{status-DHFYn9kO.mjs → status-CvKPrV5X.mjs} +5 -5
- package/dist/{summary-DDed1LOz.mjs → summary-CeOnoOq2.mjs} +3 -3
- package/dist/{sync-schema-BGQVq2JA.mjs → sync-schema-aOPBc3CY.mjs} +5 -5
- package/dist/table-pK4OkVtL.mjs +19 -0
- package/dist/transform-D60veFH8.mjs +24 -0
- package/dist/transform-job-DXt5LsrY.mjs +19 -0
- package/dist/{tree-BlYgJOn9.mjs → tree-MOQOBeAP.mjs} +2 -2
- package/dist/update-57uxZWcR.mjs +52 -0
- package/dist/{update-CdfAogO2.mjs → update-B6mg3AZD.mjs} +4 -4
- package/dist/{update-DBN7yfAk.mjs → update-BD9xkglP.mjs} +4 -4
- package/dist/{update-BHtliIr_.mjs → update-BRrnfG0q.mjs} +5 -5
- package/dist/{update-CgOPxKXK.mjs → update-BWyCK8QV.mjs} +6 -6
- package/dist/{update-CoVvsU-I.mjs → update-Bj9s0ri8.mjs} +5 -5
- package/dist/{update-DykqQLfo.mjs → update-BkMWBzvk.mjs} +4 -4
- package/dist/{update-B0z-2zqC.mjs → update-CitS-QRN.mjs} +5 -5
- package/dist/{update-DqSG5_Ie.mjs → update-DfNKr_vS.mjs} +5 -5
- package/dist/{update-CilTW98H.mjs → update-Dri4Zg2H.mjs} +5 -5
- package/dist/{update-dashcard-DZ8oV8up.mjs → update-dashcard-D_-ura3Y.mjs} +4 -4
- package/dist/{upgrade-B8sEEQdQ.mjs → upgrade-CFkZ4USY.mjs} +2 -2
- package/dist/{uuid-lLVnEoBN.mjs → uuid-DpinhSxA.mjs} +2 -2
- package/dist/{values-oD72EtRq.mjs → values-BSS4DRxk.mjs} +3 -3
- package/dist/{verify-Bg6F0oFN.mjs → verify-B_A7v8TY.mjs} +1 -1
- package/dist/{wait-BtzuqQC3.mjs → wait-D3iSnjMM.mjs} +5 -5
- package/dist/{wait-flags-DyFfZeav.mjs → wait-flags-_LnHOeBA.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +2 -2
- package/skill-data/document/SKILL.md +162 -0
- package/dist/add-collection-EPp89tcs.mjs +0 -10
- package/dist/auth-CCUDM9Sv.mjs +0 -19
- package/dist/card-UwczcLjq.mjs +0 -20
- package/dist/collection-Cexywhlj.mjs +0 -20
- package/dist/dashboard-B_CuVbMX.mjs +0 -21
- package/dist/db-DULi5MOr.mjs +0 -22
- package/dist/field-CfrrLetM.mjs +0 -18
- package/dist/git-sync-BpRstrZo.mjs +0 -28
- package/dist/is-dirty-DuWCgrz2.mjs +0 -9
- package/dist/measure-BkwFsP44.mjs +0 -19
- package/dist/segment-ChYmSM0p.mjs +0 -19
- package/dist/snippet-De70ayL1.mjs +0 -19
- package/dist/table-C_bP2ao-.mjs +0 -19
- package/dist/transform-B4RZfm6A.mjs +0 -24
- package/dist/transform-job-C4pZcrIF.mjs +0 -19
- /package/dist/{delete-runtime-DVb-Pkzp.mjs → delete-runtime-CjFc69tS.mjs} +0 -0
- /package/dist/{key-C2XG394c.mjs → key-y4TtxKwU.mjs} +0 -0
- /package/dist/{manifest-Cmu--CG5.mjs → manifest-BPHqF5LY.mjs} +0 -0
- /package/dist/{measure-ClESGxIb.mjs → measure-COGAoZpo.mjs} +0 -0
- /package/dist/{revision-message-flag-WmsIzUOM.mjs → revision-message-flag-Bo-Kvv6F.mjs} +0 -0
- /package/dist/{segment-Be2v4ilr.mjs → segment-d-708KKO.mjs} +0 -0
- /package/dist/{setting-oL97SNeO.mjs → setting-CSJvi1-6.mjs} +0 -0
- /package/dist/{skills-BDPVoBWU.mjs → skills-CY_FmaPo.mjs} +0 -0
- /package/dist/{snippet-xh42tYly.mjs → snippet-BZvo05ua.mjs} +0 -0
- /package/dist/{transform-DyWCoiO-.mjs → transform--dviwMA1.mjs} +0 -0
- /package/dist/{transform-job-DpDGoqQt.mjs → transform-job-n8W6tLqF.mjs} +0 -0
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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--iVTCKSo.mjs";
|
|
6
|
+
import "./poll-BucRFJT-.mjs";
|
|
7
|
+
import { gitSyncWaitFlags, parseWaitFlags } from "./wait-flags-_LnHOeBA.mjs";
|
|
8
|
+
import { REMOTE_SYNC_PATHS, SyncTask, formatSyncTask, pollSyncTask, throwIfFailedTask } from "./poll-task-DTzKB3T3.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/git-sync/import.ts
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
+
import "./error-BWXBhqLW.mjs";
|
|
3
|
+
import "./runtime-colqvhLf.mjs";
|
|
4
|
+
import "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import "./poll-BucRFJT-.mjs";
|
|
6
|
+
import "./poll-task-DTzKB3T3.mjs";
|
|
7
|
+
import { IsDirtyResult, is_dirty_default } from "./is-dirty-DZlI7lQx.mjs";
|
|
8
|
+
|
|
9
|
+
export { is_dirty_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
3
3
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-
|
|
4
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DTzKB3T3.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
|
|
7
7
|
//#region src/commands/git-sync/is-dirty.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
6
6
|
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-BPTlcFw5.mjs";
|
|
7
7
|
import { parseCollectionRef } from "./parse-ref-BiETXmvm.mjs";
|
|
8
8
|
import { collectPaginated } from "./paginate-Dfm9eO9A.mjs";
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { parseEnumFlag } from "./parse-enum-Dr7ACrTR.mjs";
|
|
6
6
|
import { Collection, CollectionCompact, collectionView } from "./collection-BPTlcFw5.mjs";
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
+
import { Document, DocumentCompact, documentView } from "./document-CcfiiV3b.mjs";
|
|
6
|
+
import { z } from "zod";
|
|
7
|
+
|
|
8
|
+
//#region src/commands/document/list.ts
|
|
9
|
+
const DocumentApiList = z.object({ items: z.array(Document) }).loose();
|
|
10
|
+
const DocumentListEnvelope = listEnvelopeSchema(DocumentCompact);
|
|
11
|
+
var list_default = defineMetabaseCommand({
|
|
12
|
+
meta: {
|
|
13
|
+
name: "list",
|
|
14
|
+
description: "List documents"
|
|
15
|
+
},
|
|
16
|
+
capabilities: { minVersion: 58 },
|
|
17
|
+
args: {
|
|
18
|
+
...outputFlags,
|
|
19
|
+
...profileFlag,
|
|
20
|
+
...connectionFlags
|
|
21
|
+
},
|
|
22
|
+
outputSchema: DocumentListEnvelope,
|
|
23
|
+
examples: ["mb document list", "mb document list --json"],
|
|
24
|
+
async run({ ctx, getClient }) {
|
|
25
|
+
const client = await getClient();
|
|
26
|
+
const response = await client.requestParsed(DocumentApiList, "/api/document");
|
|
27
|
+
renderList(wrapList(response.items), documentView, ctx);
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
//#endregion
|
|
32
|
+
export { list_default as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-
|
|
3
|
-
import { ParsedVersionSchema, ProbedUser, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, listProfileRecords, originOnly, readProfile, writeProbeFailure, writeProbeResult } from "./runtime-
|
|
4
|
-
import { verifyAndProbe } from "./verify-
|
|
2
|
+
import { listEnvelopeSchema, outputFlags, wrapList } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { ParsedVersionSchema, ProbedUser, ProfileLastFailure, TokenFeatures, defineMetabaseCommand, listProfileRecords, originOnly, readProfile, writeProbeFailure, writeProbeResult } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-B_A7v8TY.mjs";
|
|
5
5
|
import { renderList, warn } from "./capabilities-7L9GVMd_.mjs";
|
|
6
6
|
import { renderTimestamp, renderUserRole, renderVersionTag } from "./render-BQHJhSP1.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { Snippet, SnippetCompact, snippetView } from "./snippet-
|
|
5
|
+
import { Snippet, SnippetCompact, snippetView } from "./snippet-BZvo05ua.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/snippet/list.ts
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { Setting, SettingCompact, settingView } from "./setting-
|
|
5
|
+
import { Setting, SettingCompact, settingView } from "./setting-CSJvi1-6.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/setting/list.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { loadVisibleSkills } from "./skills-
|
|
5
|
+
import { loadVisibleSkills } from "./skills-CY_FmaPo.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/skills/list.ts
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
6
|
import { Card, CardCompact, cardView } from "./card-DnIeMmUn.mjs";
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { Measure, MeasureCompact, measureView } from "./measure-
|
|
5
|
+
import { Measure, MeasureCompact, measureView } from "./measure-COGAoZpo.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/measure/list.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./command-augment-BH9qgQ5u.mjs";
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import { defineMetabaseCommand, parseEnum } from "./runtime-
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag } from "./error-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./field-MGxpNQUH.mjs";
|
|
6
6
|
import "./table-CkWja2UH.mjs";
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-
|
|
5
|
+
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-n8W6tLqF.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform-job/list.ts
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import { parseEnumFlag } from "./parse-enum-Dr7ACrTR.mjs";
|
|
6
6
|
import { Dashboard, DashboardCompact, dashboardView } from "./dashboard-FY5UzJ_Z.mjs";
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { Transform, TransformCompact, transformView } from "./transform
|
|
5
|
+
import { Transform, TransformCompact, transformView } from "./transform--dviwMA1.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/transform/list.ts
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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--iVTCKSo.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { Segment, SegmentCompact, segmentView } from "./segment-
|
|
5
|
+
import { Segment, SegmentCompact, segmentView } from "./segment-d-708KKO.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/segment/list.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
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-BWXBhqLW.mjs";
|
|
3
|
+
import { DEFAULT_PROFILE, ParsedVersionSchema, ProbedUser, defineMetabaseCommand, explicitProfileName, keyringFallbackWarning, normalizeUrl, readEnvCredentials, writeProbeFailure, writeProbeResult, writeProfile } from "./runtime-colqvhLf.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-B_A7v8TY.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";
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { clearProfile, defineMetabaseCommand, resolveProfileName } from "./runtime-colqvhLf.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-CKeVS1IZ.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-C6n86-dS.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-DeZ2x2Db.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-Dri4Zg2H.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-B59Y7ajB.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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--iVTCKSo.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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--iVTCKSo.mjs";
|
|
7
7
|
import "./table-CkWja2UH.mjs";
|
|
8
8
|
import { Database, databaseView } from "./database-Dsv4QBs0.mjs";
|
|
9
9
|
|
|
@@ -1,8 +1,8 @@
|
|
|
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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { findSkillByName, loadAllSkills, loadVisibleSkills } from "./skills-
|
|
5
|
+
import { findSkillByName, loadAllSkills, loadVisibleSkills } from "./skills-CY_FmaPo.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/skills/path.ts
|
|
@@ -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-colqvhLf.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-colqvhLf.mjs";
|
|
2
|
+
import { pollUntil } from "./poll-BucRFJT-.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-colqvhLf.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseJson } from "./runtime-colqvhLf.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--iVTCKSo.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderSummary, writeJson } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.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-BdRyuvU4.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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--iVTCKSo.mjs";
|
|
6
|
+
import "./poll-BucRFJT-.mjs";
|
|
7
|
+
import "./poll-task-DTzKB3T3.mjs";
|
|
8
|
+
import { SyncSettingsUpdateResult, setCollectionRemoteSynced, syncSettingsUpdateView } from "./add-collection-DUqTrC5T.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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--iVTCKSo.mjs";
|
|
7
7
|
import "./table-CkWja2UH.mjs";
|
|
8
8
|
import { DatabaseSyncResult, DatabaseTaskAck, databaseSyncResultView } from "./database-Dsv4QBs0.mjs";
|
|
9
9
|
|
|
@@ -1,11 +1,11 @@
|
|
|
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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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-
|
|
8
|
-
import { Transform, TransformRun } from "./transform
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
6
|
+
import { pollUntil } from "./poll-BucRFJT-.mjs";
|
|
7
|
+
import { parseWaitFlags, waitFlags } from "./wait-flags-_LnHOeBA.mjs";
|
|
8
|
+
import { Transform, TransformRun } from "./transform--dviwMA1.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/transform/run.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.mjs";
|
|
6
6
|
import { collectPaginated } from "./paginate-Dfm9eO9A.mjs";
|
|
7
|
-
import { TransformRun, TransformRunCompact, transformRunView } from "./transform
|
|
7
|
+
import { TransformRun, TransformRunCompact, transformRunView } from "./transform--dviwMA1.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/transform/runs.ts
|
|
10
10
|
const TransformRunListEnvelope = listEnvelopeSchema(TransformRunCompact);
|
|
@@ -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-BWXBhqLW.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.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--iVTCKSo.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnumCsv } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderList } from "./capabilities-7L9GVMd_.mjs";
|
|
5
|
-
import { parseId } from "./parse-id
|
|
5
|
+
import { parseId } from "./parse-id--iVTCKSo.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-kath_2cX.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-Bo1FGyFs.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-BxRsXQrm.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-DfNKr_vS.mjs").then((mod) => mod.default),
|
|
14
|
+
archive: () => import("./archive-DtE2H4A6.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { segment_default as default };
|
|
@@ -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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { formatScalar, renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
7
|
-
import { SettingValue, settingValueView } from "./setting-
|
|
8
|
-
import { parseSettingKey, rethrowSettingError } from "./key-
|
|
6
|
+
import { readBody } from "./body-BdRyuvU4.mjs";
|
|
7
|
+
import { SettingValue, settingValueView } from "./setting-CSJvi1-6.mjs";
|
|
8
|
+
import { parseSettingKey, rethrowSettingError } from "./key-y4TtxKwU.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/setting/set.ts
|
|
@@ -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-BgHESP7b.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-CHb6J908.mjs").then((m) => m.default),
|
|
12
|
+
set: () => import("./set-7Nm2ZTb_.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-BWXBhqLW.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-colqvhLf.mjs";
|
|
4
4
|
import { renderSummary } from "./capabilities-7L9GVMd_.mjs";
|
|
5
5
|
import "./input-xewHccej.mjs";
|
|
6
|
-
import { readBody } from "./body-
|
|
6
|
+
import { readBody } from "./body-BdRyuvU4.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-CCZnH2-Z.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-ZesERdyk.mjs").then((m) => m.default),
|
|
13
|
+
path: () => import("./path-LgGU6Bd0.mjs").then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
|