@metabase/cli 0.5.18 → 0.5.19
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/dist/{add-collection-Bj9NfvnN.mjs → add-collection-DcqYvvB-.mjs} +3 -3
- package/dist/{alert-CMshuKkD.mjs → alert-YS966oMm.mjs} +7 -7
- package/dist/{alerts-DNfvRAHF.mjs → alerts-Ma6yZHwZ.mjs} +4 -4
- package/dist/api-key-CCBiwjPR.mjs +13 -0
- package/dist/{append-B6NKVXmC.mjs → append-BVWcN3CR.mjs} +4 -4
- package/dist/{archive-DFSuRpQU.mjs → archive-Bdwy_1iG.mjs} +3 -3
- package/dist/{archive-xGLFsqVv.mjs → archive-BlxVAw_O.mjs} +3 -3
- package/dist/{archive-DXD8E-tc.mjs → archive-CIe4zm1A.mjs} +3 -3
- package/dist/{archive-BHwRFiIp.mjs → archive-CMtVSgNE.mjs} +3 -3
- package/dist/{archive-DASCU44R.mjs → archive-CjuyrENE.mjs} +3 -3
- package/dist/{archive-BigVLFhO.mjs → archive-DHzrlYet.mjs} +3 -3
- package/dist/{archive-BymwF3JK.mjs → archive-Dd3Zr__T.mjs} +5 -5
- package/dist/{archive-CsxKuct2.mjs → archive-Dm_tMQnw.mjs} +3 -3
- package/dist/{archive-CnScSiQl.mjs → archive-E7BYI4nU.mjs} +3 -3
- package/dist/{archive-DQL3uq3S.mjs → archive-Fe6Q7zWM.mjs} +3 -3
- package/dist/{archive-wKfb5LNv.mjs → archive-eObwoTi6.mjs} +3 -3
- package/dist/{archive-fDo0iMXZ.mjs → archive-zc4-Od9Q.mjs} +5 -5
- package/dist/{auth-CNDQbQXF.mjs → auth-k6w99yJQ.mjs} +5 -5
- package/dist/{branches-CcDKZnBq.mjs → branches-C4-QYJ3n.mjs} +2 -2
- package/dist/{breaking-BEwEGyrk.mjs → breaking-4vT39m_f.mjs} +3 -3
- package/dist/{broken-Bx2JFtDZ.mjs → broken-BHIXLpe-.mjs} +4 -4
- package/dist/{bulk-discard-values-BQzOIue5.mjs → bulk-discard-values-B9RrJ6eo.mjs} +4 -4
- package/dist/{bulk-edit-DGx6in-k.mjs → bulk-edit-BLsGwdmi.mjs} +4 -4
- package/dist/{bulk-rescan-values-DGlGDhXf.mjs → bulk-rescan-values-a8C3Id7u.mjs} +5 -5
- package/dist/{bulk-sync-schema-BttWpXxE.mjs → bulk-sync-schema-BKEcZWee.mjs} +5 -5
- package/dist/{cancel-DdhLoGp1.mjs → cancel-DcaMiOjM.mjs} +3 -3
- package/dist/{cancel-task-D28bHXK_.mjs → cancel-task-DZ-JgBI0.mjs} +2 -2
- package/dist/card-BxNW3J3K.mjs +25 -0
- package/dist/{cards-BXiY52Nm.mjs → cards-l3URACxx.mjs} +3 -3
- package/dist/{ci-D97nJ6-1.mjs → ci-Zo_cN8uz.mjs} +2 -2
- package/dist/cli.mjs +130 -92
- package/dist/{client-C3lyoltK.mjs → client-C1Qr--4G.mjs} +37 -71
- package/dist/collection-Dwi04NEK.mjs +21 -0
- package/dist/{content-translation-C8Z06-vg.mjs → content-translation-rovYujP9.mjs} +3 -3
- package/dist/{copy-UIDZe3Qc.mjs → copy-BytoyO08.mjs} +4 -4
- package/dist/{copy-FIxCe679.mjs → copy-DpB65kW1.mjs} +4 -4
- package/dist/{copy-flags-D_lqBhi8.mjs → copy-flags-Dqt64LEy.mjs} +1 -1
- package/dist/{create-DoVQrBJ4.mjs → create-0ldSqVgt.mjs} +2 -2
- package/dist/{create-Au6xqgIO2.mjs → create-B-6DSnS72.mjs} +2 -2
- package/dist/{create-gMYMUL7t.mjs → create-BR6XSuIv.mjs} +2 -2
- package/dist/{create-hvtusQEZ.mjs → create-BRpU0vlg.mjs} +2 -2
- package/dist/{create-0UemhsxL.mjs → create-BVRNWqnH.mjs} +2 -2
- package/dist/{create-DaE_oGxs.mjs → create-Bcow_MuI.mjs} +4 -4
- package/dist/{create-3fsDGV9E.mjs → create-BdgbSKEn.mjs} +2 -2
- package/dist/{create-DwY140oE.mjs → create-Bf67Ns2j.mjs} +2 -2
- package/dist/{create-Bpwl2GQ3.mjs → create-BhB8DJ60.mjs} +3 -3
- package/dist/{create-CazoyArr.mjs → create-BrMH1rzH.mjs} +2 -2
- package/dist/{create-BabzAD_X.mjs → create-C0Rfv-jv.mjs} +2 -2
- package/dist/{create-D-2RdE2_.mjs → create-Cb-e7N9m.mjs} +4 -4
- package/dist/{create-DJjRunsw.mjs → create-Ccb-TV3s.mjs} +2 -2
- package/dist/{create-BI-do2mK.mjs → create-CzNjvLYS.mjs} +2 -2
- package/dist/{create-bksqNBGg.mjs → create-DNZli2PS.mjs} +2 -2
- package/dist/{create-C3JXunBQ.mjs → create-DPNlgFfa.mjs} +2 -2
- package/dist/{create-CUUp0UyT.mjs → create-DbJanvpv.mjs} +4 -4
- package/dist/{create-Buvd5NBb.mjs → create-DjanhrgO.mjs} +2 -2
- package/dist/{create-lu1w-Hbw.mjs → create-MrNxDgZP.mjs} +2 -2
- package/dist/{create-branch-Dwdy7irk.mjs → create-branch-DJe7Su5w.mjs} +2 -2
- package/dist/{csv-DsE_ndhE.mjs → csv-BC0OTsa-.mjs} +4 -4
- package/dist/{current-task-DRNyn9QX.mjs → current-task-CJ8nYdeP.mjs} +2 -2
- package/dist/dashboard-BrO2eeyU.mjs +35 -0
- package/dist/data-action-DnvwL8kq.mjs +24 -0
- package/dist/{data-app-BMfcgWaI.mjs → data-app-04vagaPu.mjs} +9 -9
- package/dist/{data-app-C7LHb5xd.mjs → data-app-C0CqZBQK.mjs} +2 -27
- package/dist/{data-app-project-BBWM7Zdk.mjs → data-app-project-ByBlbNn5.mjs} +2 -2
- package/dist/{data-app-s9hkfhiu.mjs → data-app-r4dkVMxt.mjs} +1 -1
- package/dist/{database-BSETP2o-.mjs → database-4H_xFe5L.mjs} +2 -2
- package/dist/{database-CCUXiXH_.mjs → database-B3OPxRb7.mjs} +1 -1
- package/dist/{dataset-a7Q_ocDR.mjs → dataset-CzctaQxh.mjs} +3 -3
- package/dist/{db-C-UN7Mw7.mjs → db-CD2n5tRG.mjs} +8 -8
- package/dist/{delete-BycN1h3j.mjs → delete-B-PxjF5J.mjs} +3 -3
- package/dist/{delete-BxHxz81i.mjs → delete-B90Evt3E.mjs} +3 -3
- package/dist/{delete-DtZUEUck.mjs → delete-BJoJL7Zi.mjs} +3 -3
- package/dist/{delete-RhO0HMY8.mjs → delete-BOsnhbE_.mjs} +3 -3
- package/dist/{delete-B5RQJybZ.mjs → delete-BrH67s8y.mjs} +3 -3
- package/dist/{delete-DOStUKHR.mjs → delete-CJduJDEM.mjs} +3 -3
- package/dist/{delete-woVgrl8z.mjs → delete-DK8Gt-I1.mjs} +3 -3
- package/dist/{delete-Cnv4Bp9r.mjs → delete-X9AKle81.mjs} +3 -3
- package/dist/{delete-CEjfhdrB.mjs → delete-m6pG1wJT.mjs} +3 -3
- package/dist/{delete-table-BkrSMJ6s.mjs → delete-table-BFYxAyZI.mjs} +3 -3
- package/dist/{dependencies-DlrwzY_z.mjs → dependencies-DesHGwRs.mjs} +3 -3
- package/dist/dependency-C1CW_liJ.mjs +15 -0
- package/dist/{dependents-DyiLbk63.mjs → dependents-DUj6St5j.mjs} +4 -4
- package/dist/{dirty-CnlYt6E6.mjs → dirty-Dlxd-nNk.mjs} +2 -2
- package/dist/{discard-values-4FiVdoR1.mjs → discard-values-CInR_0uj.mjs} +4 -4
- package/dist/document-BQpi7mQ7.mjs +20 -0
- package/dist/{download-CsrJ5AtI.mjs → download-C_qGNLoL.mjs} +2 -2
- package/dist/{eid-Da_G_-sZ.mjs → eid-B1thdArI.mjs} +2 -2
- package/dist/{embedding-sdk-u_7nTdoy.mjs → embedding-sdk-C0PFbT_h.mjs} +1 -1
- package/dist/{entry-flags-D7BhJxIr.mjs → entry-flags-zY_mquxs.mjs} +1 -1
- package/dist/{events-CnJ7Rwtn.mjs → events-CzLfaSfI.mjs} +3 -3
- package/dist/{execute-CWdVreci.mjs → execute-DS33H6bK.mjs} +3 -3
- package/dist/{export-T7nyfMGZ.mjs → export-BTrYalr5.mjs} +3 -3
- package/dist/{export-preflight-BltqMU8P.mjs → export-preflight-B6jUvOs_.mjs} +2 -2
- package/dist/field-CwOYRvFS.mjs +21 -0
- package/dist/{fields-D6L8qD0M.mjs → fields-DttJ6rzy.mjs} +3 -3
- package/dist/{filter-flags-BEdazLt3.mjs → filter-flags-_Ettwj6g.mjs} +1 -1
- package/dist/{fks-B5_IvC2f.mjs → fks-DdixDHxf.mjs} +5 -5
- package/dist/{generate-actions-CFJ_ghia.mjs → generate-actions-Bi_40KHn.mjs} +5 -5
- package/dist/{generate-queries-DTkjAUEC.mjs → generate-queries-BXyGKKB_.mjs} +5 -5
- package/dist/{generate-schema-z8tuKZdY.mjs → generate-schema-SRfZW0W5.mjs} +5 -5
- package/dist/{get-BZpdNUMg.mjs → get-BHQ8gBdn.mjs} +5 -5
- package/dist/{get-Ia79m3fd.mjs → get-BTdpzOES.mjs} +5 -5
- package/dist/{get-DZ0Y723i.mjs → get-BTpRoJzc.mjs} +3 -3
- package/dist/{get-rSBE94TP.mjs → get-BURhJwzR.mjs} +5 -5
- package/dist/{get-BoYBPOre.mjs → get-BVPfRRv6.mjs} +3 -3
- package/dist/{get-BGnE-1e0.mjs → get-BbjHVvPq.mjs} +5 -5
- package/dist/{get-BQvkMnCE.mjs → get-BdJDvdmH.mjs} +3 -3
- package/dist/{get-B4xNfH3p.mjs → get-BjwOYA2F.mjs} +2 -2
- package/dist/{get-D83daNye.mjs → get-BtX9Z_nt.mjs} +3 -3
- package/dist/{get-CmAfytZm.mjs → get-C-iE0qhG.mjs} +4 -4
- package/dist/{get-DWxbhLGD.mjs → get-ChMB9PBl.mjs} +2 -2
- package/dist/{get-CPJ79uJS.mjs → get-D0q0hJrz.mjs} +3 -3
- package/dist/{get-BRjcNZro.mjs → get-D6MmahXp.mjs} +3 -3
- package/dist/{get-DRTQCy8i.mjs → get-DT0oYksr.mjs} +3 -3
- package/dist/{get-DwMKTdth.mjs → get-DUyd-mEt.mjs} +3 -3
- package/dist/{get-Co_dWeNO.mjs → get-Dcj9q7V8.mjs} +3 -3
- package/dist/{get-BFdBm5Yv.mjs → get-eEHgfr0s.mjs} +3 -3
- package/dist/{get-7aQ6kB1P.mjs → get-gYiFXv6l.mjs} +5 -5
- package/dist/{get-BzHlTaIt.mjs → get-pwzo6-zz.mjs} +3 -3
- package/dist/{get-CPTbKAkr.mjs → get-rJ948354.mjs} +3 -3
- package/dist/{get-run-DlpRMIC1.mjs → get-run-DLwFtsds.mjs} +3 -3
- package/dist/{get-NFhCBU6R.mjs → get-usGr7dbK.mjs} +3 -3
- package/dist/{get-4Polb4EY.mjs → get-weoEpVL0.mjs} +3 -3
- package/dist/git-sync-D_VPi8-7.mjs +29 -0
- package/dist/glossary-ZAWJmjei.mjs +14 -0
- package/dist/{graph-CDzK39x5.mjs → graph-COmZeyyE.mjs} +3 -3
- package/dist/{group-W6sZ0eWr.mjs → group-DgqrMOKr.mjs} +1 -1
- package/dist/{has-remote-changes-DAI22ieL.mjs → has-remote-changes-wQhPs_JM.mjs} +2 -2
- package/dist/{import-CvBhorpj.mjs → import-CchVp3f4.mjs} +3 -3
- package/dist/{is-dirty-C35y7-Gk.mjs → is-dirty-DPXZwiNf.mjs} +2 -2
- package/dist/{items-BPeXkhSe.mjs → items-Qlm9bClX.mjs} +2 -2
- package/dist/{library-C1RMcmjm.mjs → library-BivAj7Ps.mjs} +5 -5
- package/dist/{library-DlJjXXJT.mjs → library-DoI-9rnh.mjs} +1 -1
- package/dist/{library-DrbHqj17.mjs → library-j4WMc7ck.mjs} +1 -1
- package/dist/{list--qtST6Mu.mjs → list-0-sdSE1H.mjs} +2 -2
- package/dist/{list-BTbH-TVK.mjs → list-8eJH4NUb.mjs} +2 -2
- package/dist/{list-Du0jDR1s.mjs → list-BRhLRJTE.mjs} +2 -2
- package/dist/{list-hwcNqDVu.mjs → list-BhdIPkyA.mjs} +2 -2
- package/dist/{list-BMOhV_vf.mjs → list-BjfO5n5x.mjs} +2 -2
- package/dist/{list-BTKVHUkk.mjs → list-BmU3u6vb.mjs} +2 -2
- package/dist/{list-Pse7z6Mw.mjs → list-Bvtj9iPX.mjs} +2 -2
- package/dist/{list-DeEkR_mM.mjs → list-Bw7YuALo.mjs} +2 -2
- package/dist/{list-CZnf165W.mjs → list-CKa4Gq9B.mjs} +4 -4
- package/dist/{list-OpPH1899.mjs → list-CafuJUd3.mjs} +4 -4
- package/dist/{list-BFAc6oZu.mjs → list-CnMeQkCz.mjs} +2 -2
- package/dist/{list-uQmmcjXD.mjs → list-CvYPTBsp.mjs} +2 -2
- package/dist/{list-h1LmXpNZ.mjs → list-D-3LohBH.mjs} +4 -4
- package/dist/{list-DuS4ayN2.mjs → list-D6VBKEXI.mjs} +2 -2
- package/dist/{list-rI68Y9Gz.mjs → list-D7TD8ru7.mjs} +2 -2
- package/dist/{list-ksxQw-0v.mjs → list-DSQagRx9.mjs} +4 -4
- package/dist/{list-DCTZ3KMG.mjs → list-DkTJDwWy.mjs} +3 -3
- package/dist/{list-Dfl-nxFI.mjs → list-DlaE4xIh.mjs} +3 -3
- package/dist/{list-Bjmqnc1r.mjs → list-Dzmatdm7.mjs} +2 -2
- package/dist/{list-BxUbbCRa.mjs → list-iNs9KlUG.mjs} +4 -4
- package/dist/{list-BaM9JWY2.mjs → list-izvL67IE.mjs} +2 -2
- package/dist/{list-BYsQb175.mjs → list-jHs1WHJ2.mjs} +2 -2
- package/dist/{list-sdqp8e2x.mjs → list-ovPlUY62.mjs} +5 -5
- package/dist/{login-KFeoZ4cp.mjs → login-BWh724P3.mjs} +4 -4
- package/dist/{logout-ByJEvueB.mjs → logout-CvT1rc8k.mjs} +2 -2
- package/dist/{measure-BJPVfAaG.mjs → measure-BSYyQmvm.mjs} +6 -6
- package/dist/{measure-BMWrX1ca.mjs → measure-C-Fcemj7.mjs} +1 -1
- package/dist/{measure-DqZG65of.mjs → measure-e_BLyz-p.mjs} +1 -1
- package/dist/{nano-id-CZiRB0W_.mjs → nano-id-Bb1Hquz0.mjs} +2 -2
- package/dist/{parameter-values-B5s2INem.mjs → parameter-values-BQ7IULuy.mjs} +3 -3
- package/dist/{parse-id-DSHwgzAA.mjs → parse-id-uHxfeU_J.mjs} +1 -1
- package/dist/{path-DO6KvEqL.mjs → path-BHeMwPdX.mjs} +3 -3
- package/dist/{poll-1TEUi8qv.mjs → poll-DUN8Fj7I.mjs} +1 -1
- package/dist/{publish-VqKsiioy.mjs → publish-Bz7k-1xe.mjs} +3 -3
- package/dist/{query-D0iAwWIe.mjs → query-CWLM3xii.mjs} +3 -3
- package/dist/{query-CfOj4dF5.mjs → query-D9BnSTin.mjs} +5 -5
- package/dist/{registry-flag-CFPEqyNd.mjs → registry-flag-C-N8FU-r.mjs} +2 -2
- package/dist/{remapping-CepD_wm5.mjs → remapping-BVn7KBI9.mjs} +3 -3
- package/dist/{remove-collection-Dyu-svGv.mjs → remove-collection-Cuk9n8jm.mjs} +3 -3
- package/dist/{render-Ck41d-L0.mjs → render-Hw-vzra1.mjs} +1 -1
- package/dist/{replace-BSPrhltr.mjs → replace-BqC4Lbx8.mjs} +4 -4
- package/dist/{requirement-check-CoX3mEdF.mjs → requirement-check-DRbwoI1b.mjs} +1 -1
- package/dist/{rescan-values-Cc952DEH.mjs → rescan-values-B4TpBXxC.mjs} +5 -5
- package/dist/{rescan-values-MLAz1ZbW.mjs → rescan-values-DsPZLDbb.mjs} +5 -5
- package/dist/{run-Cc2HW3ZI.mjs → run-BKIK0a8a.mjs} +4 -4
- package/dist/{run-BIpGmnHS.mjs → run-CM6DKKsq.mjs} +2 -2
- package/dist/{run-D4uxDLy7.mjs → run-Nn3LcQrP.mjs} +4 -4
- package/dist/{run-CHMiJcwC.mjs → run-pbgtz67d.mjs} +3 -3
- package/dist/{runs-DUFlS3Z-.mjs → runs-YR9fRqpp.mjs} +3 -3
- package/dist/{runtime-Hl006cLS.mjs → runtime-DIB1SwOx.mjs} +2 -2
- package/dist/{scaffold-DtcfaLeA.mjs → scaffold-DSAGxhM4.mjs} +7 -7
- package/dist/{schema-6P82WjNJ.mjs → schema-B77O8HNq.mjs} +2 -2
- package/dist/{schema-tables-DkDCq2GB.mjs → schema-tables-CROY2lFY.mjs} +5 -5
- package/dist/{schemas-BdcK4Qcy.mjs → schemas-BZeykJMK.mjs} +3 -3
- package/dist/{sdk-version-DH2fl10p.mjs → sdk-version-EO6Z5MWK.mjs} +4 -4
- package/dist/{search-COpkYln7.mjs → search-DpUX9shh.mjs} +3 -3
- package/dist/{search-kIoBsgMB.mjs → search-vAz6mtMU.mjs} +3 -3
- package/dist/{segment-X6wjQqtj.mjs → segment-BuQDmIAu.mjs} +6 -6
- package/dist/{segment-Cf-DrdjE.mjs → segment-DlxnxpxG.mjs} +1 -1
- package/dist/{segment-CWVASaM1.mjs → segment-V08iBQ64.mjs} +1 -1
- package/dist/{send-B6n4B-Mb.mjs → send-CH4-2W8F.mjs} +3 -3
- package/dist/{set-active-RoXnJkfD.mjs → set-active-s2s6wbK6.mjs} +2 -2
- package/dist/{set-data-actions-CRFOH_li.mjs → set-data-actions-Czs4CVUM.mjs} +5 -5
- package/dist/{set-enabled-DfaCOQig.mjs → set-enabled-Whg4BvJp.mjs} +5 -5
- package/dist/{set-sensitivity-BRvy0pfV.mjs → set-sensitivity-ZMta7O73.mjs} +3 -3
- package/dist/{set-CYRe1u4c.mjs → set-wusUzzdT.mjs} +2 -2
- package/dist/{setting-DWdtp4lv.mjs → setting-BEEDySrG.mjs} +4 -4
- package/dist/{setup-DpHz8tm9.mjs → setup-B1cBs305.mjs} +2 -2
- package/dist/{skills-Du8a9V9F.mjs → skills-BI0B01vr.mjs} +3 -3
- package/dist/{skills-313T3aGC.mjs → skills-BdC93OTq.mjs} +2 -2
- package/dist/{slug-DhT4O0Aa.mjs → slug-Bx2peHRP.mjs} +1 -1
- package/dist/snippet-BudZWEPa.mjs +19 -0
- package/dist/{stash-DJ1nYTJS.mjs → stash-DK5m-wNL.mjs} +3 -3
- package/dist/{status-HUitbwTc.mjs → status-A6Nr9wpi.mjs} +2 -2
- package/dist/{status-DuRBpGQa.mjs → status-Dt7Oc-hv.mjs} +3 -3
- package/dist/{subscription-C_BRMkcY.mjs → subscription-D5cz-97N.mjs} +6 -6
- package/dist/{subscriptions-D2sw0LRD.mjs → subscriptions-CeECYNpJ.mjs} +4 -4
- package/dist/{summary-C4v7PVFE.mjs → summary-DvtjgrmL.mjs} +3 -3
- package/dist/{sync-schema-47WF7nm6.mjs → sync-schema-B9t02tIU.mjs} +6 -6
- package/dist/{sync-schema-CQS8hn4e.mjs → sync-schema-DanGbUUK.mjs} +5 -5
- package/dist/{table-hgrX1i-R.mjs → table-CUUcWg9B.mjs} +9 -6
- package/dist/table-DT8JBXUn.mjs +26 -0
- package/dist/{table-CcUdjp8F.mjs → table-J0NrdRFD.mjs} +1 -5
- package/dist/{table-selector-flags-BiFCN3f-.mjs → table-selector-flags-nndlcGx7.mjs} +3 -3
- package/dist/timeline-CJhOl878.mjs +21 -0
- package/dist/{timeline-event-Bia426Y4.mjs → timeline-event-BRWn1-Jo.mjs} +6 -6
- package/dist/transform-CFn-8JFz.mjs +28 -0
- package/dist/transform-job-BV713PJd.mjs +22 -0
- package/dist/{transform-tag-aP0kvj5-.mjs → transform-tag-B6NxVA-b.mjs} +5 -5
- package/dist/transform-test-DNfqmFpa.mjs +16 -0
- package/dist/{transforms-BpykgvzU.mjs → transforms-BGvXOSwI.mjs} +3 -3
- package/dist/{transport-I0zuxki5.mjs → transport-DY7mve8O.mjs} +3 -3
- package/dist/{tree-DZ3YLCje.mjs → tree-Dkn4JGkg.mjs} +2 -2
- package/dist/{unpublish-BH-8N8S9.mjs → unpublish-C3RufZE3.mjs} +3 -3
- package/dist/{unreferenced-BGIPLLRG.mjs → unreferenced--5vCtXh3.mjs} +3 -3
- package/dist/{update-9WG4Ks__.mjs → update-77AF-JXt.mjs} +3 -3
- package/dist/{update-ChMYUZQ8.mjs → update-BrRT2wPS.mjs} +3 -3
- package/dist/{update-CFZsL4Ic.mjs → update-BwsxBUDT.mjs} +3 -3
- package/dist/{update-BlvNFo81.mjs → update-C7G3LOac.mjs} +3 -3
- package/dist/{update-DSPTxIe4.mjs → update-CC94FRBA.mjs} +3 -3
- package/dist/{update-BHAILm8s.mjs → update-CVPMBjO4.mjs} +3 -3
- package/dist/{update-DTNccf-s.mjs → update-CWGVJ9V9.mjs} +3 -3
- package/dist/{update-DWbleEvw.mjs → update-CeAd0kBT.mjs} +5 -5
- package/dist/{update-Bq22f7Zx.mjs → update-Cm2TDQo7.mjs} +3 -3
- package/dist/{update-CnDoasSQ.mjs → update-Cmm0O_kz.mjs} +3 -3
- package/dist/{update-DEDzv1mA.mjs → update-D-u89RhH.mjs} +3 -3
- package/dist/{update-CGJmAKuC2.mjs → update-DHjEgHI42.mjs} +3 -3
- package/dist/{update-Dv4Y0Jyp.mjs → update-DMhf4gSm.mjs} +3 -3
- package/dist/{update-t5WIAXSK.mjs → update-DdpfTdVY.mjs} +5 -5
- package/dist/{update-Dyqk-Vqe.mjs → update-DulM4bXD.mjs} +5 -5
- package/dist/{update-BdvA1vcE.mjs → update-DyKI_pkB.mjs} +3 -3
- package/dist/{update-DFBfTmhv.mjs → update-P3ab7S_H.mjs} +3 -3
- package/dist/{update-Dnw9fBei.mjs → update-SWGW-cnF.mjs} +3 -3
- package/dist/{update-dashcard-DJGaybcJ.mjs → update-dashcard-DySxHOf_.mjs} +3 -3
- package/dist/{update-DTPwJ5xA.mjs → update-hUKuaenz.mjs} +4 -4
- package/dist/{upgrade-DGkndHKX.mjs → upgrade-DVIzu0OQ.mjs} +3 -3
- package/dist/upload-BNT6MMmo.mjs +13 -0
- package/dist/{upload-CqTI_tAv.mjs → upload-CF_cvpnU.mjs} +3 -3
- package/dist/{upload-CnDHOsWN.mjs → upload-Ce2tR-yV.mjs} +1 -1
- package/dist/{uuid-C_Tp0KDF.mjs → uuid-Dlzn6m5U.mjs} +2 -2
- package/dist/{values-DgFZCjtq.mjs → values-Cx4g71tY.mjs} +3 -3
- package/dist/{verify-64UZkL-F.mjs → verify-BRLkumNb.mjs} +3 -3
- package/dist/{verify-DVKZxlxc.mjs → verify-D4jP7QCm.mjs} +2 -2
- package/dist/{verify-CpfETbmC.mjs → verify-qDOwpIYQ.mjs} +3 -3
- package/dist/{wait-DwbaWN87.mjs → wait-CqNQu-LJ.mjs} +4 -4
- package/dist/{wait-flags-BlkgkiZz.mjs → wait-flags-C7z1Gw95.mjs} +2 -2
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +1 -1
- package/skill-data/data-app-migration/SKILL.md +1 -1
- package/dist/api-key-AnD8WQtk.mjs +0 -13
- package/dist/card-Jy0kBLqO.mjs +0 -25
- package/dist/collection-CsWEl350.mjs +0 -21
- package/dist/dashboard-DvoGk7ty.mjs +0 -35
- package/dist/data-action-KdcOST0y.mjs +0 -24
- package/dist/dependency-I9bjDqIy.mjs +0 -15
- package/dist/document-CPA4VsKw.mjs +0 -20
- package/dist/field-DquBSVH3.mjs +0 -21
- package/dist/git-sync-u9IUnjvH.mjs +0 -29
- package/dist/glossary-CVhKIwOq.mjs +0 -14
- package/dist/snippet-uDlfAY2R.mjs +0 -19
- package/dist/table-Bo663yFg.mjs +0 -26
- package/dist/timeline-Qg-9RjSW.mjs +0 -21
- package/dist/transform-Catz8GdK.mjs +0 -28
- package/dist/transform-job-BcaheBK9.mjs +0 -22
- package/dist/transform-test-UNNeneMm.mjs +0 -16
- package/dist/upload-51B4fVXD.mjs +0 -13
package/dist/cli.mjs
CHANGED
|
@@ -527,7 +527,7 @@ function trustSystemCa() {
|
|
|
527
527
|
//#endregion
|
|
528
528
|
//#region package.json
|
|
529
529
|
var name = "@metabase/cli";
|
|
530
|
-
var version = "0.5.
|
|
530
|
+
var version = "0.5.19";
|
|
531
531
|
var description = "Metabase CLI";
|
|
532
532
|
//#endregion
|
|
533
533
|
//#region src/runtime/command-augment.ts
|
|
@@ -547,45 +547,45 @@ const main = defineCommand({
|
|
|
547
547
|
description
|
|
548
548
|
},
|
|
549
549
|
subCommands: {
|
|
550
|
-
auth: () => import("./auth-
|
|
551
|
-
db: () => import("./db-
|
|
552
|
-
table: () => import("./table-
|
|
553
|
-
field: () => import("./field-
|
|
554
|
-
upload: () => import("./upload-
|
|
555
|
-
"content-translation": () => import("./content-translation-
|
|
556
|
-
card: () => import("./card-
|
|
557
|
-
dashboard: () => import("./dashboard-
|
|
558
|
-
subscription: () => import("./subscription-
|
|
559
|
-
"data-action": () => import("./data-action-
|
|
560
|
-
"data-app": () => import("./data-app-
|
|
561
|
-
"api-key": () => import("./api-key-
|
|
562
|
-
alert: () => import("./alert-
|
|
563
|
-
collection: () => import("./collection-
|
|
564
|
-
library: () => import("./library-
|
|
565
|
-
document: () => import("./document-
|
|
566
|
-
glossary: () => import("./glossary-
|
|
567
|
-
transform: () => import("./transform-
|
|
568
|
-
"transform-job": () => import("./transform-job-
|
|
569
|
-
"transform-tag": () => import("./transform-tag-
|
|
570
|
-
"transform-test": () => import("./transform-test-
|
|
571
|
-
ci: () => import("./ci-
|
|
572
|
-
setting: () => import("./setting-
|
|
573
|
-
search: () => import("./search-
|
|
574
|
-
"git-sync": () => import("./git-sync-
|
|
575
|
-
setup: () => import("./setup-
|
|
576
|
-
snippet: () => import("./snippet-
|
|
577
|
-
segment: () => import("./segment-
|
|
578
|
-
measure: () => import("./measure-
|
|
579
|
-
dependency: () => import("./dependency-
|
|
580
|
-
timeline: () => import("./timeline-
|
|
581
|
-
"timeline-event": () => import("./timeline-event-
|
|
582
|
-
eid: () => import("./eid-
|
|
583
|
-
query: () => import("./query-
|
|
584
|
-
schema: () => import("./schema-
|
|
585
|
-
uuid: () => import("./uuid-
|
|
586
|
-
"nano-id": () => import("./nano-id-
|
|
587
|
-
upgrade: () => import("./upgrade-
|
|
588
|
-
skills: () => import("./skills-
|
|
550
|
+
auth: () => import("./auth-k6w99yJQ.mjs").then((mod) => mod.default),
|
|
551
|
+
db: () => import("./db-CD2n5tRG.mjs").then((mod) => mod.default),
|
|
552
|
+
table: () => import("./table-DT8JBXUn.mjs").then((mod) => mod.default),
|
|
553
|
+
field: () => import("./field-CwOYRvFS.mjs").then((mod) => mod.default),
|
|
554
|
+
upload: () => import("./upload-BNT6MMmo.mjs").then((mod) => mod.default),
|
|
555
|
+
"content-translation": () => import("./content-translation-rovYujP9.mjs").then((mod) => mod.default),
|
|
556
|
+
card: () => import("./card-BxNW3J3K.mjs").then((mod) => mod.default),
|
|
557
|
+
dashboard: () => import("./dashboard-BrO2eeyU.mjs").then((mod) => mod.default),
|
|
558
|
+
subscription: () => import("./subscription-D5cz-97N.mjs").then((mod) => mod.default),
|
|
559
|
+
"data-action": () => import("./data-action-DnvwL8kq.mjs").then((mod) => mod.default),
|
|
560
|
+
"data-app": () => import("./data-app-04vagaPu.mjs").then((mod) => mod.default),
|
|
561
|
+
"api-key": () => import("./api-key-CCBiwjPR.mjs").then((mod) => mod.default),
|
|
562
|
+
alert: () => import("./alert-YS966oMm.mjs").then((mod) => mod.default),
|
|
563
|
+
collection: () => import("./collection-Dwi04NEK.mjs").then((mod) => mod.default),
|
|
564
|
+
library: () => import("./library-BivAj7Ps.mjs").then((mod) => mod.default),
|
|
565
|
+
document: () => import("./document-BQpi7mQ7.mjs").then((mod) => mod.default),
|
|
566
|
+
glossary: () => import("./glossary-ZAWJmjei.mjs").then((mod) => mod.default),
|
|
567
|
+
transform: () => import("./transform-CFn-8JFz.mjs").then((mod) => mod.default),
|
|
568
|
+
"transform-job": () => import("./transform-job-BV713PJd.mjs").then((mod) => mod.default),
|
|
569
|
+
"transform-tag": () => import("./transform-tag-B6NxVA-b.mjs").then((mod) => mod.default),
|
|
570
|
+
"transform-test": () => import("./transform-test-DNfqmFpa.mjs").then((mod) => mod.default),
|
|
571
|
+
ci: () => import("./ci-Zo_cN8uz.mjs").then((mod) => mod.default),
|
|
572
|
+
setting: () => import("./setting-BEEDySrG.mjs").then((mod) => mod.default),
|
|
573
|
+
search: () => import("./search-vAz6mtMU.mjs").then((mod) => mod.default),
|
|
574
|
+
"git-sync": () => import("./git-sync-D_VPi8-7.mjs").then((mod) => mod.default),
|
|
575
|
+
setup: () => import("./setup-B1cBs305.mjs").then((mod) => mod.default),
|
|
576
|
+
snippet: () => import("./snippet-BudZWEPa.mjs").then((mod) => mod.default),
|
|
577
|
+
segment: () => import("./segment-BuQDmIAu.mjs").then((mod) => mod.default),
|
|
578
|
+
measure: () => import("./measure-BSYyQmvm.mjs").then((mod) => mod.default),
|
|
579
|
+
dependency: () => import("./dependency-C1CW_liJ.mjs").then((mod) => mod.default),
|
|
580
|
+
timeline: () => import("./timeline-CJhOl878.mjs").then((mod) => mod.default),
|
|
581
|
+
"timeline-event": () => import("./timeline-event-BRWn1-Jo.mjs").then((mod) => mod.default),
|
|
582
|
+
eid: () => import("./eid-B1thdArI.mjs").then((mod) => mod.default),
|
|
583
|
+
query: () => import("./query-D9BnSTin.mjs").then((mod) => mod.default),
|
|
584
|
+
schema: () => import("./schema-B77O8HNq.mjs").then((mod) => mod.default),
|
|
585
|
+
uuid: () => import("./uuid-Dlzn6m5U.mjs").then((mod) => mod.default),
|
|
586
|
+
"nano-id": () => import("./nano-id-Bb1Hquz0.mjs").then((mod) => mod.default),
|
|
587
|
+
upgrade: () => import("./upgrade-DVIzu0OQ.mjs").then((mod) => mod.default),
|
|
588
|
+
skills: () => import("./skills-BI0B01vr.mjs").then((mod) => mod.default)
|
|
589
589
|
}
|
|
590
590
|
});
|
|
591
591
|
setMetabaseAugment(main, {
|
|
@@ -712,14 +712,15 @@ const STATUS_CLASSIFICATIONS = {
|
|
|
712
712
|
message: "Metabase timed out responding."
|
|
713
713
|
}
|
|
714
714
|
};
|
|
715
|
+
const OptionalText = z.string().optional().catch(void 0);
|
|
715
716
|
const ErrorEnvelope = z.object({
|
|
716
|
-
message:
|
|
717
|
-
error:
|
|
718
|
-
"error-message":
|
|
719
|
-
via: z.array(z.object({ message:
|
|
717
|
+
message: OptionalText,
|
|
718
|
+
error: OptionalText,
|
|
719
|
+
"error-message": OptionalText,
|
|
720
|
+
via: z.array(z.object({ message: OptionalText }).loose()).optional().catch(void 0),
|
|
720
721
|
"specific-errors": z.unknown().optional(),
|
|
721
722
|
errors: z.unknown().optional(),
|
|
722
|
-
"error-code":
|
|
723
|
+
"error-code": OptionalText,
|
|
723
724
|
"non-remote-synced-models": z.unknown().optional(),
|
|
724
725
|
"remote-synced-models": z.unknown().optional(),
|
|
725
726
|
tables: z.unknown().optional()
|
|
@@ -734,15 +735,29 @@ const NON_REMOTE_SYNCED_REMEDY = "Move that content into a synced collection fir
|
|
|
734
735
|
const REMOTE_SYNCED_REMEDY = "Update that content so it no longer uses this first, or move it out of sync along with this.";
|
|
735
736
|
const FieldErrorNodeSchema = z.lazy(() => z.union([
|
|
736
737
|
z.string(),
|
|
737
|
-
z.
|
|
738
|
+
z.null(),
|
|
739
|
+
z.array(FieldErrorNodeSchema),
|
|
738
740
|
z.record(z.string(), FieldErrorNodeSchema)
|
|
739
741
|
]));
|
|
740
742
|
const FieldErrorTree = z.record(z.string(), FieldErrorNodeSchema);
|
|
741
743
|
const FIELD_MESSAGE_SEPARATOR = "; ";
|
|
744
|
+
const TOP_LEVEL_FIELD_END = /[.[]/;
|
|
745
|
+
const MAX_FIELD_MESSAGE_LEN = 4096;
|
|
746
|
+
function topLevelField(path) {
|
|
747
|
+
const end = path.search(TOP_LEVEL_FIELD_END);
|
|
748
|
+
return end === -1 ? path : path.slice(0, end);
|
|
749
|
+
}
|
|
750
|
+
function formatFieldPath(path) {
|
|
751
|
+
return path.map((segment, position) => {
|
|
752
|
+
if (typeof segment === "number") return `[${segment}]`;
|
|
753
|
+
return position === 0 ? segment : `.${segment}`;
|
|
754
|
+
}).join("");
|
|
755
|
+
}
|
|
742
756
|
const MAX_EXTRACTED_MESSAGE_LEN = 500;
|
|
743
757
|
const ELLIPSIS = "…";
|
|
744
758
|
const GOT_VALUE_PATTERN = /got: ((?:[^"\\]|\\.)*)/g;
|
|
745
|
-
const
|
|
759
|
+
const MAX_QUOTED_VALUE_LEN = 60;
|
|
760
|
+
const MAX_MESSAGE_SENTENCE_LEN = 200;
|
|
746
761
|
var HttpError = class HttpError extends MetabaseError {
|
|
747
762
|
category = "http";
|
|
748
763
|
status;
|
|
@@ -792,7 +807,6 @@ function partsOf(error, restatedAs) {
|
|
|
792
807
|
}
|
|
793
808
|
function readParts(input) {
|
|
794
809
|
const sanitizedBody = sanitizeBody(input.rawBody, input.redactionContext);
|
|
795
|
-
const quotedBody = storedBody(sanitizedBody);
|
|
796
810
|
const redactedHeaders = redactHeaders(input.responseHeaders);
|
|
797
811
|
const bodyJson = parseBodyJson(sanitizedBody);
|
|
798
812
|
const envelope = parseOrNull(ErrorEnvelope, bodyJson);
|
|
@@ -803,8 +817,8 @@ function readParts(input) {
|
|
|
803
817
|
};
|
|
804
818
|
const kind = classifyKind(input.status, answer);
|
|
805
819
|
const said = {
|
|
806
|
-
envelope: parseEnvelopeMessage(
|
|
807
|
-
text: plainTextMessage(
|
|
820
|
+
envelope: parseEnvelopeMessage(envelope),
|
|
821
|
+
text: plainTextMessage(sanitizedBody, redactedHeaders)
|
|
808
822
|
};
|
|
809
823
|
const fields = extractEnvelopeViews(envelope);
|
|
810
824
|
return {
|
|
@@ -817,7 +831,7 @@ function readParts(input) {
|
|
|
817
831
|
method: input.method,
|
|
818
832
|
url: input.url,
|
|
819
833
|
responseHeaders: redactedHeaders,
|
|
820
|
-
body:
|
|
834
|
+
body: storedBody(sanitizedBody),
|
|
821
835
|
fieldErrors: fields.fieldErrors,
|
|
822
836
|
specificFieldErrors: fields.specificFieldErrors,
|
|
823
837
|
errorCode: fields.errorCode,
|
|
@@ -935,9 +949,9 @@ function parseOrNull(schema, value) {
|
|
|
935
949
|
function parseFieldErrors(value) {
|
|
936
950
|
const parsed = FieldErrorTree.safeParse(value);
|
|
937
951
|
if (!parsed.success) return null;
|
|
938
|
-
const
|
|
939
|
-
if (
|
|
940
|
-
return Object.fromEntries(
|
|
952
|
+
const parts = collectRefusedParts(parsed.data);
|
|
953
|
+
if (parts.length === 0) return null;
|
|
954
|
+
return Object.fromEntries(parts.map((part) => [part.path, cutToLength(part.sentences.join(FIELD_MESSAGE_SEPARATOR), MAX_FIELD_MESSAGE_LEN)]));
|
|
941
955
|
}
|
|
942
956
|
function parseEnvelopeMessage(envelope) {
|
|
943
957
|
if (envelope === null) return null;
|
|
@@ -945,11 +959,7 @@ function parseEnvelopeMessage(envelope) {
|
|
|
945
959
|
if (topLevel) return appendRemoteSyncConflict(condenseMessage(topLevel), envelope);
|
|
946
960
|
const viaMessage = envelope.via?.find((entry) => entry.message)?.message;
|
|
947
961
|
if (viaMessage) return condenseMessage(viaMessage);
|
|
948
|
-
|
|
949
|
-
if (specific) return condenseMessage(specific);
|
|
950
|
-
const generic = formatErrorTree(envelope.errors);
|
|
951
|
-
if (generic) return condenseMessage(generic);
|
|
952
|
-
return null;
|
|
962
|
+
return formatErrorTree(envelope["specific-errors"]) ?? formatErrorTree(envelope.errors);
|
|
953
963
|
}
|
|
954
964
|
function appendRemoteSyncConflict(message, envelope) {
|
|
955
965
|
const dependencies = parseOrNull(NonRemoteSyncedDependencies, envelope["non-remote-synced-models"]);
|
|
@@ -970,46 +980,77 @@ function formatRemoteSyncedDependent(dependent) {
|
|
|
970
980
|
function listRemoteSyncEntries(entries) {
|
|
971
981
|
const listed = entries.slice(0, MAX_LISTED_REMOTE_SYNC_ENTRIES).join(REMOTE_SYNC_ENTRY_SEPARATOR);
|
|
972
982
|
const unlisted = entries.length - MAX_LISTED_REMOTE_SYNC_ENTRIES;
|
|
973
|
-
return unlisted > 0 ? `${listed}${REMOTE_SYNC_ENTRY_SEPARATOR}
|
|
983
|
+
return unlisted > 0 ? `${listed}${REMOTE_SYNC_ENTRY_SEPARATOR}${andMore(unlisted)}` : listed;
|
|
984
|
+
}
|
|
985
|
+
function andMore(unlisted) {
|
|
986
|
+
return `and ${unlisted} more`;
|
|
974
987
|
}
|
|
975
988
|
function withoutTrailingPeriod(message) {
|
|
976
989
|
return message.endsWith(".") ? message.slice(0, -1) : message;
|
|
977
990
|
}
|
|
978
|
-
function
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
return entry.path === "" ? entry.message : `${entry.path}: ${entry.message}`;
|
|
985
|
-
}
|
|
986
|
-
function collectLeafEntries(value, path) {
|
|
987
|
-
if (typeof value === "string") {
|
|
988
|
-
const trimmed = value.trim();
|
|
989
|
-
return trimmed === "" ? [] : [{
|
|
990
|
-
path: path.join("."),
|
|
991
|
-
message: trimmed
|
|
991
|
+
function collectRefusedParts(value) {
|
|
992
|
+
return collectLeaves(value, []).flatMap((leaf) => {
|
|
993
|
+
const distinct = distinctSentences(leaf.sentences);
|
|
994
|
+
return distinct.length === 0 ? [] : [{
|
|
995
|
+
path: formatFieldPath(leaf.path),
|
|
996
|
+
sentences: distinct
|
|
992
997
|
}];
|
|
993
|
-
}
|
|
998
|
+
});
|
|
999
|
+
}
|
|
1000
|
+
function collectLeaves(value, path) {
|
|
1001
|
+
if (typeof value === "string") return [{
|
|
1002
|
+
path,
|
|
1003
|
+
sentences: [value]
|
|
1004
|
+
}];
|
|
994
1005
|
if (Array.isArray(value)) {
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
path: path.join("."),
|
|
999
|
-
message: messages.join(FIELD_MESSAGE_SEPARATOR)
|
|
1006
|
+
if (value.every((entry) => typeof entry === "string")) return [{
|
|
1007
|
+
path,
|
|
1008
|
+
sentences: value
|
|
1000
1009
|
}];
|
|
1010
|
+
return value.flatMap((item, index) => collectLeaves(item, [...path, index]));
|
|
1001
1011
|
}
|
|
1002
|
-
if (isPlainObject(value)) return Object.entries(value).flatMap(([key, child]) =>
|
|
1012
|
+
if (isPlainObject(value)) return Object.entries(value).flatMap(([key, child]) => collectLeaves(child, [...path, key]));
|
|
1003
1013
|
return [];
|
|
1004
1014
|
}
|
|
1015
|
+
function distinctSentences(sentences) {
|
|
1016
|
+
return [...new Set(sentences.map((sentence) => sentence.trim()))].filter((sentence) => sentence !== "");
|
|
1017
|
+
}
|
|
1018
|
+
function formatErrorTree(value) {
|
|
1019
|
+
const [first, ...rest] = collectRefusedParts(value).map(formatPartForMessage);
|
|
1020
|
+
if (first === void 0) return null;
|
|
1021
|
+
return listWithinBudget(first, rest);
|
|
1022
|
+
}
|
|
1023
|
+
function formatPartForMessage(part) {
|
|
1024
|
+
const description = part.sentences.map((sentence) => cutToLength(trimGotValues(sentence), MAX_MESSAGE_SENTENCE_LEN)).join(FIELD_MESSAGE_SEPARATOR);
|
|
1025
|
+
return part.path === "" ? description : `${part.path}: ${description}`;
|
|
1026
|
+
}
|
|
1027
|
+
function listWithinBudget(first, rest) {
|
|
1028
|
+
let listed = [cutToLength(first, MAX_EXTRACTED_MESSAGE_LEN - unlistedTail(rest.length).length)];
|
|
1029
|
+
for (const [index, part] of rest.entries()) {
|
|
1030
|
+
const next = [...listed, part];
|
|
1031
|
+
if (withUnlisted(next, rest.length - index - 1).length > MAX_EXTRACTED_MESSAGE_LEN) break;
|
|
1032
|
+
listed = next;
|
|
1033
|
+
}
|
|
1034
|
+
return withUnlisted(listed, rest.length + 1 - listed.length);
|
|
1035
|
+
}
|
|
1036
|
+
function withUnlisted(listed, unlisted) {
|
|
1037
|
+
return `${listed.join(FIELD_MESSAGE_SEPARATOR)}${unlistedTail(unlisted)}`;
|
|
1038
|
+
}
|
|
1039
|
+
function unlistedTail(unlisted) {
|
|
1040
|
+
return unlisted > 0 ? `${FIELD_MESSAGE_SEPARATOR}${andMore(unlisted)}` : "";
|
|
1041
|
+
}
|
|
1005
1042
|
function condenseMessage(message) {
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1043
|
+
return cutToLength(trimGotValues(message), MAX_EXTRACTED_MESSAGE_LEN);
|
|
1044
|
+
}
|
|
1045
|
+
function cutToLength(text, maxLength) {
|
|
1046
|
+
if (text.length <= maxLength) return text;
|
|
1047
|
+
return text.slice(0, maxLength - 1) + ELLIPSIS;
|
|
1048
|
+
}
|
|
1049
|
+
function trimGotValues(text) {
|
|
1050
|
+
return text.replace(GOT_VALUE_PATTERN, (_match, value) => `got: ${clipQuotedValue(value)}`);
|
|
1009
1051
|
}
|
|
1010
|
-
function
|
|
1011
|
-
|
|
1012
|
-
return `got: ${value.slice(0, MAX_GOT_VALUE_LEN)}${ELLIPSIS}`;
|
|
1052
|
+
function clipQuotedValue(value) {
|
|
1053
|
+
return value.length <= MAX_QUOTED_VALUE_LEN ? value : value.slice(0, MAX_QUOTED_VALUE_LEN) + ELLIPSIS;
|
|
1013
1054
|
}
|
|
1014
1055
|
function defaultMessageForStatus(status) {
|
|
1015
1056
|
return STATUS_CLASSIFICATIONS[status]?.message ?? `Metabase returned ${status}.`;
|
|
@@ -1023,7 +1064,6 @@ const FEATURE_RULES = {
|
|
|
1023
1064
|
since: 65,
|
|
1024
1065
|
tokenFeature: "data-apps"
|
|
1025
1066
|
},
|
|
1026
|
-
dataAppEditing: { since: 66 },
|
|
1027
1067
|
transforms: { since: 59 },
|
|
1028
1068
|
transformJobActivation: { since: 61 },
|
|
1029
1069
|
builtInTransformJobsStartInactive: { since: 66 },
|
|
@@ -1037,6 +1077,7 @@ const FEATURE_RULES = {
|
|
|
1037
1077
|
},
|
|
1038
1078
|
libraryDashboards: { since: 65 },
|
|
1039
1079
|
tablePublishTargetCollection: { since: 62 },
|
|
1080
|
+
tablePublishedByCollection: { since: 66 },
|
|
1040
1081
|
remoteSync: {
|
|
1041
1082
|
since: 58,
|
|
1042
1083
|
tokenFeature: "remote_sync"
|
|
@@ -1775,11 +1816,8 @@ const METHOD_REQUIREMENTS = {
|
|
|
1775
1816
|
"dataAction.execute": [],
|
|
1776
1817
|
"dataApp.list": ["dataApps"],
|
|
1777
1818
|
"dataApp.get": ["dataApps"],
|
|
1778
|
-
"dataApp.create": ["dataApps", "dataAppEditing"],
|
|
1779
1819
|
"dataApp.update": ["dataApps"],
|
|
1780
1820
|
"dataApp.getBundle": ["dataApps"],
|
|
1781
|
-
"dataApp.updateBundle": ["dataApps", "dataAppEditing"],
|
|
1782
|
-
"dataApp.delete": ["dataApps", "dataAppEditing"],
|
|
1783
1821
|
"dataApp.generateSchema": ["dataApps"],
|
|
1784
1822
|
"dataApp.generateQueries": ["dataApps"],
|
|
1785
1823
|
"dataApp.generateActions": ["dataApps"],
|
|
@@ -2427,4 +2465,4 @@ run().catch((error) => {
|
|
|
2427
2465
|
reportError(error);
|
|
2428
2466
|
});
|
|
2429
2467
|
//#endregion
|
|
2430
|
-
export { isHttpNotFound as $, ENV_DISABLE_KEYRING as A,
|
|
2468
|
+
export { isHttpNotFound as $, ENV_DISABLE_KEYRING as A, parseEnumCsv as At, missingTokenFeatureMessage as B, promptSelect as C, parseOptionalInteger as Ct, preflightUncheckedNotice as D, givenFlagKeys as Dt, preflightSkippedNotice as E, assertArgv as Et, consumeLegacyEnvWarnings as F, Features as G, versionTooOldMessage as H, readEnv as I, isFeatureName as J, evaluateFeatures as K, ProfileRefreshedError as L, ENV_SKILLS_DIR as M, ENV_SKIP_PREFLIGHT as N, warn as O, parseCsv as Ot, ENV_URL as P, chainRequestFailure as Q, CapabilityError as R, promptPassword as S, parseInteger as St, listTruncationNotice as T, listEnvelopeSchemaWithExtras as Tt, FEATURE_NAMES as U, versionTooNewMessage as V, FEATURE_RULES as W, HttpError as X, ruleGap as Y, SyncRefusedError as Z, MALFORMED_CELL as _, outputFlags as _t, exitCodeFor as a, parseJsonOrPlain as at, projectForList as b, resolveCommonFlags as bt, lineWriter as c, getMetabaseAugment as ct, renderListWithExtras as d, version as dt, isRetryableStatus as et, renderSummary as f, connectionFlags as ft, writeText as g, listFlagsWithDefaultLimit as gt, writeJson as h, listFlags as ht, methodRequirements as i, parseJson as it, ENV_PROFILE as j, resolveCitty as jt, ENV_API_KEY as k, parseEnum as kt, renderItem as l, setMetabaseAugment as lt, serializeJson as m, listFlag as mt, resolveCommandPath as n, errorBodyJson as nt, reportError as o, parseJsonResult as ot, renderSummaryWithinMaxBytes as p, formatFlags as pt, featureAvailability as q, isMethodKey as r, JSON_CONTENT_TYPE as rt, jsonLineWriter as s, main as st, interruptSignal as t, topLevelField as tt, renderList as u, name as ut, formatScalar as v, profileFlag as vt, promptText as w, listEnvelopeSchema as wt, promptConfirm as x, resolveOutputFormat as xt, renderRows as y, urlFlag as yt, RequirementFailure as z };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import { _ as errorMessage, b as isNonInterruptFailure, f as PartialWriteError, i as isThenable, l as InternalError, m as TimeoutError, p as ResponseShapeError, r as isPlainObject, s as ConfigError, v as formatZodIssue } from "./predicates-DQA0AsBx.mjs";
|
|
2
|
-
import { R as CapabilityError, X as HttpError, Z as SyncRefusedError, at as
|
|
2
|
+
import { R as CapabilityError, X as HttpError, Z as SyncRefusedError, at as parseJsonOrPlain, i as methodRequirements, nt as errorBodyJson, ot as parseJsonResult, r as isMethodKey, tt as topLevelField } from "./cli.mjs";
|
|
3
3
|
import { i as NotificationCardPayload, n as CARD_PAYLOAD_TYPE, r as Notification, t as AnyNotification } from "./notification-B5yMuPmo.mjs";
|
|
4
|
-
import { H as profileFromProperties, W as combineAborts, ct as sessionSettingsSchema, st as SessionProperties } from "./runtime-
|
|
4
|
+
import { H as profileFromProperties, W as combineAborts, ct as sessionSettingsSchema, st as SessionProperties } from "./runtime-DIB1SwOx.mjs";
|
|
5
5
|
import { i as CreatedApiKey, t as ApiKey } from "./api-key-DbsqHlN6.mjs";
|
|
6
|
-
import { n as featureFailures, r as supersedingFeature, t as checkFeatures } from "./requirement-check-
|
|
7
|
-
import { n as createTransport } from "./transport-
|
|
6
|
+
import { n as featureFailures, r as supersedingFeature, t as checkFeatures } from "./requirement-check-DRbwoI1b.mjs";
|
|
7
|
+
import { n as createTransport } from "./transport-DY7mve8O.mjs";
|
|
8
8
|
import { i as CardDetail, o as CardQueryResult, t as Card } from "./card-BJRZ5D5Q.mjs";
|
|
9
9
|
import { t as gateInput } from "./input-gate-registry-Dh8QjKgW.mjs";
|
|
10
10
|
import { _ as fieldRemappedValueSchema, c as FieldSemanticType, d as FieldValues, g as fieldDetailSchema, p as FieldWithDataSensitivity, r as FieldBaseType, s as FieldSearchMatches, t as DATA_SENSITIVITY_GATE } from "./field-C2qOViFZ.mjs";
|
|
11
11
|
import { r as ModerationReviewCreateInput, t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
|
|
12
12
|
import { i as ParameterValues, o as TemporalUnit } from "./parameter-Bucz3cLJ.mjs";
|
|
13
13
|
import { r as PivotExportFormat, t as DatasetQuery } from "./query-BKtMP5eH.mjs";
|
|
14
|
-
import { S as TableSelectors, _ as TableQueryMetadata, a as Table, d as TableDataLayerTier, m as TableForeignKey, n as DATA_LAYER_MEDALLION_GATE, r as DATA_LAYER_TIER_GATE, t as DATA_AUTHORITY_WITHDRAWAL_GATE, w as TableVisibilityType } from "./table-
|
|
15
|
-
import { c as DatabaseWithSettings, t as Database } from "./database-
|
|
14
|
+
import { S as TableSelectors, T as withoutPublicationFlags, _ as TableQueryMetadata, a as Table, d as TableDataLayerTier, m as TableForeignKey, n as DATA_LAYER_MEDALLION_GATE, r as DATA_LAYER_TIER_GATE, t as DATA_AUTHORITY_WITHDRAWAL_GATE, w as TableVisibilityType } from "./table-CUUcWg9B.mjs";
|
|
15
|
+
import { c as DatabaseWithSettings, t as Database } from "./database-4H_xFe5L.mjs";
|
|
16
16
|
import { t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
17
|
-
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-
|
|
17
|
+
import { r as QueryMetadata, t as CompiledQuery } from "./dataset-CzctaQxh.mjs";
|
|
18
18
|
import { c as CollectionItem, h as CollectionTreeNode, m as CollectionSummary, r as Collection } from "./collection-875u7UiH.mjs";
|
|
19
19
|
import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
|
|
20
20
|
import { a as DashboardCreateInput, f as Dashcard, g as dashboardDetailSchema, r as DashboardCopy, t as Dashboard } from "./dashboard-D5BJZS3L.mjs";
|
|
21
21
|
import { l as dataActionSchema, n as DATA_ACTION_TABLE_GATE, s as DataActionExecuteResult, t as DATA_ACTION_COLLECTION_GATE } from "./data-action-DAw6WRTH.mjs";
|
|
22
|
-
import { a as
|
|
23
|
-
import { a as pollWithin, i as pollUntil, o as startDeadline, r as checkSchedule } from "./poll-
|
|
22
|
+
import { a as DataAppGeneratedFiles, i as DataAppEntry, t as DataApp } from "./data-app-C0CqZBQK.mjs";
|
|
23
|
+
import { a as pollWithin, i as pollUntil, o as startDeadline, r as checkSchedule } from "./poll-DUN8Fj7I.mjs";
|
|
24
24
|
import { i as DependencyEntity, s as DependencyGraph, t as BreakingSource, u as DependencyNode } from "./dependency-00_O1kxU.mjs";
|
|
25
25
|
import { t as Document } from "./document-ks1uxhBt.mjs";
|
|
26
26
|
import { i as EidTranslateResult } from "./eid-translation-Ba92VOHe.mjs";
|
|
27
27
|
import { _ as syncDirtyItemSchema, a as SyncExportPreflight, b as syncUnsyncedDependencySchema, g as isSyncTaskTerminal, n as SyncBranchCreated, r as SyncConnectionTested, t as RemoteSyncState, u as SyncSettingsUpdateResult, v as syncRemoteChangesSchema, y as syncTaskSchema } from "./git-sync-CfDVrtF4.mjs";
|
|
28
28
|
import { t as Glossary } from "./glossary-CnSPXHAd.mjs";
|
|
29
|
-
import { a as libraryWireSchema, i as LibraryPublishTablesInput, n as LibraryCollectionInfo, o as toLibrary } from "./library-
|
|
30
|
-
import { t as Measure } from "./measure-
|
|
29
|
+
import { a as libraryWireSchema, i as LibraryPublishTablesInput, n as LibraryCollectionInfo, o as toLibrary } from "./library-DoI-9rnh.mjs";
|
|
30
|
+
import { t as Measure } from "./measure-C-Fcemj7.mjs";
|
|
31
31
|
import { o as SUBSCRIPTION_FILTERS_GATE, t as Pulse } from "./pulse-B2AmIWsO.mjs";
|
|
32
32
|
import { _ as transformRowSchema, a as TransformDagTransform, d as TransformTarget, g as transformDetailSchema, h as keyedByAlias, i as TransformDagRunResult, l as TransformRunSummary, m as isTransformRunTerminal, o as TransformRun, p as isTransformRunFailed, u as TransformSourceTableEntryInput, v as transformSourceBody } from "./transform-B62craFM.mjs";
|
|
33
33
|
import { r as SearchResult } from "./search-1et9tv_s.mjs";
|
|
34
|
-
import { t as Segment } from "./segment-
|
|
34
|
+
import { t as Segment } from "./segment-DlxnxpxG.mjs";
|
|
35
35
|
import { t as Setting } from "./setting-DTiLCW8g.mjs";
|
|
36
36
|
import { n as SetupResult } from "./setup-BnczkG96.mjs";
|
|
37
37
|
import { i as TimelineEvent, t as Timeline } from "./timeline-DcsCXNUt.mjs";
|
|
@@ -353,10 +353,6 @@ function pointsElsewhere(call, profile, refusal) {
|
|
|
353
353
|
function rejectedFields(refusal) {
|
|
354
354
|
return [refusal.fieldErrors, refusal.specificFieldErrors].flatMap((errors) => errors === null ? [] : Object.keys(errors).map(topLevelField));
|
|
355
355
|
}
|
|
356
|
-
function topLevelField(path) {
|
|
357
|
-
const end = path.indexOf(".");
|
|
358
|
-
return end === -1 ? path : path.slice(0, end);
|
|
359
|
-
}
|
|
360
356
|
//#endregion
|
|
361
357
|
//#region ../client/src/resources/collection.ts
|
|
362
358
|
const CollectionApiList = z.array(Collection);
|
|
@@ -874,41 +870,17 @@ function dataAppResource(transport) {
|
|
|
874
870
|
async function get(slug, options = {}) {
|
|
875
871
|
return transport.requestParsed(DataAppEntry, appPath(slug), { ...options });
|
|
876
872
|
}
|
|
877
|
-
/** Create a data app with its resource collection and an empty bundle; it is enabled unless the body says otherwise. */
|
|
878
|
-
async function create(params, options = {}) {
|
|
879
|
-
return transport.requestParsed(DataApp, DATA_APPS_PATH, {
|
|
880
|
-
...options,
|
|
881
|
-
method: "POST",
|
|
882
|
-
body: params
|
|
883
|
-
});
|
|
884
|
-
}
|
|
885
873
|
/**
|
|
886
|
-
*
|
|
887
|
-
*
|
|
874
|
+
* Enable or disable a data app. A disabled app is served to admins alone; an app otherwise changes
|
|
875
|
+
* only through a repository import.
|
|
888
876
|
*/
|
|
889
877
|
async function update(slug, params, options = {}) {
|
|
890
|
-
const editsManifest = [
|
|
891
|
-
"name",
|
|
892
|
-
"description",
|
|
893
|
-
"version",
|
|
894
|
-
"bundle_path",
|
|
895
|
-
"allowed_hosts"
|
|
896
|
-
].some((key) => gateTriggered(DATA_APP_EDITING_GATE, params[key]));
|
|
897
|
-
await transport.requireFeatures(editsManifest ? [DATA_APP_EDITING_GATE.feature] : [], options);
|
|
898
878
|
return transport.requestParsed(DataApp, appPath(slug), {
|
|
899
879
|
...options,
|
|
900
880
|
method: "PUT",
|
|
901
881
|
body: params
|
|
902
882
|
});
|
|
903
883
|
}
|
|
904
|
-
/** Replace a data app's bundle with the text of a built bundle. */
|
|
905
|
-
async function updateBundle(slug, bundle, options = {}) {
|
|
906
|
-
return transport.requestParsed(DataApp, `${appPath(slug)}/bundle`, {
|
|
907
|
-
...options,
|
|
908
|
-
method: "PUT",
|
|
909
|
-
body: { bundle }
|
|
910
|
-
});
|
|
911
|
-
}
|
|
912
884
|
/** Read a data app's bundle, the text of its built JavaScript; admins read a disabled app's too. */
|
|
913
885
|
async function getBundle(slug, options = {}) {
|
|
914
886
|
return (await transport.requestRaw(`${appPath(slug)}/bundle`, {
|
|
@@ -917,14 +889,6 @@ function dataAppResource(transport) {
|
|
|
917
889
|
expectContentType: "binary"
|
|
918
890
|
})).text();
|
|
919
891
|
}
|
|
920
|
-
/** Delete a data app with its bundle, its collection and the grants on it. */
|
|
921
|
-
async function remove(slug, options = {}) {
|
|
922
|
-
await transport.requestRaw(appPath(slug), {
|
|
923
|
-
...options,
|
|
924
|
-
method: "DELETE",
|
|
925
|
-
expectContentType: "binary"
|
|
926
|
-
});
|
|
927
|
-
}
|
|
928
892
|
/** An app's `src/metabase.schema.ts`: the Library's published tables, with their fields, segments and measures, and the Library's metrics. */
|
|
929
893
|
async function generateSchema(options = {}) {
|
|
930
894
|
return transport.requestParsed(DataAppGeneratedFiles, `${DATA_APPS_PATH}/generate/schema`, { ...options });
|
|
@@ -948,11 +912,8 @@ function dataAppResource(transport) {
|
|
|
948
912
|
return {
|
|
949
913
|
list: explain("list", list),
|
|
950
914
|
get: explain("get", get),
|
|
951
|
-
create: explain("create", create),
|
|
952
915
|
update: explain("update", update),
|
|
953
916
|
getBundle: explain("getBundle", getBundle),
|
|
954
|
-
updateBundle: explain("updateBundle", updateBundle),
|
|
955
|
-
delete: explain("delete", remove),
|
|
956
917
|
generateSchema: explain("generateSchema", generateSchema),
|
|
957
918
|
generateQueries: explain("generateQueries", generateQueries),
|
|
958
919
|
generateActions: explain("generateActions", generateActions)
|
|
@@ -966,7 +927,7 @@ const DatabaseApiList = z.object({
|
|
|
966
927
|
}).loose();
|
|
967
928
|
const DatabaseTaskAck = z.object({ status: z.literal("ok") });
|
|
968
929
|
const DatabaseApiSchemaList = z.array(z.string());
|
|
969
|
-
const DatabaseApiSchemaTableList = z.array(Table);
|
|
930
|
+
const DatabaseApiSchemaTableList = z.array(Table.transform(withoutPublicationFlags));
|
|
970
931
|
const SYNC_COMPLETE = "complete";
|
|
971
932
|
function databaseResource(transport) {
|
|
972
933
|
/** List databases. `include` hydrates each database's tables; `saved` adds the Saved Questions virtual database. */
|
|
@@ -3230,7 +3191,10 @@ function snippetResource(transport) {
|
|
|
3230
3191
|
}
|
|
3231
3192
|
//#endregion
|
|
3232
3193
|
//#region ../client/src/resources/table.ts
|
|
3233
|
-
const TableApiList = z.array(Table);
|
|
3194
|
+
const TableApiList = z.array(Table.transform(withoutPublicationFlags));
|
|
3195
|
+
const TableApi = Table.transform(withoutPublicationFlags);
|
|
3196
|
+
const TableApiQueryMetadata = TableQueryMetadata.transform(withoutPublicationFlags);
|
|
3197
|
+
const TableUpdateAnswerV58 = Table.extend({ collection_id: z.number().int().nullable() });
|
|
3234
3198
|
const TableApiFks = z.array(TableForeignKey);
|
|
3235
3199
|
const SyncSchemaResponse = z.object({ status: z.literal("ok") });
|
|
3236
3200
|
const FieldValuesResponse = z.object({ status: z.literal("success") });
|
|
@@ -3292,20 +3256,24 @@ function tableResource(transport) {
|
|
|
3292
3256
|
}
|
|
3293
3257
|
/** Get one table by id, without its fields. */
|
|
3294
3258
|
async function get(id, options = {}) {
|
|
3295
|
-
return transport.requestParsed(
|
|
3259
|
+
return transport.requestParsed(TableApi, `/api/table/${id}`, { ...options });
|
|
3296
3260
|
}
|
|
3297
3261
|
/** Update a table by id, patching only the fields the body carries. */
|
|
3298
3262
|
async function update(id, params, options = {}) {
|
|
3299
3263
|
await refuseRewrittenDataLayer(params.data_layer, options);
|
|
3300
3264
|
await requireDataAuthorityNull(params.data_authority, options);
|
|
3301
3265
|
const path = `/api/table/${id}`;
|
|
3302
|
-
const
|
|
3266
|
+
const put = (schema) => transport.requestParsed(schema, path, {
|
|
3303
3267
|
...options,
|
|
3304
3268
|
method: "PUT",
|
|
3305
3269
|
body: params
|
|
3306
3270
|
});
|
|
3307
|
-
|
|
3308
|
-
|
|
3271
|
+
if (params.collection_id === void 0) return put(TableApi);
|
|
3272
|
+
const { features } = await transport.server(options);
|
|
3273
|
+
if (features.tablePublishedByCollection) return put(TableApi);
|
|
3274
|
+
const answered = await put(TableUpdateAnswerV58);
|
|
3275
|
+
assertCollectionWritten(path, params.collection_id, answered);
|
|
3276
|
+
return withoutPublicationFlags(answered);
|
|
3309
3277
|
}
|
|
3310
3278
|
async function refuseRewrittenDataLayer(value, options) {
|
|
3311
3279
|
if (!gateTriggered(DATA_LAYER_MEDALLION_GATE, value)) return;
|
|
@@ -3317,7 +3285,7 @@ function tableResource(transport) {
|
|
|
3317
3285
|
}
|
|
3318
3286
|
/** Get a table by id with its fields hydrated — the metadata the query builder runs on. */
|
|
3319
3287
|
async function queryMetadata(id, options = {}) {
|
|
3320
|
-
return transport.requestParsed(
|
|
3288
|
+
return transport.requestParsed(TableApiQueryMetadata, `/api/table/${id}/query_metadata`, { ...options });
|
|
3321
3289
|
}
|
|
3322
3290
|
/**
|
|
3323
3291
|
* Get every foreign key whose destination is a field of this table. A table with no active
|
|
@@ -3473,23 +3441,21 @@ function tableResource(transport) {
|
|
|
3473
3441
|
};
|
|
3474
3442
|
}
|
|
3475
3443
|
function assertCollectionWritten(path, requested, table) {
|
|
3476
|
-
if (
|
|
3477
|
-
|
|
3478
|
-
kind: "reported",
|
|
3479
|
-
value: table.collection_id
|
|
3480
|
-
};
|
|
3481
|
-
throw new PartialWriteError(`the server applied the rest of the update to table ${table.id} but not collection_id: ${describeCollectionAnswer(answered)}, because this server does not move a table to a collection through an update`, {
|
|
3444
|
+
if (table.collection_id === requested) return;
|
|
3445
|
+
throw new PartialWriteError(`the server applied the rest of the update to table ${table.id} but not collection_id: ${describeCollection(table.collection_id)}, because this server does not move a table to a collection through an update`, {
|
|
3482
3446
|
method: "PUT",
|
|
3483
3447
|
path,
|
|
3484
3448
|
field: "collection_id",
|
|
3485
3449
|
requested,
|
|
3486
|
-
answered
|
|
3450
|
+
answered: {
|
|
3451
|
+
kind: "reported",
|
|
3452
|
+
value: table.collection_id
|
|
3453
|
+
}
|
|
3487
3454
|
});
|
|
3488
3455
|
}
|
|
3489
|
-
function
|
|
3490
|
-
if (
|
|
3491
|
-
|
|
3492
|
-
return `the table stays in collection ${answered.value}`;
|
|
3456
|
+
function describeCollection(collectionId) {
|
|
3457
|
+
if (collectionId === null) return "the table stays in no collection";
|
|
3458
|
+
return `the table stays in collection ${collectionId}`;
|
|
3493
3459
|
}
|
|
3494
3460
|
//#endregion
|
|
3495
3461
|
//#region ../client/src/domain/task.ts
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-DgqrMOKr.mjs";
|
|
2
|
+
//#region src/commands/collection/index.ts
|
|
3
|
+
var collection_default = defineCommandGroup({
|
|
4
|
+
name: "collection",
|
|
5
|
+
description: "Manage Metabase collections",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "core",
|
|
8
|
+
purpose: "collection ref forms and the transforms namespace"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-BmU3u6vb.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BjwOYA2F.mjs").then((mod) => mod.default),
|
|
13
|
+
items: () => import("./items-Qlm9bClX.mjs").then((mod) => mod.default),
|
|
14
|
+
tree: () => import("./tree-Dkn4JGkg.mjs").then((mod) => mod.default),
|
|
15
|
+
create: () => import("./create-BR6XSuIv.mjs").then((mod) => mod.default),
|
|
16
|
+
update: () => import("./update-D-u89RhH.mjs").then((mod) => mod.default),
|
|
17
|
+
archive: () => import("./archive-DHzrlYet.mjs").then((mod) => mod.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { collection_default as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-DgqrMOKr.mjs";
|
|
2
2
|
//#region src/commands/content-translation/index.ts
|
|
3
3
|
var content_translation_default = defineCommandGroup({
|
|
4
4
|
name: "content-translation",
|
|
5
5
|
description: "Download or replace the content translation dictionary",
|
|
6
6
|
subCommands: {
|
|
7
|
-
download: () => import("./download-
|
|
8
|
-
upload: () => import("./upload-
|
|
7
|
+
download: () => import("./download-C_qGNLoL.mjs").then((mod) => mod.default),
|
|
8
|
+
upload: () => import("./upload-CF_cvpnU.mjs").then((mod) => mod.default)
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _t as
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DIB1SwOx.mjs";
|
|
4
4
|
import { t as Document } from "./document-ks1uxhBt.mjs";
|
|
5
|
-
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-
|
|
5
|
+
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-Dqt64LEy.mjs";
|
|
6
6
|
import { t as documentView } from "./document-PQg8DshK.mjs";
|
|
7
7
|
//#region src/commands/document/copy.ts
|
|
8
8
|
var copy_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _t as
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DIB1SwOx.mjs";
|
|
4
4
|
import { r as DashboardCopy } from "./dashboard-D5BJZS3L.mjs";
|
|
5
5
|
import { t as dashboardCopyView } from "./dashboard-CLvvUUuF.mjs";
|
|
6
|
-
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-
|
|
6
|
+
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-Dqt64LEy.mjs";
|
|
7
7
|
//#region src/commands/dashboard/copy.ts
|
|
8
8
|
var copy_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|