@metabase/cli 0.3.1 → 0.3.2-alpha.fix-transform-test-ee-path.8ac2a7a
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-CYDUm_XO.mjs → add-collection-B_-eMU_k.mjs} +6 -9
- package/dist/{alert-ClyhtxIz.mjs → alert-Dalin_DD.mjs} +7 -7
- package/dist/{alerts-Dt3D1gcz.mjs → alerts-DpBgrjPI.mjs} +7 -7
- package/dist/{append-Bl_Ensmr.mjs → append-C1JNVALm.mjs} +5 -5
- package/dist/{archive-BOyKhNOz.mjs → archive-52ZHbFDm2.mjs} +6 -6
- package/dist/{archive-DiGxCojL.mjs → archive-B51prFgS.mjs} +4 -4
- package/dist/{archive-CWceyy8x.mjs → archive-BkITQyWW.mjs} +5 -5
- package/dist/{archive-BJZ7Dace.mjs → archive-CISXgZAI.mjs} +6 -6
- package/dist/{archive-D3a3Wgz0.mjs → archive-CdKf_Eqq.mjs} +4 -4
- package/dist/{archive-DVGDg8mP.mjs → archive-CicPYX27.mjs} +6 -6
- package/dist/{archive-CNblz55j.mjs → archive-CwITzj_j.mjs} +6 -6
- package/dist/{archive-DSMqHRr1.mjs → archive-DA3OiLEE.mjs} +4 -4
- package/dist/{archive-nKD3mOB8.mjs → archive-DVHxeDKS.mjs} +6 -6
- package/dist/{archive-BdHXQg4I.mjs → archive-DckxlWBt.mjs} +4 -4
- package/dist/{archive-DDru3vdy.mjs → archive-cAdUa1-2.mjs} +4 -4
- package/dist/{auth-aCksg8q2.mjs → auth-A96JOCQx.mjs} +5 -5
- package/dist/{body-DxRSAMNC.mjs → body-CshgcV6U.mjs} +3 -3
- package/dist/{branches-_0VWR2Zm.mjs → branches-CbcwWYL9.mjs} +4 -7
- package/dist/{cancel-ctpVE8uC.mjs → cancel-DpDcVY7M.mjs} +4 -4
- package/dist/{cancel-task-FtxBka-M.mjs → cancel-task-B4RDvIYb.mjs} +5 -8
- package/dist/{card-zyUkr2nS.mjs → card-CEkp1mcI.mjs} +1 -1
- package/dist/card-CefVYtF7.mjs +24 -0
- package/dist/{card-DZxRmver.mjs → card-voh1k4hl.mjs} +14 -11
- package/dist/{cards-DHOWAvfv.mjs → cards-BC0JX8Yg.mjs} +7 -7
- package/dist/cli.mjs +582 -69
- package/dist/client-ClL6gf7G.mjs +3783 -0
- package/dist/collection-Be5AHVWP.mjs +20 -0
- package/dist/{collection-CfulNRBG.mjs → collection-BxdPxD38.mjs} +1 -1
- package/dist/{collection-CGoVLvcD.mjs → collection-DYM0p3Xl.mjs} +1 -1
- package/dist/{collection-namespace-CEoQ7G08.mjs → collection-namespace-Dv0l-V9K.mjs} +2 -2
- package/dist/{content-translation-DNKerjS3.mjs → content-translation-BXIXL4eW.mjs} +3 -3
- package/dist/{create-DmvoibX8.mjs → create--fiwuTWc.mjs} +4 -4
- package/dist/{create-CLG2-bso.mjs → create-B9qXQ_wV.mjs} +6 -6
- package/dist/{create-CEydRMWS.mjs → create-BVNhtAgF.mjs} +7 -7
- package/dist/{create-C9vy4ZG6.mjs → create-BbjSOTN-.mjs} +5 -5
- package/dist/{create-BdPVWYSi.mjs → create-BcsVwXgS2.mjs} +6 -6
- package/dist/{create-CcLchJAN.mjs → create-Bryrkb9g.mjs} +7 -7
- package/dist/{create-7ddYK4TA.mjs → create-CHr8MPPq.mjs} +6 -6
- package/dist/{create-DaYRnK5P.mjs → create-D--Z1S3p2.mjs} +8 -8
- package/dist/{create-F4Lf09xq.mjs → create-DWFJdyIr.mjs} +4 -4
- package/dist/{create-vlrlY-2E.mjs → create-Dhai9zAt.mjs} +4 -4
- package/dist/create-DiJ8bUb-.mjs +34 -0
- package/dist/{create-C78g8Crb.mjs → create-DmN2gFc4.mjs} +5 -5
- package/dist/{create-wJR4CxHA.mjs → create-NCKHHdov.mjs} +5 -8
- package/dist/{create-C3IaXXty.mjs → create-YetX69Re.mjs} +4 -4
- package/dist/{create-e650zxzX.mjs → create-Za1EskpV.mjs} +5 -5
- package/dist/{create-branch-B8C7jl-J.mjs → create-branch-CseVn3lp.mjs} +5 -9
- package/dist/{create-DIVhBIyE.mjs → create-kZIIEN2Y.mjs} +11 -7
- package/dist/{csv-BLPJtlSC.mjs → csv-DNzesu8y.mjs} +5 -5
- package/dist/{current-task-C-ldJbWE.mjs → current-task-DRTKZcP9.mjs} +5 -8
- package/dist/{dashboard-CtO_3EfC.mjs → dashboard-CMw13KXM.mjs} +10 -10
- package/dist/{dashboard-CKUR8ZpQ.mjs → dashboard-D0hwTC-f.mjs} +11 -2
- package/dist/{dashboard-BlbNszi8.mjs → dashboard-DgK81azj.mjs} +1 -1
- package/dist/{database-B19qlLKZ.mjs → database-C3E9PZSx.mjs} +1 -1
- package/dist/{database-C8G6ZKG0.mjs → database-JtHTqSpq.mjs} +1 -1
- package/dist/{db-xXselnBq.mjs → db-BDijt81U.mjs} +7 -7
- package/dist/{delete-BZZHw6pm.mjs → delete--15it-A8.mjs} +5 -5
- package/dist/delete-Bsdwqh7H.mjs +44 -0
- package/dist/{delete-ZJJyqsRh.mjs → delete-BudvZkvK.mjs} +5 -5
- package/dist/{delete-BwSPQy7m.mjs → delete-BxjJ66BS.mjs} +5 -5
- package/dist/{delete-BZwAOQxG.mjs → delete-Dc8E5YwZ.mjs} +5 -5
- package/dist/{delete-runtime-D74s6vhu.mjs → delete-runtime-BKEzJn22.mjs} +1 -2
- package/dist/{delete-table-CJktZE3w.mjs → delete-table-5AQpn8OB.mjs} +5 -5
- package/dist/{delete-D6WxgWRp.mjs → delete-wFsy80db.mjs} +5 -5
- package/dist/{dependencies-BdqIqEIy.mjs → dependencies-C1ogC3BV.mjs} +7 -7
- package/dist/{dirty-BW2As2wS.mjs → dirty-CSLDYO-K.mjs} +6 -9
- package/dist/document-BGzVip5_.mjs +19 -0
- package/dist/{document-Cd2mmqCp.mjs → document-BHpLJbKU.mjs} +5 -0
- package/dist/{document-D6OybtP2.mjs → document-CA0Q6lqu.mjs} +1 -1
- package/dist/{download-mfFJ9oRS.mjs → download-Ddap1OAo.mjs} +3 -6
- package/dist/{eid-DZ-4t2xe.mjs → eid-HnrWhPoe.mjs} +4 -5
- package/dist/{events-D6yFmXP1.mjs → events-CXqetjcS.mjs} +5 -5
- package/dist/{export-DYZjz1WP.mjs → export-IFZdgYZ2.mjs} +7 -10
- package/dist/{field-BJ54wmIX.mjs → field-BJ6HoLRd.mjs} +5 -5
- package/dist/{field-Cr2DPUG9.mjs → field-CcN4oZy6.mjs} +16 -1
- package/dist/{field-BPsNa-TO.mjs → field-fDtIrY6D.mjs} +1 -1
- package/dist/{fields-FUWCgPOa.mjs → fields-DxHxuxwO.mjs} +7 -7
- package/dist/{get-ByZJf9nO.mjs → get-B2pj2q3X.mjs} +5 -5
- package/dist/{get-C_5AbfpO.mjs → get-BF2vdF3W.mjs} +4 -4
- package/dist/{get-DAOSGt5Z.mjs → get-BGLvyOO3.mjs} +6 -6
- package/dist/{get-DMECsioX.mjs → get-BcoJ9Aha.mjs} +4 -4
- package/dist/{get-CsN7NBI0.mjs → get-BiPclcIP.mjs} +4 -4
- package/dist/{get-DCutQeiV.mjs → get-C3cuZNeW.mjs} +4 -4
- package/dist/{get-CQ0-fFWP.mjs → get-CDnmpfHQ.mjs} +5 -8
- package/dist/{get-DRJtsS1_.mjs → get-CE9_4Q7E.mjs} +4 -4
- package/dist/{get-C5q49Dgx.mjs → get-C_tdSMwW2.mjs} +6 -6
- package/dist/{get-CWnriw33.mjs → get-CxUQyhte.mjs} +6 -6
- package/dist/{get-DVyesErX.mjs → get-DW7mCaGe.mjs} +6 -6
- package/dist/{get-DYaQpixt.mjs → get-D_x-ENFe.mjs} +6 -6
- package/dist/{get-Ba2HRdrx.mjs → get-DjlQhgD4.mjs} +6 -6
- package/dist/{get-DhkltKIV.mjs → get-DmKtPNOy.mjs} +4 -4
- package/dist/{get-BWl3vzsf.mjs → get-Dtre5jzh.mjs} +6 -6
- package/dist/get-H6kInHIx.mjs +93 -0
- package/dist/{get-BraVQ1FJ.mjs → get-b0CoPz5B.mjs} +6 -6
- package/dist/{get-LAew34ID.mjs → get-eJilYnHk.mjs} +6 -6
- package/dist/get-i0KInCw9.mjs +32 -0
- package/dist/{get-_ggLr1tY.mjs → get-jofVjU6e.mjs} +6 -6
- package/dist/{get-run-oH4dRCBx.mjs → get-run-BE1HtJDW.mjs} +6 -6
- package/dist/{git-sync-BDnxPrqU.mjs → git-sync-BwBRmEhE.mjs} +18 -1
- package/dist/{git-sync-DxD_ng48.mjs → git-sync-TjX1r_wF.mjs} +1 -1
- package/dist/git-sync-xKC1sqC4.mjs +28 -0
- package/dist/{group-DBM87IgC.mjs → group-YQQ5GIcP.mjs} +2 -2
- package/dist/{has-remote-changes-CnmyIw_7.mjs → has-remote-changes-Cj1KhBOT.mjs} +5 -8
- package/dist/{import-B7Si-bSI.mjs → import-DLb9VN4l.mjs} +7 -10
- package/dist/{input-DH9i67x_.mjs → input-D5tQEfqN.mjs} +1 -1
- package/dist/{is-dirty-BOH_VEA8.mjs → is-dirty-BxtgV2xF.mjs} +3 -6
- package/dist/{items-DouHkWev.mjs → items-DLUYc5-z.mjs} +7 -7
- package/dist/{key-BEhqIzIQ.mjs → key-PYetuQ13.mjs} +1 -1
- package/dist/{library-1J_4Dicw.mjs → library-BNSxXOpc.mjs} +5 -5
- package/dist/library-BPIzb3K_.mjs +81 -0
- package/dist/{library-DfYAT2Ep.mjs → library-PGCfm0UA.mjs} +1 -1
- package/dist/{list-D25ofn4v.mjs → list-B1soS8QW.mjs} +7 -7
- package/dist/{list-Cy0w4Fap.mjs → list-BQnOEB3W.mjs} +4 -4
- package/dist/{list-BeMYIeiI.mjs → list-BUz6KOfw.mjs} +7 -7
- package/dist/{list-C1bAtgO1.mjs → list-BcP1DTJH.mjs} +4 -4
- package/dist/{list-DJK9_BEF.mjs → list-C5mS_ehX.mjs} +14 -13
- package/dist/{list-qs9wAtC3.mjs → list-CBLxhaNZ.mjs} +4 -4
- package/dist/{list-aKUk-a1Y.mjs → list-CERbeLbQ.mjs} +7 -7
- package/dist/{list-B2Ddf4W0.mjs → list-COLpwXW4.mjs} +5 -5
- package/dist/{list-sDpy4nDU.mjs → list-CQbiSx26.mjs} +6 -6
- package/dist/{list-C0zJ2ehz.mjs → list-CX9qZ-bx.mjs} +6 -6
- package/dist/{list-DhViDVx_.mjs → list-CehE6KBV.mjs} +6 -6
- package/dist/list-Cuhf2lKL.mjs +35 -0
- package/dist/{list-D2IYZ6lk.mjs → list-CzRzCbCY.mjs} +6 -6
- package/dist/{list-DWLGpMvr.mjs → list-D-SyhKFw.mjs} +7 -7
- package/dist/{list-DptEWB5Y.mjs → list-Dat8QNcf.mjs} +4 -4
- package/dist/{list-C7UvO3Uw.mjs → list-M8J10Ozk.mjs} +6 -6
- package/dist/{list-BXlTYsYA.mjs → list-Sd7jGZoX.mjs} +4 -4
- package/dist/list-cIMww2Me.mjs +60 -0
- package/dist/{list-BK_6VNm_.mjs → list-jhQSgh6i.mjs} +4 -4
- package/dist/{login-BmyCAfRV.mjs → login-BfLqBfCd.mjs} +18 -15
- package/dist/{logout-DUR32q0V.mjs → logout-BpRXB3Ze.mjs} +3 -4
- package/dist/{measure-DdVp-8jw.mjs → measure-Ds8O5Evr.mjs} +6 -6
- package/dist/{notification-Fcq1fIPw.mjs → notification-DVrLkjFT.mjs} +1 -1
- package/dist/{parameter-DUKR8NXo.mjs → parameter-Celg0wZa.mjs} +1 -1
- package/dist/{parameter-values-CBR-cBev.mjs → parameter-values-DhrkLXoN.mjs} +5 -6
- package/dist/{parse-enum-D0Jfm_Bz.mjs → parse-enum-Dc0dMZ3P.mjs} +1 -1
- package/dist/{parse-id-B3YwNojT.mjs → parse-id-DtM6q9HU.mjs} +1 -1
- package/dist/{parse-ref-ibKVB0J4.mjs → parse-ref-DTDld_LJ.mjs} +1 -1
- package/dist/{path-D8BQmEhL.mjs → path-_GHFrTLx.mjs} +5 -5
- package/dist/{poll-75SvT7Zv.mjs → poll-KLl4Eq8Y.mjs} +2 -2
- package/dist/{preflight-CoF1Em99.mjs → preflight-BpYtF0IU.mjs} +3 -4
- package/dist/{process-DBOOrmET.mjs → process-CLtOWKBn.mjs} +1 -1
- package/dist/{publish-Cb7XrQ3X.mjs → publish-D-7Zlmuk.mjs} +9 -9
- package/dist/{pulse-BmsDenXm.mjs → pulse-Dz0ocv0l.mjs} +1 -1
- package/dist/{pulse-DhG6I9mI.mjs → pulse-x0gFxWfG.mjs} +2 -2
- package/dist/{query-D35B588l.mjs → query-B1CZztxs.mjs} +10 -12
- package/dist/query-CxESKMve.mjs +114 -0
- package/dist/{query-result-DBDwk8TS.mjs → query-result-E4Q-Gra6.mjs} +1 -1
- package/dist/{remove-collection-DJem6V26.mjs → remove-collection-C4saCFxz.mjs} +6 -9
- package/dist/{render-CI93iP0I.mjs → render-6O_eF-P1.mjs} +13 -2
- package/dist/{replace-CtsWICrD.mjs → replace-BuR4f2Ai.mjs} +5 -5
- package/dist/{rescan-values-CaXUL6z5.mjs → rescan-values-CNOiiWQ5.mjs} +6 -6
- package/dist/{run-CM-Amtbf.mjs → run-DijA_BXt.mjs} +26 -14
- package/dist/run-FmRruANb.mjs +64 -0
- package/dist/{run-BeLm17F4.mjs → run-QEUbWNm7.mjs} +9 -9
- package/dist/{runs-DFG63zgr.mjs → runs-BSlhVeDO.mjs} +7 -7
- package/dist/{runtime-z8rra6-I.mjs → runtime-Dtb93zKy.mjs} +994 -252
- package/dist/{schema-tables-COAHkIcy.mjs → schema-tables-BE3rEb6I.mjs} +7 -7
- package/dist/{schemas-BX5BATiV.mjs → schemas-yDjBiwlH.mjs} +5 -5
- package/dist/{search-DFBwUc6d.mjs → search-BAXg-EJw.mjs} +2 -1
- package/dist/{search-CPvvmhdt.mjs → search-CR_xNArA.mjs} +6 -6
- package/dist/{segment-C62L6BI3.mjs → segment-Cm6zQjJW.mjs} +6 -6
- package/dist/{selectors-P4QnrORk.mjs → selectors-C-vgMcGK.mjs} +3 -3
- package/dist/{send-PZh5IKF8.mjs → send-kC8oerkT.mjs} +4 -4
- package/dist/{set-active-DL4QzWDO.mjs → set-active-lDKhAlij.mjs} +5 -5
- package/dist/{set-DbCtUoFd.mjs → set-tFhPkxrL.mjs} +5 -5
- package/dist/{setting-BlRcZbhC.mjs → setting-DrJXCaFE.mjs} +4 -4
- package/dist/{setup-D_SLaC-3.mjs → setup-BWY9M0iR.mjs} +4 -4
- package/dist/{signal-CMd0EFUa.mjs → signal-Csom0mt5.mjs} +11 -2
- package/dist/skill-list-CCes8pKe.mjs +76 -0
- package/dist/skills-DE9ej5Rg.mjs +351 -0
- package/dist/{skills-D991LB1M.mjs → skills-DPRN2384.mjs} +3 -3
- package/dist/snippet-DWHTSo9c.mjs +19 -0
- package/dist/{stash-DyBxFoP6.mjs → stash-C9oDvQ9P.mjs} +7 -11
- package/dist/{status-DUsiogz5.mjs → status-CkpujA26.mjs} +11 -9
- package/dist/{status-cfDHqK2Q.mjs → status-DSdXmNC3.mjs} +12 -11
- package/dist/{subscription-Bn0AU7GN.mjs → subscription-DKOKoHRG.mjs} +6 -6
- package/dist/{subscriptions-DwqjCVlc.mjs → subscriptions-C5SyJL4B.mjs} +7 -7
- package/dist/{summary-BGwSNzf4.mjs → summary-DTPgXsc0.mjs} +6 -6
- package/dist/{sync-schema-dtkDOAKe.mjs → sync-schema-DKKkNSR7.mjs} +7 -7
- package/dist/{sync-task-BACcrs0i.mjs → sync-task-BtDnTXCP.mjs} +3 -2
- package/dist/{table-CsIJNPFf.mjs → table-C6h4tIRw.mjs} +1 -1
- package/dist/{table-CeeTJgQb.mjs → table-DfuY0N8e.mjs} +51 -4
- package/dist/{table-BJoEAoCU.mjs → table-I8NXSdUC.mjs} +5 -5
- package/dist/timeline-B_ESH-6W.mjs +21 -0
- package/dist/{timeline-event-BsF7YqzZ.mjs → timeline-event-n4Lzet7l.mjs} +6 -6
- package/dist/transform-BNuNiH9d.mjs +28 -0
- package/dist/{transform-DoTyyXAu.mjs → transform-CtqB1WYo.mjs} +2 -2
- package/dist/{transform-D3QX0jxA.mjs → transform-DiW7bREn.mjs} +68 -5
- package/dist/{transform-job-50GZHhKH.mjs → transform-job-AaMZRxAq.mjs} +1 -1
- package/dist/transform-job-B7yc6dfH.mjs +22 -0
- package/dist/{transform-job-DRrK28IH.mjs → transform-job-CCguL6LP.mjs} +41 -4
- package/dist/{transform-tag-VM9R7Q_M.mjs → transform-tag-D6NXqWaX.mjs} +5 -5
- package/dist/transform-test-BjjCQ2xm.mjs +169 -0
- package/dist/transform-test-C1Oqtfb-.mjs +16 -0
- package/dist/transform-test-gzDcbypy.mjs +25 -0
- package/dist/{transforms-BjACGbBp.mjs → transforms-O4NtXqFz.mjs} +7 -7
- package/dist/transport-CyVo29u7.mjs +313 -0
- package/dist/{tree-BwS6JAmk.mjs → tree-CuyF116R.mjs} +4 -5
- package/dist/{unpublish-DWdPnENY.mjs → unpublish-DvWefKJi.mjs} +4 -7
- package/dist/{update-DkviXwSg.mjs → update-2KIpYgyj.mjs} +7 -7
- package/dist/{update-DKEHY-gt.mjs → update-76nzOc71.mjs} +7 -7
- package/dist/{update-B2CF2DK4.mjs → update-7oKvP1HC.mjs} +6 -6
- package/dist/{update-DTmRHBik.mjs → update-AJ2JmwDl.mjs} +7 -7
- package/dist/{update-BR_vkkd1.mjs → update-BB6Go_RX.mjs} +5 -5
- package/dist/{update-DCjAjihm.mjs → update-Bah7N8QX.mjs} +6 -6
- package/dist/{update-cqR1U6DU.mjs → update-CGJvIS-l.mjs} +5 -5
- package/dist/{update-tLIhVIPp.mjs → update-D7dG7H-z.mjs} +8 -8
- package/dist/{update-C1FBVLfC.mjs → update-DOdcflLH.mjs} +8 -8
- package/dist/{update-DlTaD1x3.mjs → update-DV54H3L5.mjs} +9 -9
- package/dist/{update-C4y3iQsv.mjs → update-DXmZuJho.mjs} +7 -7
- package/dist/{update-3idz42uD.mjs → update-DmgRIp7o.mjs} +7 -7
- package/dist/{update-DsZttiSC.mjs → update-H_fdjugs.mjs} +5 -5
- package/dist/{update-BCT9qpVr.mjs → update-To6A1Ugu.mjs} +5 -5
- package/dist/{update-dashcard-DlE_bb2F.mjs → update-dashcard-DjT5QOkL.mjs} +7 -7
- package/dist/update-l3PyNQKG.mjs +41 -0
- package/dist/{update-BpPaacCF.mjs → update-xEegxIyH.mjs} +6 -6
- package/dist/{upgrade-mNV7XuJG.mjs → upgrade-CuJx9fX4.mjs} +6 -8
- package/dist/upload-2YFFBSln.mjs +13 -0
- package/dist/{upload-CEGVxmYB.mjs → upload-CboARPZm.mjs} +4 -7
- package/dist/{upload-CD555ui1.mjs → upload-DOO94rCQ.mjs} +2 -2
- package/dist/{uuid-C4hqn3kA.mjs → uuid-InwZlrpQ.mjs} +10 -7
- package/dist/{validate-BWchyW0V.mjs → validate-D6-Vg_kn.mjs} +69 -23
- package/dist/{validate-query-DaGYSmpQ.mjs → validate-query-B90KYPQr.mjs} +3 -4
- package/dist/{values-C0O3eNaW.mjs → values-CsZLk1Ls.mjs} +6 -6
- package/dist/{verify-DfTjYF7s.mjs → verify-DrGjZwBM.mjs} +3 -18
- package/dist/{wait-WZmFenN_.mjs → wait-BmzdarP9.mjs} +7 -10
- package/dist/{wait-flags-BbfDSP8R.mjs → wait-flags-CiJGrTCT.mjs} +2 -2
- package/dist/{window-BkvrP0gB.mjs → window-DSb1tqSe.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +31 -15
- package/skill-data/dashboard/SKILL.md +1 -1
- package/skill-data/data-workflow/references/building-clean-tables.md +6 -2
- package/skill-data/data-workflow/references/reusable-definitions.md +11 -3
- package/skill-data/document/SKILL.md +4 -1
- package/skill-data/git-sync/SKILL.md +5 -0
- package/skill-data/mbql/SKILL.md +84 -115
- package/skill-data/mbql/references/operators.md +77 -231
- package/skill-data/metadata/SKILL.md +1 -1
- package/skill-data/metadata/references/semantic-types.md +7 -1
- package/skill-data/native-sql/SKILL.md +8 -9
- package/skill-data/native-sql/references/template-tags.md +27 -27
- package/skill-data/notification/SKILL.md +7 -1
- package/skill-data/transform/SKILL.md +76 -4
- package/skill-data/transform-test-plan/SKILL.md +171 -0
- package/skill-data/transform-test-plan/references/checklist.md +81 -0
- package/skill-data/transform-test-plan/references/checks.md +263 -0
- package/skill-data/visualization/SKILL.md +13 -6
- package/skill-data/visualization/references/settings.md +13 -11
- package/skills/metabase-cli/SKILL.md +1 -1
- package/dist/card-CGCXbdmD.mjs +0 -24
- package/dist/client-mKuHg_sc.mjs +0 -2218
- package/dist/collection-D8Tk8i3a.mjs +0 -20
- package/dist/document-KbcHhzFz.mjs +0 -19
- package/dist/get-BC8J8BXB.mjs +0 -80
- package/dist/git-sync-Dik8nKfw.mjs +0 -28
- package/dist/library-ClLgrAXy.mjs +0 -19
- package/dist/list-CW5PdYCX.mjs +0 -98
- package/dist/network-error-D6CiOEBw.mjs +0 -431
- package/dist/predicates-Bkm2IoeX.mjs +0 -170
- package/dist/query-C256WBYG.mjs +0 -87
- package/dist/skills-DTCrMcix.mjs +0 -216
- package/dist/snippet-DTDO55Cg.mjs +0 -19
- package/dist/timeline-DcXPshcT.mjs +0 -21
- package/dist/transform-Dsf_wHAj.mjs +0 -28
- package/dist/transform-job-B1yLv5l-.mjs +0 -22
- package/dist/upload-DsYCf5kB.mjs +0 -13
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { it as TimeoutError, n as methodRequirements, nt as NetworkError, ot as ValidationError, rt as ResponseShapeError, st as errorMessage } from "./cli.mjs";
|
|
2
|
+
import { $ as createServerProfile, B as JSON_CONTENT_TYPE, F as buildNetworkError, G as credentialSecrets, I as isConnectionClosed, J as normalizeUrl, L as HttpError, U as assertCredentialHeaderSafe, V as parseJson, W as credentialAuthHeader, Z as checkFeatures, et as probeServer, tt as CapabilityError, z as isRetryableStatus } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { n as throwIfAborted, r as untilAborted, t as combineAborts } from "./signal-Csom0mt5.mjs";
|
|
4
|
+
import { setTimeout } from "node:timers/promises";
|
|
5
|
+
//#region ../client/src/http/response-shape.ts
|
|
6
|
+
async function parseJsonResponse(text, schema, context) {
|
|
7
|
+
try {
|
|
8
|
+
return parseJson(text, schema, { source: context.url });
|
|
9
|
+
} catch (error) {
|
|
10
|
+
if (error instanceof ValidationError) throw ResponseShapeError.fromZodIssues({
|
|
11
|
+
kind: "zod",
|
|
12
|
+
method: context.method,
|
|
13
|
+
url: context.url,
|
|
14
|
+
status: context.status,
|
|
15
|
+
zodIssues: error.developerDetail.zodIssues,
|
|
16
|
+
serverTag: await context.getServerTag(),
|
|
17
|
+
serverSkew: context.serverSkew
|
|
18
|
+
});
|
|
19
|
+
throw error;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region ../client/src/http/retry.ts
|
|
24
|
+
const BASE_DELAY_MS = 250;
|
|
25
|
+
const MAX_DELAY_MS = 8e3;
|
|
26
|
+
const MS_PER_SECOND = 1e3;
|
|
27
|
+
function backoffDelay({ attempt, retryAfterHeader }) {
|
|
28
|
+
const fromHeader = parseRetryAfter(retryAfterHeader);
|
|
29
|
+
if (fromHeader !== null) return fromHeader;
|
|
30
|
+
return Math.min(MAX_DELAY_MS, BASE_DELAY_MS * 2 ** attempt);
|
|
31
|
+
}
|
|
32
|
+
function parseRetryAfter(header) {
|
|
33
|
+
if (!header) return null;
|
|
34
|
+
const numeric = Number(header);
|
|
35
|
+
if (Number.isFinite(numeric) && numeric >= 0) return Math.round(numeric * MS_PER_SECOND);
|
|
36
|
+
const dateMs = Date.parse(header);
|
|
37
|
+
if (Number.isFinite(dateMs)) return Math.max(0, dateMs - Date.now());
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
function sleep(ms, signal) {
|
|
41
|
+
return setTimeout(ms, void 0, { signal });
|
|
42
|
+
}
|
|
43
|
+
async function runWithRetries(attempt, signal) {
|
|
44
|
+
let attemptIndex = 0;
|
|
45
|
+
while (true) {
|
|
46
|
+
const outcome = await attempt(attemptIndex);
|
|
47
|
+
if (outcome.kind === "success") return outcome.response;
|
|
48
|
+
await sleep(outcome.delayMs, signal);
|
|
49
|
+
attemptIndex += 1;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
//#endregion
|
|
53
|
+
//#region ../client/src/http/transport.ts
|
|
54
|
+
const UNAUTHORIZED_STATUS = 401;
|
|
55
|
+
const DEFAULT_TIMEOUT_MS = 3e4;
|
|
56
|
+
const OCTET_STREAM_CONTENT_TYPE = "application/octet-stream";
|
|
57
|
+
const TEXT_CONTENT_TYPE_PREFIX = "text/";
|
|
58
|
+
const ERROR_BODY_BYTE_CAP = 64 * 1024;
|
|
59
|
+
const IDEMPOTENT_METHODS = /* @__PURE__ */ new Set([
|
|
60
|
+
"GET",
|
|
61
|
+
"HEAD",
|
|
62
|
+
"OPTIONS"
|
|
63
|
+
]);
|
|
64
|
+
function createTransport(config, options) {
|
|
65
|
+
const baseUrl = normalizeUrl(config.url);
|
|
66
|
+
assertCredentialHeaderSafe(config.credential);
|
|
67
|
+
const fetchImpl = options.fetchImpl ?? globalThis.fetch.bind(globalThis);
|
|
68
|
+
let settledProfile = options.server ?? null;
|
|
69
|
+
const getServerTag = options.getServerTag ?? (async () => tagOf(settledProfile));
|
|
70
|
+
const serverSkew = () => settledProfile === null ? null : settledProfile.skew;
|
|
71
|
+
const refreshCredential = options.refreshCredential;
|
|
72
|
+
let credential = config.credential;
|
|
73
|
+
const knownSecrets = new Set(credentialSecrets(credential));
|
|
74
|
+
const redactionContext = { knownSecrets };
|
|
75
|
+
let refreshInFlight = null;
|
|
76
|
+
function tryRefreshCredential() {
|
|
77
|
+
const refresh = refreshCredential;
|
|
78
|
+
if (credential.kind !== "oauth" || refresh === void 0) return Promise.resolve(false);
|
|
79
|
+
refreshInFlight ??= refreshOnce(refresh).finally(() => {
|
|
80
|
+
refreshInFlight = null;
|
|
81
|
+
});
|
|
82
|
+
return refreshInFlight;
|
|
83
|
+
}
|
|
84
|
+
async function refreshOnce(refresh) {
|
|
85
|
+
const next = await refresh();
|
|
86
|
+
if (next === null) return false;
|
|
87
|
+
credential = next;
|
|
88
|
+
for (const secret of credentialSecrets(next)) knownSecrets.add(secret);
|
|
89
|
+
return true;
|
|
90
|
+
}
|
|
91
|
+
async function attemptOnce(prepared, attempt) {
|
|
92
|
+
const hasRetriesLeft = attempt < prepared.retries;
|
|
93
|
+
const timeoutSignal = AbortSignal.timeout(prepared.timeoutMs);
|
|
94
|
+
const combined = combineAborts(timeoutSignal, prepared.cancelSignal);
|
|
95
|
+
let response;
|
|
96
|
+
try {
|
|
97
|
+
response = await fetchImpl(prepared.url, {
|
|
98
|
+
method: prepared.method,
|
|
99
|
+
headers: prepared.headers,
|
|
100
|
+
body: prepared.body,
|
|
101
|
+
signal: combined
|
|
102
|
+
});
|
|
103
|
+
} catch (error) {
|
|
104
|
+
throwIfAborted(prepared.cancelSignal);
|
|
105
|
+
const isStaleSocketFirstTry = attempt === 0 && isConnectionClosed(error);
|
|
106
|
+
if (prepared.idempotent && (hasRetriesLeft || isStaleSocketFirstTry)) return {
|
|
107
|
+
kind: "retry",
|
|
108
|
+
delayMs: backoffDelay({ attempt })
|
|
109
|
+
};
|
|
110
|
+
if (timeoutSignal.aborted) throw new TimeoutError(`Request timed out after ${prepared.timeoutMs}ms`, {
|
|
111
|
+
kind: "http",
|
|
112
|
+
method: prepared.method,
|
|
113
|
+
url: prepared.url,
|
|
114
|
+
timeoutMs: prepared.timeoutMs
|
|
115
|
+
});
|
|
116
|
+
throw buildNetworkError(error, prepared.method, prepared.url);
|
|
117
|
+
}
|
|
118
|
+
const canRetryStatus = hasRetriesLeft && prepared.idempotent;
|
|
119
|
+
if (!response.ok && isRetryableStatus(response.status) && canRetryStatus) {
|
|
120
|
+
const retryAfter = response.headers.get("Retry-After");
|
|
121
|
+
response.body?.cancel().catch(() => void 0);
|
|
122
|
+
return {
|
|
123
|
+
kind: "retry",
|
|
124
|
+
delayMs: backoffDelay({
|
|
125
|
+
attempt,
|
|
126
|
+
retryAfterHeader: retryAfter
|
|
127
|
+
})
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
if (!response.ok) {
|
|
131
|
+
const rawBody = await readBodyForError(response);
|
|
132
|
+
const serverTag = await getServerTag();
|
|
133
|
+
throw new HttpError({
|
|
134
|
+
status: response.status,
|
|
135
|
+
statusText: response.statusText,
|
|
136
|
+
method: prepared.method,
|
|
137
|
+
url: prepared.url,
|
|
138
|
+
responseHeaders: response.headers,
|
|
139
|
+
rawBody,
|
|
140
|
+
serverTag,
|
|
141
|
+
redactionContext
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
assertContentType(response, prepared);
|
|
145
|
+
return {
|
|
146
|
+
kind: "success",
|
|
147
|
+
response
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
async function executeRaw(prepared) {
|
|
151
|
+
try {
|
|
152
|
+
return await runWithRetries((attempt) => attemptOnce(prepared, attempt), prepared.cancelSignal);
|
|
153
|
+
} catch (error) {
|
|
154
|
+
throwIfAborted(prepared.cancelSignal);
|
|
155
|
+
throw error;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
async function executeWithAuthRefresh(path, opts) {
|
|
159
|
+
const prepared = prepare(path, opts);
|
|
160
|
+
try {
|
|
161
|
+
return {
|
|
162
|
+
response: await executeRaw(prepared),
|
|
163
|
+
prepared
|
|
164
|
+
};
|
|
165
|
+
} catch (error) {
|
|
166
|
+
if (error instanceof HttpError && error.status === UNAUTHORIZED_STATUS) {
|
|
167
|
+
if (await tryRefreshCredential()) {
|
|
168
|
+
const retried = prepare(path, opts);
|
|
169
|
+
return {
|
|
170
|
+
response: await executeRaw(retried),
|
|
171
|
+
prepared: retried
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
throw error;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
function prepare(path, opts = {}) {
|
|
179
|
+
const method = opts.method ?? "GET";
|
|
180
|
+
const expectContentType = opts.expectContentType ?? "json";
|
|
181
|
+
const url = buildUrl(baseUrl, path, opts.query);
|
|
182
|
+
const headers = new Headers();
|
|
183
|
+
const auth = credentialAuthHeader(credential);
|
|
184
|
+
headers.set(auth.name, auth.value);
|
|
185
|
+
headers.set("accept", acceptHeader(expectContentType));
|
|
186
|
+
headers.set("user-agent", options.userAgent);
|
|
187
|
+
let body = null;
|
|
188
|
+
if (opts.body !== void 0 && opts.body !== null) if (typeof opts.body === "string" || opts.body instanceof URLSearchParams) body = opts.body;
|
|
189
|
+
else if (opts.body instanceof FormData || opts.body instanceof ReadableStream) body = opts.body;
|
|
190
|
+
else if (opts.body instanceof Uint8Array) {
|
|
191
|
+
body = opts.body;
|
|
192
|
+
headers.set("content-type", OCTET_STREAM_CONTENT_TYPE);
|
|
193
|
+
} else {
|
|
194
|
+
body = JSON.stringify(opts.body);
|
|
195
|
+
headers.set("content-type", JSON_CONTENT_TYPE);
|
|
196
|
+
}
|
|
197
|
+
return {
|
|
198
|
+
url,
|
|
199
|
+
method,
|
|
200
|
+
headers,
|
|
201
|
+
body,
|
|
202
|
+
expectContentType,
|
|
203
|
+
retries: opts.retries ?? 3,
|
|
204
|
+
idempotent: opts.idempotent ?? IDEMPOTENT_METHODS.has(method),
|
|
205
|
+
timeoutMs: opts.timeoutMs ?? 3e4,
|
|
206
|
+
cancelSignal: combineAborts(opts.signal, options.signal)
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
let serverProfile = options.server === void 0 ? null : Promise.resolve(options.server);
|
|
210
|
+
async function server(wait = {}) {
|
|
211
|
+
throwIfAborted(wait.signal);
|
|
212
|
+
if (serverProfile === null) {
|
|
213
|
+
const probe = probeServer(transport).then((info) => {
|
|
214
|
+
settledProfile = createServerProfile(info);
|
|
215
|
+
return settledProfile;
|
|
216
|
+
});
|
|
217
|
+
probe.catch(() => {
|
|
218
|
+
serverProfile = null;
|
|
219
|
+
});
|
|
220
|
+
serverProfile = probe;
|
|
221
|
+
}
|
|
222
|
+
return untilAborted(serverProfile, wait.signal);
|
|
223
|
+
}
|
|
224
|
+
const enforceRequirements = options.enforceRequirements ?? true;
|
|
225
|
+
async function requireFeatures(features, wait = {}) {
|
|
226
|
+
if (!enforceRequirements || features.length === 0) return;
|
|
227
|
+
const failure = checkFeatures(features, await server(wait));
|
|
228
|
+
if (failure !== null) throw new CapabilityError(failure);
|
|
229
|
+
}
|
|
230
|
+
async function requireMethod(key, wait = {}) {
|
|
231
|
+
return requireFeatures(methodRequirements(key), wait);
|
|
232
|
+
}
|
|
233
|
+
const transport = {
|
|
234
|
+
server,
|
|
235
|
+
require: requireMethod,
|
|
236
|
+
requireFeatures,
|
|
237
|
+
async requestRaw(path, opts) {
|
|
238
|
+
return (await executeWithAuthRefresh(path, opts ?? {})).response;
|
|
239
|
+
},
|
|
240
|
+
async requestParsed(schema, path, opts) {
|
|
241
|
+
const { response, prepared } = await executeWithAuthRefresh(path, {
|
|
242
|
+
...opts,
|
|
243
|
+
expectContentType: "json"
|
|
244
|
+
});
|
|
245
|
+
return parseJsonResponse(await response.text(), schema, {
|
|
246
|
+
method: prepared.method,
|
|
247
|
+
url: prepared.url,
|
|
248
|
+
status: response.status,
|
|
249
|
+
getServerTag,
|
|
250
|
+
serverSkew: serverSkew()
|
|
251
|
+
});
|
|
252
|
+
},
|
|
253
|
+
async requestStream(path, opts) {
|
|
254
|
+
const { response, prepared } = await executeWithAuthRefresh(path, {
|
|
255
|
+
...opts,
|
|
256
|
+
expectContentType: opts?.expectContentType ?? "binary"
|
|
257
|
+
});
|
|
258
|
+
if (!response.body) throw new NetworkError("Response had no body to stream", {
|
|
259
|
+
method: prepared.method,
|
|
260
|
+
url: prepared.url,
|
|
261
|
+
cause: "missing body"
|
|
262
|
+
});
|
|
263
|
+
return response.body;
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
return transport;
|
|
267
|
+
}
|
|
268
|
+
function tagOf(profile) {
|
|
269
|
+
return profile === null ? null : profile.version.tag;
|
|
270
|
+
}
|
|
271
|
+
function buildUrl(baseUrl, path, query) {
|
|
272
|
+
const normalizedPath = path.startsWith("/") ? path : `/${path}`;
|
|
273
|
+
const target = new URL(baseUrl + normalizedPath);
|
|
274
|
+
if (query) for (const [key, value] of Object.entries(query)) {
|
|
275
|
+
if (value === void 0) continue;
|
|
276
|
+
if (Array.isArray(value)) for (const entry of value) target.searchParams.append(key, String(entry));
|
|
277
|
+
else target.searchParams.append(key, String(value));
|
|
278
|
+
}
|
|
279
|
+
return target.toString();
|
|
280
|
+
}
|
|
281
|
+
function acceptHeader(expected) {
|
|
282
|
+
if (expected === "json") return JSON_CONTENT_TYPE;
|
|
283
|
+
if (expected === "text") return "text/*";
|
|
284
|
+
return "*/*";
|
|
285
|
+
}
|
|
286
|
+
function assertContentType(response, prepared) {
|
|
287
|
+
if (prepared.expectContentType === "binary") return;
|
|
288
|
+
const contentType = response.headers.get("content-type");
|
|
289
|
+
if (contentType === null) throwContentTypeMismatch(response, prepared, prepared.expectContentType);
|
|
290
|
+
if (prepared.expectContentType === "json" && !contentType.includes("application/json")) throwContentTypeMismatch(response, prepared, "json");
|
|
291
|
+
if (prepared.expectContentType === "text" && !contentType.startsWith(TEXT_CONTENT_TYPE_PREFIX)) throwContentTypeMismatch(response, prepared, "text");
|
|
292
|
+
}
|
|
293
|
+
function throwContentTypeMismatch(response, prepared, expected) {
|
|
294
|
+
const actual = response.headers.get("content-type") ?? "no content-type";
|
|
295
|
+
throw new HttpError({
|
|
296
|
+
status: response.status,
|
|
297
|
+
statusText: response.statusText,
|
|
298
|
+
method: prepared.method,
|
|
299
|
+
url: prepared.url,
|
|
300
|
+
responseHeaders: response.headers,
|
|
301
|
+
rawBody: null,
|
|
302
|
+
overrideUserMessage: `Expected ${expected} response but got ${actual}`
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
async function readBodyForError(response) {
|
|
306
|
+
try {
|
|
307
|
+
return Buffer.from(await response.arrayBuffer()).subarray(0, ERROR_BODY_BYTE_CAP).toString("utf8");
|
|
308
|
+
} catch (error) {
|
|
309
|
+
return `[body read failed: ${errorMessage(error)}]`;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
//#endregion
|
|
313
|
+
export { createTransport as n, DEFAULT_TIMEOUT_MS as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { f as CollectionTreeNode } from "./collection-CfulNRBG.mjs";
|
|
1
|
+
import { H as outputFlags, Q as ConfigError, U as profileFlag, m as writeJson, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { m as CollectionTreeNode } from "./collection-BxdPxD38.mjs";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
//#region src/commands/collection/tree.ts
|
|
7
6
|
const CollectionTreeResponse = z.array(CollectionTreeNode);
|
|
@@ -10,7 +9,7 @@ var tree_default = defineMetabaseCommand({
|
|
|
10
9
|
name: "tree",
|
|
11
10
|
description: "Fetch the collection hierarchy as a nested tree (JSON only)"
|
|
12
11
|
},
|
|
13
|
-
|
|
12
|
+
requires: ["collection.tree"],
|
|
14
13
|
args: {
|
|
15
14
|
...outputFlags,
|
|
16
15
|
...profileFlag,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { n as tableSelectorFlags, t as parseTableSelectors } from "./selectors-C-vgMcGK.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/library/unpublish.ts
|
|
6
6
|
const LibraryUnpublishResult = z.object({
|
|
@@ -36,10 +36,7 @@ var unpublish_default = defineMetabaseCommand({
|
|
|
36
36
|
description: "Unpublish tables (and their downstream dependents) from the Library"
|
|
37
37
|
},
|
|
38
38
|
details: "Clears the Library collection for each selected table and recursively for every downstream table that depends on it. Select with --table-ids, --db-ids, or --schemas (each schema id is \"<db-id>:<schema>\", e.g. 1:public); the filters are combined.",
|
|
39
|
-
|
|
40
|
-
minVersion: 59,
|
|
41
|
-
tokenFeature: "library"
|
|
42
|
-
},
|
|
39
|
+
requires: ["library.unpublishTables"],
|
|
43
40
|
args: {
|
|
44
41
|
...outputFlags,
|
|
45
42
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { i as DocumentUpdateInput, t as Document } from "./document-
|
|
7
|
-
import { t as documentView } from "./document-
|
|
6
|
+
import { i as DocumentUpdateInput, t as Document } from "./document-BHpLJbKU.mjs";
|
|
7
|
+
import { t as documentView } from "./document-CA0Q6lqu.mjs";
|
|
8
8
|
//#region src/commands/document/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a document by id"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["document.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { r as fieldView } from "./field-
|
|
6
|
+
import { c as FieldUpdateInput, t as Field } from "./field-CcN4oZy6.mjs";
|
|
7
|
+
import { r as fieldView } from "./field-fDtIrY6D.mjs";
|
|
8
8
|
//#region src/commands/field/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a field (description, semantic_type, FK target, visibility, etc.)"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["field.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as MeasureUpdateInput, t as Measure } from "./measure-CtfjqJFP.mjs";
|
|
7
|
-
import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-
|
|
7
|
+
import { a as preflightMbql5Query, n as MEASURE_DEFINITION_LABELS, o as skipValidateFlag } from "./validate-query-B90KYPQr.mjs";
|
|
8
8
|
import { t as measureView } from "./measure-4P0bOlZ3.mjs";
|
|
9
9
|
//#region src/commands/measure/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
|
|
|
17
17
|
skill: "mbql",
|
|
18
18
|
purpose: "the definition aggregation"
|
|
19
19
|
}],
|
|
20
|
-
|
|
20
|
+
requires: ["measure.update"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { a as PulseUpdateInput, t as Pulse } from "./pulse-
|
|
7
|
-
import { t as pulseView } from "./pulse-
|
|
6
|
+
import { a as PulseUpdateInput, t as Pulse } from "./pulse-Dz0ocv0l.mjs";
|
|
7
|
+
import { t as pulseView } from "./pulse-x0gFxWfG.mjs";
|
|
8
8
|
//#region src/commands/subscription/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
|
|
|
17
17
|
"`mb subscription get <id> --full` prints the current ones.",
|
|
18
18
|
"A subscription's `dashboard_id` and `collection_id` are fixed at creation and cannot be changed."
|
|
19
19
|
].join(" "),
|
|
20
|
-
|
|
20
|
+
requires: ["pulse.update"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as TransformTagUpdateInput, t as TransformTag } from "./transform-tag-CcElGp3C.mjs";
|
|
7
7
|
import { t as transformTagView } from "./transform-tag-Dmb4u3-Q.mjs";
|
|
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
|
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a transform tag by id"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["transformTag.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as SegmentUpdateInput, t as Segment } from "./segment-OsrbUDzw.mjs";
|
|
7
|
-
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-
|
|
7
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-B90KYPQr.mjs";
|
|
8
8
|
import { t as segmentView } from "./segment-C_gl5ag6.mjs";
|
|
9
9
|
//#region src/commands/segment/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -17,7 +17,7 @@ var update_default = defineMetabaseCommand({
|
|
|
17
17
|
skill: "mbql",
|
|
18
18
|
purpose: "the definition filter clause"
|
|
19
19
|
}],
|
|
20
|
-
|
|
20
|
+
requires: ["segment.update"],
|
|
21
21
|
args: {
|
|
22
22
|
...outputFlags,
|
|
23
23
|
...profileFlag,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as SnippetUpdateInput, t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
7
7
|
import { t as snippetView } from "./snippet-oJLaYW9V.mjs";
|
|
@@ -11,7 +11,7 @@ var update_default = defineMetabaseCommand({
|
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a native query snippet by id"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["snippet.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import { c as CardUpdateInput, t as Card } from "./card-
|
|
7
|
-
import { n as cardView } from "./card-
|
|
8
|
-
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-
|
|
6
|
+
import { c as CardUpdateInput, t as Card } from "./card-voh1k4hl.mjs";
|
|
7
|
+
import { n as cardView } from "./card-CEkp1mcI.mjs";
|
|
8
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, t as CARD_DATASET_QUERY_LABELS } from "./validate-query-B90KYPQr.mjs";
|
|
9
9
|
//#region src/commands/card/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -20,7 +20,7 @@ var update_default = defineMetabaseCommand({
|
|
|
20
20
|
skill: "visualization",
|
|
21
21
|
purpose: "choose display and visualization_settings"
|
|
22
22
|
}],
|
|
23
|
-
|
|
23
|
+
requires: ["card.update"],
|
|
24
24
|
args: {
|
|
25
25
|
...outputFlags,
|
|
26
26
|
...profileFlag,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { t as dashboardView } from "./dashboard-
|
|
8
|
-
import { t as preflightDashcardCardReferences } from "./preflight-
|
|
6
|
+
import { a as DashboardDetail, s as DashboardUpdateInput } from "./dashboard-D0hwTC-f.mjs";
|
|
7
|
+
import { t as dashboardView } from "./dashboard-DgK81azj.mjs";
|
|
8
|
+
import { t as preflightDashcardCardReferences } from "./preflight-BpYtF0IU.mjs";
|
|
9
9
|
//#region src/commands/dashboard/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -20,7 +20,7 @@ var update_default = defineMetabaseCommand({
|
|
|
20
20
|
skill: "visualization",
|
|
21
21
|
purpose: "dashcard visualization_settings and the 24-column grid"
|
|
22
22
|
}],
|
|
23
|
-
|
|
23
|
+
requires: ["dashboard.update", "dashboard.checkCardReferences"],
|
|
24
24
|
args: {
|
|
25
25
|
...outputFlags,
|
|
26
26
|
...profileFlag,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-
|
|
8
|
-
import { n as transformView } from "./transform-
|
|
9
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
6
|
+
import { f as TransformUpdateInput, t as Transform } from "./transform-DiW7bREn.mjs";
|
|
7
|
+
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-B90KYPQr.mjs";
|
|
8
|
+
import { n as transformView } from "./transform-CtqB1WYo.mjs";
|
|
9
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-Dv0l-V9K.mjs";
|
|
10
10
|
//#region src/commands/transform/update.ts
|
|
11
11
|
var update_default = defineMetabaseCommand({
|
|
12
12
|
meta: {
|
|
@@ -18,7 +18,7 @@ var update_default = defineMetabaseCommand({
|
|
|
18
18
|
skill: "mbql",
|
|
19
19
|
purpose: "MBQL source.query bodies"
|
|
20
20
|
}],
|
|
21
|
-
|
|
21
|
+
requires: ["transform.update"],
|
|
22
22
|
args: {
|
|
23
23
|
...outputFlags,
|
|
24
24
|
...profileFlag,
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { H as outputFlags, U as profileFlag, p as renderSummary, z as connectionFlags } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-Dtb93zKy.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-DtM6q9HU.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CshgcV6U.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import { t as tableView } from "./table-
|
|
6
|
+
import { s as TableUpdateInput, t as Table } from "./table-DfuY0N8e.mjs";
|
|
7
|
+
import { t as tableView } from "./table-C6h4tIRw.mjs";
|
|
8
8
|
//#region src/commands/table/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
11
11
|
name: "update",
|
|
12
12
|
description: "Update a table (display name, description, visibility, etc.)"
|
|
13
13
|
},
|
|
14
|
-
|
|
14
|
+
requires: ["table.update"],
|
|
15
15
|
args: {
|
|
16
16
|
...outputFlags,
|
|
17
17
|
...profileFlag,
|