@metabase/cli 0.5.5 → 0.5.7-alpha.bryan-rci-6-coverage.6f886fd
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-lgBkahhW.mjs → add-collection-C7c6Y3T3.mjs} +3 -3
- package/dist/{alert-32mfYFy1.mjs → alert-J0qLs6rc.mjs} +7 -7
- package/dist/{alerts-DWVmtHEJ.mjs → alerts-mjDIdof3.mjs} +6 -6
- package/dist/api-key-Bw2jDvT4.mjs +13 -0
- package/dist/{append-CdzKyHhn.mjs → append-yaTEz2AE.mjs} +4 -4
- package/dist/{archive-BmutUzPS.mjs → archive-B93SkIvs.mjs} +4 -4
- package/dist/{archive-DOXrtANg.mjs → archive-BmU6DnFz.mjs} +4 -4
- package/dist/{archive-24zg3Ckb.mjs → archive-CbtQNK96.mjs} +3 -3
- package/dist/{archive-NhewLr23.mjs → archive-Cg67G-qa.mjs} +3 -3
- package/dist/{archive-BTxrM_x2.mjs → archive-CgcNck0G.mjs} +3 -3
- package/dist/{archive-BZxa5zJk.mjs → archive-DYdHrm6V.mjs} +3 -3
- package/dist/{archive-CHQOH-nm.mjs → archive-Dg9eMYU6.mjs} +3 -3
- package/dist/{archive-DEOq8OqU.mjs → archive-DrCoSvio.mjs} +3 -3
- package/dist/{archive-DbaGJh7E.mjs → archive-DzXi2Frh.mjs} +3 -3
- package/dist/{archive-B4G4EE9n.mjs → archive-P-y61Wi_.mjs} +3 -3
- package/dist/{archive-Uws1E_p8.mjs → archive-VZ0dgYTd.mjs} +5 -5
- package/dist/{archive-B3_fjvid.mjs → archive-rhxBPOrL.mjs} +3 -3
- package/dist/{auth-bVvBp9Tl.mjs → auth-CxN5tDg1.mjs} +5 -5
- package/dist/{branches-CkOAJk1H.mjs → branches-1ZK62u6h.mjs} +3 -3
- package/dist/{breaking-CMpEeieT.mjs → breaking-Bv4wZN9X.mjs} +5 -5
- package/dist/{broken-DFFLXiYc.mjs → broken-BU7MrnHI.mjs} +6 -6
- package/dist/{bulk-discard-values-D4eFBtKc.mjs → bulk-discard-values-6TLs4p2e.mjs} +5 -5
- package/dist/{bulk-edit-CLJeGY2E.mjs → bulk-edit-CYnFA1xm.mjs} +3 -3
- package/dist/{bulk-rescan-values-DsaGKIo_.mjs → bulk-rescan-values-T__5XlPh.mjs} +4 -4
- package/dist/{bulk-sync-schema-CN797vy9.mjs → bulk-sync-schema-V1Tpqvxg.mjs} +4 -4
- package/dist/{cancel-CRpzqIUu.mjs → cancel-RTd-Bg5f.mjs} +3 -3
- package/dist/{cancel-task-CpZcj7HB.mjs → cancel-task-B6GpgrME.mjs} +2 -2
- package/dist/card-BlSUKf2e.mjs +25 -0
- package/dist/{cards-DJMTrFQg.mjs → cards-hYVyzntk.mjs} +4 -4
- package/dist/ci-CPRKvyWe.mjs +9 -0
- package/dist/cli.mjs +43 -39
- package/dist/{client-D2ycdMRO.mjs → client-C_5K9lZA.mjs} +16 -11
- package/dist/collection-CeaSalia.mjs +21 -0
- package/dist/{collection-namespace-C0JcSEwN.mjs → collection-namespace-D0_-6eWp.mjs} +1 -1
- package/dist/{content-translation-7qPz-dIU.mjs → content-translation-Bux3aWnt.mjs} +3 -3
- package/dist/{copy-BeFjqXXc.mjs → copy-B8HnAc11.mjs} +4 -4
- package/dist/{copy-D9-xBYYq.mjs → copy-BAP_y6s1.mjs} +4 -4
- package/dist/{copy-flags-DZ5Cy-Gk.mjs → copy-flags-VQzi7vqf.mjs} +1 -1
- package/dist/{create-cpxnjNMC.mjs → create-B0l5arU2.mjs} +2 -2
- package/dist/{create-Cc07ouKB.mjs → create-BOn7IisH.mjs} +2 -2
- package/dist/{create-DJ0Xrpod.mjs → create-BUPy6vmU.mjs} +2 -2
- package/dist/{create-BfgTvPvI.mjs → create-BWrIVbLC.mjs} +2 -2
- package/dist/{create-ypwRxrcj.mjs → create-BcbdVQr_.mjs} +2 -2
- package/dist/{create-DBSpDnaA.mjs → create-Bckej8a2.mjs} +3 -3
- package/dist/{create-CLQVeQ0w.mjs → create-BfD4GgYA.mjs} +2 -2
- package/dist/{create-Dr-q5oWx2.mjs → create-BmEECHlW2.mjs} +4 -4
- package/dist/{create-Dj5y7xbA.mjs → create-CH2ebn9r.mjs} +4 -4
- package/dist/{create-DIZGUCFE.mjs → create-CUcwiQgH.mjs} +2 -2
- package/dist/{create-Ba8nYAWL.mjs → create-C_5-HH9u.mjs} +3 -3
- package/dist/{create-D4FT8Xj8.mjs → create-CzVYAVbb.mjs} +3 -3
- package/dist/{create-BlYxQv6U.mjs → create-D70fh_7H.mjs} +2 -2
- package/dist/{create-CplN1ey8.mjs → create-DF7jPhn1.mjs} +2 -2
- package/dist/{create-n5cH8Tq-.mjs → create-DNkqcne5.mjs} +2 -2
- package/dist/{create--eZb0G2P.mjs → create-Dd_NNxYT.mjs} +2 -2
- package/dist/{create-DBCOYtqn.mjs → create-DqtqJZa8.mjs} +2 -2
- package/dist/create-Ds6gZXFm.mjs +48 -0
- package/dist/{create-Dt6gdbAH.mjs → create-Z3UZdGTY.mjs} +3 -3
- package/dist/{create-branch-CKQkpU-_.mjs → create-branch-CQyWpIxd.mjs} +2 -2
- package/dist/{create-DHTl3wVv.mjs → create-qCZ9z3II.mjs} +2 -2
- package/dist/{csv-CxWsxJIB.mjs → csv-CFL145Ta.mjs} +4 -4
- package/dist/{current-task-DB7UTh6J.mjs → current-task-l8KZ0nv8.mjs} +2 -2
- package/dist/dashboard-CIOXUaBJ.mjs +35 -0
- package/dist/{data-action-DLj9cgpu.mjs → data-action-Co_Yf1uC.mjs} +23 -5
- package/dist/{data-action-CuvI17XF.mjs → data-action-DAw6WRTH.mjs} +43 -10
- package/dist/data-action-_7UX21i9.mjs +24 -0
- package/dist/{data-app--T695WPM.mjs → data-app-CxQNqhV2.mjs} +10 -10
- package/dist/{data-app-project-DjDDWgUF.mjs → data-app-project-B_zd-YrJ.mjs} +2 -2
- package/dist/{db-CpK3QluZ.mjs → db-DlDWN6UP.mjs} +8 -8
- package/dist/{delete-TcDfZNz2.mjs → delete-3KVEIg6-.mjs} +4 -4
- package/dist/{delete-Bw8CMa_A.mjs → delete-BlLyxBY_.mjs} +4 -4
- package/dist/{delete-AwOJ1x-D.mjs → delete-BmPR3qB0.mjs} +4 -4
- package/dist/{delete-9YIc_L2E.mjs → delete-CcY_tcx4.mjs} +4 -4
- package/dist/{delete-CUzOTiI8.mjs → delete-CfkSkxHN.mjs} +4 -4
- package/dist/{delete-CE19WUPi.mjs → delete-D3D0CTo-.mjs} +3 -3
- package/dist/{delete-DbAOgu73.mjs → delete-Dj0ImrZL.mjs} +4 -4
- package/dist/{delete-trx8NIoh.mjs → delete-DweFD4-0.mjs} +4 -4
- package/dist/{delete-B9GABYEJ.mjs → delete-Eje0xxEa.mjs} +4 -4
- package/dist/{delete-D784J3ur.mjs → delete-YFXRPnnb.mjs} +4 -4
- package/dist/{delete-runtime-DOOy3gzH.mjs → delete-runtime-C05-0fcn.mjs} +1 -1
- package/dist/{delete-table-a8acciQe.mjs → delete-table-BqpeGdMY.mjs} +4 -4
- package/dist/{dependencies-BcPdAMYB.mjs → dependencies-DhA1jbDT.mjs} +5 -5
- package/dist/{dependency-DcM96XJ-.mjs → dependency-BPCRTBKd.mjs} +1 -1
- package/dist/dependency-BPwCXzX4.mjs +15 -0
- package/dist/{dependents-CRZaiOzg.mjs → dependents-4KgDZ4tl.mjs} +6 -6
- package/dist/{dirty-1taTj3G6.mjs → dirty-DWwwmOmi.mjs} +3 -3
- package/dist/{discard-values-DmiWAx4J.mjs → discard-values-6nmAd4kW.mjs} +5 -5
- package/dist/document-CC60L29U.mjs +20 -0
- package/dist/{download-CEvVDGeC.mjs → download-ZCfcKa2L.mjs} +2 -2
- package/dist/{eid-pO_lMTI9.mjs → eid-CjLvyBgT.mjs} +2 -2
- package/dist/{entry-flags-CswcY8bG.mjs → entry-flags-2u45mDJ4.mjs} +1 -1
- package/dist/{events-cGDPEL5_.mjs → events-B_UxJw3Z.mjs} +4 -4
- package/dist/{execute-DHGbJpPr.mjs → execute-Dg94sYQd.mjs} +11 -7
- package/dist/{export-B0NUSP6q.mjs → export-BdLB30iy.mjs} +3 -3
- package/dist/{export-flags-iXfEILf7.mjs → export-flags-DvdxpRMt.mjs} +1 -1
- package/dist/{export-preflight-Bbl1bHpI.mjs → export-preflight-ChaWosZf.mjs} +2 -2
- package/dist/field-ClWwbYtG.mjs +21 -0
- package/dist/{fields-M66PaKdV.mjs → fields-B1cPeIGv.mjs} +4 -4
- package/dist/{filter-flags-ezqqsOQL.mjs → filter-flags-BEz2s28-.mjs} +1 -1
- package/dist/{fks-BvOGzID5.mjs → fks-DgvW6D_7.mjs} +5 -5
- package/dist/{get-Bt2Q516N.mjs → get-B69NUYR0.mjs} +4 -4
- package/dist/{get-ZSLfDowg.mjs → get-B94nj2uY.mjs} +2 -2
- package/dist/{get-Cfg52y7X.mjs → get-BK7nxbPU.mjs} +2 -2
- package/dist/{get-zGreQNnG.mjs → get-BM9AFJAi.mjs} +2 -2
- package/dist/{get-jzChrvn2.mjs → get-BYNEZFNj.mjs} +5 -5
- package/dist/{get-DGlZtzfB.mjs → get-BxrS4Vi8.mjs} +4 -4
- package/dist/{get-CEreA2oN.mjs → get-C_bCGVsR.mjs} +3 -3
- package/dist/{get-SOCVdBIU.mjs → get-Ck2LNXxw.mjs} +3 -3
- package/dist/{get-BL_9fN-q.mjs → get-CmWe9xq9.mjs} +5 -5
- package/dist/{get-DKZLwN3K.mjs → get-D4oXmJTn.mjs} +5 -5
- package/dist/{get-CCLnfOOE.mjs → get-DC1lAsH_.mjs} +3 -3
- package/dist/{get-D-ElxFlQ.mjs → get-DIR9LODa.mjs} +4 -4
- package/dist/{get-0T9zeyCh.mjs → get-DStLX5Ah.mjs} +3 -3
- package/dist/{get-wPkejadn.mjs → get-DckpwiZG.mjs} +4 -4
- package/dist/{get-HtzPLpy2.mjs → get-DkSvigdw.mjs} +3 -3
- package/dist/{get-CJFg7YM5.mjs → get-Dsm_2AXn.mjs} +3 -3
- package/dist/{get-uB7jROcz.mjs → get-DuVVF8xb.mjs} +3 -3
- package/dist/{get-D-8G7EoL.mjs → get-Ljt0QVR0.mjs} +3 -3
- package/dist/{get-B3Ceh_7N.mjs → get-UNjwy8OI.mjs} +3 -3
- package/dist/{get-D7y_z5K7.mjs → get-VrzY4qxg.mjs} +2 -2
- package/dist/{get-BzIQK_mt.mjs → get-jphhROdg.mjs} +3 -3
- package/dist/{get-C3j93ivl.mjs → get-n9udbUQS.mjs} +3 -3
- package/dist/{get-run-BZP_z57v.mjs → get-run-D5vfGnIN.mjs} +4 -4
- package/dist/git-sync-Bc9pf1LL.mjs +29 -0
- package/dist/glossary-CAzA-OIR.mjs +14 -0
- package/dist/{graph-CdKi07zZ.mjs → graph-CvIhSOEe.mjs} +4 -4
- package/dist/{group--6adAsqG.mjs → group-KiKh0UFs.mjs} +1 -1
- package/dist/{has-remote-changes-d_JyzdPX.mjs → has-remote-changes-57yJkr3b.mjs} +2 -2
- package/dist/{import-1bK-qrjV.mjs → import-HHsz_zDq.mjs} +3 -3
- package/dist/{is-dirty-BXwvuTeD.mjs → is-dirty-CxX_4rBC.mjs} +2 -2
- package/dist/{items-Dzh_xylQ.mjs → items-B2NR1_u3.mjs} +3 -3
- package/dist/{library-BA1QssFE.mjs → library-DXvOVBTe.mjs} +5 -5
- package/dist/{list-DuaFmOCz.mjs → list-B44qweQa.mjs} +3 -3
- package/dist/{list-Dn5_L-85.mjs → list-BK4VwtKe.mjs} +3 -3
- package/dist/{list-BWNw-ppI.mjs → list-BTpj7dv4.mjs} +5 -5
- package/dist/{list-B5D3leO9.mjs → list-BU72dCx0.mjs} +3 -3
- package/dist/{list-DHX7-8Ae.mjs → list-BsQHh8w4.mjs} +3 -3
- package/dist/{list-0TtkxraU.mjs → list-Bwi5npRx.mjs} +3 -3
- package/dist/{list-_jHBfq0E.mjs → list-C6A-Eqgv.mjs} +5 -5
- package/dist/{list-DR9dswtK.mjs → list-CNoCRL4D.mjs} +3 -3
- package/dist/{list-D_SfsO_-.mjs → list-CY54buuD.mjs} +4 -4
- package/dist/{list-DQNbHPNQ.mjs → list-CcZAP1sH.mjs} +5 -5
- package/dist/{list-iFtmAfVv.mjs → list-CtW9rAs4.mjs} +3 -3
- package/dist/{list-CdpEUPL-.mjs → list-DEQvaioL.mjs} +5 -5
- package/dist/{list-CvQlMhrb.mjs → list-DJ0_FcgB.mjs} +6 -6
- package/dist/{list-Dv3s_PIu.mjs → list-DJogq3Ez.mjs} +3 -3
- package/dist/{list-Dz2YVD7m.mjs → list-DMbtH6tY.mjs} +3 -3
- package/dist/{list-7qcWFDXR.mjs → list-DQ5BDB52.mjs} +4 -4
- package/dist/{list-B70w2ibG.mjs → list-DhCSllG2.mjs} +3 -3
- package/dist/{list-TzuL_7GA.mjs → list-DiN5mPrk.mjs} +3 -3
- package/dist/{list-2doqGDIF.mjs → list-Dv8U4e-C.mjs} +3 -3
- package/dist/{list-DSi8mf_F.mjs → list-JS7ASJc-.mjs} +4 -4
- package/dist/{list-DDV5PylU.mjs → list-L4_At_o9.mjs} +3 -3
- package/dist/{list-BjpGurur.mjs → list-l09h4Zp6.mjs} +3 -3
- package/dist/{list-B75rzgSi.mjs → list-rA9U_VyF.mjs} +3 -3
- package/dist/{login-LAFw5Xxu.mjs → login-DVLN1666.mjs} +33 -16
- package/dist/{logout-CjYzDvLH.mjs → logout-BiZxbftK.mjs} +2 -2
- package/dist/{measure-DgtOyIoD.mjs → measure-B7Ud8GU1.mjs} +6 -6
- package/dist/{notification-BEJaEZS2.mjs → notification-Bj45MgWm.mjs} +1 -1
- package/dist/{parameter-values-CRwVLpRD.mjs → parameter-values-BwaIYczs.mjs} +3 -3
- package/dist/{parse-id-EXZan40V.mjs → parse-id-BXkvTl89.mjs} +1 -1
- package/dist/{path-BA_GGcGN.mjs → path-BbR0QB1I.mjs} +4 -4
- package/dist/{poll-vxN__4cz.mjs → poll-D5eA9cN2.mjs} +1 -1
- package/dist/{preflight-4iy2qzsh.mjs → preflight-BJ5Bve-N.mjs} +1 -1
- package/dist/process-cDa9fEBe.mjs +144 -0
- package/dist/{publish--I94MMjp.mjs → publish-d_WnLoJD.mjs} +3 -3
- package/dist/{pulse-CPSpum5U.mjs → pulse-DhddeMMG.mjs} +1 -1
- package/dist/{query-O1b4qIr4.mjs → query-DFb-XQNz.mjs} +3 -3
- package/dist/{query-C8w04b4F.mjs → query-Dkod9Tev.mjs} +4 -4
- package/dist/{remapping-BdX4nj-U.mjs → remapping-clW2Rgcz.mjs} +3 -3
- package/dist/{remove-collection-dltKu8LO.mjs → remove-collection-CjRtrkLW.mjs} +3 -3
- package/dist/{render-DK2j4BwQ.mjs → render-C_Oy6cF5.mjs} +1 -1
- package/dist/{replace-BfO6UFZN.mjs → replace-8hEY7br8.mjs} +4 -4
- package/dist/{requirement-check-1fcffJj6.mjs → requirement-check-B7MNfiXv.mjs} +2 -2
- package/dist/{rescan-values-0-c5Gqtx.mjs → rescan-values-0owEJyWj.mjs} +4 -4
- package/dist/{rescan-values-7bbNa7WZ.mjs → rescan-values-DaEu5sVZ.mjs} +3 -3
- package/dist/{run-BS_wUAsi.mjs → run-BlCJ0MYm.mjs} +4 -4
- package/dist/{run-Cf1nJahe.mjs → run-CXv_3NQt.mjs} +3 -3
- package/dist/{run-5b123gPi.mjs → run-Cr7QHB5S.mjs} +6 -6
- package/dist/run-Dc3u_olU.mjs +819 -0
- package/dist/{runs-BJ4uy05c.mjs → runs-624fiVP3.mjs} +5 -5
- package/dist/{runtime-D5yfliIq.mjs → runtime-DsfR_yrb.mjs} +78 -40
- package/dist/{scaffold-aUy3Ik4q.mjs → scaffold-D4Jo6VQc.mjs} +4 -4
- package/dist/{schema-Ds_j3N1I.mjs → schema-DXsx2_Mk.mjs} +2 -2
- package/dist/{schema-tables-BuFF9Psy.mjs → schema-tables-Bat1bYLS.mjs} +5 -5
- package/dist/{schemas-DaDsur6B.mjs → schemas-B8bgnxOA.mjs} +4 -4
- package/dist/{search-CTZzUd_j.mjs → search-BslDGFtS.mjs} +4 -4
- package/dist/{search-BcJgmPU3.mjs → search-fXh_MkLZ.mjs} +4 -4
- package/dist/{segment-zy4VVraQ.mjs → segment-Bb7JTPmv.mjs} +6 -6
- package/dist/{send-D0ikejQU.mjs → send-YnL6iiOt.mjs} +3 -3
- package/dist/{set-CjAaw2ZL.mjs → set-CydWEHNW.mjs} +2 -2
- package/dist/{set-active-BQjKw1wk.mjs → set-active-C-x_A0AY.mjs} +2 -2
- package/dist/{set-bundle-6Qknum1I.mjs → set-bundle-DaHlkEYA.mjs} +5 -5
- package/dist/{set-data-actions-LcWEP4RO.mjs → set-data-actions-C3NwuCSF.mjs} +3 -3
- package/dist/{set-enabled-C8Yww7Yv.mjs → set-enabled-CjUOudzn.mjs} +2 -2
- package/dist/{set-sensitivity-OVcL2PbY.mjs → set-sensitivity-DAodU0MG.mjs} +3 -3
- package/dist/{setting-BsIBFvRP.mjs → setting-Bil7qFf0.mjs} +4 -4
- package/dist/{setup-BxUd_KYl.mjs → setup-B8GRygkY.mjs} +2 -2
- package/dist/{skill-list-BoJITnw8.mjs → skill-list-4LagdTq5.mjs} +1 -1
- package/dist/{skills-CQRgUHI3.mjs → skills-CW1wIl0c.mjs} +3 -3
- package/dist/{skills-BQBerRAk.mjs → skills-DYfZF1GA.mjs} +4 -39
- package/dist/snippet-D9g83-mO.mjs +19 -0
- package/dist/{stash-BGqpcbSW.mjs → stash-T0WRHnFD.mjs} +3 -3
- package/dist/{status-_wPMW1wq.mjs → status-BRMzSa12.mjs} +3 -3
- package/dist/{status-CcOJIgfB.mjs → status-CW1bsfaP.mjs} +2 -2
- package/dist/{subscription-CqUIrnUJ.mjs → subscription-Edc8UK2V.mjs} +6 -6
- package/dist/{subscriptions-BP83ctRX.mjs → subscriptions-DMiWl84r.mjs} +6 -6
- package/dist/{summary-Byz6Y1v-.mjs → summary-CFnwsMoV.mjs} +3 -3
- package/dist/{sync-schema-DQBHc3bt.mjs → sync-schema-COvbx-g4.mjs} +4 -4
- package/dist/{sync-schema-BJ-AtcCq.mjs → sync-schema-VzwA_5tH.mjs} +4 -4
- package/dist/table-CC-rFakp.mjs +26 -0
- package/dist/{table-BNA9Or05.mjs → table-DFbkLSgK.mjs} +1 -1
- package/dist/{table-selector-flags-BpFFoSaT.mjs → table-selector-flags-BhZo8RHH.mjs} +2 -2
- package/dist/timeline-C2ZUL_9F.mjs +21 -0
- package/dist/{timeline-event-BHfAXJrB.mjs → timeline-event-BqM82_7L.mjs} +6 -6
- package/dist/transform-BtB6iOJ9.mjs +28 -0
- package/dist/{transform-DKPtUV54.mjs → transform-CKeLIqoc.mjs} +1 -1
- package/dist/transform-job-I2Q5f0yN.mjs +22 -0
- package/dist/{transform-tag-DZEvmwxY.mjs → transform-tag-CxXDADhM.mjs} +5 -5
- package/dist/transform-test-B6jvvXeh.mjs +16 -0
- package/dist/{transform-test-C49ZTK7M.mjs → transform-test-C0c4zjcf.mjs} +1 -1
- package/dist/{transform-test-Bexa_K89.mjs → transform-test-DHTxBt4k.mjs} +2 -2
- package/dist/{transforms-D1wwWdCY.mjs → transforms-WyRUDM1j.mjs} +5 -5
- package/dist/{transport-BWixD5Ww.mjs → transport-Byycx3RW.mjs} +3 -4
- package/dist/{tree-IymKTTCK.mjs → tree-CMeV4bI8.mjs} +2 -2
- package/dist/{typed-schema-gaIKntyu.mjs → typed-schema-DsGXH-La.mjs} +3 -3
- package/dist/{unpublish-BnP0O_S2.mjs → unpublish-EaVPnnZ5.mjs} +3 -3
- package/dist/{unreferenced-DDkcn8EQ.mjs → unreferenced-BvE7ke0M.mjs} +5 -5
- package/dist/{update-CKrLtJWZ.mjs → update--uKYjq9_.mjs} +4 -4
- package/dist/{update-C_VV1SP8.mjs → update-B8EnadKJ.mjs} +3 -3
- package/dist/{update-CFkOEnUu.mjs → update-BDghcetp.mjs} +3 -3
- package/dist/{update-DL1Iex_M.mjs → update-BPhLIVs9.mjs} +2 -2
- package/dist/{update-DntKWUl2.mjs → update-BSWoKNrf.mjs} +3 -3
- package/dist/{update-BsEG1dRm.mjs → update-Bb1HPTH2.mjs} +4 -4
- package/dist/{update-Cga4lrX5.mjs → update-BgQ9TU63.mjs} +5 -5
- package/dist/{update-gAPjldWw.mjs → update-BtWR4ri9.mjs} +3 -3
- package/dist/{update-ReSzm23m.mjs → update-CFYVJJqw.mjs} +3 -3
- package/dist/{update-D9eA9UOf.mjs → update-CNzu9eG1.mjs} +5 -5
- package/dist/{update-K8FwdJEV.mjs → update-CT9e8m-I.mjs} +3 -3
- package/dist/{update-BAocDvnS.mjs → update-DZPo69an.mjs} +4 -4
- package/dist/{update-Bfws2FN2.mjs → update-Dcwpy8BO.mjs} +3 -3
- package/dist/{update-CgJwzutJ.mjs → update-DjBJQCNg.mjs} +3 -3
- package/dist/{update-C0p1E-hs.mjs → update-DrY4i6eO.mjs} +4 -4
- package/dist/{update-D9fs-PSK.mjs → update-DwGo58Kc.mjs} +4 -4
- package/dist/{update-BemK_tZ_.mjs → update-DyXj5mTv.mjs} +3 -3
- package/dist/{update-dashcard-Bpv45o1_.mjs → update-dashcard-BhT2FBd4.mjs} +3 -3
- package/dist/{update-BiBazvzY.mjs → update-t2zdccd5.mjs} +5 -5
- package/dist/{update-CsH0lSpQ2.mjs → update-wh2EjN242.mjs} +3 -3
- package/dist/{update-CyfLXFKR.mjs → update-xYxKw2UB.mjs} +3 -3
- package/dist/{upgrade-D3aDQZwd.mjs → upgrade-BqBjnjjU.mjs} +3 -4
- package/dist/upload-C0GfBUvp.mjs +13 -0
- package/dist/{upload-BAD_9okY.mjs → upload-D0zRTkyv.mjs} +1 -1
- package/dist/{upload-B8HbBXb8.mjs → upload-kM0-7Bx2.mjs} +3 -3
- package/dist/{uuid-BIDBDPLI.mjs → uuid-DsuYe9z7.mjs} +2 -2
- package/dist/{values-BDekphEw.mjs → values-kLEvyjSy.mjs} +3 -3
- package/dist/{verify-k0WHgc16.mjs → verify-ChvmI4lq.mjs} +3 -3
- package/dist/{verify-CMTrDvAW.mjs → verify-CvYsiaqY.mjs} +3 -3
- package/dist/{verify-BnZqq9Aw.mjs → verify-D27n5y3t.mjs} +3 -3
- package/dist/{wait-C69z8PSw.mjs → wait-DioDMGLJ.mjs} +4 -4
- package/dist/{wait-flags-C3cu_O0w.mjs → wait-flags-Qqvlb3Rv.mjs} +2 -2
- package/dist/{window-D1w7B0vh.mjs → window-BoW2xWwm.mjs} +1 -1
- package/dist/yaml-QoEP-7KU.mjs +38 -0
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +1 -1
- package/skill-data/data-action/SKILL.md +50 -18
- package/skill-data/data-app/SKILL.md +3 -3
- package/skill-data/data-app/template/README.md +6 -2
- package/skill-data/data-app/template/gitignore +1 -1
- package/skill-data/data-app/template/package.json +1 -0
- package/skill-data/data-app-actions/SKILL.md +11 -5
- package/skill-data/mbql/SKILL.md +2 -2
- package/dist/api-key-DJfhPe4x.mjs +0 -13
- package/dist/card-nOX_QJ9u.mjs +0 -25
- package/dist/collection-Cs84x7WB.mjs +0 -21
- package/dist/create-B57Sj0om.mjs +0 -47
- package/dist/dashboard-DeSaOt2Z.mjs +0 -35
- package/dist/data-action-Dpt7pfzd.mjs +0 -24
- package/dist/dependency-_SgcW_fL.mjs +0 -15
- package/dist/document-DB6YGtqX.mjs +0 -20
- package/dist/field-AkNMIQnx.mjs +0 -21
- package/dist/git-sync-DaHnqpYi.mjs +0 -29
- package/dist/glossary-Br_mSh3i.mjs +0 -14
- package/dist/process-BQC3mK2k.mjs +0 -71
- package/dist/signal-BNUlQjpc.mjs +0 -25
- package/dist/snippet-CRLI3fYI.mjs +0 -19
- package/dist/table-nIdBLcz7.mjs +0 -26
- package/dist/timeline-Cw581KRT.mjs +0 -21
- package/dist/transform-job-sCgr8r-t.mjs +0 -22
- package/dist/transform-l1oC8oUS.mjs +0 -28
- package/dist/transform-test-hxkx6M8c.mjs +0 -16
- package/dist/upload-BqJLNCb1.mjs +0 -13
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { _ as formatZodIssue, c as InternalError, d as PartialWriteError, f as ResponseShapeError, g as errorMessage, o as ConfigError, p as TimeoutError, r as isPlainObject, y as isNonInterruptFailure } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { I as CapabilityError, Q as parseJsonOrPlain, i as methodRequirements, q as HttpError, r as isMethodKey } 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 { V as profileFromProperties,
|
|
4
|
+
import { V as profileFromProperties, at as SessionProperties } from "./runtime-DsfR_yrb.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-B7MNfiXv.mjs";
|
|
7
|
+
import { n as createTransport } from "./transport-Byycx3RW.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";
|
|
@@ -18,9 +18,9 @@ import { r as QueryMetadata, t as CompiledQuery } from "./dataset-LJxNN6p5.mjs";
|
|
|
18
18
|
import { c as CollectionItem, m as CollectionTreeNode, r as Collection } from "./collection-Cz2qLX2m.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-Cwsf-e9T.mjs";
|
|
21
|
-
import {
|
|
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
22
|
import { i as DataAppEntry, t as DataApp } from "./data-app-BUW-HlUo.mjs";
|
|
23
|
-
import { r as pollUntil } from "./poll-
|
|
23
|
+
import { r as pollUntil } from "./poll-D5eA9cN2.mjs";
|
|
24
24
|
import { i as DependencyEntity, s as DependencyGraph, t as BreakingSource, u as DependencyNode } from "./dependency-C1DExO6k.mjs";
|
|
25
25
|
import { t as Document } from "./document-BHOQq2T_.mjs";
|
|
26
26
|
import { i as EidTranslateResult } from "./eid-translation-Ba92VOHe.mjs";
|
|
@@ -37,7 +37,7 @@ import { n as SetupResult } from "./setup-BnczkG96.mjs";
|
|
|
37
37
|
import { i as TimelineEvent, t as Timeline } from "./timeline-DcsCXNUt.mjs";
|
|
38
38
|
import { c as transformJobSchema, n as TransformJobActiveResult, s as transformJobRunResultSchema } from "./transform-job-CDIb3B9o.mjs";
|
|
39
39
|
import { t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
40
|
-
import {
|
|
40
|
+
import { a as TransformTestRunResult, t as TransformTest } from "./transform-test-DHTxBt4k.mjs";
|
|
41
41
|
import { t as UploadResult } from "./upload-DAtxBBms.mjs";
|
|
42
42
|
import { z } from "zod";
|
|
43
43
|
//#region \0rolldown/runtime.js
|
|
@@ -778,7 +778,10 @@ function dataActionResource(transport) {
|
|
|
778
778
|
const schema = await readSchema(options);
|
|
779
779
|
return transport.requestParsed(schema, `/api/action/${id}`, { ...options });
|
|
780
780
|
}
|
|
781
|
-
/**
|
|
781
|
+
/**
|
|
782
|
+
* Create a data action in a collection: a parameterized native query that writes to a database, or
|
|
783
|
+
* an implicit action that inserts, updates, or deletes one row of a table.
|
|
784
|
+
*/
|
|
782
785
|
async function create(params, options = {}) {
|
|
783
786
|
const schema = await readSchema(options);
|
|
784
787
|
return transport.requestParsed(schema, "/api/action", {
|
|
@@ -789,11 +792,13 @@ function dataActionResource(transport) {
|
|
|
789
792
|
}
|
|
790
793
|
/**
|
|
791
794
|
* Update a data action by id, patching only the fields the body carries. A server whose data
|
|
792
|
-
* actions have no collection never moves the action, and
|
|
793
|
-
*
|
|
795
|
+
* actions have no collection never moves the action, and one whose data actions need a model never
|
|
796
|
+
* moves an implicit action to another table; from 58.31 it strips the undeclared key and answers as
|
|
797
|
+
* if it had. So each field is refused there before the wire.
|
|
794
798
|
*/
|
|
795
799
|
async function update(id, params, options = {}) {
|
|
796
|
-
|
|
800
|
+
const tableId = "table_id" in params ? params.table_id : void 0;
|
|
801
|
+
await transport.requireFeatures([...gateTriggered(DATA_ACTION_COLLECTION_GATE, params.collection_id) ? [DATA_ACTION_COLLECTION_GATE.feature] : [], ...gateTriggered(DATA_ACTION_TABLE_GATE, tableId) ? [DATA_ACTION_TABLE_GATE.feature] : []], options);
|
|
797
802
|
const schema = await readSchema(options);
|
|
798
803
|
return transport.requestParsed(schema, `/api/action/${id}`, {
|
|
799
804
|
...options,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-KiKh0UFs.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-CNoCRL4D.mjs").then((mod) => mod.default),
|
|
12
|
+
get: () => import("./get-BM9AFJAi.mjs").then((mod) => mod.default),
|
|
13
|
+
items: () => import("./items-B2NR1_u3.mjs").then((mod) => mod.default),
|
|
14
|
+
tree: () => import("./tree-CMeV4bI8.mjs").then((mod) => mod.default),
|
|
15
|
+
create: () => import("./create-CUcwiQgH.mjs").then((mod) => mod.default),
|
|
16
|
+
update: () => import("./update-CT9e8m-I.mjs").then((mod) => mod.default),
|
|
17
|
+
archive: () => import("./archive-P-y61Wi_.mjs").then((mod) => mod.default)
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { collection_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { o as ConfigError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { q as HttpError } from "./cli.mjs";
|
|
3
3
|
//#region src/commands/transform/collection-namespace.ts
|
|
4
4
|
const TRANSFORMS_NAMESPACE_HINT = "transforms can only be filed in a :transforms-namespace collection. Create one with `mb collection create --body '{\"name\":\"…\"}' --namespace transforms` and pass its id as collection_id, or omit collection_id to leave the transform uncollected.";
|
|
5
5
|
function enrichTransformCollectionError(error) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group
|
|
1
|
+
import { t as defineCommandGroup } from "./group-KiKh0UFs.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-ZCfcKa2L.mjs").then((mod) => mod.default),
|
|
8
|
+
upload: () => import("./upload-kM0-7Bx2.mjs").then((mod) => mod.default)
|
|
9
9
|
}
|
|
10
10
|
});
|
|
11
11
|
//#endregion
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-BXkvTl89.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
4
4
|
import { t as Document } from "./document-BHOQq2T_.mjs";
|
|
5
|
-
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-
|
|
5
|
+
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-VQzi7vqf.mjs";
|
|
6
6
|
import { t as documentView } from "./document-lS1XZEF3.mjs";
|
|
7
7
|
//#region src/commands/document/copy.ts
|
|
8
8
|
var copy_default = defineMetabaseCommand({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-BXkvTl89.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
4
4
|
import { r as DashboardCopy } from "./dashboard-Cwsf-e9T.mjs";
|
|
5
5
|
import { t as dashboardCopyView } from "./dashboard-Bx2sYijR.mjs";
|
|
6
|
-
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-
|
|
6
|
+
import { n as parseCopyFlags, t as copyFlags } from "./copy-flags-VQzi7vqf.mjs";
|
|
7
7
|
//#region src/commands/dashboard/copy.ts
|
|
8
8
|
var copy_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { i as CreatedApiKey, r as ApiKeyCreateInput } from "./api-key-DbsqHlN6.mjs";
|
|
5
5
|
import { n as createdApiKeyView } from "./api-key-9jVV67hF.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { i as TransformJobCreateInput, t as TransformJob } from "./transform-job-CDIb3B9o.mjs";
|
|
5
5
|
import { t as transformJobView } from "./transform-job-D18XRLBK.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as DocumentCreateInput, t as Document } from "./document-BHOQq2T_.mjs";
|
|
5
5
|
import { t as documentView } from "./document-lS1XZEF3.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { i as CardDetail, r as CardCreateInput } from "./card-BJRZ5D5Q.mjs";
|
|
5
5
|
import { n as cardView } from "./card-VipF12MJ.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as MeasureCreateInput, t as Measure } from "./measure-BMWrX1ca.mjs";
|
|
5
5
|
import { MEASURE_DEFINITION, skipValidateFlag } from "./validate-query-Bf5FhhMI.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
2
|
import { o as NotificationCreateInput, r as Notification } from "./notification-B5yMuPmo.mjs";
|
|
3
|
-
import { t as notificationView } from "./notification-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
+
import { t as notificationView } from "./notification-Bj45MgWm.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
5
5
|
import { t as describeAlert } from "./summary-BytbDz6e.mjs";
|
|
6
6
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
7
7
|
//#region src/commands/alert/create.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { i as TimelineEvent, o as TimelineEventCreateInput } from "./timeline-DcsCXNUt.mjs";
|
|
5
5
|
import { t as timelineEventView } from "./timeline-BgWz8DYK.mjs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as TransformCreateInput, t as Transform } from "./transform-B62craFM.mjs";
|
|
5
5
|
import { TRANSFORM_SOURCE_QUERY, skipValidateFlag } from "./validate-query-Bf5FhhMI.mjs";
|
|
6
|
-
import { n as transformView } from "./transform-
|
|
7
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
6
|
+
import { n as transformView } from "./transform-CKeLIqoc.mjs";
|
|
7
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-D0_-6eWp.mjs";
|
|
8
8
|
//#region src/commands/transform/create.ts
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
|
-
import { r as TransformTestCreateInput, t as TransformTest } from "./transform-test-
|
|
5
|
-
import { n as transformTestView } from "./transform-test-
|
|
4
|
+
import { r as TransformTestCreateInput, t as TransformTest } from "./transform-test-DHTxBt4k.mjs";
|
|
5
|
+
import { n as transformTestView } from "./transform-test-C0c4zjcf.mjs";
|
|
6
6
|
//#region src/commands/transform-test/create.ts
|
|
7
7
|
var create_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { f as CollectionNamespace, o as CollectionCreateInput, r as Collection } from "./collection-Cz2qLX2m.mjs";
|
|
5
5
|
import { t as parseEnumFlag } from "./parse-enum-CEXPuN9H.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { a as DashboardCreateInput, s as DashboardLayoutInput, t as Dashboard } from "./dashboard-Cwsf-e9T.mjs";
|
|
5
5
|
import { n as dashboardView } from "./dashboard-Bx2sYijR.mjs";
|
|
6
|
-
import { n as wrapChainedDashboardWriteError, t as preflightDashcardCardReferences } from "./preflight-
|
|
6
|
+
import { n as wrapChainedDashboardWriteError, t as preflightDashcardCardReferences } from "./preflight-BJ5Bve-N.mjs";
|
|
7
7
|
//#region src/commands/dashboard/create.ts
|
|
8
8
|
const DashboardCreateBody = DashboardCreateInput.extend(DashboardLayoutInput.shape);
|
|
9
9
|
var create_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { i as PulseCreateInput, t as Pulse } from "./pulse-B2AmIWsO.mjs";
|
|
5
|
-
import { t as pulseView } from "./pulse-
|
|
5
|
+
import { t as pulseView } from "./pulse-DhddeMMG.mjs";
|
|
6
6
|
//#region src/commands/subscription/create.ts
|
|
7
7
|
var create_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as TransformTagCreateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
5
5
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as SegmentCreateInput, t as Segment } from "./segment-Cf-DrdjE.mjs";
|
|
5
5
|
import { SEGMENT_DEFINITION, skipValidateFlag } from "./validate-query-Bf5FhhMI.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as DataAppCreateInput, t as DataApp } from "./data-app-BUW-HlUo.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 { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as TimelineCreateInput, t as Timeline } from "./timeline-DcsCXNUt.mjs";
|
|
5
5
|
import { n as timelineView } from "./timeline-BgWz8DYK.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as Library } from "./library-C4g9pdiS.mjs";
|
|
4
4
|
import { t as libraryView } from "./library-BprxuqZl.mjs";
|
|
5
5
|
//#region src/commands/library/create.ts
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
|
+
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
|
+
import { a as DataActionCreateInput, r as DataAction } from "./data-action-DAw6WRTH.mjs";
|
|
5
|
+
import { DATA_ACTION_DATASET_QUERY, skipValidateFlag } from "./validate-query-Bf5FhhMI.mjs";
|
|
6
|
+
import { n as dataActionView } from "./data-action-Co_Yf1uC.mjs";
|
|
7
|
+
//#region src/commands/data-action/create.ts
|
|
8
|
+
var create_default = defineMetabaseCommand({
|
|
9
|
+
meta: {
|
|
10
|
+
name: "create",
|
|
11
|
+
description: "Create a data action from JSON"
|
|
12
|
+
},
|
|
13
|
+
details: "A data action writes to a database, filed in a collection. A table action inserts, updates, or deletes one row of a table: the JSON body needs `name`, `type: \"implicit\"`, `kind` (`row/create`, `row/update`, or `row/delete`), and `table_id`, a table with exactly one primary key, and Metabase derives its parameters from the table's columns. A query action is a parameterized native query: the body needs `name`, `type: \"query\"`, a native `dataset_query` whose `{{tag}}` placeholders are its inputs and whose `database` the action writes to, and `parameters` targeting those tags. `collection_id` picks a collection in the `data-actions` or `data-apps` namespace (omit for the data actions root; a regular collection is refused, and a data app's collection takes a table action only on a table published to the Library). Data actions must be enabled on the database (`mb db set-data-actions <id> true`). An MBQL 5 `dataset_query` is checked against a bundled JSON Schema (print it with `mb schema query`) before sending; pass --skip-validate to bypass.",
|
|
14
|
+
skills: [{
|
|
15
|
+
skill: "data-action",
|
|
16
|
+
purpose: "author a data action and its parameters"
|
|
17
|
+
}, {
|
|
18
|
+
skill: "native-sql",
|
|
19
|
+
purpose: "the native query and its template tags"
|
|
20
|
+
}],
|
|
21
|
+
requires: ["dataAction.create"],
|
|
22
|
+
args: {
|
|
23
|
+
...outputFlags,
|
|
24
|
+
...profileFlag,
|
|
25
|
+
...connectionFlags,
|
|
26
|
+
...bodyInputFlags,
|
|
27
|
+
...skipValidateFlag
|
|
28
|
+
},
|
|
29
|
+
inputSchema: DataActionCreateInput,
|
|
30
|
+
embeddedDocuments: [DATA_ACTION_DATASET_QUERY],
|
|
31
|
+
outputSchema: DataAction,
|
|
32
|
+
examples: [
|
|
33
|
+
"cat data-action.json | mb data-action create",
|
|
34
|
+
"mb data-action create --file data-action.json",
|
|
35
|
+
"mb data-action create --file data-action.json --skip-validate",
|
|
36
|
+
"mb data-action create --body '{\"name\":\"Add customer\",\"type\":\"implicit\",\"kind\":\"row/create\",\"table_id\":12}'"
|
|
37
|
+
],
|
|
38
|
+
async run({ args, ctx, getClient, readBody }) {
|
|
39
|
+
const body = await readBody({
|
|
40
|
+
flag: args.body,
|
|
41
|
+
file: args.file
|
|
42
|
+
});
|
|
43
|
+
const created = await (await getClient()).dataAction.create(body);
|
|
44
|
+
renderSummary(created, dataActionView, `Created data action ${created.id} "${created.name}".`, ctx);
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
//#endregion
|
|
48
|
+
export { create_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { r as GlossaryCreateInput, t as Glossary } from "./glossary-iPIWrEbP.mjs";
|
|
4
4
|
import { t as glossaryView } from "./glossary-CQRW3Z4d.mjs";
|
|
5
|
-
import { n as readEntryInput, t as entryFlags } from "./entry-flags-
|
|
5
|
+
import { n as readEntryInput, t as entryFlags } from "./entry-flags-2u45mDJ4.mjs";
|
|
6
6
|
//#region src/commands/glossary/create.ts
|
|
7
7
|
var create_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { o as ConfigError } from "./predicates-0C0TsWcJ.mjs";
|
|
2
|
-
import {
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
2
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
4
4
|
import { n as SyncBranchCreated } from "./git-sync-DP4wQFzm.mjs";
|
|
5
5
|
import { n as syncBranchCreatedView } from "./git-sync-D1aKczo6.mjs";
|
|
6
6
|
//#region src/commands/git-sync/create-branch.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
4
4
|
import { r as SnippetCreateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
5
5
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-BXkvTl89.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
4
4
|
import { t as UploadResult } from "./upload-DAtxBBms.mjs";
|
|
5
|
-
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-
|
|
5
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-D0zRTkyv.mjs";
|
|
6
6
|
import { t as uploadResultView } from "./upload-C3z5ZaXA.mjs";
|
|
7
7
|
//#region src/commands/upload/csv.ts
|
|
8
8
|
const ROOT_COLLECTION = "root";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { at as connectionFlags, dt as profileFlag, l as renderSummary, ut as outputFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DsfR_yrb.mjs";
|
|
3
3
|
import { u as syncTaskView } from "./git-sync-D1aKczo6.mjs";
|
|
4
4
|
import { n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-Gf86CU9l.mjs";
|
|
5
5
|
//#region src/commands/git-sync/current-task.ts
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-KiKh0UFs.mjs";
|
|
2
|
+
//#region src/commands/dashboard/index.ts
|
|
3
|
+
var dashboard_default = defineCommandGroup({
|
|
4
|
+
name: "dashboard",
|
|
5
|
+
description: "Manage Metabase dashboards",
|
|
6
|
+
skills: [
|
|
7
|
+
{
|
|
8
|
+
skill: "dashboard",
|
|
9
|
+
purpose: "wiring filters, linked filters, cross-filtering, click behavior, tabs"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
skill: "visualization",
|
|
13
|
+
purpose: "dashcard display and visualization_settings"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
skill: "core",
|
|
17
|
+
purpose: "the 24-column dashcard grid layout"
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
subCommands: {
|
|
21
|
+
list: () => import("./list-BK4VwtKe.mjs").then((mod) => mod.default),
|
|
22
|
+
get: () => import("./get-jphhROdg.mjs").then((mod) => mod.default),
|
|
23
|
+
cards: () => import("./cards-hYVyzntk.mjs").then((mod) => mod.default),
|
|
24
|
+
"parameter-values": () => import("./parameter-values-BwaIYczs.mjs").then((mod) => mod.default),
|
|
25
|
+
subscriptions: () => import("./subscriptions-DMiWl84r.mjs").then((mod) => mod.default),
|
|
26
|
+
create: () => import("./create-C_5-HH9u.mjs").then((mod) => mod.default),
|
|
27
|
+
update: () => import("./update-DwGo58Kc.mjs").then((mod) => mod.default),
|
|
28
|
+
"update-dashcard": () => import("./update-dashcard-BhT2FBd4.mjs").then((mod) => mod.default),
|
|
29
|
+
copy: () => import("./copy-BAP_y6s1.mjs").then((mod) => mod.default),
|
|
30
|
+
verify: () => import("./verify-D27n5y3t.mjs").then((mod) => mod.default),
|
|
31
|
+
archive: () => import("./archive-CbtQNK96.mjs").then((mod) => mod.default)
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
//#endregion
|
|
35
|
+
export { dashboard_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { i as DataActionCompact, s as DataActionExecuteResult } from "./data-action-DAw6WRTH.mjs";
|
|
2
2
|
//#region src/output/views/data-action.ts
|
|
3
3
|
const dataActionView = {
|
|
4
4
|
compactPick: DataActionCompact,
|
|
@@ -23,6 +23,10 @@ const dataActionView = {
|
|
|
23
23
|
key: "database_id",
|
|
24
24
|
label: "Database"
|
|
25
25
|
},
|
|
26
|
+
{
|
|
27
|
+
key: "table_id",
|
|
28
|
+
label: "Table"
|
|
29
|
+
},
|
|
26
30
|
{
|
|
27
31
|
key: "archived",
|
|
28
32
|
label: "Archived"
|
|
@@ -31,10 +35,24 @@ const dataActionView = {
|
|
|
31
35
|
};
|
|
32
36
|
const dataActionExecuteResultView = {
|
|
33
37
|
compactPick: DataActionExecuteResult,
|
|
34
|
-
tableColumns: [
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
+
tableColumns: [
|
|
39
|
+
{
|
|
40
|
+
key: "rows-affected",
|
|
41
|
+
label: "Rows affected"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
key: "rows-updated",
|
|
45
|
+
label: "Rows updated"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
key: "rows-deleted",
|
|
49
|
+
label: "Rows deleted"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
key: "created-row",
|
|
53
|
+
label: "Created row"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
38
56
|
};
|
|
39
57
|
//#endregion
|
|
40
58
|
export { dataActionView as n, dataActionExecuteResultView as t };
|