@metabase/cli 0.1.18 → 0.2.0
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 +61 -35
- package/dist/{add-collection-CRZAFCZy.mjs → add-collection-BTSGp4f9.mjs} +4 -5
- package/dist/add-collection-DlAwt2Z3.mjs +9 -0
- package/dist/append-DY1-O789.mjs +42 -0
- package/dist/{archive-errg-EKw.mjs → archive-BOEEMrYL.mjs} +6 -8
- package/dist/{archive-3mEhK9_H.mjs → archive-CJ9rElKn.mjs} +6 -8
- package/dist/{archive-De4yVEV8.mjs → archive-CWtUzlHO.mjs} +5 -7
- package/dist/{archive-d74nDcp4.mjs → archive-DCPw3df6.mjs} +5 -7
- package/dist/{archive-CFHYRF65.mjs → archive-DOa1u1aJ.mjs} +5 -7
- package/dist/{archive-Z8ZM-ilB.mjs → archive-pHsa4dL0.mjs} +8 -9
- package/dist/{archive-C3RWdM-2.mjs → archive-w6TX-zEk.mjs} +7 -8
- package/dist/auth-BrQtY0pO.mjs +22 -0
- package/dist/{body-BS2s2zDl.mjs → body-C1_AaTS4.mjs} +3 -3
- package/dist/{branches-mcyT7wI-.mjs → branches-BsBzaGIf.mjs} +5 -7
- package/dist/{cancel-B2l-i2NS.mjs → cancel-BNM0yyx-.mjs} +4 -6
- package/dist/{cancel-task-CugcIeIi.mjs → cancel-task-Bggzn4JL.mjs} +5 -7
- package/dist/capabilities-DrDJo_ng.mjs +684 -0
- package/dist/{card-DEmcRlNO.mjs → card-B8G5jQQT.mjs} +24 -18
- package/dist/card-DHCcmpgr.mjs +26 -0
- package/dist/{cards-BGkz5BeZ.mjs → cards-D0hvA13L.mjs} +7 -8
- package/dist/cli.mjs +175 -29
- package/dist/{collection-DrLpA1SO.mjs → collection-CFoLPrY5.mjs} +1 -1
- package/dist/collection-D0O9gp3S.mjs +23 -0
- package/dist/{collection-namespace-BP_LJrAD.mjs → collection-namespace-DqPNrCdQ.mjs} +2 -2
- package/dist/{create-kWzqvTGR.mjs → create-05rX4oL-.mjs} +11 -12
- package/dist/{create-wpvDXSSY.mjs → create-BR7x66KW.mjs} +12 -13
- package/dist/{create-D8KA4zJA.mjs → create-C17Fh1_X.mjs} +9 -10
- package/dist/{create-DhrftYre.mjs → create-C8ndg3g4.mjs} +14 -14
- package/dist/{create-DzyMvAVy.mjs → create-CZ9KFnbi.mjs} +8 -9
- package/dist/{create-Cztp5kES.mjs → create-Cii_utzV.mjs} +5 -7
- package/dist/{create-CkRFKtFG.mjs → create-Cyv7vHV_.mjs} +8 -9
- package/dist/{create-YfGzANNB.mjs → create-DKuixGJ2.mjs} +8 -9
- package/dist/{create-B4HAEEE0.mjs → create-E6L3WMqV.mjs} +8 -9
- package/dist/{create-BOmmMSjF.mjs → create-a3s1S2Dw.mjs} +11 -12
- package/dist/{create-branch-DsoMfx_2.mjs → create-branch-Dxn6UnV_.mjs} +5 -7
- package/dist/{create-CD9Rp8qs.mjs → create-oLb0E-ZP.mjs} +14 -14
- package/dist/csv-T6_vlLJS.mjs +58 -0
- package/dist/{current-task-WuKPZpZ6.mjs → current-task-DxWbw-bU.mjs} +5 -7
- package/dist/{dashboard-DOplbKyQ.mjs → dashboard-B-MTpfeS.mjs} +35 -15
- package/dist/dashboard-BpSPoeAn.mjs +35 -0
- package/dist/{database-D9fftP-i.mjs → database-CIbVSfua.mjs} +2 -2
- package/dist/db-DBRijnh4.mjs +27 -0
- package/dist/{delete-Buai0_e_.mjs → delete--P1xFX37.mjs} +6 -8
- package/dist/{delete-CmGh0jo1.mjs → delete-BBOIUl0D.mjs} +6 -8
- package/dist/{delete-BCitmugk.mjs → delete-Ce2EBQYA.mjs} +6 -8
- package/dist/{delete-runtime-B0ha5QR4.mjs → delete-runtime-B-8I9V1g.mjs} +2 -3
- package/dist/{delete-table-BOkYxdjA.mjs → delete-table-Bj32NsXn.mjs} +6 -8
- package/dist/{dependencies-XZrEvHUA.mjs → dependencies-ixzjVjUz.mjs} +5 -7
- package/dist/{dirty-B-5NDbG9.mjs → dirty-CH70h5m5.mjs} +5 -7
- package/dist/{document-1W7NRaO_.mjs → document-CL4ML5FN.mjs} +20 -4
- package/dist/document-dZpuFu3I.mjs +22 -0
- package/dist/{eid-BCuJRv7a.mjs → eid-XjkBbyb_.mjs} +10 -11
- package/dist/embedding-CKdw8q7p.mjs +11 -0
- package/dist/{export-Dod2gdyE.mjs → export-CChMg-mL.mjs} +7 -9
- package/dist/field-B1heFeCz.mjs +21 -0
- package/dist/{field-CMY_LWUe.mjs → field-DsXTeqBy.mjs} +6 -4
- package/dist/{fields-B0yttrzR.mjs → fields-C7h2QwUp.mjs} +6 -8
- package/dist/{get-Dz7fcqoG.mjs → get-AvGH_oph.mjs} +8 -9
- package/dist/{get-BkGh9BPd.mjs → get-B6ZJCJ8H.mjs} +5 -7
- package/dist/{get-k6M5nGMC.mjs → get-BWHJDa0B.mjs} +5 -7
- package/dist/{get-CfeYa0v5.mjs → get-BsyccuCH.mjs} +5 -7
- package/dist/{get-B0OsW6jk.mjs → get-C98IFgFi.mjs} +5 -7
- package/dist/{get-D-pNrQGA.mjs → get-Cj90oyxG.mjs} +5 -7
- package/dist/{get-DBY5esTW.mjs → get-D9r2znrn.mjs} +5 -7
- package/dist/{get-BpZ81hX8.mjs → get-DRZENkCj.mjs} +5 -7
- package/dist/{get-D7QMqPOK.mjs → get-DWWmpQ87.mjs} +5 -7
- package/dist/{get-CbpHt4Hs.mjs → get-Dg1J0wxb.mjs} +5 -7
- package/dist/{get-DJ8huA8y.mjs → get-DrWYvefc.mjs} +7 -8
- package/dist/{get-u5Uq9vms.mjs → get-KVN9ANVh.mjs} +4 -6
- package/dist/get-RlP_xiUd.mjs +67 -0
- package/dist/{get-9p0Gt1c7.mjs → get-cyR67Lmq.mjs} +5 -7
- package/dist/{get-DISgP66L.mjs → get-kqY2lwhO.mjs} +16 -9
- package/dist/{get-run-DQJVpDw1.mjs → get-run-C4C_QQqO.mjs} +5 -7
- package/dist/git-sync-JHa7bIyY.mjs +31 -0
- package/dist/{group-BNE_RiH5.mjs → group-CILtQqCL.mjs} +2 -1
- package/dist/{has-remote-changes-DvQBXudi.mjs → has-remote-changes-dLUGr0MD.mjs} +5 -7
- package/dist/{import-PGS8-DwE.mjs → import-Byull6jF.mjs} +7 -9
- package/dist/{input-7Sj85_K7.mjs → input-m9ctfLxZ.mjs} +6 -3
- package/dist/is-dirty-Bb2dfEYs.mjs +8 -0
- package/dist/{is-dirty-DyEVFQVJ.mjs → is-dirty-CU3ovgdG.mjs} +3 -4
- package/dist/{items-CkFEy2Du.mjs → items-CEGDYWuF.mjs} +7 -9
- package/dist/{key-bltP32Pm.mjs → key-Ge4VwWvS.mjs} +1 -1
- package/dist/{library-1AAVbk-K.mjs → library-DHWWa4Tt.mjs} +6 -6
- package/dist/{list-Bb8YRON_.mjs → list-3z1ZChTG.mjs} +4 -6
- package/dist/{list-BY4S32Lg.mjs → list-B9TyELob.mjs} +4 -6
- package/dist/{list-Sgo3RfDY.mjs → list-BFm4iEBt.mjs} +4 -6
- package/dist/{list-BVzu2RIZ.mjs → list-BliCJAjt.mjs} +4 -6
- package/dist/{list-CKzpoTgP.mjs → list-Bpv06V24.mjs} +6 -8
- package/dist/{list-BWAYDSbQ.mjs → list-Br48kL09.mjs} +4 -6
- package/dist/{list-pQ22nXhQ.mjs → list-BtcpNl4-.mjs} +4 -6
- package/dist/{list-82NkvRpI.mjs → list-BuyRG3GB.mjs} +7 -8
- package/dist/{list-CjF12k1G.mjs → list-CMb03cv3.mjs} +5 -7
- package/dist/{list-BCYTTCFD.mjs → list-CmCJwaGT.mjs} +4 -6
- package/dist/{list-CK0p7vvK.mjs → list-Cur_72xZ.mjs} +5 -7
- package/dist/{list-D-rgDFa5.mjs → list-D9FY30xH.mjs} +8 -9
- package/dist/{list-BBxRjuMn.mjs → list-DEkPxVZu.mjs} +4 -6
- package/dist/{list-B9wXg3qi.mjs → list-O2w5xd1q.mjs} +4 -6
- package/dist/{list-CJx5q-Yn.mjs → list-th_Ym6Cv.mjs} +6 -8
- package/dist/{login-C6ZAnGHz.mjs → login-hKlYsAa1.mjs} +8 -10
- package/dist/{logout-CWjyY3Y8.mjs → logout-DO8GVC6b.mjs} +4 -6
- package/dist/measure-R3T20wnB.mjs +25 -0
- package/dist/{measure-DoJvtCaA.mjs → measure-S9WszHre.mjs} +5 -4
- package/dist/{parameter-values-DmDOuE-j.mjs → parameter-values-BJb2GuLz.mjs} +5 -7
- package/dist/{parse-enum-BL9i_brN.mjs → parse-enum-Cfne2suT.mjs} +1 -1
- package/dist/{parse-id-DlXnOcmP.mjs → parse-id-DfY0Lugw.mjs} +1 -1
- package/dist/{parse-ref-CB_KvF9h.mjs → parse-ref-C_MsXYI6.mjs} +1 -1
- package/dist/{path-D8IJ4YrW.mjs → path-DzhQVCH8.mjs} +4 -6
- package/dist/{poll-hgnrHBoh.mjs → poll-D1Yg78c3.mjs} +2 -2
- package/dist/{poll-task-NQNLT_aA.mjs → poll-task-DLUZaglY.mjs} +2 -2
- package/dist/{preflight-DvaPQHHf.mjs → preflight-Cy2jUSca.mjs} +4 -5
- package/dist/{process-j8UHMHc2.mjs → process-D5HN1wpT.mjs} +1 -1
- package/dist/{prompt-C85xd9HR.mjs → prompt-ZG9Drin_.mjs} +1 -1
- package/dist/{publish-BntmFR6g.mjs → publish-3hmHoaX-.mjs} +7 -9
- package/dist/{query-BQfgKV68.mjs → query-DTASj9Zu.mjs} +9 -10
- package/dist/{query-DSKQZu91.mjs → query-DkZViD_3.mjs} +15 -15
- package/dist/{query-result-D6mfoVfQ.mjs → query-result-CbTFdlSf.mjs} +1 -1
- package/dist/{remove-collection-BguaI3-6.mjs → remove-collection-D3wH9H6R.mjs} +7 -9
- package/dist/replace-CFzqkZXs.mjs +42 -0
- package/dist/requests-KBiY9UYy.mjs +96 -0
- package/dist/{rescan-values-DjD6IW3J.mjs → rescan-values-B1WycObS.mjs} +7 -9
- package/dist/{resolve-Dj2MTBkn.mjs → resolve-Ct084wx3.mjs} +1 -1
- package/dist/{run-Bp1yxkBN.mjs → run-B8qEEdC8.mjs} +4 -6
- package/dist/{run-RQfQj7Rk.mjs → run-cw0qTEQ7.mjs} +7 -9
- package/dist/{runs-CSsatfWb.mjs → runs-BOA4kK_X.mjs} +6 -8
- package/dist/{runtime-oxjmrYoP.mjs → runtime-B-c-Fc2i.mjs} +3 -4
- package/dist/{schema-tables-5I5pCxHl.mjs → schema-tables-DRYzSVcW.mjs} +6 -8
- package/dist/{schemas-CfzFCfBt.mjs → schemas-BiMjD25L.mjs} +4 -6
- package/dist/{search-Vo-BqliA.mjs → search-DjKxRXO5.mjs} +4 -6
- package/dist/{segment-TXktTCfU.mjs → segment-BPb1H6DW.mjs} +6 -5
- package/dist/segment-CZkk0g79.mjs +25 -0
- package/dist/{selectors-DBnJsKlW.mjs → selectors-B7MJUn3I.mjs} +3 -3
- package/dist/{set-active-C0mUZlNN.mjs → set-active-CF868qdW.mjs} +4 -6
- package/dist/{set-1Vh0AF-T.mjs → set-kyoORFG3.mjs} +10 -10
- package/dist/setting-BZgjURQ_.mjs +20 -0
- package/dist/{setup-CzYFvFK5.mjs → setup-D9joJYPb.mjs} +11 -12
- package/dist/{skills-B6gfH0iR.mjs → skills-BqI05u72.mjs} +1 -1
- package/dist/{skills-CR2xyV33.mjs → skills-D8NrJxjp.mjs} +3 -3
- package/dist/{snippet-CtA2Pkoa.mjs → snippet-DWiXNy4T.mjs} +7 -4
- package/dist/snippet-y_FzKxaQ.mjs +22 -0
- package/dist/{stash-CQHXwBu_.mjs → stash-BVMerTaF.mjs} +7 -9
- package/dist/{status-C_7aqTvB.mjs → status-C-0jFjFn.mjs} +4 -6
- package/dist/{status-DXQkM18v.mjs → status-x8bDOa1i.mjs} +6 -8
- package/dist/{summary-1aNpQc8j.mjs → summary-B-R9SdMF.mjs} +5 -7
- package/dist/{sync-schema-BqLp5uTS.mjs → sync-schema-wne2KXIW.mjs} +9 -11
- package/dist/{table-DE3i82T_.mjs → table-C3RIKiYM.mjs} +16 -4
- package/dist/table-CS2-2INi.mjs +21 -0
- package/dist/transform-6hqM1DXA.mjs +31 -0
- package/dist/{transform-DEF38FWe.mjs → transform-JQel7e5H.mjs} +31 -5
- package/dist/transform-job-DuERhLaj.mjs +25 -0
- package/dist/transform-tag-DaNKreDj.mjs +21 -0
- package/dist/{transforms-BelyllUL.mjs → transforms-DB2WNP2R.mjs} +5 -7
- package/dist/{tree-YvmwGql7.mjs → tree-BIOphGVs.mjs} +4 -6
- package/dist/{unpublish-CHjGLMu9.mjs → unpublish-BWM36ZTg.mjs} +5 -7
- package/dist/{update-BACl_bJS.mjs → update-6umfSz5t.mjs} +9 -10
- package/dist/{update-txUfAJxy.mjs → update-7Ts7KrB8.mjs} +9 -10
- package/dist/{update-D7vc8GBF.mjs → update-BCbv880u.mjs} +12 -13
- package/dist/{update-K-jjQ0Aw.mjs → update-BchtHlbH.mjs} +10 -11
- package/dist/{update-BGMJTpA6.mjs → update-BiUeEGU-.mjs} +12 -13
- package/dist/{update-BKhekuqr.mjs → update-BlzcZwRQ.mjs} +15 -15
- package/dist/{update-BnHYSu96.mjs → update-CTZg2Lia.mjs} +13 -14
- package/dist/{update-C9fndCqb.mjs → update-DJDuIhYG.mjs} +9 -10
- package/dist/{update-CrRz47aj.mjs → update-HxYcvpSq.mjs} +15 -15
- package/dist/{update-Zz01Woxj.mjs → update-Sz0QRGWB.mjs} +9 -10
- package/dist/{update-dashcard-Dvth-yLC.mjs → update-dashcard-CfDpy7Lz.mjs} +11 -11
- package/dist/{update-BWlN3QDo.mjs → update-zfLbmC-H.mjs} +9 -10
- package/dist/{upgrade-DsXlfPef.mjs → upgrade-BWl0VjMK.mjs} +5 -7
- package/dist/upload-CPzOhGeX.mjs +16 -0
- package/dist/{uuid-ByJmWV7b.mjs → uuid-D_YeqDui.mjs} +3 -5
- package/dist/{validate-BqNW4Sk1.mjs → validate-clAWO3X-.mjs} +1 -2
- package/dist/{validate-query-CcZVKYPV.mjs → validate-query-CsK2_2_u.mjs} +2 -3
- package/dist/{values-CIjJI4sz.mjs → values-DSk8ZJ3B.mjs} +5 -7
- package/dist/{verify-Jsuc2dat.mjs → verify-DkQdLjf3.mjs} +2 -2
- package/dist/{wait-5ltTFvSa.mjs → wait-DvSsMjea.mjs} +6 -8
- package/dist/{wait-flags-D6kd_G7c.mjs → wait-flags-dXGThljd.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +27 -21
- package/skill-data/dashboard/SKILL.md +26 -3
- package/skill-data/data-workflow/SKILL.md +17 -15
- package/dist/add-collection-DbalcC3_.mjs +0 -11
- package/dist/auth--PWX0oj5.mjs +0 -22
- package/dist/capabilities-N0jo5U7S.mjs +0 -239
- package/dist/card-D07WYCQY.mjs +0 -26
- package/dist/collection-Dss2qSEF.mjs +0 -23
- package/dist/dashboard-Crh4v6Fq.mjs +0 -35
- package/dist/db-BCAURQei.mjs +0 -28
- package/dist/document-upxL2nKH.mjs +0 -22
- package/dist/error-BaBm-UrT.mjs +0 -227
- package/dist/field-CloFa1oe.mjs +0 -21
- package/dist/get-B8tugTku.mjs +0 -50
- package/dist/git-sync-C9m-OHac.mjs +0 -31
- package/dist/is-dirty-DpyKeGAJ.mjs +0 -10
- package/dist/manifest-BVf8P4bl.mjs +0 -126
- package/dist/measure-Cbly1r0E.mjs +0 -25
- package/dist/metadata-CW5Lfw5d.mjs +0 -39
- package/dist/metadata-aQAqseCm.mjs +0 -38
- package/dist/notice-DyVl5aYB.mjs +0 -206
- package/dist/segment-BuN_IoM8.mjs +0 -25
- package/dist/setting-BbdKR-lO.mjs +0 -20
- package/dist/snippet-Bzo2U9Fv.mjs +0 -22
- package/dist/table-BwGOz97O.mjs +0 -22
- package/dist/transform-B65ZD9-e.mjs +0 -31
- package/dist/transform-job-BWVKXSV6.mjs +0 -25
- package/dist/transform-tag-C4qvmicL.mjs +0 -21
- /package/dist/{body-flags-DWTTxJpP.mjs → body-flags-CgHgJBRC.mjs} +0 -0
- /package/dist/{command-augment-DdZIfx1V.mjs → command-augment-D9pI9Vbh.mjs} +0 -0
- /package/dist/{paginate-FVZUxL4J.mjs → paginate-CMqbqhMC.mjs} +0 -0
- /package/dist/{parameter-CiJ4CwWE.mjs → parameter-BZ6y-Gfs.mjs} +0 -0
- /package/dist/{render-BTKnWL0d.mjs → render-CkuFkWlQ.mjs} +0 -0
- /package/dist/{revision-message-flag-CHrJgFFx.mjs → revision-message-flag-CHzX0cqV.mjs} +0 -0
- /package/dist/{setting-m46MUtW5.mjs → setting-Cko6bE_w.mjs} +0 -0
- /package/dist/{transform-job-CtixL4An.mjs → transform-job-CtVziW85.mjs} +0 -0
- /package/dist/{transform-tag-rsIrckCM.mjs → transform-tag-wFiWmiyO.mjs} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./poll-D1Yg78c3.mjs";
|
|
5
|
+
import "./poll-task-DLUZaglY.mjs";
|
|
6
|
+
import { IsDirtyResult, is_dirty_default } from "./is-dirty-CU3ovgdG.mjs";
|
|
7
|
+
|
|
8
|
+
export { is_dirty_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { connectionFlags, outputFlags, profileFlag } from "./
|
|
2
|
-
import { defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import {
|
|
4
|
-
import { REMOTE_SYNC_PATHS } from "./poll-task-NQNLT_aA.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
3
|
+
import { REMOTE_SYNC_PATHS } from "./poll-task-DLUZaglY.mjs";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
|
|
7
6
|
//#region src/commands/git-sync/is-dirty.ts
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { parseCollectionRef } from "./parse-ref-CB_KvF9h.mjs";
|
|
9
|
-
import { collectPaginated } from "./paginate-FVZUxL4J.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum, parseEnumCsv } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import { COLLECTION_ITEM_FILTER_MODELS, COLLECTION_PINNED_STATES, CollectionItem, CollectionItemCompact, CollectionItemFilterModel, CollectionPinnedState, collectionItemView } from "./collection-CFoLPrY5.mjs";
|
|
6
|
+
import { parseCollectionRef } from "./parse-ref-C_MsXYI6.mjs";
|
|
7
|
+
import { collectPaginated } from "./paginate-CMqbqhMC.mjs";
|
|
10
8
|
|
|
11
9
|
//#region src/commands/collection/items.ts
|
|
12
10
|
const CollectionItemListEnvelope = listEnvelopeSchema(CollectionItemCompact);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./command-augment-
|
|
2
|
-
import { defineCommandGroup } from "./group-
|
|
1
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-CILtQqCL.mjs";
|
|
3
3
|
|
|
4
4
|
//#region src/commands/library/index.ts
|
|
5
5
|
var library_default = defineCommandGroup({
|
|
@@ -13,10 +13,10 @@ var library_default = defineCommandGroup({
|
|
|
13
13
|
purpose: "which tables are worth publishing"
|
|
14
14
|
}],
|
|
15
15
|
subCommands: {
|
|
16
|
-
get: () => import("./get-
|
|
17
|
-
create: () => import("./create-
|
|
18
|
-
publish: () => import("./publish-
|
|
19
|
-
unpublish: () => import("./unpublish-
|
|
16
|
+
get: () => import("./get-BsyccuCH.mjs").then((m) => m.default),
|
|
17
|
+
create: () => import("./create-Cii_utzV.mjs").then((m) => m.default),
|
|
18
|
+
publish: () => import("./publish-3hmHoaX-.mjs").then((m) => m.default),
|
|
19
|
+
unpublish: () => import("./unpublish-BWM36ZTg.mjs").then((m) => m.default)
|
|
20
20
|
}
|
|
21
21
|
});
|
|
22
22
|
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Transform, TransformCompact, transformView } from "./transform-DEF38FWe.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { Transform, TransformCompact, transformView } from "./transform-JQel7e5H.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-CtixL4An.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { TransformJob, TransformJobCompact, transformJobView } from "./transform-job-CtVziW85.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform-job/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { TransformTag, TransformTagCompact, transformTagView } from "./transform-tag-rsIrckCM.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { TransformTag, TransformTagCompact, transformTagView } from "./transform-tag-wFiWmiyO.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/transform-tag/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Segment, SegmentCompact, segmentView } from "./segment-TXktTCfU.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { Segment, SegmentCompact, segmentView } from "./segment-BPb1H6DW.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/segment/list.ts
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./table-DE3i82T_.mjs";
|
|
8
|
-
import { Database, DatabaseCompact, databaseView } from "./database-D9fftP-i.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseEnum } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./field-DsXTeqBy.mjs";
|
|
5
|
+
import "./table-C3RIKiYM.mjs";
|
|
6
|
+
import { Database, DatabaseCompact, databaseView } from "./database-CIbVSfua.mjs";
|
|
9
7
|
import { z } from "zod";
|
|
10
8
|
|
|
11
9
|
//#region src/commands/db/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Document, DocumentCompact, documentView } from "./document-1W7NRaO_.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { Document, DocumentCompact, documentView } from "./document-CL4ML5FN.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/document/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Measure, MeasureCompact, measureView } from "./measure-DoJvtCaA.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { Measure, MeasureCompact, measureView } from "./measure-S9WszHre.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/measure/list.ts
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { Dashboard, DashboardCompact, dashboardView } from "./dashboard-DOplbKyQ.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./embedding-CKdw8q7p.mjs";
|
|
5
|
+
import "./parameter-BZ6y-Gfs.mjs";
|
|
6
|
+
import { parseEnumFlag } from "./parse-enum-Cfne2suT.mjs";
|
|
7
|
+
import { Dashboard, DashboardCompact, dashboardView } from "./dashboard-B-MTpfeS.mjs";
|
|
9
8
|
import { z } from "zod";
|
|
10
9
|
|
|
11
10
|
//#region src/commands/dashboard/list.ts
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { warn } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
7
|
-
import { renderAuthMethod, renderTimestamp, renderUserRole, renderVersionTag } from "./render-BTKnWL0d.mjs";
|
|
1
|
+
import { listEnvelopeSchema, outputFlags, renderList, warn, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { ParsedVersionSchema, ProbedUser, ProfileAuthMethod, ProfileLastFailure, TokenFeatures, createCredentialRefresher, defineMetabaseCommand, displayUrl, listProfileRecords, profileAuthMethod, resolveRecordCredential, writeProbeFailure, writeProbeResult } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-DkQdLjf3.mjs";
|
|
5
|
+
import { renderAuthMethod, renderTimestamp, renderUserRole, renderVersionTag } from "./render-CkuFkWlQ.mjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/auth/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Snippet, SnippetCompact, snippetView } from "./snippet-CtA2Pkoa.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { Snippet, SnippetCompact, snippetView } from "./snippet-DWiXNy4T.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/snippet/list.ts
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { parseEnumFlag } from "./parse-enum-BL9i_brN.mjs";
|
|
7
|
-
import { Collection, CollectionCompact, collectionView } from "./collection-DrLpA1SO.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { parseEnumFlag } from "./parse-enum-Cfne2suT.mjs";
|
|
5
|
+
import { Collection, CollectionCompact, collectionView } from "./collection-CFoLPrY5.mjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
7
|
|
|
10
8
|
//#region src/commands/collection/list.ts
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import { parseEnumFlag } from "./parse-enum-BL9i_brN.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./embedding-CKdw8q7p.mjs";
|
|
5
|
+
import "./field-DsXTeqBy.mjs";
|
|
6
|
+
import "./parameter-BZ6y-Gfs.mjs";
|
|
7
|
+
import { Card, CardCompact, cardView } from "./card-B8G5jQQT.mjs";
|
|
8
|
+
import { parseEnumFlag } from "./parse-enum-Cfne2suT.mjs";
|
|
10
9
|
import { z } from "zod";
|
|
11
10
|
|
|
12
11
|
//#region src/commands/card/list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { listTruncationNotice, warn } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { loadVisibleSkills } from "./skills-B6gfH0iR.mjs";
|
|
1
|
+
import { listEnvelopeSchema, listTruncationNotice, outputFlags, renderList, warn, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { loadVisibleSkills } from "./skills-BqI05u72.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/output/skill-list.ts
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { Setting, SettingCompact, settingView } from "./setting-m46MUtW5.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { Setting, SettingCompact, settingView } from "./setting-Cko6bE_w.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/setting/list.ts
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
8
|
-
import { Table, TableCompact, tableView } from "./table-DE3i82T_.mjs";
|
|
1
|
+
import { connectionFlags, listEnvelopeSchema, outputFlags, profileFlag, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./field-DsXTeqBy.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
6
|
+
import { Table, TableCompact, tableView } from "./table-C3RIKiYM.mjs";
|
|
9
7
|
import { z } from "zod";
|
|
10
8
|
|
|
11
9
|
//#region src/commands/table/list.ts
|
|
@@ -1,13 +1,11 @@
|
|
|
1
|
-
import { ConfigError, errorMessage, warn } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { openBrowser } from "./process-j8UHMHc2.mjs";
|
|
10
|
-
import { readInput } from "./input-7Sj85_K7.mjs";
|
|
1
|
+
import { ConfigError, connectionFlags, errorMessage, outputFlags, profileFlag, renderSummary, warn } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { DEFAULT_PROFILE, OAUTH_SCOPE, ParsedVersionSchema, ProbedUser, consumeKeychainResidualWarning, consumeKeyringDowngradeWarning, defineMetabaseCommand, discoverMetadata, exchangeCode, explicitProfileName, keyringFallbackWarning, normalizeUrl, oauthCredentialFromTokens, readEnvCredentials, registerClient, revokeOAuthCredential, tryDiscoverMetadata, writeOAuthProfile, writeProbeFailure, writeProbeResult, writeProfile } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { verifyAndProbe } from "./verify-DkQdLjf3.mjs";
|
|
5
|
+
import { EMPTY_CELL, renderUserName, renderUserRole, renderVersionTag } from "./render-CkuFkWlQ.mjs";
|
|
6
|
+
import { promptPassword, promptSelect, promptText } from "./prompt-ZG9Drin_.mjs";
|
|
7
|
+
import { openBrowser } from "./process-D5HN1wpT.mjs";
|
|
8
|
+
import { readInput } from "./input-m9ctfLxZ.mjs";
|
|
11
9
|
import { z } from "zod";
|
|
12
10
|
import { createServer } from "node:http";
|
|
13
11
|
import { createHash, randomBytes } from "node:crypto";
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { errorMessage, warn } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderSummary } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { promptConfirm } from "./prompt-C85xd9HR.mjs";
|
|
1
|
+
import { errorMessage, outputFlags, profileFlag, renderSummary, warn } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { clearProfile, consumeKeychainResidualWarning, defineMetabaseCommand, readProfileCredential, resolveProfileName, revokeOAuthCredential } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { promptConfirm } from "./prompt-ZG9Drin_.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/auth/logout.ts
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
2
|
+
import { defineCommandGroup } from "./group-CILtQqCL.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/commands/measure/index.ts
|
|
5
|
+
var measure_default = defineCommandGroup({
|
|
6
|
+
name: "measure",
|
|
7
|
+
description: "Manage Metabase measures",
|
|
8
|
+
skills: [{
|
|
9
|
+
skill: "mbql",
|
|
10
|
+
purpose: "the definition aggregation"
|
|
11
|
+
}, {
|
|
12
|
+
skill: "data-workflow",
|
|
13
|
+
purpose: "define reusable measures"
|
|
14
|
+
}],
|
|
15
|
+
subCommands: {
|
|
16
|
+
list: () => import("./list-BtcpNl4-.mjs").then((mod) => mod.default),
|
|
17
|
+
get: () => import("./get-cyR67Lmq.mjs").then((mod) => mod.default),
|
|
18
|
+
create: () => import("./create-a3s1S2Dw.mjs").then((mod) => mod.default),
|
|
19
|
+
update: () => import("./update-BiUeEGU-.mjs").then((mod) => mod.default),
|
|
20
|
+
archive: () => import("./archive-BOEEMrYL.mjs").then((mod) => mod.default)
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
//#endregion
|
|
25
|
+
export { measure_default as default };
|
|
@@ -49,17 +49,18 @@ const measureView = {
|
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
51
|
};
|
|
52
|
+
const MeasureDefinition = z.record(z.string(), z.unknown()).describe("MBQL query holding exactly one aggregation — full MBQL 5 schema: mb query --print-schema");
|
|
52
53
|
const MeasureCreateInput = z.object({
|
|
53
54
|
name: z.string().min(1),
|
|
54
55
|
table_id: z.number().int().positive(),
|
|
55
|
-
definition:
|
|
56
|
+
definition: MeasureDefinition,
|
|
56
57
|
description: z.string().nullable().optional()
|
|
57
58
|
}).loose();
|
|
58
59
|
const MeasureUpdateInput = z.object({
|
|
59
|
-
name: z.string().min(1).optional(),
|
|
60
|
-
definition:
|
|
60
|
+
name: z.string().min(1).nullable().optional(),
|
|
61
|
+
definition: MeasureDefinition.nullable().optional(),
|
|
61
62
|
revision_message: z.string().min(1),
|
|
62
|
-
archived: z.boolean().optional(),
|
|
63
|
+
archived: z.boolean().nullable().optional(),
|
|
63
64
|
description: z.string().nullable().optional()
|
|
64
65
|
}).loose();
|
|
65
66
|
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { ConfigError } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { ParameterValues, parameterValuesView } from "./parameter-CiJ4CwWE.mjs";
|
|
7
|
-
import { parseId } from "./parse-id-DlXnOcmP.mjs";
|
|
1
|
+
import { ConfigError, connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { ParameterValues, parameterValuesView } from "./parameter-BZ6y-Gfs.mjs";
|
|
5
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/dashboard/parameter-values.ts
|
|
10
8
|
var parameter_values_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import {
|
|
5
|
-
import { renderList } from "./capabilities-N0jo5U7S.mjs";
|
|
6
|
-
import { findSkillByName, loadAllSkills, loadVisibleSkills } from "./skills-B6gfH0iR.mjs";
|
|
1
|
+
import { listEnvelopeSchema, outputFlags, renderList, wrapList } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import { findSkillByName, loadAllSkills, loadVisibleSkills } from "./skills-BqI05u72.mjs";
|
|
7
5
|
import { z } from "zod";
|
|
8
6
|
|
|
9
7
|
//#region src/commands/skills/path.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TimeoutError } from "./
|
|
2
|
-
import { combineAborts, throwIfAborted } from "./runtime-
|
|
1
|
+
import { TimeoutError } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import { combineAborts, throwIfAborted } from "./runtime-B-c-Fc2i.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-B-c-Fc2i.mjs";
|
|
2
|
+
import { pollUntil } from "./poll-D1Yg78c3.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
|
|
5
5
|
//#region src/domain/git-sync.ts
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { ChainedRequestError, ConfigError, MetabaseError } from "./
|
|
2
|
-
import { HttpError } from "./runtime-
|
|
3
|
-
import {
|
|
4
|
-
import { Card } from "./card-DEmcRlNO.mjs";
|
|
1
|
+
import { ChainedRequestError, ConfigError, MetabaseError, writeJson } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import { HttpError } from "./runtime-B-c-Fc2i.mjs";
|
|
3
|
+
import { Card } from "./card-B8G5jQQT.mjs";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
|
|
7
6
|
//#region src/commands/dashboard/preflight.ts
|
|
8
7
|
const PreflightDashcard = z.looseObject({ card_id: z.number().int().nullable().optional() });
|
|
9
8
|
function collectDashcardCardReferences(dashcards) {
|
|
10
|
-
if (dashcards === void 0) return [];
|
|
9
|
+
if (dashcards === void 0 || dashcards === null) return [];
|
|
11
10
|
const refs = [];
|
|
12
11
|
dashcards.forEach((dashcard, index) => {
|
|
13
12
|
const parsed = PreflightDashcard.safeParse(dashcard);
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import "./
|
|
7
|
-
import {
|
|
8
|
-
import { ensureLibraryDataCollectionId } from "./resolve-Dj2MTBkn.mjs";
|
|
9
|
-
import { parseTableSelectors, tableSelectorFlags } from "./selectors-DBnJsKlW.mjs";
|
|
1
|
+
import { connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./parse-id-DfY0Lugw.mjs";
|
|
5
|
+
import { Collection, CollectionCompact } from "./collection-CFoLPrY5.mjs";
|
|
6
|
+
import { ensureLibraryDataCollectionId } from "./resolve-Ct084wx3.mjs";
|
|
7
|
+
import { parseTableSelectors, tableSelectorFlags } from "./selectors-B7MJUn3I.mjs";
|
|
10
8
|
import { z } from "zod";
|
|
11
9
|
|
|
12
10
|
//#region src/commands/library/publish.ts
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { ConfigError } from "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import "./
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { formatQueryResult } from "./query-result-D6mfoVfQ.mjs";
|
|
1
|
+
import { ConfigError, connectionFlags, outputFlags, profileFlag, renderSummary } from "./capabilities-DrDJo_ng.mjs";
|
|
2
|
+
import "./command-augment-D9pI9Vbh.mjs";
|
|
3
|
+
import { defineMetabaseCommand, parseJson } from "./runtime-B-c-Fc2i.mjs";
|
|
4
|
+
import "./embedding-CKdw8q7p.mjs";
|
|
5
|
+
import "./field-DsXTeqBy.mjs";
|
|
6
|
+
import "./parameter-BZ6y-Gfs.mjs";
|
|
7
|
+
import { CardQueryResult, cardQueryView } from "./card-B8G5jQQT.mjs";
|
|
8
|
+
import { parseId } from "./parse-id-DfY0Lugw.mjs";
|
|
9
|
+
import { formatQueryResult } from "./query-result-CbTFdlSf.mjs";
|
|
11
10
|
import { z } from "zod";
|
|
12
11
|
import { Writable } from "node:stream";
|
|
13
12
|
|