@metabase/cli 0.5.17 → 0.5.18-alpha.feat-client-metadata-sync.62991f3
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-C7MKpQ_s.mjs → add-collection-Doz6PLRH.mjs} +5 -5
- package/dist/{alert-5KJl2LGw.mjs → alert-KXCBQPec.mjs} +7 -7
- package/dist/{alerts-VdBqaRBN.mjs → alerts-IRJ8Bs4f.mjs} +4 -4
- package/dist/api-key-DwO3gJVG.mjs +13 -0
- package/dist/{append-CKR_78Hr.mjs → append-BOaxY3KO.mjs} +4 -4
- package/dist/{archive-BaNVn1zm.mjs → archive-AWp23053.mjs} +5 -5
- package/dist/{archive-C_t5LBQX.mjs → archive-BByEUxxf.mjs} +3 -3
- package/dist/{archive-b2ZdURU-.mjs → archive-BOxAT6AC.mjs} +3 -3
- package/dist/{archive-BuGuzMOF.mjs → archive-Bluuyn_Z.mjs} +3 -3
- package/dist/{archive-fxJhlFeE.mjs → archive-CFeW8_Rg.mjs} +5 -5
- package/dist/{archive-hBsJNt9B.mjs → archive-CR7f_0zD.mjs} +5 -5
- package/dist/{archive-Lv8i5kbZ.mjs → archive-Cwj84MfH.mjs} +3 -3
- package/dist/{archive-BO1Lhbhj.mjs → archive-DEvmGuyO.mjs} +3 -3
- package/dist/{archive-yzyLfcKv.mjs → archive-DKlVwGEZ.mjs} +3 -3
- package/dist/{archive-DMGJ8d64.mjs → archive-Dk5KLoVp.mjs} +3 -3
- package/dist/{archive-PyBRVjY2.mjs → archive-m-RJDTpD.mjs} +3 -3
- package/dist/{archive-A-q9e46B.mjs → archive-nSlbpXP1.mjs} +3 -3
- package/dist/{auth-zQZU0h1l.mjs → auth-CHfMrcwa.mjs} +5 -5
- package/dist/{branch-flag-ClXFjNvx.mjs → branch-flag-kZkAZcPJ.mjs} +1 -1
- package/dist/{branches-BNuxljRy.mjs → branches-CLvL_FiU.mjs} +2 -2
- package/dist/{breaking-B2p2TbDM.mjs → breaking-Bg3r03p7.mjs} +5 -5
- package/dist/{broken-DhnT5VzF.mjs → broken-g3-Q_xdj.mjs} +7 -7
- package/dist/{bulk-discard-values-KzDA_90h.mjs → bulk-discard-values-DjOjvHrC.mjs} +4 -4
- package/dist/{bulk-edit-BlnQtpvj.mjs → bulk-edit-v2AXm4th.mjs} +3 -3
- package/dist/{bulk-rescan-values-D9JN-CFA.mjs → bulk-rescan-values-h9jHle8d.mjs} +3 -3
- package/dist/{bulk-sync-schema-k_J9jizj.mjs → bulk-sync-schema-BJ8eKbDD.mjs} +3 -3
- package/dist/{cancel-hoChHxqA.mjs → cancel-BJW1b1dQ.mjs} +3 -3
- package/dist/{cancel-task-GA9Szh_n.mjs → cancel-task-BSsXIuk5.mjs} +4 -4
- package/dist/card-CTcJ_LgJ.mjs +25 -0
- package/dist/{cards-e5n3QAov.mjs → cards-BdMeVR2l.mjs} +5 -5
- package/dist/{ci-D8Q5uinJ.mjs → ci-CCOLa8t6.mjs} +2 -2
- package/dist/cli.mjs +287 -143
- package/dist/{client-CjR4yUXv.mjs → client-R2arAHr6.mjs} +719 -53
- package/dist/{collection-UBLWQLeo.mjs → collection-875u7UiH.mjs} +11 -2
- package/dist/collection-BoW0udvl.mjs +21 -0
- package/dist/{collection-T1vdKXLp.mjs → collection-CcagB_dn.mjs} +1 -1
- package/dist/{collection-namespace-D5df5a3W.mjs → collection-namespace-BHGpFZ3M.mjs} +2 -2
- package/dist/{content-translation-DGVLulsm.mjs → content-translation-daNV6kg_.mjs} +3 -3
- package/dist/{copy-D5Xwxf8O.mjs → copy-B7hI6eEN.mjs} +6 -6
- package/dist/{copy-flags-4FH-1Kli.mjs → copy-flags-Dqt64LEy.mjs} +2 -2
- package/dist/{copy-BXIL7wYk.mjs → copy-gwGJ_cUf.mjs} +6 -6
- package/dist/{create-BNXNJK2B.mjs → create-3Q9RNSbB.mjs} +5 -5
- package/dist/{create-heJR0nJH.mjs → create-B1T7TFyI.mjs} +4 -4
- package/dist/{create-se8RRWKu.mjs → create-B76IZr9s.mjs} +2 -2
- package/dist/{create-BYln360V.mjs → create-BEFc-O32.mjs} +3 -3
- package/dist/{create-B27Y2Agn.mjs → create-BEfNv4Zk.mjs} +2 -2
- package/dist/{create-DEkqfDmi.mjs → create-Bk7P-Yvj.mjs} +2 -2
- package/dist/{create-045KXNCm.mjs → create-BqlMVJec.mjs} +3 -3
- package/dist/{create-BE5VOx07.mjs → create-C4ShLNVR.mjs} +4 -4
- package/dist/{create-DU8dvDn6.mjs → create-CPWSr9G8.mjs} +2 -2
- package/dist/{create-BjhYTFJK.mjs → create-D7S_3xBQ.mjs} +2 -2
- package/dist/{create-CYVv0RkU.mjs → create-D8JTA7Le.mjs} +3 -3
- package/dist/{create-CfZWHNIu.mjs → create-DIJbmtVz.mjs} +2 -2
- package/dist/{create-BB2ZM7fL.mjs → create-DS333bp7.mjs} +2 -2
- package/dist/{create-LRsr3Uhf.mjs → create-DU1_aqM7.mjs} +5 -5
- package/dist/{create-C3cxBLip.mjs → create-DWyXT1EG.mjs} +5 -5
- package/dist/{create-BbnQQMIq.mjs → create-DrkPIVT_.mjs} +3 -3
- package/dist/{create-Cq0fW-no.mjs → create-DsoRQiay.mjs} +2 -2
- package/dist/{create-CYQD_XGH.mjs → create-Dyy8tlwX.mjs} +2 -2
- package/dist/{create-CMTpjoqJ2.mjs → create-EWOrQZPK2.mjs} +4 -4
- package/dist/{create-branch-BuXhvXjm.mjs → create-branch-DTWUrXt3.mjs} +5 -5
- package/dist/{csv-qx4IBp-p.mjs → csv-CoFZAUyP.mjs} +4 -4
- package/dist/{current-task-q6-QEL9Q.mjs → current-task-BliWyqRF.mjs} +4 -4
- package/dist/{dashboard-BpgLh8jq.mjs → dashboard-CLvvUUuF.mjs} +1 -1
- package/dist/{dashboard-CYgXhTBr.mjs → dashboard-D5BJZS3L.mjs} +1 -1
- package/dist/dashboard-k8J-xTya.mjs +35 -0
- package/dist/data-action-BnMNuKXF.mjs +24 -0
- package/dist/{data-app-B0t_SbO4.mjs → data-app-BPXbRiCS.mjs} +9 -9
- package/dist/{data-app-project-BMwuM3sR.mjs → data-app-project-iHL0cw4l.mjs} +4 -4
- package/dist/{database-C5ucihp3.mjs → database-BSETP2o-.mjs} +9 -2
- package/dist/{database-u_spHEa0.mjs → database-CCUXiXH_.mjs} +1 -1
- package/dist/{dataset-LJxNN6p5.mjs → dataset-a7Q_ocDR.mjs} +1 -1
- package/dist/{db-DTFpgPBk.mjs → db-B6CsAcGO.mjs} +8 -8
- package/dist/{delete-DjSFVFV7.mjs → delete-0KysyosT.mjs} +4 -4
- package/dist/{delete-Bw-UTJI7.mjs → delete-B0TejNG6.mjs} +4 -4
- package/dist/{delete-DVCNhz5n.mjs → delete-B63B0rxQ.mjs} +4 -4
- package/dist/{delete-BSlCKzBz.mjs → delete-BriGYfKX.mjs} +4 -4
- package/dist/{delete-CEqsZehc.mjs → delete-CSyFTd4O.mjs} +4 -4
- package/dist/{delete-gIdO570b.mjs → delete-Cg9p34Yn.mjs} +4 -4
- package/dist/{delete-Ct_dN7dm.mjs → delete-LjyoDT6v.mjs} +4 -4
- package/dist/{delete-Dmqrn_0-.mjs → delete-PsBn88HY.mjs} +4 -4
- package/dist/{delete-runtime-DL_-4ffZ.mjs → delete-runtime-Cxw6w3Jg.mjs} +1 -1
- package/dist/{delete-table-BhhP3-_p.mjs → delete-table-BEIEST8c.mjs} +4 -4
- package/dist/{delete-DMZCewEx.mjs → delete-yd9PVA42.mjs} +4 -4
- package/dist/{dependencies-DR_Bckq3.mjs → dependencies-C02UtWit.mjs} +3 -3
- package/dist/{dependency-MDyiJVQD.mjs → dependency-00_O1kxU.mjs} +1 -1
- package/dist/{dependency-DipNC15K.mjs → dependency-C4b_A3_L.mjs} +1 -1
- package/dist/dependency-OJt6j8Rz.mjs +15 -0
- package/dist/{dependents-DTa2DZ0A.mjs → dependents-Qw95Lz7J.mjs} +8 -8
- package/dist/{dirty-Dm1ZYpS7.mjs → dirty-Dl8l5Mnu.mjs} +4 -4
- package/dist/{discard-values-DRp7IqaQ.mjs → discard-values-CKJygmD3.mjs} +4 -4
- package/dist/document-CQZu5_6u.mjs +20 -0
- package/dist/{document-BcmSU5nG.mjs → document-PQg8DshK.mjs} +1 -1
- package/dist/{document-Bt-UgIBR.mjs → document-ks1uxhBt.mjs} +1 -1
- package/dist/{download-B5QADTKg.mjs → download-RZGQ0A_4.mjs} +2 -2
- package/dist/{eid-CEQZn7Ru.mjs → eid-DoSokRfL.mjs} +3 -3
- package/dist/{embedding-sdk-DioW9wdh.mjs → embedding-sdk-CPTZWbYX.mjs} +2 -2
- package/dist/{entity-CrmOaQ4E.mjs → entity-DBcuKQtX.mjs} +2 -2
- package/dist/{entry-flags-COaiQvXt.mjs → entry-flags-BUH3oq0_.mjs} +3 -3
- package/dist/{events-B4KDnJnZ.mjs → events-CqWx6kBk.mjs} +3 -3
- package/dist/{execute-B_grmyLF.mjs → execute-DCm75Gqp.mjs} +3 -3
- package/dist/{export-flags-eZeWPfeZ.mjs → export-flags-BbmWODey.mjs} +2 -2
- package/dist/{export-V1W9sn5C.mjs → export-j3vseqNf.mjs} +8 -8
- package/dist/{export-preflight-B2tvCt3v.mjs → export-preflight-CqQsoC7D.mjs} +5 -5
- package/dist/field-948ZmNyj.mjs +21 -0
- package/dist/{fields-R5D83pgR.mjs → fields-C2WLR9MI.mjs} +3 -3
- package/dist/{filter-flags-DjUePmM2.mjs → filter-flags-_Ettwj6g.mjs} +3 -3
- package/dist/{fks-B5VpYMev.mjs → fks-D6GyKGkJ.mjs} +3 -3
- package/dist/{generate-actions-O49UqjD3.mjs → generate-actions-DMohJdAR.mjs} +4 -4
- package/dist/{generate-queries-CCxaX_ce.mjs → generate-queries-BiAWtnNs.mjs} +4 -4
- package/dist/{generate-schema-Cbzw8S8T.mjs → generate-schema-bwXvJxoS.mjs} +4 -4
- package/dist/{get-BL7E_E2I.mjs → get-BXOsrbcJ.mjs} +5 -5
- package/dist/{get-C2g5h7yv.mjs → get-B_HF1fHz.mjs} +3 -3
- package/dist/{get-J019yh0K.mjs → get-BmB1rqbP.mjs} +3 -3
- package/dist/{get-CiHEY6YW.mjs → get-BsoZT5pD.mjs} +5 -5
- package/dist/{get-D-xmiRx5.mjs → get-Bzjyouf4.mjs} +3 -3
- package/dist/{get-D1EPFO5_.mjs → get-C1alPE6n.mjs} +3 -3
- package/dist/{get-DXjWWEWG.mjs → get-Ck-puGo7.mjs} +3 -3
- package/dist/{get-DTH_ZiwE.mjs → get-CpnKcGtI.mjs} +10 -5
- package/dist/{get-CPRkpfky.mjs → get-Cw6X-P3f.mjs} +5 -5
- package/dist/{get-DrCrl-ZN.mjs → get-CwFh-1_4.mjs} +5 -5
- package/dist/{get-H3X0ASHs.mjs → get-D2vxwt2k.mjs} +4 -4
- package/dist/{get-C7LFdtZL.mjs → get-DFxYnuY6.mjs} +3 -3
- package/dist/{get-BIX5uHft.mjs → get-DKM1Mjnv.mjs} +3 -3
- package/dist/{get-r_UoDqgf.mjs → get-DOsJ5lp5.mjs} +3 -3
- package/dist/{get-BsptQrzr.mjs → get-D_pWd9vx.mjs} +3 -3
- package/dist/{get-DWYhIlSs.mjs → get-DjN2OViL.mjs} +3 -3
- package/dist/{get-DqKsf4N-.mjs → get-DkAxTwr8.mjs} +3 -3
- package/dist/{get-Cib9UKz1.mjs → get-Dxa_nUE1.mjs} +3 -3
- package/dist/{get-BpGJSf8d.mjs → get-ES76HUol.mjs} +3 -3
- package/dist/{get-Dmxkihcr.mjs → get-N_Wg4ldh.mjs} +3 -3
- package/dist/{get-B_gS_XuD.mjs → get-kWurOLei.mjs} +3 -3
- package/dist/{get-Cd0QEjSh.mjs → get-lPjKko1Q.mjs} +3 -3
- package/dist/{get-run-BvzAhPi0.mjs → get-run-DhsmP0M6.mjs} +3 -3
- package/dist/{git-sync-D1aKczo6.mjs → git-sync-C0yHY3bG.mjs} +1 -1
- package/dist/git-sync-CfDVrtF4.mjs +399 -0
- package/dist/git-sync-DcLtMt7N.mjs +29 -0
- package/dist/glossary-BsgGg0tt.mjs +14 -0
- package/dist/{glossary-B1jwt25B.mjs → glossary-CnSPXHAd.mjs} +1 -1
- package/dist/{glossary--NSqIGy5.mjs → glossary-z3Nvbo2P.mjs} +1 -1
- package/dist/{graph-BOLRH-lU.mjs → graph-BVZozlPV.mjs} +6 -6
- package/dist/{group-DxaqX3Gg.mjs → group-DgqrMOKr.mjs} +1 -1
- package/dist/{has-remote-changes-CTrRo6EC.mjs → has-remote-changes-8aIYOtVz.mjs} +4 -4
- package/dist/{import-CsIkDnWQ.mjs → import-Bw9dpjTW.mjs} +8 -8
- package/dist/{is-dirty-CUToDpA1.mjs → is-dirty-C0-cuqId.mjs} +2 -2
- package/dist/{items-D9kxySKc.mjs → items-BiDYYKJl.mjs} +5 -5
- package/dist/{key-BPgr-uOm.mjs → key-DoqP1glp.mjs} +1 -1
- package/dist/{library-D2iGUx8x.mjs → library-B3gEYmUY.mjs} +5 -5
- package/dist/{library-9_e7RoW3.mjs → library-DlJjXXJT.mjs} +1 -1
- package/dist/{library-DpX_-UCK.mjs → library-DrbHqj17.mjs} +1 -1
- package/dist/{list-zImE-jdb.mjs → list-2fl3drTC.mjs} +2 -2
- package/dist/{list-C1X5JuzO.mjs → list-4dUPjyxu.mjs} +4 -4
- package/dist/{list-BIsh7CS4.mjs → list-7Aj5tI5u.mjs} +2 -2
- package/dist/{list-Y9W9n4rh.mjs → list-9nZjLEIs.mjs} +2 -2
- package/dist/{list-Bg-NYdYo.mjs → list-B1RWs_PU.mjs} +5 -5
- package/dist/{list-D76iHfwo.mjs → list-B27aC0K3.mjs} +5 -5
- package/dist/{list-YyWMvzzr.mjs → list-BHkfeSDZ.mjs} +4 -4
- package/dist/{list-gRSH0USz.mjs → list-BVEdcxMI.mjs} +2 -2
- package/dist/{list-ChATvCZv.mjs → list-CE86V6d7.mjs} +2 -2
- package/dist/{list-BSm3_is3.mjs → list-CI8ExOTr.mjs} +2 -2
- package/dist/{list-Cm0Qbs19.mjs → list-CKvwdWyA.mjs} +3 -3
- package/dist/{list-CRV4Fon9.mjs → list-CUVdAYLL.mjs} +2 -2
- package/dist/{list-CLK0ceIQ.mjs → list-CWmwMYdt.mjs} +2 -2
- package/dist/{list-CVq_OaRN.mjs → list-Ce9Rc88u.mjs} +2 -2
- package/dist/{list-nU9V7QAo.mjs → list-CqY1JdcJ.mjs} +2 -2
- package/dist/{list-D5FJ09yJ.mjs → list-Dhf1r1QA.mjs} +4 -4
- package/dist/{list-CYWzH6SZ.mjs → list-DpmjZh6O.mjs} +5 -5
- package/dist/{list-BmGs9ZA6.mjs → list-DpydX0Uj.mjs} +2 -2
- package/dist/{list-CzWbo_oA.mjs → list-DuMunh02.mjs} +2 -2
- package/dist/{list-DbLN30Iz.mjs → list-R5lP6AyK.mjs} +3 -3
- package/dist/{list-CLkY7s9r.mjs → list-Ul2HPe_m.mjs} +2 -2
- package/dist/{list-4Zir7Qa4.mjs → list-V9RzDHhV.mjs} +3 -3
- package/dist/{list-BAHaze-O.mjs → list-l7Vc9ygq.mjs} +3 -3
- package/dist/{login-8xVwIW-u.mjs → login-ZtnOTT3E.mjs} +6 -6
- package/dist/{logout-DxTMO924.mjs → logout-Rh-ziYoe.mjs} +3 -3
- package/dist/{measure-C4S2coO7.mjs → measure-D3BIENeY.mjs} +6 -6
- package/dist/{nano-id-C37LSdu-.mjs → nano-id-zMAia6PY.mjs} +3 -3
- package/dist/{parameter-values-C4lSrNn_.mjs → parameter-values-B2prOWpE.mjs} +5 -5
- package/dist/{parse-enum-Dh_pkHdD.mjs → parse-enum-Dm1BvZRN.mjs} +1 -1
- package/dist/{parse-id-DKKwr4c8.mjs → parse-id-uHxfeU_J.mjs} +1 -1
- package/dist/{parse-ref-01NRD9cO.mjs → parse-ref-CN-6HBFM.mjs} +1 -1
- package/dist/{parse-text-Bnmhu9uL.mjs → parse-text-C3VlFRgF.mjs} +1 -1
- package/dist/{path-BImEWndG.mjs → path-ClSZc9kq.mjs} +3 -3
- package/dist/poll-DZQmd1FY.mjs +73 -0
- package/dist/{predicates-RLoSqLcT.mjs → predicates-DQA0AsBx.mjs} +5 -1
- package/dist/{preflight-DxI4O7fK.mjs → preflight-CeXhEJfq.mjs} +3 -3
- package/dist/{process-BzhbQ7c6.mjs → process-DZcS6SKr.mjs} +1 -1
- package/dist/{publish-cJHKIiBC.mjs → publish-C88wsv8X.mjs} +5 -5
- package/dist/{query-VCxGhfTT.mjs → query-Dwbz3jIa.mjs} +8 -8
- package/dist/{query-BdyzoLZW.mjs → query-s4jHL2vO.mjs} +5 -5
- package/dist/{registry-flag-pFusSlf8.mjs → registry-flag-Cd9xHDG8.mjs} +3 -3
- package/dist/{remapping-D1Sa-xfO.mjs → remapping-DZrDEflG.mjs} +4 -4
- package/dist/{remove-collection-D-VC2Gw0.mjs → remove-collection-DkX956WQ.mjs} +5 -5
- package/dist/{render-Bmgfe3yb.mjs → render-DeextbV-.mjs} +2 -2
- package/dist/{replace-CEopwhIh.mjs → replace-BZq_g2N0.mjs} +4 -4
- package/dist/{requirement-check-B87F9671.mjs → requirement-check-C2UgVxhH.mjs} +10 -2
- package/dist/{rescan-values-CF-Dl6sN.mjs → rescan-values-B4PdHlFa.mjs} +3 -3
- package/dist/{rescan-values-DQDupjHI.mjs → rescan-values-D_GA2O5A.mjs} +5 -5
- package/dist/{run-DH72xxih.mjs → run-BG_0T7sd.mjs} +5 -5
- package/dist/{run-Bu7XLdUh.mjs → run-BMpyVzbj.mjs} +5 -5
- package/dist/{run-BAupv3WM.mjs → run-C8Bs9M59.mjs} +5 -5
- package/dist/{run-C3M2E0GK.mjs → run-DtiVvZs8.mjs} +3 -3
- package/dist/{runs-Sv7RD4Fq.mjs → runs-BtZd7MEt.mjs} +3 -3
- package/dist/{runtime-C604gE-r.mjs → runtime-DnT_GZj6.mjs} +68 -24
- package/dist/{scaffold-CmA20NoK.mjs → scaffold-BVdaXbAI.mjs} +7 -7
- package/dist/{schema-BWYgM6R4.mjs → schema-C_uv_vXv.mjs} +7 -7
- package/dist/{schema-tables-C9Sp4VWC.mjs → schema-tables-D5r7epWd.mjs} +3 -3
- package/dist/{schemas-Nk7rDuaw.mjs → schemas-BVvaNoDo.mjs} +3 -3
- package/dist/{sdk-version-Dk1-ILRc.mjs → sdk-version-DvJ3DbJv.mjs} +4 -4
- package/dist/{search-DYrl0gT0.mjs → search-Bey6E0ey.mjs} +5 -5
- package/dist/{search-b1w3LK09.mjs → search-OYNHHFVz.mjs} +5 -5
- package/dist/{segment-Bqtp0kFB.mjs → segment-DDher6hs.mjs} +6 -6
- package/dist/{send-ColF6-hL.mjs → send-CX6Uy9Jo.mjs} +3 -3
- package/dist/{set-DSXN4cLO.mjs → set-_Krhwwam.mjs} +3 -3
- package/dist/{set-active-BHCwRaZI.mjs → set-active-BgNHIC-K.mjs} +3 -3
- package/dist/{set-data-actions-B8QMEILh.mjs → set-data-actions-BMx-lvZg.mjs} +6 -6
- package/dist/{set-enabled-DgBE9cdW.mjs → set-enabled-yF4Wdb9w.mjs} +4 -4
- package/dist/{set-sensitivity-DZXMFyj1.mjs → set-sensitivity-B5yxGBSE.mjs} +4 -4
- package/dist/{setting-DdB-4mgj.mjs → setting-BnSt79in.mjs} +4 -4
- package/dist/{setup-8Kdv5hzG.mjs → setup-RR2vntYf.mjs} +2 -2
- package/dist/{skills-BVGZUFdg.mjs → skills-BmJKA9uZ.mjs} +4 -4
- package/dist/{skills-Gq6uSx2f.mjs → skills-RUaHyN6K.mjs} +3 -3
- package/dist/{slug-DciR6pKq.mjs → slug-DhT4O0Aa.mjs} +1 -1
- package/dist/snippet-COQDlcqA.mjs +19 -0
- package/dist/{stash-D7vPehrB.mjs → stash-HeuKiJRc.mjs} +7 -7
- package/dist/{status-BXv6DNe1.mjs → status-BXCtZluh.mjs} +3 -3
- package/dist/{status-MYpQhWUe.mjs → status-CVHLup7u.mjs} +5 -5
- package/dist/{subscription-BRGXG394.mjs → subscription-RUoqDWFg.mjs} +6 -6
- package/dist/{subscriptions-IGAziZPm.mjs → subscriptions-ll79tLnb.mjs} +4 -4
- package/dist/{summary-nrM5fHQ2.mjs → summary-CdnAvL_h.mjs} +3 -3
- package/dist/{sync-schema-Dz9wQd4G.mjs → sync-schema-COlp5kuP.mjs} +3 -3
- package/dist/{sync-schema-clOXGTeH.mjs → sync-schema-h3ONaYxj.mjs} +6 -6
- package/dist/{sync-task-Fo5vCyyW.mjs → sync-task-DPFDTvEe.mjs} +2 -2
- package/dist/table-CpryeXWm.mjs +26 -0
- package/dist/{table-selector-flags-D7rbRFD9.mjs → table-selector-flags-Cc2k6S0Z.mjs} +3 -3
- package/dist/{text-oFZn63P5.mjs → text-D1q1NlLJ.mjs} +1 -1
- package/dist/timeline-UvUcwMoj.mjs +21 -0
- package/dist/{timeline-event-zTlg0l93.mjs → timeline-event-BRvZjAEZ.mjs} +6 -6
- package/dist/transform-DJNByVrL.mjs +28 -0
- package/dist/transform-job-BmcWt0U9.mjs +22 -0
- package/dist/{transform-tag-BAACrCIl.mjs → transform-tag-B74RPJNJ.mjs} +5 -5
- package/dist/transform-test-D370AR0u.mjs +16 -0
- package/dist/{transforms-DJcALLGn.mjs → transforms-DVthwji8.mjs} +3 -3
- package/dist/{transport-DfIZveGA.mjs → transport-B9h9dznf.mjs} +118 -47
- package/dist/{tree-BJBeUJ9Y.mjs → tree-BTrA5iO3.mjs} +4 -4
- package/dist/{unpublish-DD84rHRH.mjs → unpublish-Bs7XK_hT.mjs} +3 -3
- package/dist/{unreferenced-TWCy-s5F.mjs → unreferenced-DvYxEkUg.mjs} +5 -5
- package/dist/{update-Bnak2DVK.mjs → update-2YyZln-M.mjs} +3 -3
- package/dist/{update-N-EjTy_6.mjs → update-AcnX00Mq.mjs} +4 -4
- package/dist/{update-BBkKvDBy.mjs → update-B3KC7vjf.mjs} +4 -4
- package/dist/{update-rBhrk13R.mjs → update-BLcSWwWy.mjs} +6 -6
- package/dist/{update-DZQ5ZEpV.mjs → update-BQtntlWV.mjs} +7 -7
- package/dist/{update-DBseT7BB.mjs → update-BrZAPNEP.mjs} +3 -3
- package/dist/{update-CFJR92_j2.mjs → update-C7aimtdU2.mjs} +3 -3
- package/dist/{update-BboO0IUv.mjs → update-CNzHKoxd.mjs} +3 -3
- package/dist/{update-JFFsF7kU.mjs → update-CU34-yKe.mjs} +3 -3
- package/dist/{update-GqB2gxF-.mjs → update-CXJ9X8tY.mjs} +3 -3
- package/dist/{update-De-fdx1H.mjs → update-Cx3O3DeP.mjs} +4 -4
- package/dist/{update-CuAoB110.mjs → update-DId8Ndo6.mjs} +6 -6
- package/dist/{update-COzu9X6G.mjs → update-DWUPWA2L.mjs} +3 -3
- package/dist/{update-Bu_yvXLE.mjs → update-DpBltpvj.mjs} +4 -4
- package/dist/{update-YH57RzrK.mjs → update-W-fwBlt_.mjs} +5 -5
- package/dist/{update-BhQa3TdY.mjs → update-c-kCEJ3y.mjs} +3 -3
- package/dist/{update-dashcard-DZtQUBVb.mjs → update-dashcard-CPdKAfVc.mjs} +5 -5
- package/dist/{update-B4DzHQ-j.mjs → update-rUWFU9M1.mjs} +3 -3
- package/dist/{update-ByN7IFld.mjs → update-tycBoZZw.mjs} +3 -3
- package/dist/{update-cvdd5OIM.mjs → update-vlwPkxCD.mjs} +5 -5
- package/dist/{upgrade-q-QAg5hL.mjs → upgrade-BRcOX0B3.mjs} +5 -5
- package/dist/{upload-CHzuTcgy.mjs → upload-BvPo6_ac.mjs} +2 -2
- package/dist/{upload-CSFjeAL6.mjs → upload-CUHHv2ra.mjs} +3 -3
- package/dist/upload-DfRSacr-.mjs +13 -0
- package/dist/{uuid-BNhr57o_.mjs → uuid-BZ7lmz8t.mjs} +3 -3
- package/dist/{validate-xmlIkST4.mjs → validate-CvcqIGsS.mjs} +1 -1
- package/dist/{validate-query-DuK8pUmu.mjs → validate-query-D1LLmD9e.mjs} +2 -2
- package/dist/{values-BB4cTLim.mjs → values-weHme-sq.mjs} +3 -3
- package/dist/{verify-C85vwjR-.mjs → verify-8edn9BHQ.mjs} +3 -3
- package/dist/{verify-DLn_hvyT.mjs → verify-BTA5ndic.mjs} +3 -3
- package/dist/{verify-mWoejtbQ.mjs → verify-CRE149Gu.mjs} +4 -4
- package/dist/{wait-jszi7SI3.mjs → wait-CgXeIPZ3.mjs} +6 -6
- package/dist/{wait-flags-BhjQdHSI.mjs → wait-flags-E45sKLtp.mjs} +2 -2
- package/dist/{yaml-CP5VvAqK.mjs → yaml-DKHMM0Qk.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +4 -1
- package/skill-data/data-app/SKILL.md +13 -3
- package/skill-data/data-app-actions/SKILL.md +1 -1
- package/skill-data/data-app-data/SKILL.md +2 -2
- package/skill-data/data-app-migration/SKILL.md +131 -0
- package/skill-data/data-app-migration/references/change.md +9 -0
- package/skill-data/data-app-migration/references/checkpoints.md +50 -0
- package/skill-data/data-app-migration/references/connect.md +29 -0
- package/skill-data/data-app-migration/references/handoff.md +29 -0
- package/skill-data/data-app-migration/references/mapping.md +125 -0
- package/skill-data/data-app-migration/references/parity.md +61 -0
- package/skill-data/data-app-migration/references/probe.md +107 -0
- package/skill-data/data-app-migration/references/records.md +42 -0
- package/skill-data/data-app-migration/references/spec.md +96 -0
- package/skill-data/data-app-testing/SKILL.md +1 -0
- package/skill-data/data-app-ui/SKILL.md +5 -3
- package/skill-data/data-workflow/references/building-clean-tables.md +2 -2
- package/skill-data/git-sync/SKILL.md +1 -1
- package/skill-data/visualization/references/settings.md +8 -5
- package/skills/metabase-cli/SKILL.md +7 -1
- package/dist/api-key-DDTTiZ-V.mjs +0 -13
- package/dist/card-CdVs1A7F.mjs +0 -25
- package/dist/collection-cuOHmg2x.mjs +0 -21
- package/dist/dashboard-DmzHMDNg.mjs +0 -35
- package/dist/data-action-xlWNyd_-.mjs +0 -24
- package/dist/dependency-Dr2i_220.mjs +0 -15
- package/dist/document-DISJSlag.mjs +0 -20
- package/dist/field-B2aEEVh7.mjs +0 -21
- package/dist/git-sync-BkLMpMFt.mjs +0 -29
- package/dist/git-sync-DP4wQFzm.mjs +0 -147
- package/dist/glossary-BKuLoz_5.mjs +0 -14
- package/dist/poll-DS8mUoSP.mjs +0 -46
- package/dist/snippet-RZ0EXUu6.mjs +0 -19
- package/dist/table-BZ3Gr7mc.mjs +0 -26
- package/dist/timeline-Bc7qsC-f.mjs +0 -21
- package/dist/transform-BeTeVVwe.mjs +0 -28
- package/dist/transform-job-B58u8FZl.mjs +0 -22
- package/dist/transform-test-DxNtkPnU.mjs +0 -16
- package/dist/upload-CtLEKvL6.mjs +0 -13
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { C as TableUpdateInput, a as Table } from "./table-hgrX1i-R.mjs";
|
|
6
6
|
import { u as tableView } from "./table-CcUdjp8F.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { c as DataActionUpdateInput, r as DataAction } from "./data-action-DAw6WRTH.mjs";
|
|
6
|
-
import { DATA_ACTION_DATASET_QUERY, skipValidateFlag } from "./validate-query-
|
|
6
|
+
import { DATA_ACTION_DATASET_QUERY, skipValidateFlag } from "./validate-query-D1LLmD9e.mjs";
|
|
7
7
|
import { n as dataActionView } from "./data-action-Co_Yf1uC.mjs";
|
|
8
8
|
//#region src/commands/data-action/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as CardDetail, l as CardUpdateInput } from "./card-BJRZ5D5Q.mjs";
|
|
6
6
|
import { n as cardView } from "./card-VipF12MJ.mjs";
|
|
7
|
-
import { CARD_DATASET_QUERY, skipValidateFlag } from "./validate-query-
|
|
7
|
+
import { CARD_DATASET_QUERY, skipValidateFlag } from "./validate-query-D1LLmD9e.mjs";
|
|
8
8
|
//#region src/commands/card/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { i as GlossaryUpdateInput, t as Glossary } from "./glossary-
|
|
5
|
-
import { t as glossaryView } from "./glossary
|
|
6
|
-
import { n as readEntryInput, t as entryFlags } from "./entry-flags-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
|
+
import { i as GlossaryUpdateInput, t as Glossary } from "./glossary-CnSPXHAd.mjs";
|
|
5
|
+
import { t as glossaryView } from "./glossary-z3Nvbo2P.mjs";
|
|
6
|
+
import { n as readEntryInput, t as entryFlags } from "./entry-flags-BUH3oq0_.mjs";
|
|
7
7
|
//#region src/commands/glossary/update.ts
|
|
8
8
|
var update_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { k as givenValue, t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { n as isBlank, p as ResponseShapeError, s as ConfigError, u as MetabaseError } from "./predicates-DQA0AsBx.mjs";
|
|
2
|
+
import { Q as chainRequestFailure, St as parseInteger, _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
4
|
+
import { k as givenValue, t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
8
|
-
import { n as collectionView } from "./collection-
|
|
6
|
+
import { _ as CollectionUpdateInput, r as Collection } from "./collection-875u7UiH.mjs";
|
|
7
|
+
import { t as parseEnumFlag } from "./parse-enum-Dm1BvZRN.mjs";
|
|
8
|
+
import { n as collectionView } from "./collection-CcagB_dn.mjs";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
//#region src/commands/collection/update-flags.ts
|
|
11
11
|
const ROOT_PARENT = "root";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
6
6
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-CDIb3B9o.mjs";
|
|
6
6
|
import { t as transformJobView } from "./transform-job-D18XRLBK.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { o as FieldDetail, u as FieldUpdateInput, v as hasDataSensitivity } from "./field-C2qOViFZ.mjs";
|
|
6
6
|
import { c as fieldView, l as fieldWithDataSensitivityView } from "./field-CT4r6b92.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { a as TransformTestUpdateInput, t as TransformTest } from "./transform-test-D6QIyu8C.mjs";
|
|
6
6
|
import { n as transformTestView } from "./transform-test-D-e9oi6r.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { c as TimelineUpdateInput, t as Timeline } from "./timeline-DcsCXNUt.mjs";
|
|
6
6
|
import { n as timelineView } from "./timeline-BgWz8DYK.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as SegmentUpdateInput, t as Segment } from "./segment-Cf-DrdjE.mjs";
|
|
6
|
-
import { SEGMENT_DEFINITION, skipValidateFlag } from "./validate-query-
|
|
6
|
+
import { SEGMENT_DEFINITION, skipValidateFlag } from "./validate-query-D1LLmD9e.mjs";
|
|
7
7
|
import { t as segmentView } from "./segment-CWVASaM1.mjs";
|
|
8
8
|
//#region src/commands/segment/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
-
import { d as DashboardUpdateInput, o as DashboardDetail } from "./dashboard-
|
|
6
|
-
import { n as dashboardView } from "./dashboard-
|
|
7
|
-
import { t as preflightDashcardCardReferences } from "./preflight-
|
|
5
|
+
import { d as DashboardUpdateInput, o as DashboardDetail } from "./dashboard-D5BJZS3L.mjs";
|
|
6
|
+
import { n as dashboardView } from "./dashboard-CLvvUUuF.mjs";
|
|
7
|
+
import { t as preflightDashcardCardReferences } from "./preflight-CeXhEJfq.mjs";
|
|
8
8
|
//#region src/commands/dashboard/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
2
|
import { l as NotificationUpdateInput, r as Notification } from "./notification-B5yMuPmo.mjs";
|
|
3
3
|
import { t as notificationView } from "./notification-Ec1Jo0Oc.mjs";
|
|
4
|
-
import { t as parseId } from "./parse-id-
|
|
5
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
5
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
6
6
|
import { t as describeAlert } from "./summary-BytbDz6e.mjs";
|
|
7
7
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
8
8
|
//#region src/commands/alert/update.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as MeasureUpdateInput, t as Measure } from "./measure-BMWrX1ca.mjs";
|
|
6
|
-
import { MEASURE_DEFINITION, skipValidateFlag } from "./validate-query-
|
|
6
|
+
import { MEASURE_DEFINITION, skipValidateFlag } from "./validate-query-D1LLmD9e.mjs";
|
|
7
7
|
import { t as measureView } from "./measure-DqZG65of.mjs";
|
|
8
8
|
//#region src/commands/measure/update.ts
|
|
9
9
|
var update_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 { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
-
import { i as DocumentUpdateInput, t as Document } from "./document-
|
|
6
|
-
import { t as documentView } from "./document-
|
|
5
|
+
import { i as DocumentUpdateInput, t as Document } from "./document-ks1uxhBt.mjs";
|
|
6
|
+
import { t as documentView } from "./document-PQg8DshK.mjs";
|
|
7
7
|
//#region src/commands/document/update.ts
|
|
8
8
|
var update_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 { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as SnippetUpdateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
6
6
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
|
-
import { h as DashcardPatchInput, m as DashcardDetail } from "./dashboard-
|
|
6
|
-
import { r as dashcardView } from "./dashboard-
|
|
5
|
+
import { h as DashcardPatchInput, m as DashcardDetail } from "./dashboard-D5BJZS3L.mjs";
|
|
6
|
+
import { r as dashcardView } from "./dashboard-CLvvUUuF.mjs";
|
|
7
7
|
//#region src/commands/dashboard/update-dashcard.ts
|
|
8
8
|
var update_dashcard_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 { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { a as PulseUpdateInput, t as Pulse } from "./pulse-B2AmIWsO.mjs";
|
|
6
6
|
import { t as pulseView } from "./pulse-BWs9tqVG.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { i as TimelineEvent, s as TimelineEventUpdateInput } from "./timeline-DcsCXNUt.mjs";
|
|
6
6
|
import { t as timelineEventView } from "./timeline-BgWz8DYK.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { f as TransformUpdateInput, t as Transform } from "./transform-B62craFM.mjs";
|
|
6
|
-
import { TRANSFORM_SOURCE_QUERY, skipValidateFlag } from "./validate-query-
|
|
6
|
+
import { TRANSFORM_SOURCE_QUERY, skipValidateFlag } from "./validate-query-D1LLmD9e.mjs";
|
|
7
7
|
import { n as transformView } from "./transform-drjCAqQs.mjs";
|
|
8
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
8
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-BHGpFZ3M.mjs";
|
|
9
9
|
//#region src/commands/transform/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
4
|
-
import { s as streamProcess } from "./process-
|
|
1
|
+
import { a as AbortError, h as UnknownError } from "./predicates-DQA0AsBx.mjs";
|
|
2
|
+
import { _t as outputFlags, dt as version, g as writeText, l as renderItem, ut as name, x as promptConfirm } from "./cli.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
|
+
import { s as streamProcess } from "./process-DZcS6SKr.mjs";
|
|
5
5
|
import { n as compareSemver, t as SemverString } from "./semver-T6ZMOJpf.mjs";
|
|
6
|
-
import { n as registryFlag, r as fetchNpmDistTags, t as distTagsOptions } from "./registry-flag-
|
|
6
|
+
import { n as registryFlag, r as fetchNpmDistTags, t as distTagsOptions } from "./registry-flag-Cd9xHDG8.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import { realpathSync } from "node:fs";
|
|
9
9
|
//#region src/core/install-method.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { O as fileNotFoundError } from "./runtime-
|
|
1
|
+
import { s as ConfigError, y as isFileNotFoundError } from "./predicates-DQA0AsBx.mjs";
|
|
2
|
+
import { O as fileNotFoundError } from "./runtime-DnT_GZj6.mjs";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import { basename } from "node:path";
|
|
5
5
|
//#region src/runtime/upload.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
3
3
|
import { t as ContentTranslationUploadResult } from "./content-translation-BrHOrmj9.mjs";
|
|
4
|
-
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-
|
|
4
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-BvPo6_ac.mjs";
|
|
5
5
|
//#region src/output/views/content-translation.ts
|
|
6
6
|
const contentTranslationUploadView = {
|
|
7
7
|
compactPick: ContentTranslationUploadResult,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { t as defineCommandGroup } from "./group-DgqrMOKr.mjs";
|
|
2
|
+
//#region src/commands/upload/index.ts
|
|
3
|
+
var upload_default = defineCommandGroup({
|
|
4
|
+
name: "upload",
|
|
5
|
+
description: "Upload CSV files into Metabase",
|
|
6
|
+
subCommands: {
|
|
7
|
+
csv: () => import("./csv-CoFZAUyP.mjs").then((m) => m.default),
|
|
8
|
+
append: () => import("./append-BOaxY3KO.mjs").then((m) => m.default),
|
|
9
|
+
replace: () => import("./replace-BZq_g2N0.mjs").then((m) => m.default)
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
//#endregion
|
|
13
|
+
export { upload_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { s as ConfigError } from "./predicates-DQA0AsBx.mjs";
|
|
2
|
+
import { St as parseInteger, _t as outputFlags, g as writeText, h as writeJson } from "./cli.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
6
|
//#region src/commands/uuid.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as escapeJsonPointerSegment, r as isPlainObject, s as ConfigError } from "./predicates-DQA0AsBx.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import Ajv2020 from "ajv/dist/2020.js";
|
|
4
4
|
import addFormats from "ajv-formats";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as isPlainObject, s as ConfigError } from "./predicates-DQA0AsBx.mjs";
|
|
2
2
|
import { h as writeJson } from "./cli.mjs";
|
|
3
|
-
import { a as isMbql5Query, i as getQuerySchemaBundle, o as validateQuery, r as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-
|
|
3
|
+
import { a as isMbql5Query, i as getQuerySchemaBundle, o as validateQuery, r as assertNotLegacyEnvelopeWrappingMbql5 } from "./validate-CvcqIGsS.mjs";
|
|
4
4
|
//#region src/commands/validate-query.ts
|
|
5
5
|
const skipValidateFlag = { "skip-validate": {
|
|
6
6
|
type: "boolean",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, v as formatScalar, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { d as FieldValues } from "./field-C2qOViFZ.mjs";
|
|
5
5
|
import { s as fieldValuesView } from "./field-CT4r6b92.mjs";
|
|
6
6
|
//#region src/commands/field/values.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
|
|
5
5
|
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-DEVMB9w0.mjs";
|
|
6
6
|
//#region src/commands/dashboard/verify.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
4
4
|
import { t as ModerationReview } from "./moderation-review-Bf9bPNQI.mjs";
|
|
5
5
|
import { i as moderationReviewView, n as verifyFlags, r as describeReview, t as reviewInput } from "./verify-flags-DEVMB9w0.mjs";
|
|
6
6
|
//#region src/commands/card/verify.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as createClient } from "./client-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { D as USER_AGENT, V as probeServer } from "./runtime-
|
|
1
|
+
import { n as createClient } from "./client-R2arAHr6.mjs";
|
|
2
|
+
import { _ as errorMessage, d as NetworkError, m as TimeoutError, u as MetabaseError } from "./predicates-DQA0AsBx.mjs";
|
|
3
|
+
import { X as HttpError } from "./cli.mjs";
|
|
4
|
+
import { D as USER_AGENT, V as probeServer } from "./runtime-DnT_GZj6.mjs";
|
|
5
5
|
//#region src/core/auth/verify.ts
|
|
6
6
|
const VERIFY_TIMEOUT_MS = 15e3;
|
|
7
7
|
async function verifyAndProbe(url, credential, options = {}) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-
|
|
4
|
-
import { r as parseWaitSchedule } from "./wait-flags-
|
|
5
|
-
import { u as syncTaskView } from "./git-sync-
|
|
6
|
-
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-
|
|
1
|
+
import { _t as outputFlags, f as renderSummary, ft as connectionFlags, vt as profileFlag } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-DnT_GZj6.mjs";
|
|
3
|
+
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-DZQmd1FY.mjs";
|
|
4
|
+
import { r as parseWaitSchedule } from "./wait-flags-E45sKLtp.mjs";
|
|
5
|
+
import { u as syncTaskView } from "./git-sync-C0yHY3bG.mjs";
|
|
6
|
+
import { a as throwIfFailedTask, i as taskPollOptions, n as formatSyncTask, r as syncTaskIdleView, t as SyncTaskOrIdle } from "./sync-task-DPFDTvEe.mjs";
|
|
7
7
|
//#region src/commands/git-sync/wait.ts
|
|
8
8
|
const WaitResult = SyncTaskOrIdle;
|
|
9
9
|
var wait_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as interruptSignal } from "./cli.mjs";
|
|
2
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
-
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-
|
|
2
|
+
import { t as parseId } from "./parse-id-uHxfeU_J.mjs";
|
|
3
|
+
import { n as DEFAULT_TIMEOUT_MS, t as DEFAULT_INTERVAL_MS } from "./poll-DZQmd1FY.mjs";
|
|
4
4
|
//#region src/commands/wait-flags.ts
|
|
5
5
|
const waitScheduleFlags = {
|
|
6
6
|
timeout: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as errorMessage, g as ValidationError, s as ConfigError } from "./predicates-DQA0AsBx.mjs";
|
|
2
2
|
import { YAMLParseError, parse } from "yaml";
|
|
3
3
|
//#region src/runtime/yaml.ts
|
|
4
4
|
function parseYaml(input, schema, opts = {}) {
|
package/package.json
CHANGED
package/skill-data/core/SKILL.md
CHANGED
|
@@ -31,7 +31,7 @@ mb auth status --profile <name> --json # health probe for one profile
|
|
|
31
31
|
`auth list` returns every profile in one call, with sanitized URL, an `authenticated` flag, and a probe `status` (`ok` / `auth-failed` / `network-error` / `server-error` / `not-probed`). Use it before asking which profile to pick.
|
|
32
32
|
|
|
33
33
|
- One profile and intent doesn't disambiguate → use it.
|
|
34
|
-
- Several → ask
|
|
34
|
+
- Several → ask the user which one with your agent's question tool, presenting the names from `auth list`.
|
|
35
35
|
- Empty `data: []` → ask the user to run `mb auth login` themselves and tell you the profile name.
|
|
36
36
|
|
|
37
37
|
Profile names are arbitrary local labels (`prod`, `staging`).
|
|
@@ -188,6 +188,9 @@ This file is enough for any single-command task. For anything deeper, load the r
|
|
|
188
188
|
<!-- /requires -->
|
|
189
189
|
<!-- requires: dataApps -->
|
|
190
190
|
- **`data-app`** — data apps: create, preview, publish (start here).
|
|
191
|
+
<!-- /requires -->
|
|
192
|
+
<!-- requires: dataApps, transforms, library, remoteSync -->
|
|
193
|
+
- **`data-app-migration`** — move an app's own analytics (any stack) into a Metabase data app: probe the code, ask what it can't answer, build the data side, have the data-app skills build the app, prove parity.
|
|
191
194
|
<!-- /requires -->
|
|
192
195
|
- **`data-workflow`** — the guided, end-to-end data workflow: investigate raw data, build clean analysis-ready tables, define reusable segments/measures/metrics, answer questions, build dashboards. **Start here when the user states a goal rather than a single verb** — "make sense of my data", "build a data model", "be my data analyst". It detects where the data is and routes to the right stage.
|
|
193
196
|
|
|
@@ -69,16 +69,26 @@ Fix a failed React or SDK check yourself, before any other change: for React, up
|
|
|
69
69
|
|
|
70
70
|
`npm run dev` serves the app at `http://localhost:5174` — or the next free port, in Vite's `Local:` line — under the restrictions Metabase puts on a data app (its CSP and blocked APIs), in the page itself rather than in an iframe. An edit under `src/` rebuilds the bundle and remounts the app, resetting component state. The preview runs each question from its definition and each action without saving it, against the instance whose IDs `src/metabase.schema.ts` holds, so that instance needs nothing of the app.
|
|
71
71
|
|
|
72
|
-
The preview reads `DATA_APP_MB_URL` and an admin `DATA_APP_MB_API_KEY` from `<repo>/.env.local`, which `<repo>/.gitignore` lists once the app is scaffolded: check the line is there before writing the file, and add it when it isn't. Create that key only on the user's yes: ask with
|
|
72
|
+
The preview reads `DATA_APP_MB_URL` and an admin `DATA_APP_MB_API_KEY` from `<repo>/.env.local`, which `<repo>/.gitignore` lists once the app is scaffolded: check the line is there before writing the file, and add it when it isn't. Create that key only on the user's yes: ask with your agent's question tool ("Create an admin API key `data-app <slug> dev` for the preview? It goes in `.env.local` and is deleted at handoff."). On a no, the user fills in `<repo>/.env.local` from the app's `.env.local.example`. A `<repo>/.env.local` that already exists is never overwritten or printed. It usually holds an earlier preview's key, which that preview's handoff deleted, so test it first, printing only the verdict:
|
|
73
73
|
|
|
74
74
|
```bash
|
|
75
|
-
(
|
|
75
|
+
( URL=$(sed -n 's/^DATA_APP_MB_URL=//p' <repo>/.env.local)
|
|
76
|
+
KEY=$(sed -n 's/^DATA_APP_MB_API_KEY=//p' <repo>/.env.local)
|
|
77
|
+
[ "$URL" = "$(mb auth status --profile <name> --json | jq -r .url)" ] \
|
|
78
|
+
&& [ "$(curl -s -o /dev/null -w '%{http_code}' -H "X-API-Key: $KEY" "$URL/api/user/current")" = 200 ] \
|
|
79
|
+
&& echo usable || echo refused )
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
`usable`: the preview uses it as it is. `refused`: move it aside, put it back at handoff, and create the key as above. Write a new key straight into that file, never into the chat or the terminal:
|
|
83
|
+
|
|
84
|
+
```bash
|
|
85
|
+
( umask 077; set -C
|
|
76
86
|
URL=$(mb auth status --profile <name> --json | jq -r .url)
|
|
77
87
|
KEY=$(mb api-key create --profile <name> --body '{"name":"data-app <slug> dev","group_id":2}' --json | jq -r .unmasked_key)
|
|
78
88
|
[ -n "$KEY" ] && [ "$KEY" != null ] && printf 'DATA_APP_MB_URL=%s\nDATA_APP_MB_API_KEY=%s\n' "$URL" "$KEY" > <repo>/.env.local && echo written )
|
|
79
89
|
```
|
|
80
90
|
|
|
81
|
-
Group `2` is Administrators. Never print `.env.local`. Delete the key at handoff, when you finish and give the app back to the user (`mb api-key list --profile <name>`, then `mb api-key delete <id> --yes --profile <name>`), and stop `npm run dev` with it: the preview can't reach Metabase once the key is gone. The next session writes a new one. When the preview can't reach Metabase, the diagnostics feed says why: `connection.reachable: false` means nothing answers at `DATA_APP_MB_URL`, and an `sdk-call` answered `401` means the key in `.env.local` is wrong or deleted. An `sdk-call` with `failed` in place of a status while `connection.reachable` is `true` is a CORS error: Metabase allows any localhost origin unless `MB_DISABLE_CORS_ON_LOCALHOST` is set on the instance, so ask the user to unset it.
|
|
91
|
+
Group `2` is Administrators. Never print `.env.local`. Delete the key at handoff, when you finish and give the app back to the user (`mb api-key list --profile <name>`, then `mb api-key delete <id> --yes --profile <name>`), and stop `npm run dev` with it, by its process id or port, never by name: the preview can't reach Metabase once the key is gone. The next session writes a new one. When the preview can't reach Metabase, the diagnostics feed says why: `connection.reachable: false` means nothing answers at `DATA_APP_MB_URL`, and an `sdk-call` answered `401` means the key in `.env.local` is wrong or deleted. An `sdk-call` with `failed` in place of a status while `connection.reachable` is `true` is a CORS error: Metabase allows any localhost origin unless `MB_DISABLE_CORS_ON_LOCALHOST` is set on the instance, so ask the user to unset it.
|
|
82
92
|
|
|
83
93
|
### The diagnostics feed
|
|
84
94
|
|
|
@@ -30,7 +30,7 @@ The dev preview runs the action without saving it; Metabase runs it once the app
|
|
|
30
30
|
|
|
31
31
|
## Data actions on the database
|
|
32
32
|
|
|
33
|
-
Before the first action on a database, read its toggle: `mb db get <db-id> --full --json --profile <name> | jq '.settings["database-enable-actions"]'` (`<db-id>` from `mb db list --profile <name> --json`, or `mb table get <table-id> --json --profile <name> | jq .db_id` once `src/metabase.schema.ts` gives the table's `id`). Anything but `true`, an unset `null` included, means it's off, and every action on that database fails with `Actions are not enabled.`, in the preview and in Metabase. Then ask with
|
|
33
|
+
Before the first action on a database, read its toggle: `mb db get <db-id> --full --json --profile <name> | jq '.settings["database-enable-actions"]'` (`<db-id>` from `mb db list --profile <name> --json`, or `mb table get <table-id> --json --profile <name> | jq .db_id` once `src/metabase.schema.ts` gives the table's `id`). Anything but `true`, an unset `null` included, means it's off, and every action on that database fails with `Actions are not enabled.`, in the preview and in Metabase. Then ask the user with your agent's question tool ("Data actions are off on <database>. Turning them on lets anyone with access to its actions write to it."), offering:
|
|
34
34
|
|
|
35
35
|
- **Turn them on now**: run `mb db set-data-actions <db-id> true --profile <name>`, then read the toggle again.
|
|
36
36
|
- **I'll turn them on**: the user does it in Admin → Databases → the database ("Allow data actions that use this database to be run"); wait for them, then read the toggle again before going on.
|
|
@@ -22,7 +22,7 @@ An app reads only what the user curated in the Library, and `src/metabase.schema
|
|
|
22
22
|
- **Tables published to the Library**, and nothing else: the source table, every table reached through a foreign key column, and the tables behind its segments and measures.
|
|
23
23
|
- **Metrics in the Library**, as aggregations, and the segments and measures of published tables. Prefer one that matches the concept over rebuilding it with filters and thresholds of your own.
|
|
24
24
|
- **No other question as a source** — not one of the app's own, a model or a metric. Every question starts from a published table.
|
|
25
|
-
- **One stage of MBQL**, never native SQL, with no explicit joins and no custom columns: reach another table through a foreign key column, and compute in the app.
|
|
25
|
+
- **One stage of MBQL**, never native SQL, with no explicit joins and no custom columns: reach another table through a foreign key column, and compute in the app, though Metabase can't draw a value computed there (`data-app-ui`).
|
|
26
26
|
|
|
27
27
|
When the app needs a table or metric the Library lacks, stop: name what's missing and ask the user to publish the table or move the metric into the Library. Don't publish it yourself unless the user says to, and never work around the gap with an unpublished table, a copy of the data, or SQL.
|
|
28
28
|
|
|
@@ -93,7 +93,7 @@ Also:
|
|
|
93
93
|
|
|
94
94
|
A result column's `name` keys the rows and names the column in runtime clauses: a field's `name` in `src/metabase.schema.ts`, in the database's own case (`CREATED_AT` here, `created_at` on Postgres), or an aggregation's — `count`, `sum`, or the `name` you gave it. Never take one from SQL:
|
|
95
95
|
|
|
96
|
-
- A column reached through a foreign key keeps its own name (`CATEGORY`, not `PRODUCTS__via__PRODUCT_ID__CATEGORY`).
|
|
96
|
+
- A column reached through a foreign key keeps its own name (`CATEGORY`, not `PRODUCTS__via__PRODUCT_ID__CATEGORY`). Where the result already has a column of that name, it comes back with `_2` added: the product's `NAME` and its category's are `NAME` and `NAME_2`. Only the rows' keys change: a question labels the column itself ("Category → Name").
|
|
97
97
|
- A foreign key that Metabase displays as a name returns that name as an extra column: `USER_ID` comes with a `NAME` column whose `displayName` is "User ID". Show `NAME`; filter by `USER_ID`.
|
|
98
98
|
- A `Date` column's values arrive as ISO strings, though the row type is `string | Date`: format them through `new Date(value)`.
|
|
99
99
|
|