@metabase/cli 0.5.7-alpha.bryan-rci-6-coverage.6f886fd → 0.5.7
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-C7c6Y3T3.mjs → add-collection-BbPkd9Hj.mjs} +3 -3
- package/dist/{alert-J0qLs6rc.mjs → alert-DSql1Ep7.mjs} +7 -7
- package/dist/{alerts-mjDIdof3.mjs → alerts-DuBBNAlw.mjs} +6 -6
- package/dist/api-key-Phua-UKC.mjs +13 -0
- package/dist/{append-yaTEz2AE.mjs → append-DsVKGdZJ.mjs} +4 -4
- package/dist/{archive-B93SkIvs.mjs → archive-1VQCMgaz.mjs} +4 -4
- package/dist/{archive-Dg9eMYU6.mjs → archive-BCmfehL3.mjs} +3 -3
- package/dist/{archive-CgcNck0G.mjs → archive-BV6Z3YJA.mjs} +3 -3
- package/dist/{archive-CbtQNK96.mjs → archive-CXMG-fgO.mjs} +3 -3
- package/dist/{archive-DzXi2Frh.mjs → archive-CXXxSfha.mjs} +3 -3
- package/dist/{archive-rhxBPOrL.mjs → archive-Ck_Xg7ns.mjs} +3 -3
- package/dist/{archive-Cg67G-qa.mjs → archive-DD__EWKz.mjs} +3 -3
- package/dist/{archive-BmU6DnFz.mjs → archive-DXz6AUiA.mjs} +4 -4
- package/dist/{archive-VZ0dgYTd.mjs → archive-DqJwr9vQ.mjs} +3 -3
- package/dist/{archive-DrCoSvio.mjs → archive-Dvh9rizn.mjs} +3 -3
- package/dist/{archive-DYdHrm6V.mjs → archive-DyMGCNDz.mjs} +3 -3
- package/dist/{archive-P-y61Wi_.mjs → archive-pSV2qSiA.mjs} +3 -3
- package/dist/{auth-CxN5tDg1.mjs → auth-J8JdlqFn.mjs} +5 -5
- package/dist/{branches-1ZK62u6h.mjs → branches-CPQ3HP-R.mjs} +3 -3
- package/dist/{breaking-Bv4wZN9X.mjs → breaking-D6ICAVOR.mjs} +5 -5
- package/dist/{broken-BU7MrnHI.mjs → broken-BczVkbIB.mjs} +6 -6
- package/dist/{bulk-discard-values-6TLs4p2e.mjs → bulk-discard-values-g46lzzus.mjs} +5 -5
- package/dist/{bulk-edit-CYnFA1xm.mjs → bulk-edit-AOFHuhfZ.mjs} +3 -3
- package/dist/{bulk-rescan-values-T__5XlPh.mjs → bulk-rescan-values-5Di3olNO.mjs} +4 -4
- package/dist/{bulk-sync-schema-V1Tpqvxg.mjs → bulk-sync-schema-CFC3koGc.mjs} +4 -4
- package/dist/{cancel-RTd-Bg5f.mjs → cancel-BGYUVj8X.mjs} +3 -3
- package/dist/{cancel-task-B6GpgrME.mjs → cancel-task-upC5n6uL.mjs} +2 -2
- package/dist/card-D-TPi4AP.mjs +25 -0
- package/dist/{cards-hYVyzntk.mjs → cards-Bi0gfBth.mjs} +4 -4
- package/dist/cli.mjs +39 -43
- package/dist/{client-C_5K9lZA.mjs → client-BLoUVLvN.mjs} +6 -6
- package/dist/collection-BeEwIJBP.mjs +21 -0
- package/dist/{collection-namespace-D0_-6eWp.mjs → collection-namespace-C0JcSEwN.mjs} +1 -1
- package/dist/{content-translation-Bux3aWnt.mjs → content-translation-BpLzaU0B.mjs} +3 -3
- package/dist/{copy-B8HnAc11.mjs → copy-UsVSYgy4.mjs} +4 -4
- package/dist/{copy-BAP_y6s1.mjs → copy-f95AEumd.mjs} +4 -4
- package/dist/{copy-flags-VQzi7vqf.mjs → copy-flags-DZ5Cy-Gk.mjs} +1 -1
- package/dist/{create-Dd_NNxYT.mjs → create-7K2NXL-M.mjs} +2 -2
- package/dist/{create-CUcwiQgH.mjs → create-7ncgawHS.mjs} +2 -2
- package/dist/{create-BmEECHlW2.mjs → create-BD6VIGWQ2.mjs} +4 -4
- package/dist/{create-D70fh_7H.mjs → create-BNcuZIPD.mjs} +2 -2
- package/dist/{create-Ds6gZXFm.mjs → create-BbC_R_Oz.mjs} +2 -2
- package/dist/{create-DqtqJZa8.mjs → create-CO18QOFb.mjs} +2 -2
- package/dist/{create-DNkqcne5.mjs → create-CVh6ggJb.mjs} +2 -2
- package/dist/{create-qCZ9z3II.mjs → create-CY9LOAXi.mjs} +2 -2
- package/dist/{create-BUPy6vmU.mjs → create-CeczpJ0L.mjs} +2 -2
- package/dist/{create-CH2ebn9r.mjs → create-CuNXv1Ep.mjs} +4 -4
- package/dist/{create-DF7jPhn1.mjs → create-D5LhDFOo.mjs} +2 -2
- package/dist/{create-Bckej8a2.mjs → create-D5kh4vAL.mjs} +3 -3
- package/dist/{create-BOn7IisH.mjs → create-DBX-uy9W.mjs} +2 -2
- package/dist/{create-BfD4GgYA.mjs → create-DLFkb3OR.mjs} +2 -2
- package/dist/{create-BWrIVbLC.mjs → create-Di1QVcNp.mjs} +2 -2
- package/dist/{create-BcbdVQr_.mjs → create-GkTAKk5R.mjs} +2 -2
- package/dist/{create-branch-CQyWpIxd.mjs → create-branch-Bo0AjZtH.mjs} +2 -2
- package/dist/{create-B0l5arU2.mjs → create-k4mrdwwl.mjs} +2 -2
- package/dist/{create-C_5-HH9u.mjs → create-lzRFz7kJ.mjs} +3 -3
- package/dist/{create-CzVYAVbb.mjs → create-u0CTmvuf.mjs} +3 -3
- package/dist/{create-Z3UZdGTY.mjs → create-x7HAP-Ad.mjs} +3 -3
- package/dist/{csv-CFL145Ta.mjs → csv-DwFtBGrk.mjs} +4 -4
- package/dist/{current-task-l8KZ0nv8.mjs → current-task-BJtRUPla.mjs} +2 -2
- package/dist/dashboard-REKSjnMI.mjs +35 -0
- package/dist/data-action-BjaLSKed.mjs +24 -0
- package/dist/{data-app-CxQNqhV2.mjs → data-app-DO2JDssf.mjs} +10 -10
- package/dist/{data-app-project-B_zd-YrJ.mjs → data-app-project-DUCJcvfJ.mjs} +1 -1
- package/dist/{db-DlDWN6UP.mjs → db-N75yLlEU.mjs} +8 -8
- package/dist/{delete-CfkSkxHN.mjs → delete-8OdbYsJ5.mjs} +4 -4
- package/dist/{delete-CcY_tcx4.mjs → delete-BdOdU-pY.mjs} +4 -4
- package/dist/{delete-Dj0ImrZL.mjs → delete-C4xxlLHk.mjs} +4 -4
- package/dist/{delete-DweFD4-0.mjs → delete-CjaFm4k-.mjs} +4 -4
- package/dist/{delete-D3D0CTo-.mjs → delete-Cl4U9VSc.mjs} +3 -3
- package/dist/{delete-Eje0xxEa.mjs → delete-CnASt2yl.mjs} +4 -4
- package/dist/{delete-BlLyxBY_.mjs → delete-DeSsSMfX.mjs} +4 -4
- package/dist/{delete-3KVEIg6-.mjs → delete-DxiCwXgz.mjs} +4 -4
- package/dist/{delete-BmPR3qB0.mjs → delete-l2szNHB_.mjs} +4 -4
- package/dist/{delete-runtime-C05-0fcn.mjs → delete-runtime-DOOy3gzH.mjs} +1 -1
- package/dist/{delete-table-BqpeGdMY.mjs → delete-table-BUF-8jMm.mjs} +4 -4
- package/dist/{delete-YFXRPnnb.mjs → delete-vwfsnQPy.mjs} +4 -4
- package/dist/{dependencies-DhA1jbDT.mjs → dependencies-DZX8NlPW.mjs} +5 -5
- package/dist/dependency-DWt1YSeu.mjs +15 -0
- package/dist/{dependency-BPCRTBKd.mjs → dependency-DcM96XJ-.mjs} +1 -1
- package/dist/{dependents-4KgDZ4tl.mjs → dependents-BqO3l5bu.mjs} +6 -6
- package/dist/{dirty-DWwwmOmi.mjs → dirty-ovaaa9Mz.mjs} +3 -3
- package/dist/{discard-values-6nmAd4kW.mjs → discard-values-C0hxOxST.mjs} +5 -5
- package/dist/document-BiYuO-TS.mjs +20 -0
- package/dist/{download-ZCfcKa2L.mjs → download-TKkYyPGz.mjs} +2 -2
- package/dist/{eid-CjLvyBgT.mjs → eid-BMEaAUf7.mjs} +2 -2
- package/dist/{entry-flags-2u45mDJ4.mjs → entry-flags-B1iNsTLZ.mjs} +1 -1
- package/dist/{events-B_UxJw3Z.mjs → events-DawQN6kU.mjs} +4 -4
- package/dist/{execute-Dg94sYQd.mjs → execute-YbkICF1K.mjs} +3 -3
- package/dist/{export-BdLB30iy.mjs → export-X-6wfnwT.mjs} +3 -3
- package/dist/{export-flags-DvdxpRMt.mjs → export-flags-iXfEILf7.mjs} +1 -1
- package/dist/{export-preflight-ChaWosZf.mjs → export-preflight-B8v9LJNm.mjs} +2 -2
- package/dist/field-z7nU5at_.mjs +21 -0
- package/dist/{fields-B1cPeIGv.mjs → fields-BhXMw2Tn.mjs} +4 -4
- package/dist/{filter-flags-BEz2s28-.mjs → filter-flags-ezqqsOQL.mjs} +1 -1
- package/dist/{fks-DgvW6D_7.mjs → fks-8cVnZFmC.mjs} +5 -5
- package/dist/{get-VrzY4qxg.mjs → get-4f27Aqvg.mjs} +2 -2
- package/dist/{get-BYNEZFNj.mjs → get-B2ml9ucl.mjs} +3 -3
- package/dist/{get-jphhROdg.mjs → get-B6uimv77.mjs} +3 -3
- package/dist/{get-BxrS4Vi8.mjs → get-BF3Uo0Tt.mjs} +4 -4
- package/dist/{get-DuVVF8xb.mjs → get-BbL5r1fz.mjs} +3 -3
- package/dist/{get-DC1lAsH_.mjs → get-Bo96ebpj.mjs} +3 -3
- package/dist/{get-D4oXmJTn.mjs → get-BtBc5Abl.mjs} +5 -5
- package/dist/{get-Ljt0QVR0.mjs → get-Bw4pTxpu.mjs} +3 -3
- package/dist/{get-C_bCGVsR.mjs → get-C7z5ZvgH.mjs} +3 -3
- package/dist/{get-B69NUYR0.mjs → get-C83Nptcn.mjs} +4 -4
- package/dist/{get-BM9AFJAi.mjs → get-CDnlRGML.mjs} +2 -2
- package/dist/{get-DStLX5Ah.mjs → get-CM_iqCVJ.mjs} +3 -3
- package/dist/{get-UNjwy8OI.mjs → get-CZ1rSEC1.mjs} +3 -3
- package/dist/{get-Ck2LNXxw.mjs → get-CeKWEfkY.mjs} +3 -3
- package/dist/{get-DckpwiZG.mjs → get-Cpx-XbMF.mjs} +4 -4
- package/dist/{get-DIR9LODa.mjs → get-DNbe2MG3.mjs} +4 -4
- package/dist/{get-BK7nxbPU.mjs → get-Dp1ujLbV.mjs} +2 -2
- package/dist/{get-CmWe9xq9.mjs → get-Dvt9zn0x.mjs} +5 -5
- package/dist/{get-B94nj2uY.mjs → get-Dxtlj2My.mjs} +2 -2
- package/dist/{get-n9udbUQS.mjs → get-I1_CB82F.mjs} +3 -3
- package/dist/{get-DkSvigdw.mjs → get-edf6ZezS.mjs} +3 -3
- package/dist/{get-run-D5vfGnIN.mjs → get-run-BIsvXGiW.mjs} +4 -4
- package/dist/{get-Dsm_2AXn.mjs → get-zwsgING1.mjs} +3 -3
- package/dist/git-sync-D-27dQ4p.mjs +29 -0
- package/dist/glossary-Dtoy9bGl.mjs +14 -0
- package/dist/{graph-CvIhSOEe.mjs → graph-r_Ny78Et.mjs} +4 -4
- package/dist/{group-KiKh0UFs.mjs → group--6adAsqG.mjs} +1 -1
- package/dist/{has-remote-changes-57yJkr3b.mjs → has-remote-changes-B_i31H2V.mjs} +2 -2
- package/dist/{import-HHsz_zDq.mjs → import-po_7IOPt.mjs} +3 -3
- package/dist/{is-dirty-CxX_4rBC.mjs → is-dirty-PBHnBaT_.mjs} +2 -2
- package/dist/{items-B2NR1_u3.mjs → items-DpYoeJnW.mjs} +3 -3
- package/dist/{library-DXvOVBTe.mjs → library-Bx-5aHg0.mjs} +5 -5
- package/dist/{list-l09h4Zp6.mjs → list-3LnxA7HU.mjs} +3 -3
- package/dist/{list-DJ0_FcgB.mjs → list-B8RvfRvk.mjs} +6 -6
- package/dist/{list-CcZAP1sH.mjs → list-BALDFgbl.mjs} +3 -3
- package/dist/{list-BTpj7dv4.mjs → list-BGwYQo6I.mjs} +5 -5
- package/dist/{list-Dv8U4e-C.mjs → list-BOyLrnUG.mjs} +3 -3
- package/dist/{list-JS7ASJc-.mjs → list-C12p3rEc.mjs} +4 -4
- package/dist/{list-DhCSllG2.mjs → list-C1Wh_Slv.mjs} +3 -3
- package/dist/{list-BU72dCx0.mjs → list-CBwWhmqe.mjs} +3 -3
- package/dist/{list-CtW9rAs4.mjs → list-CrWXMfr6.mjs} +3 -3
- package/dist/{list-rA9U_VyF.mjs → list-Cr_sPpp-.mjs} +3 -3
- package/dist/{list-DQ5BDB52.mjs → list-DKV9DtGa.mjs} +4 -4
- package/dist/{list-B44qweQa.mjs → list-DS9fMuno.mjs} +3 -3
- package/dist/{list-BsQHh8w4.mjs → list-DVqD1U1l.mjs} +3 -3
- package/dist/{list-Bwi5npRx.mjs → list-DZy5euhj.mjs} +3 -3
- package/dist/{list-DJogq3Ez.mjs → list-DceMKQ6a.mjs} +3 -3
- package/dist/{list-CY54buuD.mjs → list-DxdHEB5R.mjs} +4 -4
- package/dist/{list-CNoCRL4D.mjs → list-DyQ2lSVl.mjs} +3 -3
- package/dist/{list-DEQvaioL.mjs → list-T__r3VMU.mjs} +5 -5
- package/dist/{list-L4_At_o9.mjs → list-X8eebbXY.mjs} +3 -3
- package/dist/{list-DMbtH6tY.mjs → list-Y5wS6EaZ.mjs} +3 -3
- package/dist/{list-BK4VwtKe.mjs → list-cK0UL1ZA.mjs} +3 -3
- package/dist/{list-C6A-Eqgv.mjs → list-jEl4fNSi.mjs} +5 -5
- package/dist/{list-DiN5mPrk.mjs → list-xbkz1qBV.mjs} +3 -3
- package/dist/{login-DVLN1666.mjs → login-P2L_8iQN.mjs} +5 -5
- package/dist/{logout-BiZxbftK.mjs → logout-D-WoK1AI.mjs} +2 -2
- package/dist/{measure-B7Ud8GU1.mjs → measure-D2r-3q-X.mjs} +6 -6
- package/dist/{notification-Bj45MgWm.mjs → notification-BEJaEZS2.mjs} +1 -1
- package/dist/{parameter-values-BwaIYczs.mjs → parameter-values-BD9l9Hyp.mjs} +3 -3
- package/dist/{parse-id-BXkvTl89.mjs → parse-id-EXZan40V.mjs} +1 -1
- package/dist/{path-BbR0QB1I.mjs → path-CRMn9iZY.mjs} +4 -4
- package/dist/{poll-D5eA9cN2.mjs → poll-DqqOqx78.mjs} +1 -1
- package/dist/{preflight-BJ5Bve-N.mjs → preflight-4iy2qzsh.mjs} +1 -1
- package/dist/process-BQC3mK2k.mjs +71 -0
- package/dist/{publish-d_WnLoJD.mjs → publish-D0z76x-b.mjs} +3 -3
- package/dist/{pulse-DhddeMMG.mjs → pulse-CPSpum5U.mjs} +1 -1
- package/dist/{query-DFb-XQNz.mjs → query-CUVLtPE_.mjs} +3 -3
- package/dist/{query-Dkod9Tev.mjs → query-zFuvlOS0.mjs} +4 -4
- package/dist/{remapping-clW2Rgcz.mjs → remapping-Dhb722en.mjs} +3 -3
- package/dist/{remove-collection-CjRtrkLW.mjs → remove-collection-DZXgxdKX.mjs} +3 -3
- package/dist/{render-C_Oy6cF5.mjs → render-oEZzsoFQ.mjs} +1 -1
- package/dist/{replace-8hEY7br8.mjs → replace-7dPKXgcC.mjs} +4 -4
- package/dist/{requirement-check-B7MNfiXv.mjs → requirement-check-DAWBg7Q9.mjs} +2 -2
- package/dist/{rescan-values-DaEu5sVZ.mjs → rescan-values-CLrviE6Q.mjs} +3 -3
- package/dist/{rescan-values-0owEJyWj.mjs → rescan-values-DSr_ZvG_.mjs} +4 -4
- package/dist/{run-BlCJ0MYm.mjs → run-B0xlfNxz.mjs} +4 -4
- package/dist/{run-CXv_3NQt.mjs → run-C-7Jqr7g.mjs} +3 -3
- package/dist/{run-Cr7QHB5S.mjs → run-ZSHtfyJ5.mjs} +6 -6
- package/dist/{runs-624fiVP3.mjs → runs-DhTxL1ZX.mjs} +5 -5
- package/dist/{runtime-DsfR_yrb.mjs → runtime-LdcG5yv4.mjs} +2 -2
- package/dist/{scaffold-D4Jo6VQc.mjs → scaffold-DjXyOYBc.mjs} +4 -4
- package/dist/{schema-DXsx2_Mk.mjs → schema-olxaMFgn.mjs} +2 -2
- package/dist/{schema-tables-Bat1bYLS.mjs → schema-tables-C8PvLCZ3.mjs} +5 -5
- package/dist/{schemas-B8bgnxOA.mjs → schemas-CHXrSjAS.mjs} +4 -4
- package/dist/{search-fXh_MkLZ.mjs → search-BUoRSx00.mjs} +4 -4
- package/dist/{search-BslDGFtS.mjs → search-xkiNHiwe.mjs} +4 -4
- package/dist/{segment-Bb7JTPmv.mjs → segment-C6A1dSBA.mjs} +6 -6
- package/dist/{send-YnL6iiOt.mjs → send-CaDx_a6O.mjs} +3 -3
- package/dist/{set-active-C-x_A0AY.mjs → set-active-Db1w9BRn.mjs} +2 -2
- package/dist/{set-bundle-DaHlkEYA.mjs → set-bundle-Dlk0ZEHn.mjs} +3 -3
- package/dist/{set-data-actions-C3NwuCSF.mjs → set-data-actions-BPnO0ZDb.mjs} +3 -3
- package/dist/{set-enabled-CjUOudzn.mjs → set-enabled-DmC4OaLp.mjs} +2 -2
- package/dist/{set-CydWEHNW.mjs → set-gJ6v5NIe.mjs} +2 -2
- package/dist/{set-sensitivity-DAodU0MG.mjs → set-sensitivity-BD1R9re1.mjs} +3 -3
- package/dist/{setting-Bil7qFf0.mjs → setting-C2jQD_g8.mjs} +4 -4
- package/dist/{setup-B8GRygkY.mjs → setup-QmD-t1pE.mjs} +2 -2
- package/dist/{skill-list-4LagdTq5.mjs → skill-list-BoJITnw8.mjs} +1 -1
- package/dist/{skills-CW1wIl0c.mjs → skills-BAS2gDjf.mjs} +3 -3
- package/dist/{skills-DYfZF1GA.mjs → skills-SJUpkpK0.mjs} +39 -4
- package/dist/snippet-D4Hi7urP.mjs +19 -0
- package/dist/{stash-T0WRHnFD.mjs → stash-DqmWy3Sh.mjs} +3 -3
- package/dist/{status-BRMzSa12.mjs → status-D53dMSSs.mjs} +3 -3
- package/dist/{status-CW1bsfaP.mjs → status-eg3_xFyQ.mjs} +2 -2
- package/dist/{subscription-Edc8UK2V.mjs → subscription-D9e9tr6s.mjs} +6 -6
- package/dist/{subscriptions-DMiWl84r.mjs → subscriptions-Bqqlqf5T.mjs} +6 -6
- package/dist/{summary-CFnwsMoV.mjs → summary-BpTu2cty.mjs} +3 -3
- package/dist/{sync-schema-COvbx-g4.mjs → sync-schema-DaTcqvaG.mjs} +4 -4
- package/dist/{sync-schema-VzwA_5tH.mjs → sync-schema-wJ7q9gAE.mjs} +4 -4
- package/dist/{table-DFbkLSgK.mjs → table-BNA9Or05.mjs} +1 -1
- package/dist/table-CM6cPt2s.mjs +26 -0
- package/dist/{table-selector-flags-BhZo8RHH.mjs → table-selector-flags-BpFFoSaT.mjs} +2 -2
- package/dist/timeline-0JJWeOi5.mjs +21 -0
- package/dist/{timeline-event-BqM82_7L.mjs → timeline-event-feyA3Udc.mjs} +6 -6
- package/dist/{transform-CKeLIqoc.mjs → transform-DKPtUV54.mjs} +1 -1
- package/dist/transform-emVHRuKO.mjs +28 -0
- package/dist/transform-job-B81jbOuN.mjs +22 -0
- package/dist/{transform-tag-CxXDADhM.mjs → transform-tag-CKSAwl4d.mjs} +5 -5
- package/dist/{transform-test-DHTxBt4k.mjs → transform-test-Bexa_K89.mjs} +2 -2
- package/dist/{transform-test-C0c4zjcf.mjs → transform-test-C49ZTK7M.mjs} +1 -1
- package/dist/transform-test-CEmn-5-S.mjs +16 -0
- package/dist/{transforms-WyRUDM1j.mjs → transforms-VsNAUcKg.mjs} +5 -5
- package/dist/{transport-Byycx3RW.mjs → transport-5CHP_tMs.mjs} +3 -3
- package/dist/{tree-CMeV4bI8.mjs → tree-CPjGQ2wm.mjs} +2 -2
- package/dist/{typed-schema-DsGXH-La.mjs → typed-schema-W4OW1Edq.mjs} +3 -3
- package/dist/{unpublish-EaVPnnZ5.mjs → unpublish-PuVviojR.mjs} +3 -3
- package/dist/{unreferenced-BvE7ke0M.mjs → unreferenced-BT9gANlE.mjs} +5 -5
- package/dist/{update-BSWoKNrf.mjs → update--2TTQzzF.mjs} +3 -3
- package/dist/{update-t2zdccd5.mjs → update-BGXD76ks.mjs} +3 -3
- package/dist/{update-wh2EjN242.mjs → update-Bo6KGX9D2.mjs} +3 -3
- package/dist/{update-xYxKw2UB.mjs → update-CBC8lAqs.mjs} +3 -3
- package/dist/{update-CT9e8m-I.mjs → update-CGYUDxv3.mjs} +3 -3
- package/dist/{update-Bb1HPTH2.mjs → update-CNIi5f88.mjs} +4 -4
- package/dist/{update-BtWR4ri9.mjs → update-DJBofThn.mjs} +3 -3
- package/dist/{update-DwGo58Kc.mjs → update-DZs7eBGa.mjs} +4 -4
- package/dist/{update-DZPo69an.mjs → update-Da3-3dUO.mjs} +4 -4
- package/dist/{update-CFYVJJqw.mjs → update-DeLyAU3L.mjs} +3 -3
- package/dist/{update-CNzu9eG1.mjs → update-Dmhrlzst.mjs} +5 -5
- package/dist/{update-BgQ9TU63.mjs → update-Dp3AUNWA.mjs} +5 -5
- package/dist/{update-Dcwpy8BO.mjs → update-EXLe8XCO.mjs} +3 -3
- package/dist/{update-DrY4i6eO.mjs → update-TV4PBAZv.mjs} +4 -4
- package/dist/{update-DjBJQCNg.mjs → update-Xc-hfOcM.mjs} +3 -3
- package/dist/{update-dashcard-BhT2FBd4.mjs → update-dashcard-3jW0jYXV.mjs} +3 -3
- package/dist/{update-BDghcetp.mjs → update-ircRP-Ga.mjs} +3 -3
- package/dist/{update-B8EnadKJ.mjs → update-lrnQ5RIy.mjs} +3 -3
- package/dist/{update-DyXj5mTv.mjs → update-n1X8JM4b.mjs} +3 -3
- package/dist/{update-BPhLIVs9.mjs → update-qNsPwe0E.mjs} +2 -2
- package/dist/{update--uKYjq9_.mjs → update-tlpf9Nd7.mjs} +4 -4
- package/dist/{upgrade-BqBjnjjU.mjs → upgrade-C08e6bwK.mjs} +3 -3
- package/dist/{upload-D0zRTkyv.mjs → upload-B3pz8QNS.mjs} +1 -1
- package/dist/upload-CGcx9rCH.mjs +13 -0
- package/dist/{upload-kM0-7Bx2.mjs → upload-Cazgw9jX.mjs} +3 -3
- package/dist/{uuid-DsuYe9z7.mjs → uuid-B1PCdTpU.mjs} +2 -2
- package/dist/{values-kLEvyjSy.mjs → values-Ym6iwLLB.mjs} +3 -3
- package/dist/{verify-ChvmI4lq.mjs → verify-CIxbC-Xz.mjs} +3 -3
- package/dist/{verify-D27n5y3t.mjs → verify-CZiiby5b.mjs} +3 -3
- package/dist/{verify-CvYsiaqY.mjs → verify-CnC3Oemx.mjs} +3 -3
- package/dist/{wait-DioDMGLJ.mjs → wait-DiwWdpia.mjs} +4 -4
- package/dist/{wait-flags-Qqvlb3Rv.mjs → wait-flags-DJK0_BcR.mjs} +2 -2
- package/dist/{window-BoW2xWwm.mjs → window-D1w7B0vh.mjs} +1 -1
- package/package.json +1 -1
- package/dist/api-key-Bw2jDvT4.mjs +0 -13
- package/dist/card-BlSUKf2e.mjs +0 -25
- package/dist/ci-CPRKvyWe.mjs +0 -9
- package/dist/collection-CeaSalia.mjs +0 -21
- package/dist/dashboard-CIOXUaBJ.mjs +0 -35
- package/dist/data-action-_7UX21i9.mjs +0 -24
- package/dist/dependency-BPwCXzX4.mjs +0 -15
- package/dist/document-CC60L29U.mjs +0 -20
- package/dist/field-ClWwbYtG.mjs +0 -21
- package/dist/git-sync-Bc9pf1LL.mjs +0 -29
- package/dist/glossary-CAzA-OIR.mjs +0 -14
- package/dist/process-cDa9fEBe.mjs +0 -144
- package/dist/run-Dc3u_olU.mjs +0 -819
- package/dist/snippet-D9g83-mO.mjs +0 -19
- package/dist/table-CC-rFakp.mjs +0 -26
- package/dist/timeline-C2ZUL_9F.mjs +0 -21
- package/dist/transform-BtB6iOJ9.mjs +0 -28
- package/dist/transform-job-I2Q5f0yN.mjs +0 -22
- package/dist/transform-test-B6jvvXeh.mjs +0 -16
- package/dist/upload-C0GfBUvp.mjs +0 -13
- package/dist/yaml-QoEP-7KU.mjs +0 -38
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { v as isFileNotFoundError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
+
import { spawn } from "node:child_process";
|
|
3
|
+
//#region src/runtime/process.ts
|
|
4
|
+
var ProcessNotFoundError = class extends Error {
|
|
5
|
+
command;
|
|
6
|
+
constructor(command) {
|
|
7
|
+
super(`command not found: ${command}`);
|
|
8
|
+
this.name = "ProcessNotFoundError";
|
|
9
|
+
this.command = command;
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
new TextDecoder("utf-8");
|
|
13
|
+
function streamProcess(command, args, options = {}) {
|
|
14
|
+
return new Promise((resolve, reject) => {
|
|
15
|
+
const child = spawn(command, args, {
|
|
16
|
+
stdio: "inherit",
|
|
17
|
+
...options.shell === true ? { shell: true } : {}
|
|
18
|
+
});
|
|
19
|
+
child.on("error", (error) => {
|
|
20
|
+
if (isFileNotFoundError(error)) {
|
|
21
|
+
reject(new ProcessNotFoundError(command));
|
|
22
|
+
return;
|
|
23
|
+
}
|
|
24
|
+
reject(error);
|
|
25
|
+
});
|
|
26
|
+
child.on("close", (code) => resolve(code));
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
const CMD_METACHARACTERS = /[&|<>^()"%!]/g;
|
|
30
|
+
function escapeForCmd(value) {
|
|
31
|
+
return value.replace(CMD_METACHARACTERS, (char) => `^${char}`);
|
|
32
|
+
}
|
|
33
|
+
function browserOpener(platform, url) {
|
|
34
|
+
if (platform === "darwin") return {
|
|
35
|
+
command: "open",
|
|
36
|
+
args: [url],
|
|
37
|
+
windowsVerbatim: false
|
|
38
|
+
};
|
|
39
|
+
if (platform === "win32") return {
|
|
40
|
+
command: "cmd",
|
|
41
|
+
args: [
|
|
42
|
+
"/c",
|
|
43
|
+
"start",
|
|
44
|
+
"\"\"",
|
|
45
|
+
escapeForCmd(url)
|
|
46
|
+
],
|
|
47
|
+
windowsVerbatim: true
|
|
48
|
+
};
|
|
49
|
+
return {
|
|
50
|
+
command: "xdg-open",
|
|
51
|
+
args: [url],
|
|
52
|
+
windowsVerbatim: false
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function openBrowser(url) {
|
|
56
|
+
const opener = browserOpener(process.platform, url);
|
|
57
|
+
return new Promise((resolve) => {
|
|
58
|
+
const child = spawn(opener.command, opener.args, {
|
|
59
|
+
stdio: "ignore",
|
|
60
|
+
detached: true,
|
|
61
|
+
...opener.windowsVerbatim ? { windowsVerbatimArguments: true } : {}
|
|
62
|
+
});
|
|
63
|
+
child.on("error", () => resolve(false));
|
|
64
|
+
child.on("spawn", () => {
|
|
65
|
+
child.unref();
|
|
66
|
+
resolve(true);
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
export { streamProcess as n, openBrowser as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { g as errorMessage } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { T as warn, it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { a as CollectionCompact, r as Collection } from "./collection-Cz2qLX2m.mjs";
|
|
5
|
-
import { i as tableSelectorFlags, n as parseTableSelectors } from "./table-selector-flags-
|
|
5
|
+
import { i as tableSelectorFlags, n as parseTableSelectors } from "./table-selector-flags-BpFFoSaT.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region src/commands/git-sync/sync-scope.ts
|
|
8
8
|
function isOutsideSyncScope(collection) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as ConfigError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as readJsonBody, t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { K as HttpError, X as parseJson, d as serializeJson, f as writeJson, it as connectionFlags, l as renderSummary, lt as outputFlags, m as MALFORMED_CELL, o as renderItem, q as chainRequestFailure, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { n as readJsonBody, t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { o as CardQueryResult } from "./card-BJRZ5D5Q.mjs";
|
|
6
6
|
import { n as Field } from "./field-C2qOViFZ.mjs";
|
|
@@ -12,7 +12,7 @@ import { a as VirtualTable, i as QueryMetadataCompact, n as CompiledQueryCompact
|
|
|
12
12
|
import { t as cardQueryView } from "./card-VipF12MJ.mjs";
|
|
13
13
|
import { a as isMbql5Query, n as ValidationOutcome, o as validateQuery, r as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-moGYlHxB.mjs";
|
|
14
14
|
import { QUERY_DOCUMENTS, skipValidateFlag } from "./validate-query-Bf5FhhMI.mjs";
|
|
15
|
-
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-
|
|
15
|
+
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-iXfEILf7.mjs";
|
|
16
16
|
import { t as pipeToStdout } from "./stream-McixcoUl.mjs";
|
|
17
17
|
import { z } from "zod";
|
|
18
18
|
//#region src/output/views/dataset.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { o as ConfigError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { X as parseJson, ht as parseOptionalInteger, it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
5
5
|
import { o as CardQueryResult } from "./card-BJRZ5D5Q.mjs";
|
|
6
6
|
import { t as cardQueryView } from "./card-VipF12MJ.mjs";
|
|
7
|
-
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-
|
|
7
|
+
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-iXfEILf7.mjs";
|
|
8
8
|
import { t as pipeToStdout } from "./stream-McixcoUl.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
//#region src/commands/card/query.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { h as formatScalar, it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { n as parseText } from "./parse-text-C4LYzIFa.mjs";
|
|
5
5
|
import { i as fieldRemappingMissView, r as fieldRemappingMatchView, t as FieldRemappingResult, u as toValueLabel } from "./field-CT4r6b92.mjs";
|
|
6
6
|
//#region src/commands/field/remapping.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { u as SyncSettingsUpdateResult } from "./git-sync-DP4wQFzm.mjs";
|
|
5
5
|
import { c as syncSettingsUpdateView } from "./git-sync-D1aKczo6.mjs";
|
|
6
6
|
//#region src/commands/git-sync/remove-collection.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { x as KNOWN_RANGE } from "./predicates-0C0TsWcJ.mjs";
|
|
2
2
|
import "./cli.mjs";
|
|
3
|
-
import { tt as Skew } from "./runtime-
|
|
3
|
+
import { tt as Skew } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
//#region src/commands/auth/render.ts
|
|
5
5
|
const SKEW_LABEL = Object.freeze({
|
|
6
6
|
supported: "supported",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { n as UploadUpdateResult } from "./upload-DAtxBBms.mjs";
|
|
5
|
-
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-
|
|
5
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-B3pz8QNS.mjs";
|
|
6
6
|
import { n as uploadUpdateResultView } from "./upload-C3z5ZaXA.mjs";
|
|
7
7
|
//#region src/commands/upload/replace.ts
|
|
8
8
|
var replace_default = defineMetabaseCommand({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { it as describeVersion, rt as featureGap } from "./runtime-
|
|
1
|
+
import { B as FEATURE_RULES, L as missingTokenFeatureMessage, R as versionTooOldMessage } from "./cli.mjs";
|
|
2
|
+
import { it as describeVersion, rt as featureGap } from "./runtime-LdcG5yv4.mjs";
|
|
3
3
|
//#region ../client/src/version/requirement-check.ts
|
|
4
4
|
/** The first of `features` the profile lacks, or `null` when it has every one. */
|
|
5
5
|
function checkFeatures(features, profile) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { a as DatabaseSyncResult } from "./database-C5ucihp3.mjs";
|
|
5
5
|
import { n as databaseSyncResultView } from "./database-u_spHEa0.mjs";
|
|
6
6
|
//#region src/commands/db/rescan-values.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { p as TableFieldValuesResult } from "./table-hgrX1i-R.mjs";
|
|
5
|
-
import { i as tableFieldValuesResultView } from "./table-
|
|
5
|
+
import { i as tableFieldValuesResultView } from "./table-BNA9Or05.mjs";
|
|
6
6
|
//#region src/commands/table/rescan-values.ts
|
|
7
7
|
var rescan_values_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as FailedResultError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
5
5
|
import { c as TransformRunResult, p as isTransformRunFailed } from "./transform-B62craFM.mjs";
|
|
6
|
-
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-
|
|
6
|
+
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-DJK0_BcR.mjs";
|
|
7
7
|
//#region src/commands/transform/run.ts
|
|
8
8
|
const transformRunResultView = {
|
|
9
9
|
compactPick: TransformRunResult,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { a as TransformJobRunResult } from "./transform-job-CDIb3B9o.mjs";
|
|
5
5
|
//#region src/commands/transform-job/run.ts
|
|
6
6
|
const transformJobRunResultView = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { o as ConfigError, s as FailedResultError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
5
|
-
import { t as DEFAULT_TIMEOUT_MS } from "./transport-
|
|
6
|
-
import {
|
|
7
|
-
import { t as transformTestRunResultView } from "./transform-test-
|
|
2
|
+
import { it as connectionFlags, lt as outputFlags, t as interruptSignal, u as renderSummaryWithinMaxBytes, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
5
|
+
import { t as DEFAULT_TIMEOUT_MS } from "./transport-5CHP_tMs.mjs";
|
|
6
|
+
import { i as TransformTestRunResult } from "./transform-test-Bexa_K89.mjs";
|
|
7
|
+
import { t as transformTestRunResultView } from "./transform-test-C49ZTK7M.mjs";
|
|
8
8
|
//#region src/commands/transform-test/run.ts
|
|
9
9
|
function namesOf(expectations, status) {
|
|
10
10
|
return expectations.filter((expectation) => expectation.status === status).map((e) => e.name);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { t as collectForOutput } from "./window-
|
|
1
|
+
import { gt as listEnvelopeSchema, it as connectionFlags, lt as outputFlags, s as renderList, st as listFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
|
+
import { t as collectForOutput } from "./window-D1w7B0vh.mjs";
|
|
5
5
|
import { s as TransformRunCompact } from "./transform-B62craFM.mjs";
|
|
6
|
-
import { t as transformRunView } from "./transform-
|
|
6
|
+
import { t as transformRunView } from "./transform-DKPtUV54.mjs";
|
|
7
7
|
//#region src/commands/transform/runs.ts
|
|
8
8
|
const TransformRunListEnvelope = listEnvelopeSchema(TransformRunCompact);
|
|
9
9
|
var runs_default = defineMetabaseCommand({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { f as ResponseShapeError, g as errorMessage, h as ValidationError, i as AbortError, l as MetabaseError, o as ConfigError, p as TimeoutError, u as NetworkError, v as isFileNotFoundError, x as KNOWN_RANGE, y as isNonInterruptFailure } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { B as FEATURE_RULES, C as preflightSkippedNotice, D as ENV_DISABLE_KEYRING, E as ENV_API_KEY, G as ruleGap, H as evaluateFeatures, J as isRetryableStatus, K as HttpError, M as consumeLegacyEnvWarnings, N as readEnv, P as ProfileRefreshedError, Q as parseJsonResult, T as warn, V as Features, X as parseJson, Y as JSON_CONTENT_TYPE, a as reportError, ft as resolveCommonFlags, i as methodRequirements, j as ENV_URL, pt as resolveOutputFormat, rt as version, t as interruptSignal, tt as setMetabaseAugment, vt as assertArgv, w as preflightUncheckedNotice, yt as givenFlagKeys } from "./cli.mjs";
|
|
3
3
|
import { defineCommand } from "citty";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { readFile } from "node:fs/promises";
|
|
@@ -1264,7 +1264,7 @@ function defineMetabaseCommand(def) {
|
|
|
1264
1264
|
const probe = await readCachedProbe(resolved.profile, resolved.url);
|
|
1265
1265
|
const server = probe === null ? null : createServerProfile(probe);
|
|
1266
1266
|
const saveProbe = probe === null ? null : createProbeSaver(resolved.profile, probe);
|
|
1267
|
-
const { createClient } = await import("./client-
|
|
1267
|
+
const { createClient } = await import("./client-BLoUVLvN.mjs").then((n) => n.t);
|
|
1268
1268
|
const client = createClient({
|
|
1269
1269
|
url: resolved.url,
|
|
1270
1270
|
credential: resolved.credential
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as renderSummary,
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as findSkillByName, r as loadAllSkills } from "./skills-
|
|
4
|
-
import { r as scaffoldDataAppProject } from "./data-app-project-
|
|
1
|
+
import { l as renderSummary, lt as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
3
|
+
import { n as findSkillByName, r as loadAllSkills } from "./skills-SJUpkpK0.mjs";
|
|
4
|
+
import { r as scaffoldDataAppProject } from "./data-app-project-DUCJcvfJ.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
import { join } from "node:path";
|
|
7
7
|
//#region src/commands/data-app/scaffold.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as unescapeJsonPointerSegment, o as ConfigError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { r as readCachedServerProfile, s as resolveProfileName, t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { $ as main, Ct as resolveCitty, U as featureAvailability, at as formatFlags, dt as urlFlag, et as getMetabaseAugment, f as writeJson, n as resolveCommandPath, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { r as readCachedServerProfile, s as resolveProfileName, t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { n as inputGatesOf } from "./input-gate-registry-Dh8QjKgW.mjs";
|
|
5
5
|
import { c as FieldSemanticType, r as FieldBaseType } from "./field-C2qOViFZ.mjs";
|
|
6
6
|
import { n as ParameterMapping, r as ParameterTarget, t as Parameter } from "./parameter-Bucz3cLJ.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
1
|
+
import { gt as listEnvelopeSchema, it as connectionFlags, lt as outputFlags, s as renderList, st as listFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
|
+
import { n as windowList } from "./window-D1w7B0vh.mjs";
|
|
5
5
|
import { l as TableCompact } from "./table-hgrX1i-R.mjs";
|
|
6
|
-
import { u as tableView } from "./table-
|
|
6
|
+
import { u as tableView } from "./table-BNA9Or05.mjs";
|
|
7
7
|
//#region src/commands/db/schema-tables.ts
|
|
8
8
|
const DatabaseSchemaTablesEnvelope = listEnvelopeSchema(TableCompact);
|
|
9
9
|
var schema_tables_default = defineMetabaseCommand({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
1
|
+
import { gt as listEnvelopeSchema, it as connectionFlags, lt as outputFlags, s as renderList, st as listFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
|
+
import { n as windowList } from "./window-D1w7B0vh.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/db/schemas.ts
|
|
7
7
|
const SchemaName = z.object({ name: z.string() });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as ConfigError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { n as parseIdCsv, t as parseId } from "./parse-id-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
5
|
-
import { r as windowServerPage } from "./window-
|
|
2
|
+
import { St as parseEnumCsv, ct as listFlagsWithDefaultLimit, gt as listEnvelopeSchema, it as connectionFlags, lt as outputFlags, ot as listFlag, s as renderList, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { n as parseIdCsv, t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
5
|
+
import { r as windowServerPage } from "./window-D1w7B0vh.mjs";
|
|
6
6
|
import { i as SearchResultCompact, n as SearchModel, t as SEARCH_MODELS } from "./search-1et9tv_s.mjs";
|
|
7
7
|
import { t as parseOptionalText } from "./parse-text-C4LYzIFa.mjs";
|
|
8
8
|
//#region src/output/views/search.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { o as ConfigError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
5
|
-
import { t as collectForOutput } from "./window-
|
|
2
|
+
import { gt as listEnvelopeSchema, it as connectionFlags, lt as outputFlags, s as renderList, st as listFlags, ut as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
5
|
+
import { t as collectForOutput } from "./window-D1w7B0vh.mjs";
|
|
6
6
|
import { n as parseText } from "./parse-text-C4LYzIFa.mjs";
|
|
7
7
|
import { n as FieldValueLabel, o as fieldValueLabelView, u as toValueLabel } from "./field-CT4r6b92.mjs";
|
|
8
8
|
//#region src/commands/field/search.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group
|
|
1
|
+
import { t as defineCommandGroup } from "./group--6adAsqG.mjs";
|
|
2
2
|
//#region src/commands/segment/index.ts
|
|
3
3
|
var segment_default = defineCommandGroup({
|
|
4
4
|
name: "segment",
|
|
@@ -11,11 +11,11 @@ var segment_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "define reusable segments"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
list: () => import("./list-
|
|
15
|
-
get: () => import("./get-
|
|
16
|
-
create: () => import("./create-
|
|
17
|
-
update: () => import("./update-
|
|
18
|
-
archive: () => import("./archive-
|
|
14
|
+
list: () => import("./list-Cr_sPpp-.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-CM_iqCVJ.mjs").then((mod) => mod.default),
|
|
16
|
+
create: () => import("./create-D5LhDFOo.mjs").then((mod) => mod.default),
|
|
17
|
+
update: () => import("./update-lrnQ5RIy.mjs").then((mod) => mod.default),
|
|
18
|
+
archive: () => import("./archive-Dvh9rizn.mjs").then((mod) => mod.default)
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/alert/send.ts
|
|
6
6
|
const AlertSendResult = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
3
3
|
import { n as TransformJobActiveResult } from "./transform-job-CDIb3B9o.mjs";
|
|
4
4
|
import { t as parseEnumFlag } from "./parse-enum-CEXPuN9H.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
3
3
|
import { t as DataApp } from "./data-app-BUW-HlUo.mjs";
|
|
4
4
|
import { t as dataAppView } from "./data-app-Blz61mG5.mjs";
|
|
5
5
|
import { n as slugArg, t as parseSlug } from "./slug-COdwq63O.mjs";
|
|
6
|
-
import { n as readBundle, t as DEFAULT_BUNDLE_PATH } from "./data-app-project-
|
|
6
|
+
import { n as readBundle, t as DEFAULT_BUNDLE_PATH } from "./data-app-project-DUCJcvfJ.mjs";
|
|
7
7
|
//#region src/commands/data-app/set-bundle.ts
|
|
8
8
|
var set_bundle_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { c as DatabaseWithSettings } from "./database-C5ucihp3.mjs";
|
|
5
5
|
import { t as parseEnumFlag } from "./parse-enum-CEXPuN9H.mjs";
|
|
6
6
|
import { t as databaseDataActionsView } from "./database-u_spHEa0.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
3
3
|
import { t as DataApp } from "./data-app-BUW-HlUo.mjs";
|
|
4
4
|
import { t as parseEnumFlag } from "./parse-enum-CEXPuN9H.mjs";
|
|
5
5
|
import { t as dataAppView } from "./data-app-Blz61mG5.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { h as formatScalar, it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
3
3
|
import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
|
|
4
4
|
import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
|
|
5
5
|
import { t as parseSettingKey } from "./key-DLrpCgdZ.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-EXZan40V.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
4
4
|
import { a as FieldDataSensitivity, p as FieldWithDataSensitivity } from "./field-C2qOViFZ.mjs";
|
|
5
5
|
import { t as parseEnumFlag } from "./parse-enum-CEXPuN9H.mjs";
|
|
6
6
|
import { l as fieldWithDataSensitivityView } from "./field-CT4r6b92.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group
|
|
1
|
+
import { t as defineCommandGroup } from "./group--6adAsqG.mjs";
|
|
2
2
|
//#region src/commands/setting/index.ts
|
|
3
3
|
var setting_default = defineCommandGroup({
|
|
4
4
|
name: "setting",
|
|
@@ -8,9 +8,9 @@ var setting_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "setting get/set JSON value quoting"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get-
|
|
13
|
-
set: () => import("./set-
|
|
11
|
+
list: () => import("./list-3LnxA7HU.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-Dxtlj2My.mjs").then((m) => m.default),
|
|
13
|
+
set: () => import("./set-gJ6v5NIe.mjs").then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { it as connectionFlags, l as renderSummary, lt as outputFlags, ut as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-LdcG5yv4.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { n as SetupResult, r as SetupResultCompact, t as SetupInput } from "./setup-BnczkG96.mjs";
|
|
5
5
|
//#region src/output/views/setup.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { I as RequirementFailure, S as listTruncationNotice, T as warn } from "./cli.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/output/skill-list.ts
|
|
4
4
|
const UnavailableSkillJson = z.object({
|
|
@@ -7,9 +7,9 @@ var skills_default = defineCommand({
|
|
|
7
7
|
},
|
|
8
8
|
default: "list",
|
|
9
9
|
subCommands: {
|
|
10
|
-
list: () => import("./list-
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
path: () => import("./path-
|
|
10
|
+
list: () => import("./list-T__r3VMU.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-BtBc5Abl.mjs").then((m) => m.default),
|
|
12
|
+
path: () => import("./path-CRMn9iZY.mjs").then((m) => m.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
@@ -1,11 +1,46 @@
|
|
|
1
|
-
import { o as ConfigError, v as isFileNotFoundError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as checkFeatures } from "./requirement-check-
|
|
4
|
-
import { t as parseYaml } from "./yaml-QoEP-7KU.mjs";
|
|
1
|
+
import { g as errorMessage, h as ValidationError, o as ConfigError, v as isFileNotFoundError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
+
import { N as readEnv, W as isFeatureName, bt as parseCsv, k as ENV_SKILLS_DIR, z as FEATURE_NAMES } from "./cli.mjs";
|
|
3
|
+
import { t as checkFeatures } from "./requirement-check-DAWBg7Q9.mjs";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
import { closeSync, openSync, readFileSync, readSync, readdirSync, statSync } from "node:fs";
|
|
7
6
|
import { dirname, join, resolve } from "node:path";
|
|
8
7
|
import { fileURLToPath } from "node:url";
|
|
8
|
+
import { YAMLParseError, parse } from "yaml";
|
|
9
|
+
//#region src/runtime/yaml.ts
|
|
10
|
+
function parseYaml(input, schema, opts = {}) {
|
|
11
|
+
const result = parseYamlResult(input, schema, opts);
|
|
12
|
+
if (!result.ok) throw result.error;
|
|
13
|
+
return result.value;
|
|
14
|
+
}
|
|
15
|
+
function parseYamlResult(input, schema, opts = {}) {
|
|
16
|
+
const sourcePrefix = opts.source ? `${opts.source}: ` : "";
|
|
17
|
+
let raw;
|
|
18
|
+
try {
|
|
19
|
+
raw = parse(input);
|
|
20
|
+
} catch (error) {
|
|
21
|
+
if (error instanceof YAMLParseError) return {
|
|
22
|
+
ok: false,
|
|
23
|
+
error: new ConfigError(`${sourcePrefix}invalid YAML: ${error.message}`)
|
|
24
|
+
};
|
|
25
|
+
return {
|
|
26
|
+
ok: false,
|
|
27
|
+
error: new ConfigError(`${sourcePrefix}invalid YAML: ${errorMessage(error)}`)
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
const parsed = schema.safeParse(raw);
|
|
31
|
+
if (!parsed.success) return {
|
|
32
|
+
ok: false,
|
|
33
|
+
error: new ValidationError(`${sourcePrefix}value did not match expected schema`, {
|
|
34
|
+
source: opts.source ?? "<input>",
|
|
35
|
+
zodIssues: parsed.error.issues
|
|
36
|
+
})
|
|
37
|
+
};
|
|
38
|
+
return {
|
|
39
|
+
ok: true,
|
|
40
|
+
value: parsed.data
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
9
44
|
//#region src/core/skills.ts
|
|
10
45
|
const Frontmatter = z.object({
|
|
11
46
|
name: z.string().min(1),
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group--6adAsqG.mjs";
|
|
2
|
+
//#region src/commands/snippet/index.ts
|
|
3
|
+
var snippet_default = defineCommandGroup({
|
|
4
|
+
name: "snippet",
|
|
5
|
+
description: "Manage Metabase native query snippets",
|
|
6
|
+
skills: [{
|
|
7
|
+
skill: "core",
|
|
8
|
+
purpose: "native-SQL snippets and body input"
|
|
9
|
+
}],
|
|
10
|
+
subCommands: {
|
|
11
|
+
list: () => import("./list-C1Wh_Slv.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-Bo96ebpj.mjs").then((mod) => mod.default),
|
|
13
|
+
create: () => import("./create-CY9LOAXi.mjs").then((mod) => mod.default),
|
|
14
|
+
update: () => import("./update-DeLyAU3L.mjs").then((mod) => mod.default),
|
|
15
|
+
archive: () => import("./archive-BCmfehL3.mjs").then((mod) => mod.default)
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { snippet_default as default };
|