@metabase/cli 0.1.16 → 0.1.18
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 +21 -0
- package/dist/{add-collection-H4LcP-9B.mjs → add-collection-CRZAFCZy.mjs} +5 -5
- package/dist/add-collection-DbalcC3_.mjs +11 -0
- package/dist/{archive-D1mfiftv.mjs → archive-3mEhK9_H.mjs} +8 -7
- package/dist/{archive-C6MDtV1F.mjs → archive-C3RWdM-2.mjs} +8 -6
- package/dist/{archive-CQQWkC5S.mjs → archive-CFHYRF65.mjs} +7 -6
- package/dist/{archive-hN8PfvhX.mjs → archive-De4yVEV8.mjs} +7 -6
- package/dist/{archive-BCXoM1nX.mjs → archive-Z8ZM-ilB.mjs} +9 -7
- package/dist/{archive-CdUS-OG9.mjs → archive-d74nDcp4.mjs} +7 -6
- package/dist/{archive-B3cjzOIK.mjs → archive-errg-EKw.mjs} +8 -7
- package/dist/auth--PWX0oj5.mjs +22 -0
- package/dist/{body-DB2upz6a.mjs → body-BS2s2zDl.mjs} +3 -3
- package/dist/{branches-B6R60Vr1.mjs → branches-mcyT7wI-.mjs} +7 -6
- package/dist/{cancel-oPsWomYc.mjs → cancel-B2l-i2NS.mjs} +6 -5
- package/dist/{cancel-task-CleJVDNI.mjs → cancel-task-CugcIeIi.mjs} +7 -6
- package/dist/{capabilities-BX1rnVuH.mjs → capabilities-N0jo5U7S.mjs} +1 -1
- package/dist/card-D07WYCQY.mjs +26 -0
- package/dist/{card-wCPcuKSi.mjs → card-DEmcRlNO.mjs} +6 -5
- package/dist/{cards-Bw37jizL.mjs → cards-BGkz5BeZ.mjs} +8 -6
- package/dist/cli.mjs +54 -27
- package/dist/collection-Dss2qSEF.mjs +23 -0
- package/dist/{collection-namespace-CUDPh2rF.mjs → collection-namespace-BP_LJrAD.mjs} +2 -2
- package/dist/command-augment-DdZIfx1V.mjs +11 -0
- package/dist/{create-Bj6PuaAW.mjs → create-B4HAEEE0.mjs} +9 -8
- package/dist/{create-BEkuqChu.mjs → create-BOmmMSjF.mjs} +16 -11
- package/dist/{create-DSWjS09p.mjs → create-CD9Rp8qs.mjs} +21 -12
- package/dist/{create-DwoqFYb9.mjs → create-CkRFKtFG.mjs} +9 -8
- package/dist/{create-CZ0_s5ap.mjs → create-Cztp5kES.mjs} +7 -6
- package/dist/{create-CF2Zn4pT.mjs → create-D8KA4zJA.mjs} +10 -9
- package/dist/{create-B-mvVFIl.mjs → create-DhrftYre.mjs} +28 -12
- package/dist/{create-D-qE3Oq8.mjs → create-DzyMvAVy.mjs} +9 -8
- package/dist/{create-Cy2TNnJB.mjs → create-YfGzANNB.mjs} +9 -8
- package/dist/{create-branch-BaZ00MIc.mjs → create-branch-DsoMfx_2.mjs} +7 -6
- package/dist/{create-CfLaBO0V.mjs → create-kWzqvTGR.mjs} +16 -11
- package/dist/{create-B87ZQjNM.mjs → create-wpvDXSSY.mjs} +17 -12
- package/dist/{current-task-Dr5dOD4V.mjs → current-task-WuKPZpZ6.mjs} +7 -6
- package/dist/dashboard-Crh4v6Fq.mjs +35 -0
- package/dist/{dashboard-B4bn3z6t.mjs → dashboard-DOplbKyQ.mjs} +7 -5
- package/dist/{database-BJxGUXhA.mjs → database-D9fftP-i.mjs} +1 -1
- package/dist/db-BCAURQei.mjs +28 -0
- package/dist/{delete-DHrFA1SZ.mjs → delete-BCitmugk.mjs} +8 -7
- package/dist/{delete-DJti0TOA.mjs → delete-Buai0_e_.mjs} +8 -7
- package/dist/{delete-evwMw6Hk.mjs → delete-CmGh0jo1.mjs} +8 -7
- package/dist/{delete-runtime-CZMw_AGX.mjs → delete-runtime-B0ha5QR4.mjs} +3 -3
- package/dist/{delete-table-DvuuwVqu.mjs → delete-table-BOkYxdjA.mjs} +8 -7
- package/dist/{dependencies-DrV31Rj5.mjs → dependencies-XZrEvHUA.mjs} +7 -6
- package/dist/{dirty-C-rkrnVM.mjs → dirty-B-5NDbG9.mjs} +7 -6
- package/dist/document-upxL2nKH.mjs +22 -0
- package/dist/{eid-BeXI-eII.mjs → eid-BCuJRv7a.mjs} +13 -7
- package/dist/{error-CIObEXLY.mjs → error-BaBm-UrT.mjs} +2 -2
- package/dist/{export-CGa-SgEV.mjs → export-Dod2gdyE.mjs} +9 -8
- package/dist/field-CloFa1oe.mjs +21 -0
- package/dist/{fields-Recymu7n.mjs → fields-B0yttrzR.mjs} +8 -7
- package/dist/{get-C6g2C4dM.mjs → get-9p0Gt1c7.mjs} +7 -6
- package/dist/{get-CYh2DBsq.mjs → get-B0OsW6jk.mjs} +7 -6
- package/dist/{get-CHi8tU_1.mjs → get-B8tugTku.mjs} +9 -8
- package/dist/{get-BD_P_Ejc.mjs → get-BkGh9BPd.mjs} +7 -6
- package/dist/{get-BM-d3-zk.mjs → get-BpZ81hX8.mjs} +7 -6
- package/dist/{get-CARdLkmp.mjs → get-CbpHt4Hs.mjs} +7 -6
- package/dist/{get-b4xbfFbA.mjs → get-CfeYa0v5.mjs} +7 -6
- package/dist/{get-DaixPDU9.mjs → get-D-pNrQGA.mjs} +7 -6
- package/dist/{get-rFcAVIch.mjs → get-D7QMqPOK.mjs} +7 -6
- package/dist/{get-BAH_M5vj.mjs → get-DBY5esTW.mjs} +7 -6
- package/dist/{get-Q2WZ79q_.mjs → get-DISgP66L.mjs} +8 -7
- package/dist/{get-Nc5GOs6-.mjs → get-DJ8huA8y.mjs} +8 -6
- package/dist/{get-CXMv-r1p.mjs → get-Dz7fcqoG.mjs} +9 -7
- package/dist/{get-BQxLtFE-.mjs → get-k6M5nGMC.mjs} +7 -6
- package/dist/{get-run-CfQR6ZNa.mjs → get-run-DQJVpDw1.mjs} +7 -6
- package/dist/{get-7fWSU6ow.mjs → get-u5Uq9vms.mjs} +6 -5
- package/dist/git-sync-C9m-OHac.mjs +31 -0
- package/dist/group-BNE_RiH5.mjs +28 -0
- package/dist/{has-remote-changes-Bvyv4FLP.mjs → has-remote-changes-DvQBXudi.mjs} +7 -6
- package/dist/{import-c3o3OAx0.mjs → import-PGS8-DwE.mjs} +9 -8
- package/dist/{input-BXWgdKiS.mjs → input-7Sj85_K7.mjs} +1 -1
- package/dist/is-dirty-DpyKeGAJ.mjs +10 -0
- package/dist/{is-dirty-BE53XwOC.mjs → is-dirty-DyEVFQVJ.mjs} +4 -4
- package/dist/{items-1KkBMiO4.mjs → items-CkFEy2Du.mjs} +9 -8
- package/dist/{key-DwiMOWRQ.mjs → key-bltP32Pm.mjs} +1 -1
- package/dist/library-1AAVbk-K.mjs +24 -0
- package/dist/{list-C4KnM3Rq.mjs → list-82NkvRpI.mjs} +8 -6
- package/dist/{list-Drr4JiWg.mjs → list-B9wXg3qi.mjs} +6 -5
- package/dist/{list-BwdO1_gX.mjs → list-BBxRjuMn.mjs} +6 -5
- package/dist/{list-CSjFJDls.mjs → list-BCYTTCFD.mjs} +6 -5
- package/dist/{list-BqgbrpQQ.mjs → list-BVzu2RIZ.mjs} +6 -5
- package/dist/{list-DUEYX3bX.mjs → list-BWAYDSbQ.mjs} +6 -5
- package/dist/{list-BC2B02IR.mjs → list-BY4S32Lg.mjs} +6 -5
- package/dist/{list-7rwzxX6t.mjs → list-Bb8YRON_.mjs} +6 -5
- package/dist/{list-DIvOPW1g.mjs → list-CJx5q-Yn.mjs} +8 -7
- package/dist/{list-F0vkE22V.mjs → list-CK0p7vvK.mjs} +7 -6
- package/dist/{list-CO5J3SZU.mjs → list-CKzpoTgP.mjs} +8 -7
- package/dist/{list-FR8Q1SzV.mjs → list-CjF12k1G.mjs} +7 -6
- package/dist/{list-D52_BozQ.mjs → list-D-rgDFa5.mjs} +9 -7
- package/dist/{list-DPcPTqFU.mjs → list-Sgo3RfDY.mjs} +6 -5
- package/dist/{list-DHb4vQUM.mjs → list-pQ22nXhQ.mjs} +6 -5
- package/dist/{login-C0Rf2hg0.mjs → login-C6ZAnGHz.mjs} +10 -9
- package/dist/{logout-C7_UON-s.mjs → logout-CWjyY3Y8.mjs} +6 -5
- package/dist/{manifest-B2F8iL7X.mjs → manifest-BVf8P4bl.mjs} +9 -2
- package/dist/measure-Cbly1r0E.mjs +25 -0
- package/dist/{metadata-Db3Kpo-z.mjs → metadata-CW5Lfw5d.mjs} +9 -8
- package/dist/{metadata-FltZq5Ek.mjs → metadata-aQAqseCm.mjs} +8 -7
- package/dist/{command-augment-CAur0XOQ.mjs → notice-DyVl5aYB.mjs} +1 -11
- package/dist/parameter-CiJ4CwWE.mjs +118 -0
- package/dist/parameter-values-DmDOuE-j.mjs +56 -0
- package/dist/{parse-enum-BatHQ-Gs.mjs → parse-enum-BL9i_brN.mjs} +1 -1
- package/dist/{parse-id-B5adfBlS.mjs → parse-id-DlXnOcmP.mjs} +1 -1
- package/dist/{parse-ref-CZr1bYIl.mjs → parse-ref-CB_KvF9h.mjs} +1 -1
- package/dist/{path-BojuJkE4.mjs → path-D8IJ4YrW.mjs} +6 -5
- package/dist/{poll-AduuU55-.mjs → poll-hgnrHBoh.mjs} +2 -2
- package/dist/{poll-task-B00Qwd87.mjs → poll-task-NQNLT_aA.mjs} +2 -2
- package/dist/{preflight-QVPvG_Xg.mjs → preflight-DvaPQHHf.mjs} +4 -4
- package/dist/{process-DsGf7Mg5.mjs → process-j8UHMHc2.mjs} +1 -1
- package/dist/{prompt-Bc_bHSD0.mjs → prompt-C85xd9HR.mjs} +1 -1
- package/dist/{publish-h5RJh6im.mjs → publish-BntmFR6g.mjs} +9 -8
- package/dist/{query-BUkuB4bZ.mjs → query-BQfgKV68.mjs} +10 -8
- package/dist/{query-Dvi-Rksy.mjs → query-DSKQZu91.mjs} +19 -13
- package/dist/{query-result-L5_NrwQR.mjs → query-result-D6mfoVfQ.mjs} +1 -1
- package/dist/{remove-collection-D8ZfB2RN.mjs → remove-collection-BguaI3-6.mjs} +9 -8
- package/dist/{rescan-values-DOsDLrRG.mjs → rescan-values-DjD6IW3J.mjs} +9 -8
- package/dist/{resolve-BQ9vjlNJ.mjs → resolve-Dj2MTBkn.mjs} +1 -1
- package/dist/{run-CeG0KH5W.mjs → run-Bp1yxkBN.mjs} +6 -5
- package/dist/{run-CjhD-Zbr.mjs → run-RQfQj7Rk.mjs} +9 -8
- package/dist/{runs-6k8C6kXF.mjs → runs-CSsatfWb.mjs} +8 -7
- package/dist/{runtime-CmAIahm5.mjs → runtime-oxjmrYoP.mjs} +5 -3
- package/dist/{schema-tables-C45QegaY.mjs → schema-tables-5I5pCxHl.mjs} +8 -7
- package/dist/{schemas-EVwEFuTj.mjs → schemas-CfzFCfBt.mjs} +6 -5
- package/dist/{search-C_uw_D1U.mjs → search-Vo-BqliA.mjs} +11 -5
- package/dist/segment-BuN_IoM8.mjs +25 -0
- package/dist/{selectors-AktxTEMK.mjs → selectors-DBnJsKlW.mjs} +3 -3
- package/dist/{set-C3EAuyb8.mjs → set-1Vh0AF-T.mjs} +9 -8
- package/dist/{set-active-BW6LN6y0.mjs → set-active-C0mUZlNN.mjs} +6 -5
- package/dist/setting-BbdKR-lO.mjs +20 -0
- package/dist/{setup-CYrbNrlG.mjs → setup-CzYFvFK5.mjs} +8 -7
- package/dist/{skills-DJsuBguh.mjs → skills-B6gfH0iR.mjs} +1 -1
- package/dist/{skills-D6xQkmhu.mjs → skills-CR2xyV33.mjs} +3 -3
- package/dist/snippet-Bzo2U9Fv.mjs +22 -0
- package/dist/{stash-C1V2FvJR.mjs → stash-CQHXwBu_.mjs} +9 -8
- package/dist/{status-DY92F9mn.mjs → status-C_7aqTvB.mjs} +6 -5
- package/dist/{status-CxYw6zQM.mjs → status-DXQkM18v.mjs} +8 -7
- package/dist/{summary-DOxgqJoA.mjs → summary-1aNpQc8j.mjs} +7 -6
- package/dist/{sync-schema-CQPfffjU.mjs → sync-schema-BqLp5uTS.mjs} +11 -10
- package/dist/table-BwGOz97O.mjs +22 -0
- package/dist/{table-CDMG0Zi5.mjs → table-DE3i82T_.mjs} +1 -1
- package/dist/transform-B65ZD9-e.mjs +31 -0
- package/dist/transform-job-BWVKXSV6.mjs +25 -0
- package/dist/transform-tag-C4qvmicL.mjs +21 -0
- package/dist/{transforms-DzBJDydn.mjs → transforms-BelyllUL.mjs} +7 -6
- package/dist/{tree-B3f5F_dP.mjs → tree-YvmwGql7.mjs} +6 -5
- package/dist/{unpublish-B5RDeN-V.mjs → unpublish-CHjGLMu9.mjs} +7 -6
- package/dist/{update-CcvDVqNd.mjs → update-BACl_bJS.mjs} +10 -9
- package/dist/{update-PZPNx0Xd.mjs → update-BGMJTpA6.mjs} +17 -12
- package/dist/{update-DOfL_KPx.mjs → update-BKhekuqr.mjs} +22 -13
- package/dist/{update-DSueNZRw.mjs → update-BWlN3QDo.mjs} +10 -9
- package/dist/{update-C0pFSc1B.mjs → update-BnHYSu96.mjs} +18 -13
- package/dist/{update-D698CaeV.mjs → update-C9fndCqb.mjs} +10 -9
- package/dist/{update-I3TA2Tem.mjs → update-CrRz47aj.mjs} +22 -13
- package/dist/{update-BIZ9XhjS.mjs → update-D7vc8GBF.mjs} +17 -12
- package/dist/{update-DudyZ-FP.mjs → update-K-jjQ0Aw.mjs} +11 -10
- package/dist/{update-CiWPEqQ-.mjs → update-Zz01Woxj.mjs} +10 -9
- package/dist/{update-dashcard-BXZ4vS15.mjs → update-dashcard-Dvth-yLC.mjs} +11 -9
- package/dist/{update-D5gioyBa.mjs → update-txUfAJxy.mjs} +10 -9
- package/dist/{upgrade-4cWfLu90.mjs → upgrade-DsXlfPef.mjs} +7 -6
- package/dist/{uuid---pAboNQ.mjs → uuid-ByJmWV7b.mjs} +10 -5
- package/dist/{validate-VawhJ5Sc.mjs → validate-BqNW4Sk1.mjs} +2 -2
- package/dist/{validate-query-CSV-TTnd.mjs → validate-query-CcZVKYPV.mjs} +3 -3
- package/dist/{values-I503dI7K.mjs → values-CIjJI4sz.mjs} +7 -6
- package/dist/{verify-BMhTWW9s.mjs → verify-Jsuc2dat.mjs} +2 -2
- package/dist/{wait-oMSs_IdS.mjs → wait-5ltTFvSa.mjs} +8 -7
- package/dist/{wait-flags-HtCL2l1r.mjs → wait-flags-D6kd_G7c.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +47 -56
- package/skill-data/dashboard/SKILL.md +107 -0
- package/skill-data/data-workflow/SKILL.md +116 -0
- package/skill-data/{data-analysis/SKILL.md → data-workflow/references/answering-questions.md} +7 -13
- package/skill-data/{data-transformation/SKILL.md → data-workflow/references/building-clean-tables.md} +23 -32
- package/skill-data/{semantic-layer/SKILL.md → data-workflow/references/reusable-definitions.md} +26 -56
- package/skill-data/document/SKILL.md +11 -21
- package/skill-data/git-sync/SKILL.md +39 -39
- package/skill-data/mbql/SKILL.md +19 -31
- package/skill-data/mbql/references/operators.md +13 -3
- package/skill-data/metadata/SKILL.md +78 -0
- package/skill-data/metadata/references/semantic-types.md +83 -0
- package/skill-data/native-sql/SKILL.md +118 -0
- package/skill-data/native-sql/references/template-tags.md +178 -0
- package/skill-data/transform/SKILL.md +30 -46
- package/skill-data/visualization/SKILL.md +8 -8
- package/skill-data/visualization/references/settings.md +14 -0
- package/skills/metabase-cli/SKILL.md +2 -2
- package/dist/add-collection-BqfYL4FU.mjs +0 -10
- package/dist/auth-BaCMFLTA.mjs +0 -19
- package/dist/card-DzH3aK0a.mjs +0 -20
- package/dist/collection-Wagz-ira.mjs +0 -20
- package/dist/dashboard-OUgS1Gi-.mjs +0 -21
- package/dist/db-Btfl5JMZ.mjs +0 -22
- package/dist/document-CU28GfFw.mjs +0 -19
- package/dist/field-BTbzlcyC.mjs +0 -18
- package/dist/git-sync-CBxS2urR.mjs +0 -28
- package/dist/is-dirty-Z-pqyVyB.mjs +0 -9
- package/dist/library-BlbH0xyK.mjs +0 -18
- package/dist/measure-BUedPu4K.mjs +0 -19
- package/dist/segment-CkZUZcWz.mjs +0 -19
- package/dist/setting-C50HEiGG.mjs +0 -17
- package/dist/snippet-BjaWAxCu.mjs +0 -19
- package/dist/table-B35ovbcd.mjs +0 -19
- package/dist/transform-DF79sJ0_.mjs +0 -25
- package/dist/transform-job-PmA_D8gz.mjs +0 -22
- package/dist/transform-tag-CE3cuO1K.mjs +0 -18
- package/skill-data/robot-data-engineer/SKILL.md +0 -142
- /package/dist/{body-flags-D7q87Btw.mjs → body-flags-DWTTxJpP.mjs} +0 -0
- /package/dist/{collection-Deiziuu2.mjs → collection-DrLpA1SO.mjs} +0 -0
- /package/dist/{document-qfwR0r63.mjs → document-1W7NRaO_.mjs} +0 -0
- /package/dist/{field-E0IBy4Uw.mjs → field-CMY_LWUe.mjs} +0 -0
- /package/dist/{measure-BCv5wDDN.mjs → measure-DoJvtCaA.mjs} +0 -0
- /package/dist/{paginate-BexjkjbY.mjs → paginate-FVZUxL4J.mjs} +0 -0
- /package/dist/{render-CkuFkWlQ.mjs → render-BTKnWL0d.mjs} +0 -0
- /package/dist/{revision-message-flag-CP5NFrWQ.mjs → revision-message-flag-CHrJgFFx.mjs} +0 -0
- /package/dist/{segment-BAUuELKs.mjs → segment-TXktTCfU.mjs} +0 -0
- /package/dist/{setting-DhMk0TNo.mjs → setting-m46MUtW5.mjs} +0 -0
- /package/dist/{snippet-D4SyVLKB.mjs → snippet-CtA2Pkoa.mjs} +0 -0
- /package/dist/{transform-MmqHKGU-.mjs → transform-DEF38FWe.mjs} +0 -0
- /package/dist/{transform-job-CtVziW85.mjs → transform-job-CtixL4An.mjs} +0 -0
- /package/dist/{transform-tag-wFiWmiyO.mjs → transform-tag-rsIrckCM.mjs} +0 -0
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import "./
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import "./field-CMY_LWUe.mjs";
|
|
8
|
+
import "./parameter-CiJ4CwWE.mjs";
|
|
9
|
+
import "./card-DEmcRlNO.mjs";
|
|
10
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
11
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
12
|
+
import "./validate-BqNW4Sk1.mjs";
|
|
13
|
+
import { Dashboard, DashboardCreateInput, DashboardDetail, dashboardView } from "./dashboard-DOplbKyQ.mjs";
|
|
14
|
+
import { preflightDashcardCardReferences, wrapChainedDashboardWriteError } from "./preflight-DvaPQHHf.mjs";
|
|
13
15
|
|
|
14
16
|
//#region src/commands/dashboard/create.ts
|
|
15
17
|
var create_default = defineMetabaseCommand({
|
|
@@ -18,6 +20,13 @@ var create_default = defineMetabaseCommand({
|
|
|
18
20
|
description: "Create a dashboard from JSON"
|
|
19
21
|
},
|
|
20
22
|
details: "Any positive card_id referenced from dashcards is pre-flight-validated (exists and readable, not archived) before the dashboard is created.",
|
|
23
|
+
skills: [{
|
|
24
|
+
skill: "dashboard",
|
|
25
|
+
purpose: "wiring filters, cross-filtering, click behavior, tabs"
|
|
26
|
+
}, {
|
|
27
|
+
skill: "visualization",
|
|
28
|
+
purpose: "dashcard visualization_settings and the 24-column grid"
|
|
29
|
+
}],
|
|
21
30
|
capabilities: { minVersion: 58 },
|
|
22
31
|
args: {
|
|
23
32
|
...outputFlags,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
8
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
9
|
+
import { Snippet, SnippetCreateInput, snippetView } from "./snippet-CtA2Pkoa.mjs";
|
|
9
10
|
|
|
10
11
|
//#region src/commands/snippet/create.ts
|
|
11
12
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./collection-DrLpA1SO.mjs";
|
|
7
|
+
import { Library, createLibrary, libraryView } from "./resolve-Dj2MTBkn.mjs";
|
|
7
8
|
|
|
8
9
|
//#region src/commands/library/create.ts
|
|
9
10
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
8
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
9
|
+
import { parseEnumFlag } from "./parse-enum-BL9i_brN.mjs";
|
|
10
|
+
import { Collection, CollectionCreateInput, CollectionNamespace, collectionView } from "./collection-DrLpA1SO.mjs";
|
|
10
11
|
|
|
11
12
|
//#region src/commands/collection/create.ts
|
|
12
13
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import {
|
|
10
|
-
import "./
|
|
11
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import "./field-CMY_LWUe.mjs";
|
|
8
|
+
import "./parameter-CiJ4CwWE.mjs";
|
|
9
|
+
import { Card, CardCreateInput, cardView } from "./card-DEmcRlNO.mjs";
|
|
10
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
11
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
12
|
+
import "./validate-BqNW4Sk1.mjs";
|
|
13
|
+
import { CARD_DATASET_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CcZVKYPV.mjs";
|
|
12
14
|
|
|
13
15
|
//#region src/commands/card/create.ts
|
|
14
16
|
var create_default = defineMetabaseCommand({
|
|
@@ -16,7 +18,21 @@ var create_default = defineMetabaseCommand({
|
|
|
16
18
|
name: "create",
|
|
17
19
|
description: "Create a card (question, model, or metric) from JSON"
|
|
18
20
|
},
|
|
19
|
-
details: "The JSON body needs `name`, `display` (the visualization — e.g. table, bar, scalar), `dataset_query` (the query powering the card), and `visualization_settings` (`{}` is fine). When `dataset_query` is an MBQL 5 query it is checked against a bundled JSON Schema before sending — fix the reported errors, or pass --skip-validate to send anyway. Native-SQL and legacy queries are sent unchecked.
|
|
21
|
+
details: "The JSON body needs `name`, `display` (the visualization — e.g. table, bar, scalar), `dataset_query` (the query powering the card), and `visualization_settings` (`{}` is fine). When `dataset_query` is an MBQL 5 query it is checked against a bundled JSON Schema before sending — fix the reported errors, or pass --skip-validate to send anyway. Native-SQL and legacy queries are sent unchecked.",
|
|
22
|
+
skills: [
|
|
23
|
+
{
|
|
24
|
+
skill: "mbql",
|
|
25
|
+
purpose: "author an MBQL dataset_query"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
skill: "native-sql",
|
|
29
|
+
purpose: "author a native SQL dataset_query with parameters"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
skill: "visualization",
|
|
33
|
+
purpose: "choose display and visualization_settings"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
20
36
|
capabilities: { minVersion: 58 },
|
|
21
37
|
args: {
|
|
22
38
|
...outputFlags,
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
8
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
9
|
+
import { Document, DocumentCreateInput, documentView } from "./document-1W7NRaO_.mjs";
|
|
9
10
|
|
|
10
11
|
//#region src/commands/document/create.ts
|
|
11
12
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
8
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
9
|
+
import { TransformJob, TransformJobCreateInput, transformJobView } from "./transform-job-CtixL4An.mjs";
|
|
9
10
|
|
|
10
11
|
//#region src/commands/transform-job/create.ts
|
|
11
12
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { ConfigError } from "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
1
|
+
import { ConfigError } from "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./poll-hgnrHBoh.mjs";
|
|
7
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-NQNLT_aA.mjs";
|
|
7
8
|
import { z } from "zod";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
8
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
9
|
+
import "./validate-BqNW4Sk1.mjs";
|
|
10
|
+
import { SEGMENT_DEFINITION_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CcZVKYPV.mjs";
|
|
11
|
+
import { Segment, SegmentCreateInput, segmentView } from "./segment-TXktTCfU.mjs";
|
|
11
12
|
|
|
12
13
|
//#region src/commands/segment/create.ts
|
|
13
14
|
var create_default = defineMetabaseCommand({
|
|
@@ -15,7 +16,11 @@ var create_default = defineMetabaseCommand({
|
|
|
15
16
|
name: "create",
|
|
16
17
|
description: "Create a segment (saved filter) from JSON"
|
|
17
18
|
},
|
|
18
|
-
details: "A segment is a reusable, saved row filter tied to a table. The JSON body needs `name`, `table_id`, and a `definition` (an MBQL query holding the filter). An MBQL 5 `definition` is checked against a bundled JSON Schema before sending; pass --skip-validate to bypass.
|
|
19
|
+
details: "A segment is a reusable, saved row filter tied to a table. The JSON body needs `name`, `table_id`, and a `definition` (an MBQL query holding the filter). An MBQL 5 `definition` is checked against a bundled JSON Schema before sending; pass --skip-validate to bypass.",
|
|
20
|
+
skills: [{
|
|
21
|
+
skill: "mbql",
|
|
22
|
+
purpose: "the definition filter clause"
|
|
23
|
+
}],
|
|
19
24
|
capabilities: { minVersion: 58 },
|
|
20
25
|
args: {
|
|
21
26
|
...outputFlags,
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import "./
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./input-7Sj85_K7.mjs";
|
|
7
|
+
import { readBody } from "./body-BS2s2zDl.mjs";
|
|
8
|
+
import { bodyInputFlags } from "./body-flags-DWTTxJpP.mjs";
|
|
9
|
+
import "./validate-BqNW4Sk1.mjs";
|
|
10
|
+
import { TRANSFORM_SOURCE_QUERY_LABELS, preflightMbql5Query, skipValidateFlag } from "./validate-query-CcZVKYPV.mjs";
|
|
11
|
+
import { Transform, TransformCreateInput, transformView } from "./transform-DEF38FWe.mjs";
|
|
12
|
+
import { enrichTransformCollectionError } from "./collection-namespace-BP_LJrAD.mjs";
|
|
12
13
|
|
|
13
14
|
//#region src/commands/transform/create.ts
|
|
14
15
|
var create_default = defineMetabaseCommand({
|
|
@@ -16,7 +17,11 @@ var create_default = defineMetabaseCommand({
|
|
|
16
17
|
name: "create",
|
|
17
18
|
description: "Create a transform from JSON"
|
|
18
19
|
},
|
|
19
|
-
details: "The JSON body needs a `name`, a `source` (the query to run — native SQL or MBQL — under `source.query`), and a `target` (the warehouse table to write, with `database`/`schema`/`name`). When `source.query` is an MBQL 5 query it is checked against a bundled JSON Schema before sending; pass --skip-validate to bypass.
|
|
20
|
+
details: "The JSON body needs a `name`, a `source` (the query to run — native SQL or MBQL — under `source.query`), and a `target` (the warehouse table to write, with `database`/`schema`/`name`). When `source.query` is an MBQL 5 query it is checked against a bundled JSON Schema before sending; pass --skip-validate to bypass.",
|
|
21
|
+
skills: [{
|
|
22
|
+
skill: "mbql",
|
|
23
|
+
purpose: "MBQL source.query bodies"
|
|
24
|
+
}],
|
|
20
25
|
capabilities: { minVersion: 59 },
|
|
21
26
|
args: {
|
|
22
27
|
...outputFlags,
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./poll-hgnrHBoh.mjs";
|
|
7
|
+
import { SyncTaskOrIdle, fetchCurrentTask, formatSyncTask, syncTaskIdleView, syncTaskView } from "./poll-task-NQNLT_aA.mjs";
|
|
7
8
|
|
|
8
9
|
//#region src/commands/git-sync/current-task.ts
|
|
9
10
|
const CurrentTaskResult = SyncTaskOrIdle;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-BNE_RiH5.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/commands/dashboard/index.ts
|
|
5
|
+
var dashboard_default = defineCommandGroup({
|
|
6
|
+
name: "dashboard",
|
|
7
|
+
description: "Manage Metabase dashboards",
|
|
8
|
+
skills: [
|
|
9
|
+
{
|
|
10
|
+
skill: "dashboard",
|
|
11
|
+
purpose: "wiring filters, linked filters, cross-filtering, click behavior, tabs"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
skill: "visualization",
|
|
15
|
+
purpose: "dashcard display and visualization_settings"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
skill: "core",
|
|
19
|
+
purpose: "the 24-column dashcard grid layout"
|
|
20
|
+
}
|
|
21
|
+
],
|
|
22
|
+
subCommands: {
|
|
23
|
+
list: () => import("./list-82NkvRpI.mjs").then((mod) => mod.default),
|
|
24
|
+
get: () => import("./get-DJ8huA8y.mjs").then((mod) => mod.default),
|
|
25
|
+
cards: () => import("./cards-BGkz5BeZ.mjs").then((mod) => mod.default),
|
|
26
|
+
"parameter-values": () => import("./parameter-values-DmDOuE-j.mjs").then((mod) => mod.default),
|
|
27
|
+
create: () => import("./create-CD9Rp8qs.mjs").then((mod) => mod.default),
|
|
28
|
+
update: () => import("./update-BKhekuqr.mjs").then((mod) => mod.default),
|
|
29
|
+
"update-dashcard": () => import("./update-dashcard-Dvth-yLC.mjs").then((mod) => mod.default),
|
|
30
|
+
archive: () => import("./archive-C3RWdM-2.mjs").then((mod) => mod.default)
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
//#endregion
|
|
35
|
+
export { dashboard_default as default };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Parameter, ParameterMapping } from "./parameter-CiJ4CwWE.mjs";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/domain/dashboard.ts
|
|
@@ -13,7 +14,7 @@ const Dashcard = z.object({
|
|
|
13
14
|
size_y: z.number().int(),
|
|
14
15
|
entity_id: z.string().nullable(),
|
|
15
16
|
visualization_settings: z.unknown(),
|
|
16
|
-
parameter_mappings: z.array(
|
|
17
|
+
parameter_mappings: z.array(ParameterMapping).nullable(),
|
|
17
18
|
inline_parameters: z.array(z.string()).nullable()
|
|
18
19
|
}).loose();
|
|
19
20
|
const DashcardCompact = Dashcard.pick({
|
|
@@ -85,11 +86,12 @@ const Dashboard = z.object({
|
|
|
85
86
|
enable_embedding: z.boolean(),
|
|
86
87
|
public_uuid: z.string().nullable(),
|
|
87
88
|
cache_ttl: z.number().int().nullable(),
|
|
88
|
-
parameters: z.array(
|
|
89
|
+
parameters: z.array(Parameter).nullable(),
|
|
89
90
|
dashcards: z.array(Dashcard).optional(),
|
|
90
91
|
tabs: z.array(DashboardTab).optional()
|
|
91
92
|
}).loose();
|
|
92
93
|
const DashboardDetail = Dashboard.extend({
|
|
94
|
+
parameters: z.array(Parameter),
|
|
93
95
|
dashcards: z.array(Dashcard),
|
|
94
96
|
tabs: z.array(DashboardTab)
|
|
95
97
|
});
|
|
@@ -127,7 +129,7 @@ const dashboardView = {
|
|
|
127
129
|
const DashboardCreateInput = z.object({
|
|
128
130
|
name: z.string().min(1),
|
|
129
131
|
description: z.string().nullable().optional(),
|
|
130
|
-
parameters: z.array(
|
|
132
|
+
parameters: z.array(Parameter).optional(),
|
|
131
133
|
cache_ttl: z.number().int().positive().optional(),
|
|
132
134
|
collection_id: z.number().int().positive().nullable().optional(),
|
|
133
135
|
collection_position: z.number().int().positive().nullable().optional(),
|
|
@@ -141,7 +143,7 @@ const DashboardUpdateInput = z.object({
|
|
|
141
143
|
width: DashboardWidth.optional(),
|
|
142
144
|
enable_embedding: z.boolean().optional(),
|
|
143
145
|
embedding_params: z.unknown().optional(),
|
|
144
|
-
parameters: z.array(
|
|
146
|
+
parameters: z.array(Parameter).optional(),
|
|
145
147
|
cache_ttl: z.number().int().positive().nullable().optional(),
|
|
146
148
|
collection_id: z.number().int().positive().nullable().optional(),
|
|
147
149
|
collection_position: z.number().int().positive().nullable().optional(),
|
|
@@ -154,7 +156,7 @@ const DashcardPatchInput = z.object({
|
|
|
154
156
|
size_x: z.number().int().positive().optional(),
|
|
155
157
|
size_y: z.number().int().positive().optional(),
|
|
156
158
|
dashboard_tab_id: z.number().int().nullable().optional(),
|
|
157
|
-
parameter_mappings: z.array(
|
|
159
|
+
parameter_mappings: z.array(ParameterMapping).optional(),
|
|
158
160
|
inline_parameters: z.array(z.string()).optional(),
|
|
159
161
|
visualization_settings: z.unknown().optional(),
|
|
160
162
|
series: z.array(z.unknown()).optional()
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-BNE_RiH5.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/commands/db/index.ts
|
|
5
|
+
var db_default = defineCommandGroup({
|
|
6
|
+
name: "db",
|
|
7
|
+
description: "Inspect and sync Metabase databases",
|
|
8
|
+
alias: "database",
|
|
9
|
+
skills: [{
|
|
10
|
+
skill: "core",
|
|
11
|
+
purpose: "the database traversal ladder and schema sync"
|
|
12
|
+
}, {
|
|
13
|
+
skill: "data-workflow",
|
|
14
|
+
purpose: "model a raw database into clean tables"
|
|
15
|
+
}],
|
|
16
|
+
subCommands: {
|
|
17
|
+
list: () => import("./list-CKzpoTgP.mjs").then((m) => m.default),
|
|
18
|
+
get: () => import("./get-B8tugTku.mjs").then((m) => m.default),
|
|
19
|
+
metadata: () => import("./metadata-CW5Lfw5d.mjs").then((m) => m.default),
|
|
20
|
+
schemas: () => import("./schemas-CfzFCfBt.mjs").then((m) => m.default),
|
|
21
|
+
"schema-tables": () => import("./schema-tables-5I5pCxHl.mjs").then((m) => m.default),
|
|
22
|
+
"sync-schema": () => import("./sync-schema-BqLp5uTS.mjs").then((m) => m.default),
|
|
23
|
+
"rescan-values": () => import("./rescan-values-DjD6IW3J.mjs").then((m) => m.default)
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
//#endregion
|
|
28
|
+
export { db_default as default };
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./prompt-C85xd9HR.mjs";
|
|
7
|
+
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
8
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-B0ha5QR4.mjs";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/transform/delete.ts
|
|
10
11
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./prompt-C85xd9HR.mjs";
|
|
7
|
+
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
8
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-B0ha5QR4.mjs";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/transform-tag/delete.ts
|
|
10
11
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./prompt-C85xd9HR.mjs";
|
|
7
|
+
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
8
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-B0ha5QR4.mjs";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/transform-job/delete.ts
|
|
10
11
|
var delete_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ConfigError } from "./
|
|
2
|
-
import { renderSummary } from "./capabilities-
|
|
3
|
-
import { promptConfirm } from "./prompt-
|
|
1
|
+
import { ConfigError } from "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
3
|
+
import { promptConfirm } from "./prompt-C85xd9HR.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/commands/delete-runtime.ts
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, outputFlags, profileFlag } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, outputFlags, profileFlag } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./prompt-C85xd9HR.mjs";
|
|
7
|
+
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
8
|
+
import { DeleteResult, confirmAndDelete } from "./delete-runtime-B0ha5QR4.mjs";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/transform/delete-table.ts
|
|
10
11
|
var delete_table_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
7
|
+
import { Transform, TransformCompact, transformView } from "./transform-DEF38FWe.mjs";
|
|
7
8
|
import { z } from "zod";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/transform/dependencies.ts
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import
|
|
1
|
+
import "./notice-DyVl5aYB.mjs";
|
|
2
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, wrapList } from "./error-BaBm-UrT.mjs";
|
|
3
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
4
|
+
import { defineMetabaseCommand } from "./runtime-oxjmrYoP.mjs";
|
|
5
|
+
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
+
import "./poll-hgnrHBoh.mjs";
|
|
7
|
+
import { REMOTE_SYNC_PATHS, SyncDirtyItem, SyncDirtyItemCompact, syncDirtyItemView } from "./poll-task-NQNLT_aA.mjs";
|
|
7
8
|
import { z } from "zod";
|
|
8
9
|
|
|
9
10
|
//#region src/commands/git-sync/dirty.ts
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import "./command-augment-DdZIfx1V.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-BNE_RiH5.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/commands/document/index.ts
|
|
5
|
+
var document_default = defineCommandGroup({
|
|
6
|
+
name: "document",
|
|
7
|
+
description: "Manage Metabase documents",
|
|
8
|
+
skills: [{
|
|
9
|
+
skill: "document",
|
|
10
|
+
purpose: "author the ProseMirror document body"
|
|
11
|
+
}],
|
|
12
|
+
subCommands: {
|
|
13
|
+
list: () => import("./list-BWAYDSbQ.mjs").then((mod) => mod.default),
|
|
14
|
+
get: () => import("./get-BkGh9BPd.mjs").then((mod) => mod.default),
|
|
15
|
+
create: () => import("./create-DzyMvAVy.mjs").then((mod) => mod.default),
|
|
16
|
+
update: () => import("./update-txUfAJxy.mjs").then((mod) => mod.default),
|
|
17
|
+
archive: () => import("./archive-d74nDcp4.mjs").then((mod) => mod.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
//#endregion
|
|
22
|
+
export { document_default as default };
|