@metabase/cli 0.1.1 → 0.1.3
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 +58 -12
- package/dist/add-collection-BOnW3n0Z.mjs +11 -0
- package/dist/{add-collection-B1qe0D1U.mjs → add-collection-CYzLXtm5.mjs} +4 -4
- package/dist/{api-key-gzCbKDjL.mjs → api-key-PuKAaQ7V.mjs} +1 -1
- package/dist/{archive-CitmlD1e.mjs → archive-BO29HssD.mjs} +5 -5
- package/dist/{archive-Ni8-lQ1Y.mjs → archive-TLtE0kDm.mjs} +5 -5
- package/dist/{archive-CnhWegtR.mjs → archive-mnPwvARh.mjs} +7 -7
- package/dist/{archive-DQjBOXnx.mjs → archive-rMwM-zTz.mjs} +5 -5
- package/dist/auth-6xSQV9_O.mjs +19 -0
- package/dist/{body-DRBgxS6-.mjs → body-DyJdyUnm.mjs} +3 -3
- package/dist/{branches-C5Jcw8wu.mjs → branches-DfmU7c7o.mjs} +6 -6
- package/dist/{cancel-Ca3r7Y6v.mjs → cancel-CMZDt-Oq.mjs} +5 -5
- package/dist/{cancel-task-C1-8vDKS.mjs → cancel-task-CgZTaU3M.mjs} +6 -6
- package/dist/card-BPRuWt1L.mjs +20 -0
- package/dist/{card-CAEZWixN.mjs → card-CQxvHeyP.mjs} +1 -1
- package/dist/{cards-CILfMPUP.mjs → cards-CHbQGafh.mjs} +5 -5
- package/dist/cli.mjs +25 -24
- package/dist/collection-ubrm8jOv.mjs +19 -0
- package/dist/{create-DE_5NrFy.mjs → create-8Hv7mPeZ.mjs} +8 -8
- package/dist/{create-BsY5RrVY.mjs → create-9Eixx15H.mjs} +6 -6
- package/dist/{create-CeIi_QLj.mjs → create-BBUS1QQj.mjs} +10 -10
- package/dist/{create-C4OCclBD.mjs → create-BCuXOmjv.mjs} +7 -7
- package/dist/{create-CP8ou91U.mjs → create-BwTWnEI9.mjs} +8 -8
- package/dist/{create-CqNw6PmR.mjs → create-C0rMO9hM.mjs} +10 -10
- package/dist/{create-COsD7Vzm.mjs → create-CicN3zvl.mjs} +8 -8
- package/dist/{create-QxDmleKJ.mjs → create-DSYimCdi.mjs} +8 -8
- package/dist/{create-3Z6rm-4O.mjs → create-DmoCeGvG.mjs} +6 -6
- package/dist/{create-MEhhhgMC.mjs → create-DxEFGyTl.mjs} +6 -6
- package/dist/{create-branch-CKMYaAHk.mjs → create-branch-CyGWseMj.mjs} +6 -6
- package/dist/{credentials-CwRKvdP2.mjs → credentials-BsyxKKpn.mjs} +9 -8
- package/dist/{current-task-Dutjys16.mjs → current-task-Cp2TOV2G.mjs} +6 -6
- package/dist/dashboard-DMXwndg8.mjs +20 -0
- package/dist/{database-BMTb0CzV.mjs → database-u753FytI.mjs} +3 -3
- package/dist/{database-Dvkfy3JM.mjs → database-vvig8k4x.mjs} +1 -1
- package/dist/db-Br0VA1nL.mjs +22 -0
- package/dist/{delete-BMQZuVXZ.mjs → delete-QRsN6npe.mjs} +7 -7
- package/dist/{delete-BvcA4jPj.mjs → delete-_9bnRv2O.mjs} +7 -7
- package/dist/{delete-runtime-BMzvfj_B.mjs → delete-runtime-BkAdygbs.mjs} +2 -2
- package/dist/{delete-table-DUPjHKk4.mjs → delete-table-DTLdSkjp.mjs} +7 -7
- package/dist/{deprovision-Bsc1S15j.mjs → deprovision-CRV8Isc3.mjs} +11 -11
- package/dist/{dirty-CXcdoUhY.mjs → dirty-CEH3GeaE.mjs} +6 -6
- package/dist/{docker-D-ieBsP7.mjs → docker-BYQ0FHrT.mjs} +5 -102
- package/dist/{eid-pvOsEMPZ.mjs → eid-C4-Vk0tN.mjs} +1 -1
- package/dist/{export-BjGhLEOi.mjs → export-D7sASe7p.mjs} +7 -7
- package/dist/{field-DciLbuv-.mjs → field-B3gvaqpK.mjs} +2 -0
- package/dist/field-DN3Mtvjy.mjs +18 -0
- package/dist/{fields-Do8HHm_T.mjs → fields-BcqomXOj.mjs} +7 -7
- package/dist/{flag-pair-DtR1AiBQ.mjs → flag-pair-Fmcdkrfx.mjs} +1 -1
- package/dist/{get-DzCVafyO.mjs → get-B3N93OEi.mjs} +5 -5
- package/dist/{get-BmE_VHdl.mjs → get-BRwM-_QR.mjs} +5 -5
- package/dist/{get-DFrsi77F.mjs → get-BrLtlgsJ.mjs} +5 -5
- package/dist/{get-BGFGWkH0.mjs → get-By8D2ZCD.mjs} +5 -5
- package/dist/{get-D4GUJBiX.mjs → get-C8mOGKNU.mjs} +5 -5
- package/dist/{get-DeQa3ThJ.mjs → get-C9ddaeGp.mjs} +7 -7
- package/dist/{get-DhZ_dGUb.mjs → get-Cv5O0Nzp.mjs} +5 -5
- package/dist/{get-C7sshmqF.mjs → get-Cw74jQSg.mjs} +6 -6
- package/dist/{get-Cq5U_Eep.mjs → get-DGPgyqzM.mjs} +5 -5
- package/dist/{get-YCnVqq-z.mjs → get-DNdDX5ON.mjs} +8 -8
- package/dist/{get-DczxeETg.mjs → get-DVTJi4o0.mjs} +7 -7
- package/dist/{get-CObKBj2J.mjs → get-REcs9xfF.mjs} +5 -5
- package/dist/{get-run-CTyW29s3.mjs → get-run-DY8GOsfI.mjs} +5 -5
- package/dist/git-sync-C3DyWKLP.mjs +28 -0
- package/dist/{has-remote-changes-xX8vMVsX.mjs → has-remote-changes-Bw_X8TI6.mjs} +6 -6
- package/dist/{import-CaAUNtXz.mjs → import-QVwrtIFF.mjs} +7 -7
- package/dist/{input-ikCiip6x.mjs → input-BQ-BZA8h.mjs} +1 -1
- package/dist/{is-dirty-mgxEwEk4.mjs → is-dirty-BHucbgY2.mjs} +3 -3
- package/dist/is-dirty-YZTcIZmy.mjs +10 -0
- package/dist/{items-Cg67tdto.mjs → items-BrLOFmIa.mjs} +6 -6
- package/dist/{key-NDEARu2L.mjs → key-CCJdVWKc.mjs} +1 -1
- package/dist/{license-CwKzVMD0.mjs → license-B3KaSSS3.mjs} +3 -3
- package/dist/{list-JgRtCzz3.mjs → list-B1_XSq0O.mjs} +4 -4
- package/dist/{list-CpyNn1Zn.mjs → list-B8WxxlSA.mjs} +5 -5
- package/dist/{list-CwwOoGLK.mjs → list-CYYq46ca.mjs} +4 -4
- package/dist/{list-DzTMpoBs.mjs → list-D35m483Y.mjs} +4 -4
- package/dist/{list-DdQ4jmUQ.mjs → list-Dgaxc0kI.mjs} +4 -4
- package/dist/{list-BwGdD45N.mjs → list-Dygi5MBO.mjs} +4 -4
- package/dist/{list-DD8CQx8l.mjs → list-HcYQlqJr.mjs} +7 -7
- package/dist/{list-DshbLoqR.mjs → list-ThlZXdtA.mjs} +6 -6
- package/dist/{list-CfOVsAZz.mjs → list-W_G0Wupl.mjs} +4 -4
- package/dist/{list-DL-RWpIE.mjs → list-YwqpLfkl.mjs} +4 -4
- package/dist/{list-BqdNQ1nU.mjs → list-g2xt5jvY.mjs} +4 -4
- package/dist/{list-DLlq3FyS.mjs → list-mSYy6xIm.mjs} +7 -7
- package/dist/{list-WzgJcwB5.mjs → list-wyaVSZpU.mjs} +4 -4
- package/dist/{login-DJnmR2wX.mjs → login-DVBsPahM.mjs} +22 -10
- package/dist/{logout-BMe_1Zp8.mjs → logout-CPGsbP2z.mjs} +5 -5
- package/dist/{logs-CQxKJ3HG.mjs → logs-CDdM2nW-.mjs} +7 -6
- package/dist/{manifest-Dv5B9Blc.mjs → manifest-CGM7XNLC.mjs} +2 -2
- package/dist/measure-C-2Zimtc.mjs +19 -0
- package/dist/{metadata-T-fNUWg_.mjs → metadata-CpGxasPK.mjs} +8 -8
- package/dist/{metadata-CLIALntn.mjs → metadata-Djyv6HKF.mjs} +7 -7
- package/dist/{package-DBsS7a5x.mjs → package-BeJ9DFrO.mjs} +3 -1
- package/dist/{parse-id-BUOZQqjp.mjs → parse-id-DcoC0Z3o.mjs} +1 -1
- package/dist/{parse-ref-DGvh4aDn.mjs → parse-ref-D1yeDOn8.mjs} +1 -1
- package/dist/{parse-schemas-BnW4T1_I.mjs → parse-schemas-NgeC8-ba.mjs} +2 -2
- package/dist/{poll-DMmmZWvi.mjs → poll-CPn_4eae.mjs} +2 -2
- package/dist/{poll-task-2Ckiwp8U.mjs → poll-task-YHJL7Q94.mjs} +2 -2
- package/dist/{predicates-DiIiS3k7.mjs → predicates-CGO17Q15.mjs} +1 -1
- package/dist/{preflight-CC_g6EWU.mjs → preflight-UP6MOkcY.mjs} +4 -4
- package/dist/process-FjsqDwKo.mjs +105 -0
- package/dist/{prompt-Bf3DQ-qE.mjs → prompt-DgDNy_Pc.mjs} +1 -1
- package/dist/{provision-BUgWJWAV.mjs → provision-Cw4yFtn9.mjs} +12 -12
- package/dist/{ps-Yv0JjLVN.mjs → ps-CmGyds34.mjs} +3 -3
- package/dist/ps-D7kAMsc0.mjs +11 -0
- package/dist/{query-UIebHmbT.mjs → query-CWM06uYl.mjs} +10 -10
- package/dist/{query-CzfbuG8a.mjs → query-DXYFK2Dn.mjs} +7 -7
- package/dist/{remove-BAUbcwuF.mjs → remove-BJiq8Bna.mjs} +9 -8
- package/dist/{remove-CN2PNGTR.mjs → remove-DtSkkvp3.mjs} +5 -5
- package/dist/{remove-collection-C6NxEh53.mjs → remove-collection-CfdSGSSW.mjs} +8 -8
- package/dist/{render-DXv-D6fU.mjs → render-DuoDUTVL.mjs} +1 -1
- package/dist/{rescan-values-CcB4F9qa.mjs → rescan-values-DmZSi8y2.mjs} +8 -8
- package/dist/{run-BjXZtu_6.mjs → run-By3Hx4Sv.mjs} +7 -7
- package/dist/{runs-CXx7l1NY.mjs → runs-OxCc7uCv.mjs} +5 -5
- package/dist/{runtime-D7jihh81.mjs → runtime-CqLG3Q3o.mjs} +7 -4
- package/dist/{schema-tables-BCJT2DM_.mjs → schema-tables-gCfMALFX.mjs} +7 -7
- package/dist/{schemas-DlNpbn4H.mjs → schemas-CelnP-JJ.mjs} +5 -5
- package/dist/{search-Dt-6mdHZ.mjs → search-Ccc2XHFA.mjs} +5 -5
- package/dist/segment-ZWbF5Lw8.mjs +19 -0
- package/dist/{set-DCESWpi3.mjs → set-CwZkyHao.mjs} +6 -6
- package/dist/{set-L7cuHjVZ.mjs → set-DQoW10tq.mjs} +7 -7
- package/dist/{setting-DysGAuYS.mjs → setting-DrI9j2k_.mjs} +3 -3
- package/dist/{setup-_ypJDPAY.mjs → setup-flXHfxYc.mjs} +6 -6
- package/dist/snippet-C7Y7BV-k.mjs +19 -0
- package/dist/{start-BokXnb0V.mjs → start-B6jtccng.mjs} +45 -14
- package/dist/{stash-CaGX6PfX.mjs → stash-Bhp_hRrV.mjs} +7 -7
- package/dist/{status-BaX9vedb.mjs → status-BxWCQzCv.mjs} +7 -7
- package/dist/{status-CyecXzN4.mjs → status-DGw7jG9b.mjs} +4 -4
- package/dist/{status-RpVyPEty.mjs → status-fw5qhKyj.mjs} +4 -4
- package/dist/{stop-BRuF_Cg1.mjs → stop-x6EOdIVT.mjs} +9 -8
- package/dist/{summary-CpEOiOlZ.mjs → summary-Da1JIhhv.mjs} +6 -6
- package/dist/{sync-schema-4Cl4h8Jn.mjs → sync-schema-Do916yAq.mjs} +8 -8
- package/dist/{table-jljEqZ0R.mjs → table-B-PYcgGb.mjs} +1 -1
- package/dist/table-BsJDzYMc.mjs +19 -0
- package/dist/transform-BFOkT-X-.mjs +24 -0
- package/dist/transform-job-CvAq4Qdm.mjs +19 -0
- package/dist/{translate-DqLlXXUx.mjs → translate-CEnaytH7.mjs} +7 -7
- package/dist/{tree-BT24nkLM.mjs → tree-pWV930zt.mjs} +4 -4
- package/dist/{update-mrgvQF4i.mjs → update-Bd-Hk_z8.mjs} +8 -8
- package/dist/{update-BXbLmC2b.mjs → update-BncXiS3T.mjs} +7 -7
- package/dist/{update-BCXKQi2n.mjs → update-C-VOpeVi.mjs} +9 -9
- package/dist/{update-DFR46LsB.mjs → update-CA7f8M_E.mjs} +9 -9
- package/dist/{update-D6WVtNV1.mjs → update-CN3LI4St.mjs} +11 -11
- package/dist/{update-C5goGhNr.mjs → update-CvujE0sT.mjs} +9 -9
- package/dist/{update-C1Frz9GR.mjs → update-DLMn9cXk.mjs} +7 -7
- package/dist/{update-D04NMueX.mjs → update-Db0rN6W1.mjs} +11 -11
- package/dist/{update-dashcard-av0_PYeg.mjs → update-dashcard-C13FmMd8.mjs} +7 -7
- package/dist/{update-CCOyB0iT.mjs → update-jLIPP2pF.mjs} +12 -12
- package/dist/{update-DyLItrpV.mjs → update-w3N6O04l.mjs} +9 -9
- package/dist/upgrade-Cko0ScCj.mjs +432 -0
- package/dist/{url-x4wn_l3k.mjs → url-BKzUneYx.mjs} +8 -7
- package/dist/{uuid-BZHbti8B.mjs → uuid-D9TBeO2v.mjs} +4 -4
- package/dist/{validate-DCYx6jdL.mjs → validate-CLdliJUz.mjs} +1 -1
- package/dist/{validate-query-B07oGG4K.mjs → validate-query-C34T9ZUr.mjs} +3 -3
- package/dist/{values-Be6i0Fs9.mjs → values-CFO1KoS0.mjs} +6 -6
- package/dist/{wait-CWizX_sR.mjs → wait-CM59nNh3.mjs} +2 -2
- package/dist/{wait-flags-DO3ar2tf.mjs → wait-flags-6QBmhHw9.mjs} +2 -2
- package/dist/{wait-BMqQD8k_.mjs → wait-h9MABbYJ.mjs} +7 -7
- package/dist/workspace-AJjCGa9h.mjs +24 -0
- package/dist/{workspace-credentials-B6BL-X0d.mjs → workspace-credentials-Cctumbru.mjs} +1 -1
- package/package.json +3 -1
- package/dist/add-collection--zwkmE1S.mjs +0 -11
- package/dist/auth-BPjsrFxM.mjs +0 -19
- package/dist/card-BGAy3eIb.mjs +0 -20
- package/dist/collection-D8cnCB98.mjs +0 -19
- package/dist/dashboard-B4fVp392.mjs +0 -20
- package/dist/db-ACuuaEok.mjs +0 -22
- package/dist/field-BI2bt8e9.mjs +0 -18
- package/dist/git-sync-BOmT8HEU.mjs +0 -28
- package/dist/is-dirty-CPu-xqkW.mjs +0 -10
- package/dist/measure-BGyYbtqO.mjs +0 -19
- package/dist/ps-BUNHygf-.mjs +0 -10
- package/dist/segment-C52QNnSs.mjs +0 -19
- package/dist/snippet-vb3G9R8a.mjs +0 -19
- package/dist/table-BeMWuvzO.mjs +0 -19
- package/dist/transform-DwRc-w6y.mjs +0 -24
- package/dist/transform-job-BigWrctt.mjs +0 -19
- package/dist/workspace-CG1xyJ86.mjs +0 -24
- /package/dist/{workspace-DVuqKJGG.mjs → workspace-C5q4nbpY.mjs} +0 -0
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem, warn } from "./render-
|
|
4
|
-
import { ConfigError, errorMessage } from "./predicates-
|
|
5
|
-
import { connectionFlags, createClient, defineMetabaseCommand, localUrl, outputFlags, parseInteger, parseOptionalInteger, profileFlag, resolveLicenseToken } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { pollUntil } from "./poll-
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
3
|
+
import { renderItem, warn } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import { ConfigError, errorMessage } from "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, createClient, defineMetabaseCommand, localUrl, outputFlags, parseInteger, parseOptionalInteger, profileFlag, resolveLicenseToken } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
|
+
import { pollUntil } from "./poll-CPn_4eae.mjs";
|
|
8
|
+
import { runProcess } from "./process-FjsqDwKo.mjs";
|
|
9
|
+
import { Workspace } from "./workspace-C5q4nbpY.mjs";
|
|
10
|
+
import { CONTAINER_REPO_DIR, checkDockerReady, containerLifecycleStatus, containerNameFor, pullImage, removeContainer, runWorkspaceContainer, scrubContainerConfig, waitForConfigConsumed } from "./docker-BYQ0FHrT.mjs";
|
|
11
|
+
import { REPO_SYNC_MODES, RepoSyncMode, buildCredentialsJson, generateWorkspaceCredentials, injectCredentialsIntoConfig, injectRepoSettingsIntoConfig } from "./workspace-credentials-Cctumbru.mjs";
|
|
11
12
|
import { z } from "zod";
|
|
12
13
|
import { stat } from "node:fs/promises";
|
|
13
14
|
import { resolve } from "node:path";
|
|
@@ -60,7 +61,26 @@ const HEALTH_PROBE_TIMEOUT_MS = 4e3;
|
|
|
60
61
|
const DEFAULT_REPO_MODE = "read-write";
|
|
61
62
|
const REPO_FILE_URL = `file://${CONTAINER_REPO_DIR}`;
|
|
62
63
|
const METADATA_IMPORT_TIMEOUT_MS = DEFAULT_READY_TIMEOUT_MS;
|
|
63
|
-
const
|
|
64
|
+
const METADATA_POLL_INTERVAL_MS = 250;
|
|
65
|
+
const METADATA_POLL_MAX_INTERVAL_MS = 5e3;
|
|
66
|
+
const MetadataImportEnqueued = z.object({
|
|
67
|
+
queued: z.literal(true),
|
|
68
|
+
"import-id": z.string()
|
|
69
|
+
});
|
|
70
|
+
const MetadataImportStatus = z.object({
|
|
71
|
+
id: z.string(),
|
|
72
|
+
status: z.enum([
|
|
73
|
+
"queued",
|
|
74
|
+
"running",
|
|
75
|
+
"ok",
|
|
76
|
+
"error"
|
|
77
|
+
]),
|
|
78
|
+
"enqueued-at": z.string(),
|
|
79
|
+
"started-at": z.string().nullable(),
|
|
80
|
+
"finished-at": z.string().nullable(),
|
|
81
|
+
"wall-ms": z.number().nullable(),
|
|
82
|
+
error: z.string().nullable()
|
|
83
|
+
});
|
|
64
84
|
const StartResult = z.object({
|
|
65
85
|
workspace_id: z.number().int().positive(),
|
|
66
86
|
workspace_name: z.string(),
|
|
@@ -126,7 +146,7 @@ var start_default = defineMetabaseCommand({
|
|
|
126
146
|
},
|
|
127
147
|
timeout: {
|
|
128
148
|
type: "string",
|
|
129
|
-
description: `Per-phase readiness deadline in ms — covers post-create config consumption
|
|
149
|
+
description: `Per-phase readiness deadline in ms — covers post-create config consumption, (with --wait) the /api/health probe, and (with --metadata) the metadata-import status poll. Default: ${DEFAULT_READY_TIMEOUT_MS}.`,
|
|
130
150
|
default: String(DEFAULT_READY_TIMEOUT_MS)
|
|
131
151
|
},
|
|
132
152
|
pull: {
|
|
@@ -222,7 +242,7 @@ var start_default = defineMetabaseCommand({
|
|
|
222
242
|
}
|
|
223
243
|
const needsHealth = args.wait || metadataJson !== null;
|
|
224
244
|
if (needsHealth) await waitForHealth(hostPort, readyTimeoutMs);
|
|
225
|
-
if (metadataJson !== null) await importMetadataIntoChild(hostPort, credentials, metadataJson);
|
|
245
|
+
if (metadataJson !== null) await importMetadataIntoChild(hostPort, credentials, metadataJson, readyTimeoutMs);
|
|
226
246
|
const result = {
|
|
227
247
|
workspace_id: workspaceId,
|
|
228
248
|
workspace_name: workspace.name,
|
|
@@ -289,16 +309,27 @@ async function waitForHealth(hostPort, timeoutMs) {
|
|
|
289
309
|
timeoutMs
|
|
290
310
|
});
|
|
291
311
|
}
|
|
292
|
-
async function importMetadataIntoChild(hostPort, credentials, metadataJson) {
|
|
312
|
+
async function importMetadataIntoChild(hostPort, credentials, metadataJson, pollTimeoutMs) {
|
|
293
313
|
const childClient = createClient({
|
|
294
314
|
url: localUrl(hostPort),
|
|
295
315
|
apiKey: credentials.api_key.key
|
|
296
316
|
});
|
|
297
|
-
await childClient.requestParsed(
|
|
317
|
+
const enqueued = await childClient.requestParsed(MetadataImportEnqueued, "/api/ee/serialization/metadata/import", {
|
|
298
318
|
method: "POST",
|
|
299
319
|
body: metadataJson,
|
|
300
320
|
timeoutMs: METADATA_IMPORT_TIMEOUT_MS
|
|
301
321
|
});
|
|
322
|
+
const importId = enqueued["import-id"];
|
|
323
|
+
const final = await pollUntil(() => childClient.requestParsed(MetadataImportStatus, `/api/ee/serialization/metadata/import/${importId}`), (status) => status.status === "ok" || status.status === "error", {
|
|
324
|
+
intervalMs: METADATA_POLL_INTERVAL_MS,
|
|
325
|
+
maxIntervalMs: METADATA_POLL_MAX_INTERVAL_MS,
|
|
326
|
+
backoff: "exponential",
|
|
327
|
+
timeoutMs: pollTimeoutMs
|
|
328
|
+
});
|
|
329
|
+
if (final.status === "error") {
|
|
330
|
+
const detail = final.error !== null ? `: ${final.error}` : "";
|
|
331
|
+
throw new Error(`metadata import failed (id=${importId})${detail}`);
|
|
332
|
+
}
|
|
302
333
|
}
|
|
303
334
|
async function resolveRepoOptions(input) {
|
|
304
335
|
if (input.hostPath === void 0 || input.hostPath === "") {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import { ConfigError } from "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { REMOTE_SYNC_PATHS, SyncTask, pollFlags, pollSyncTask, throwIfFailedTask } from "./poll-task-
|
|
8
|
-
import "./poll-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import { ConfigError } from "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
|
+
import { REMOTE_SYNC_PATHS, SyncTask, pollFlags, pollSyncTask, throwIfFailedTask } from "./poll-task-YHJL7Q94.mjs";
|
|
8
|
+
import "./poll-CPn_4eae.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/git-sync/stash.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { REMOTE_SYNC_PATHS, SyncTask, fetchCurrentTask, fetchOptionalParsed } from "./poll-task-
|
|
7
|
-
import "./poll-
|
|
8
|
-
import { IsDirtyResult } from "./is-dirty-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { REMOTE_SYNC_PATHS, SyncTask, fetchCurrentTask, fetchOptionalParsed } from "./poll-task-YHJL7Q94.mjs";
|
|
7
|
+
import "./poll-CPn_4eae.mjs";
|
|
8
|
+
import { IsDirtyResult } from "./is-dirty-BHucbgY2.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
|
|
11
11
|
//#region src/commands/git-sync/status.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { account, credentials, defineMetabaseCommand, originOnly, outputFlags, profileFlag, resolveProfileName } from "./runtime-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { account, credentials, defineMetabaseCommand, originOnly, outputFlags, profileFlag, resolveProfileName } from "./runtime-CqLG3Q3o.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/auth/status.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { account, credentials, defineMetabaseCommand, outputFlags } from "./runtime-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { account, credentials, defineMetabaseCommand, outputFlags } from "./runtime-CqLG3Q3o.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
|
|
8
8
|
//#region src/commands/license/status.ts
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { defineMetabaseCommand, outputFlags } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./poll-
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { defineMetabaseCommand, outputFlags } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
|
+
import "./poll-CPn_4eae.mjs";
|
|
8
|
+
import "./process-FjsqDwKo.mjs";
|
|
9
|
+
import { checkDockerReady, containerLifecycleStatus, containerNameFor, stopContainer } from "./docker-BYQ0FHrT.mjs";
|
|
10
|
+
import { LocalWorkspaceState } from "./ps-CmGyds34.mjs";
|
|
10
11
|
import { z } from "zod";
|
|
11
12
|
|
|
12
13
|
//#region src/commands/workspace/stop.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import { FieldSummary, FieldSummaryRaw, fieldSummaryView } from "./field-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
|
+
import { FieldSummary, FieldSummaryRaw, fieldSummaryView } from "./field-B3gvaqpK.mjs";
|
|
8
8
|
|
|
9
9
|
//#region src/commands/field/summary.ts
|
|
10
10
|
var summary_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
6
|
-
import { parseId } from "./parse-id-
|
|
7
|
-
import "./field-
|
|
8
|
-
import "./table-
|
|
9
|
-
import { DatabaseSyncResult, databaseSyncResultView } from "./database-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
7
|
+
import "./field-B3gvaqpK.mjs";
|
|
8
|
+
import "./table-B-PYcgGb.mjs";
|
|
9
|
+
import { DatabaseSyncResult, databaseSyncResultView } from "./database-vvig8k4x.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/db/sync-schema.ts
|
|
@@ -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: "Inspect Metabase tables"
|
|
8
|
+
},
|
|
9
|
+
subCommands: {
|
|
10
|
+
list: () => import("./list-HcYQlqJr.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-DVTJi4o0.mjs").then((m) => m.default),
|
|
12
|
+
metadata: () => import("./metadata-Djyv6HKF.mjs").then((m) => m.default),
|
|
13
|
+
fields: () => import("./fields-BcqomXOj.mjs").then((m) => m.default),
|
|
14
|
+
update: () => import("./update-C-VOpeVi.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-wyaVSZpU.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-B3N93OEi.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-DSYimCdi.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-CvujE0sT.mjs").then((mod) => mod.default),
|
|
14
|
+
delete: () => import("./delete-QRsN6npe.mjs").then((mod) => mod.default),
|
|
15
|
+
"delete-table": () => import("./delete-table-DTLdSkjp.mjs").then((mod) => mod.default),
|
|
16
|
+
run: () => import("./run-By3Hx4Sv.mjs").then((mod) => mod.default),
|
|
17
|
+
cancel: () => import("./cancel-CMZDt-Oq.mjs").then((mod) => mod.default),
|
|
18
|
+
"get-run": () => import("./get-run-DY8GOsfI.mjs").then((mod) => mod.default),
|
|
19
|
+
runs: () => import("./runs-OxCc7uCv.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-D35m483Y.mjs").then((mod) => mod.default),
|
|
11
|
+
get: () => import("./get-By8D2ZCD.mjs").then((mod) => mod.default),
|
|
12
|
+
create: () => import("./create-DxEFGyTl.mjs").then((mod) => mod.default),
|
|
13
|
+
update: () => import("./update-BncXiS3T.mjs").then((mod) => mod.default),
|
|
14
|
+
delete: () => import("./delete-_9bnRv2O.mjs").then((mod) => mod.default)
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
|
|
18
|
+
//#endregion
|
|
19
|
+
export { transform_job_default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import { ConfigError } from "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, parseCsv, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import { ConfigError } from "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, parseCsv, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { requireBothOrNeither } from "./flag-pair-
|
|
9
|
+
import { requireBothOrNeither } from "./flag-pair-Fmcdkrfx.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
|
|
12
12
|
//#region src/domain/eid-translation.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { writeJson } from "./render-
|
|
4
|
-
import { ConfigError } from "./predicates-
|
|
5
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
3
|
+
import { writeJson } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import { ConfigError } from "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
6
6
|
import { CollectionTreeNode } from "./collection-B3sPXRLs.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import { Field, FieldUpdateInput, fieldView } from "./field-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import { Field, FieldUpdateInput, fieldView } from "./field-B3gvaqpK.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/field/update.ts
|
|
13
13
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
10
|
import { TransformJob, TransformJobUpdateInput, transformJobView } from "./transform-job-Csr86muI.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/transform-job/update.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import "./field-
|
|
11
|
-
import { Table, TableUpdateInput, tableView } from "./table-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import "./field-B3gvaqpK.mjs";
|
|
11
|
+
import { Table, TableUpdateInput, tableView } from "./table-B-PYcgGb.mjs";
|
|
12
12
|
|
|
13
13
|
//#region src/commands/table/update.ts
|
|
14
14
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import "./validate-
|
|
11
|
-
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import "./validate-CLdliJUz.mjs";
|
|
11
|
+
import { MEASURE_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
12
12
|
import { Measure, MeasureUpdateInput, measureView } from "./measure-BEQfnLdN.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/measure/update.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import "./field-
|
|
11
|
-
import "./card-
|
|
12
|
-
import "./validate-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import "./field-B3gvaqpK.mjs";
|
|
11
|
+
import "./card-CQxvHeyP.mjs";
|
|
12
|
+
import "./validate-CLdliJUz.mjs";
|
|
13
13
|
import { DashboardDetail, DashboardUpdateInput, dashboardView } from "./dashboard-CnMD04PQ.mjs";
|
|
14
|
-
import { preflightDashcardCardReferences } from "./preflight-
|
|
14
|
+
import { preflightDashcardCardReferences } from "./preflight-UP6MOkcY.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/dashboard/update.ts
|
|
17
17
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import "./validate-
|
|
11
|
-
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import "./validate-CLdliJUz.mjs";
|
|
11
|
+
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
12
12
|
import { Transform, TransformUpdateInput, transformView } from "./transform-IEX4Mx3X.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/transform/update.ts
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
10
|
import { Snippet, SnippetUpdateInput, snippetView } from "./snippet-Dw0Sjzkr.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/snippet/update.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import "./field-
|
|
11
|
-
import { Card, CardUpdateInput, cardView } from "./card-
|
|
12
|
-
import "./validate-
|
|
13
|
-
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import "./field-B3gvaqpK.mjs";
|
|
11
|
+
import { Card, CardUpdateInput, cardView } from "./card-CQxvHeyP.mjs";
|
|
12
|
+
import "./validate-CLdliJUz.mjs";
|
|
13
|
+
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
14
14
|
|
|
15
15
|
//#region src/commands/card/update.ts
|
|
16
16
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import { ConfigError } from "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import { ConfigError } from "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
10
|
import { DashboardDetail, Dashcard, DashcardPatchInput, dashcardView } from "./dashboard-CnMD04PQ.mjs";
|
|
11
11
|
|
|
12
12
|
//#region src/commands/dashboard/update-dashcard.ts
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import "./poll-
|
|
11
|
-
import { parseWaitFlags, waitFlags } from "./wait-flags-
|
|
12
|
-
import { Workspace, WorkspaceUpdateDatabaseInput, workspaceView } from "./workspace-
|
|
13
|
-
import { waitForDatabaseProvisioned } from "./wait-
|
|
14
|
-
import { parseSchemasCsv } from "./parse-schemas-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import "./poll-CPn_4eae.mjs";
|
|
11
|
+
import { parseWaitFlags, waitFlags } from "./wait-flags-6QBmhHw9.mjs";
|
|
12
|
+
import { Workspace, WorkspaceUpdateDatabaseInput, workspaceView } from "./workspace-C5q4nbpY.mjs";
|
|
13
|
+
import { waitForDatabaseProvisioned } from "./wait-CM59nNh3.mjs";
|
|
14
|
+
import { parseSchemasCsv } from "./parse-schemas-NgeC8-ba.mjs";
|
|
15
15
|
|
|
16
16
|
//#region src/commands/workspace/database/update.ts
|
|
17
17
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./package-
|
|
1
|
+
import "./package-BeJ9DFrO.mjs";
|
|
2
2
|
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
-
import { renderItem } from "./render-
|
|
4
|
-
import "./predicates-
|
|
5
|
-
import "./input-
|
|
6
|
-
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-
|
|
7
|
-
import { readBody } from "./body-
|
|
3
|
+
import { renderItem } from "./render-DuoDUTVL.mjs";
|
|
4
|
+
import "./predicates-CGO17Q15.mjs";
|
|
5
|
+
import "./input-BQ-BZA8h.mjs";
|
|
6
|
+
import { connectionFlags, defineMetabaseCommand, outputFlags, profileFlag } from "./runtime-CqLG3Q3o.mjs";
|
|
7
|
+
import { readBody } from "./body-DyJdyUnm.mjs";
|
|
8
8
|
import { bodyInputFlags } from "./body-flags-BK7J6Daz.mjs";
|
|
9
|
-
import { parseId } from "./parse-id-
|
|
10
|
-
import "./validate-
|
|
11
|
-
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-
|
|
9
|
+
import { parseId } from "./parse-id-DcoC0Z3o.mjs";
|
|
10
|
+
import "./validate-CLdliJUz.mjs";
|
|
11
|
+
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-C34T9ZUr.mjs";
|
|
12
12
|
import { Segment, SegmentUpdateInput, segmentView } from "./segment-BMrUBz94.mjs";
|
|
13
13
|
|
|
14
14
|
//#region src/commands/segment/update.ts
|