@metabase/cli 0.4.0-alpha.release-65-integration-branch.31ca6bb → 0.4.1-alpha.fix-transform-test-ee-path.b41b46c
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-B-Kczwcj.mjs → add-collection-CcjydN8e.mjs} +3 -3
- package/dist/{alert-Ne0ivd5m.mjs → alert-DBTU8iHe.mjs} +7 -7
- package/dist/{alerts-Fakzg9iP.mjs → alerts-DsgnumqY.mjs} +6 -6
- package/dist/{append-DCDVqPmR.mjs → append-DUFn3_Og.mjs} +4 -4
- package/dist/{archive-DCCkQTjQ.mjs → archive-BEzfnrwM.mjs} +3 -3
- package/dist/{archive-CGmvQht4.mjs → archive-BTfOiOnx.mjs} +5 -5
- package/dist/{archive-CL8wqAzm.mjs → archive-Bxl1oeJr.mjs} +3 -3
- package/dist/{archive-BbNqts-V.mjs → archive-CC6THE3k.mjs} +3 -3
- package/dist/{archive-CpCSY4RT.mjs → archive-CI-WE7dA.mjs} +5 -5
- package/dist/{archive-CSdktxvW.mjs → archive-CWs273rN.mjs} +5 -5
- package/dist/{archive-C93UR4Uc.mjs → archive-CcPTctIo.mjs} +3 -3
- package/dist/{archive-DCE087yD.mjs → archive-DVgglC0F.mjs} +4 -4
- package/dist/{archive-DIZu7o4C.mjs → archive-DjQkD1WI.mjs} +4 -4
- package/dist/{archive-DEef7eB8.mjs → archive-jwyopr47.mjs} +3 -3
- package/dist/{archive-BNJit8eD.mjs → archive-sfqadV_a.mjs} +3 -3
- package/dist/{auth-Bx4QQhqt.mjs → auth-IQKgyb_x.mjs} +5 -5
- package/dist/{body-CB2eDFFb.mjs → body-CT1cQrhp.mjs} +3 -3
- package/dist/{branch-flag-pFQPNYKr.mjs → branch-flag-Czh8JT1G.mjs} +1 -1
- package/dist/{branches-B6ilUG-7.mjs → branches-ByUeNOBP.mjs} +3 -3
- package/dist/{breaking-Dg3-8yDF.mjs → breaking-BKR88YVq.mjs} +6 -6
- package/dist/{broken-BNBD4Eo3.mjs → broken-DeS3_Cg2.mjs} +8 -8
- package/dist/{bulk-discard-values-DfKXuZpR.mjs → bulk-discard-values-DY7svs0d.mjs} +5 -5
- package/dist/{bulk-edit-oUCfDQ_M.mjs → bulk-edit-3EfcsqCu.mjs} +4 -4
- package/dist/{bulk-rescan-values-B8pNlXUH.mjs → bulk-rescan-values-BpwnC_WY.mjs} +4 -4
- package/dist/{bulk-sync-schema-tRp7jBJt.mjs → bulk-sync-schema-Dwbs0TsG.mjs} +4 -4
- package/dist/{cancel-Bl4BMkwI.mjs → cancel-Nz4jJ-Ey.mjs} +3 -3
- package/dist/{cancel-task-CWWo7vLf.mjs → cancel-task-CX_qYiJ0.mjs} +2 -2
- package/dist/{card-P5mBknsl.mjs → card-Bv4ZN0oV.mjs} +12 -2
- package/dist/{card-CQNUT9pm.mjs → card-DSrgU7lT.mjs} +1 -1
- package/dist/card-DmQO85ej.mjs +25 -0
- package/dist/{cards-BIUYdSIR.mjs → cards-FUW8-5PO.mjs} +4 -4
- package/dist/cli.mjs +69 -58
- package/dist/{client-BHIFvEg2.mjs → client-5y-BaV3d.mjs} +13 -560
- package/dist/collection-BPVrTfTv.mjs +21 -0
- package/dist/{collection-D3KXhvnc.mjs → collection-BgPYl2c5.mjs} +1 -1
- package/dist/{collection-BG3Ksea-.mjs → collection-DPiztU_l.mjs} +1 -1
- package/dist/{collection-namespace-ZQePD67z.mjs → collection-namespace-Q_up_tSg.mjs} +2 -2
- package/dist/{content-translation-BRdNdAmn.mjs → content-translation-CSkaKlqa.mjs} +3 -3
- package/dist/{copy-CbDfVZRC.mjs → copy-WlNBviDZ.mjs} +6 -6
- package/dist/{copy-BMEaYmTb.mjs → copy-fikpWJO4.mjs} +4 -4
- package/dist/{copy-flags-anRhAvB5.mjs → copy-flags-j38p0var.mjs} +2 -2
- package/dist/{create-CBSsW8Hm.mjs → create-9sPJd45D.mjs} +6 -6
- package/dist/{create-c2zR9y4J.mjs → create-BI73JzZN.mjs} +4 -4
- package/dist/{create-SqmOf6WQ.mjs → create-BmCz5lro.mjs} +6 -6
- package/dist/{create-zpJIRn9j.mjs → create-C0MNevKK.mjs} +5 -5
- package/dist/{create-5cDaZcRL.mjs → create-C4dDHOzR.mjs} +3 -3
- package/dist/{create-BEN-2XFK.mjs → create-CC89lXeE.mjs} +3 -3
- package/dist/{create-C7O9tPL2.mjs → create-CEezFRTJ.mjs} +5 -5
- package/dist/{create-D_pNX7d0.mjs → create-CLLcjbzq.mjs} +3 -3
- package/dist/{create-C8hsOv_D.mjs → create-CO6gBV7I.mjs} +6 -6
- package/dist/{create-CG6WWY6k.mjs → create-COv2mYmk.mjs} +4 -4
- package/dist/{create-C3TmU1Bi.mjs → create-CYqqBKhE.mjs} +4 -4
- package/dist/{create-D2Shlb7t.mjs → create-Ci7o6-Fk.mjs} +3 -3
- package/dist/create-DQM_AB3I.mjs +34 -0
- package/dist/{create-R0Q-nRlq.mjs → create-DdnC7PkI.mjs} +4 -4
- package/dist/{create-DVEqry26.mjs → create-Dp1597uC.mjs} +4 -4
- package/dist/{create-xt4ff6fP.mjs → create-DqGen4jU.mjs} +3 -3
- package/dist/{create-branch-Cb3CWojg.mjs → create-branch-Cflee_NY.mjs} +2 -2
- package/dist/{create-BTQB1lqX.mjs → create-yLNBBrwG.mjs} +4 -4
- package/dist/{csv-CRNOhy4X.mjs → csv-CX1wws5-.mjs} +4 -4
- package/dist/{current-task-DFo1ZJ51.mjs → current-task-BTnORR7t.mjs} +3 -3
- package/dist/dashboard-c_wOMtS9.mjs +35 -0
- package/dist/{database-BT7DVgSr.mjs → database-D-CRyRIv.mjs} +1 -1
- package/dist/{database-Kq2AL5jH.mjs → database-MlUPpitM.mjs} +1 -1
- package/dist/{dataset-BmvCxGoE.mjs → dataset-p5oNPQgL.mjs} +1 -1
- package/dist/{db-C8lj73Dz.mjs → db-DNevs1XU.mjs} +7 -7
- package/dist/{delete-D_ZNoYVv.mjs → delete-BJ18ifIG.mjs} +4 -4
- package/dist/{delete-CYgNpHl7.mjs → delete-CCUYbNae.mjs} +4 -4
- package/dist/delete-CZTG4wI2.mjs +44 -0
- package/dist/{delete-qwdN0N7e.mjs → delete-Ch797MmM.mjs} +4 -4
- package/dist/{delete-My8TX-B2.mjs → delete-ChmqxYa7.mjs} +4 -4
- package/dist/{delete-I4eFpsed.mjs → delete-D5Jy83V-.mjs} +4 -4
- package/dist/{delete-HWeQtc4M.mjs → delete-dfrM_M6T.mjs} +4 -4
- package/dist/{delete-runtime-BbmRg_in.mjs → delete-runtime-Cc7TASG7.mjs} +1 -1
- package/dist/{delete-table-BCvjX7bh.mjs → delete-table-0xxoSknN.mjs} +4 -4
- package/dist/{dependencies-BAE4YPXX.mjs → dependencies-GvzMLOS2.mjs} +5 -5
- package/dist/{dependency-zElFM-os.mjs → dependency-BZxbh7qe.mjs} +2 -2
- package/dist/dependency-D6DMbPVm.mjs +15 -0
- package/dist/{dependency-DzLH3J8P.mjs → dependency-DaGeVAHF.mjs} +2 -2
- package/dist/{dependents-Dv6tLdSs.mjs → dependents-BRqKb0Pu.mjs} +9 -9
- package/dist/{dirty-CZORg0i0.mjs → dirty-Bq2cf5AG.mjs} +3 -3
- package/dist/{discard-values-DKnP-JHr.mjs → discard-values-k5-ePxWl.mjs} +5 -5
- package/dist/{document-C18b5rM6.mjs → document-BsaKF8UR.mjs} +1 -1
- package/dist/{document-DFCj1Az_.mjs → document-COQzVLjW.mjs} +1 -1
- package/dist/document-DCqe5MO9.mjs +20 -0
- package/dist/{download-BImtTll0.mjs → download-Dpbarf8I.mjs} +2 -2
- package/dist/{eid-D0FxhT9H.mjs → eid-BEc1p_um.mjs} +4 -4
- package/dist/{entity-DWp9WJbU.mjs → entity-c_Br4SFc.mjs} +2 -2
- package/dist/{entry-flags-3sDWwa90.mjs → entry-flags-z8cZTfaQ.mjs} +4 -4
- package/dist/{events-BzCjVA3-.mjs → events-DBpOpy2y.mjs} +4 -4
- package/dist/{export-CjqjDnaZ.mjs → export-F-R_vF48.mjs} +5 -5
- package/dist/{export-flags-BETJHNcw.mjs → export-flags-QbLI0sKz.mjs} +3 -3
- package/dist/{export-preflight-DzvIP6TB.mjs → export-preflight-0BvDa8Oz.mjs} +3 -3
- package/dist/field-CcCQ0goz.mjs +21 -0
- package/dist/{fields-C-au1eLO.mjs → fields-DOdrazv2.mjs} +4 -4
- package/dist/{filter-flags-BIFcA2TT.mjs → filter-flags-DiUgZ6vZ.mjs} +4 -5
- package/dist/{fks-83QIm8xb.mjs → fks-41Ig_ZQ2.mjs} +5 -5
- package/dist/{get-C9sq2boy.mjs → get-2l2CbHc6.mjs} +3 -3
- package/dist/{get-Z36_0HX_.mjs → get-B8hREA2A.mjs} +4 -4
- package/dist/{get-CkXc0Xld.mjs → get-BAV-KpLU.mjs} +5 -5
- package/dist/{get-Dvr_69L7.mjs → get-BVaN-tgY.mjs} +3 -3
- package/dist/{get-BMHbEGbr.mjs → get-Bby33eun.mjs} +4 -4
- package/dist/{get-DXBXhPrU.mjs → get-BjJdy_Iw.mjs} +5 -5
- package/dist/{get-D_v1IAL1.mjs → get-BlLUy1G0.mjs} +3 -3
- package/dist/{get-YPDWhgm_2.mjs → get-CPhMYZDP.mjs} +4 -4
- package/dist/{get-BTCOzSkl.mjs → get-CVJFF8Lb.mjs} +3 -3
- package/dist/{get-BawLhSwW.mjs → get-CfeNeyGE.mjs} +3 -3
- package/dist/{get-D7h7uH4k.mjs → get-CjK2GzFn.mjs} +5 -5
- package/dist/{get-CqNEVAX_2.mjs → get-D1c-C-_Q2.mjs} +3 -3
- package/dist/{get-Cggv6yLC.mjs → get-DaxwG0AP.mjs} +4 -4
- package/dist/{get-C-R_Fdsi.mjs → get-DwUB0K2G.mjs} +3 -3
- package/dist/{get-DkzO3G5p.mjs → get-Dwp_BfIp.mjs} +5 -5
- package/dist/get-DxpDAUz4.mjs +32 -0
- package/dist/{get-NOMvMvYJ.mjs → get-OKOOd2yb.mjs} +3 -3
- package/dist/{get-BjqqFG2m.mjs → get-TbBkN-jS.mjs} +3 -3
- package/dist/{get-DTTsPd-c.mjs → get-YinpF0y5.mjs} +4 -4
- package/dist/{get-C73V2KsB.mjs → get-aC5jUA1y.mjs} +5 -5
- package/dist/{get-run-v1QHn-Mx.mjs → get-run-PeXiUJwf.mjs} +4 -4
- package/dist/git-sync-CO199xCu.mjs +29 -0
- package/dist/{glossary-BlNCrYbw.mjs → glossary-CdW6RFId.mjs} +1 -1
- package/dist/{glossary-LmZWwCNP.mjs → glossary-Del97Jqg.mjs} +1 -1
- package/dist/glossary-LdAlftZW.mjs +14 -0
- package/dist/{graph-B6OliqnW.mjs → graph-M7V_js_w.mjs} +6 -6
- package/dist/{group-bpD_KcjA.mjs → group-D4w87fXL.mjs} +1 -1
- package/dist/{has-remote-changes-iTRCU9j0.mjs → has-remote-changes-D7uABGR0.mjs} +2 -2
- package/dist/{import-CdSs5CtT.mjs → import-CABYSyWS.mjs} +5 -5
- package/dist/{input-D8qW-KtR.mjs → input-DjHsV-kD.mjs} +1 -1
- package/dist/{is-dirty-B5fj9NeS.mjs → is-dirty-DpQBXuVa.mjs} +2 -2
- package/dist/{items-BxWnNEh7.mjs → items-BqUCPf-J.mjs} +6 -6
- package/dist/{key-BynJSK9u.mjs → key-BTaxFn_7.mjs} +1 -1
- package/dist/{library-Ck0EK5bi.mjs → library-C4M8TF2N.mjs} +1 -1
- package/dist/{library-BHHgurW0.mjs → library-DDrpsgMv.mjs} +5 -5
- package/dist/{library-BOv5SY24.mjs → library-DmkpcZPb.mjs} +1 -1
- package/dist/{list-CPWgBkPa.mjs → list-BFAc460G.mjs} +4 -4
- package/dist/{list-hN_Tu2T6.mjs → list-BQXq0A65.mjs} +6 -6
- package/dist/{list-DFJt2-fY.mjs → list-BXRUiZuH.mjs} +4 -4
- package/dist/{list-DA9KsA0o.mjs → list-BygxQkq7.mjs} +5 -5
- package/dist/{list-CNC-XHbN.mjs → list-C9H24xr5.mjs} +6 -6
- package/dist/{list-By9XJRiv.mjs → list-CEU9UXaZ.mjs} +3 -3
- package/dist/{list-Dzzt6Yee.mjs → list-CHUwj_Qh.mjs} +3 -3
- package/dist/{list-DbXnSL2x.mjs → list-CLRezReA.mjs} +5 -5
- package/dist/{list-DW4-u7eO.mjs → list-CONZkA9i.mjs} +5 -5
- package/dist/list-CQJABPGk.mjs +35 -0
- package/dist/{list-DE9gYY3I.mjs → list-CZF_gQnI.mjs} +3 -3
- package/dist/{list-ZHLsjxXg.mjs → list-D0MlsdSX.mjs} +4 -4
- package/dist/{list-zyKxxNvn.mjs → list-D217irjK.mjs} +3 -3
- package/dist/{list-BTgAbqeS.mjs → list-DO767sO1.mjs} +4 -4
- package/dist/{list-e7yvJYMw.mjs → list-Dd9o6Tut.mjs} +3 -3
- package/dist/{list-DUcnAb1h.mjs → list-Hiq5T4Bt.mjs} +3 -3
- package/dist/{list-BPMOLrwn.mjs → list-ISpYiawJ.mjs} +5 -5
- package/dist/{list-Bop1NTbU.mjs → list-aHFBopQd.mjs} +6 -6
- package/dist/{list-BTcEm4td.mjs → list-glgnTw7w.mjs} +3 -3
- package/dist/{list-Cpa0Se7M.mjs → list-yDJq3wNs.mjs} +5 -5
- package/dist/{login-B7nGQDZK.mjs → login-DCWam2ec.mjs} +6 -6
- package/dist/{logout-pZffAh1G.mjs → logout-CmrJqhkc.mjs} +2 -2
- package/dist/{measure-AtnrCTCC.mjs → measure-c_VUyXFN.mjs} +6 -6
- package/dist/{notification-DOYdl0ao.mjs → notification-Cuuwoksm.mjs} +1 -1
- package/dist/{parameter-values-CxTkEjCs.mjs → parameter-values-CnwWZrJ_.mjs} +3 -3
- package/dist/{parse-enum-CLIXMsd8.mjs → parse-enum-BPKULOSw.mjs} +1 -1
- package/dist/{parse-id-7ja3HUdB.mjs → parse-id-aMXePsUP.mjs} +1 -1
- package/dist/{parse-ref-Cw5fa4FI.mjs → parse-ref-8bVX_9IN.mjs} +1 -1
- package/dist/{parse-text-T0lTXzTZ.mjs → parse-text-Bm6eUa-p.mjs} +1 -1
- package/dist/{path-DM4vyihl.mjs → path-CGbz-QSr.mjs} +4 -4
- package/dist/{poll-Dz4tUm2f.mjs → poll-DFZRtTA_.mjs} +2 -2
- package/dist/{preflight-DaZ2z2C1.mjs → preflight-ChJ0pemy.mjs} +3 -3
- package/dist/{process-D0HdqZ3r.mjs → process-B3Di_HtV.mjs} +1 -1
- package/dist/{publish-C0HCL04a.mjs → publish-7ke00CtK.mjs} +4 -4
- package/dist/{pulse-D1uh8UIU.mjs → pulse-CIza18rO.mjs} +1 -1
- package/dist/{query-BC-C6efK.mjs → query-8M7ZN2Ca.mjs} +6 -6
- package/dist/{query-CAFPlqfi.mjs → query-DNa-fGS7.mjs} +10 -11
- package/dist/{remapping-CgA6UJGU.mjs → remapping-Cy1CEown.mjs} +4 -4
- package/dist/{remove-collection-DoctJa9g.mjs → remove-collection-B2CL66No.mjs} +3 -3
- package/dist/{render-Bvm9mta6.mjs → render-ColPG5G7.mjs} +2 -2
- package/dist/{replace-CaFJd9fO.mjs → replace-COC3ggyx.mjs} +4 -4
- package/dist/{rescan-values-7VOGCLMe.mjs → rescan-values-DUX58myu.mjs} +4 -4
- package/dist/{rescan-values-sJRwcHsk.mjs → rescan-values-DXzXTw9a.mjs} +5 -5
- package/dist/{run-COHDQ5J4.mjs → run-C5wf-lug.mjs} +3 -3
- package/dist/run-C_nqwWmC.mjs +63 -0
- package/dist/{run-RXpFlDAB.mjs → run-T2a4m1x9.mjs} +7 -7
- package/dist/{runs-CUYdCKiE.mjs → runs-Datc76Wu.mjs} +5 -5
- package/dist/{runtime-B8RtMb4B.mjs → runtime-C3AL15Dp.mjs} +2 -2
- package/dist/{schema-tables-CO5qyZBe.mjs → schema-tables-CR2S5mNc.mjs} +5 -5
- package/dist/{schemas-CzHHgDdF.mjs → schemas-OrGjEuVc.mjs} +4 -4
- package/dist/{search-Cc9vHNae.mjs → search-BEXBlfak.mjs} +5 -5
- package/dist/{search-BWb052_b.mjs → search-CJYSB5eP.mjs} +5 -5
- package/dist/{segment-C_rsUkHK.mjs → segment-Tt8GaRnc.mjs} +6 -6
- package/dist/{send-C-3bkpni.mjs → send-uNLODakO.mjs} +3 -3
- package/dist/{set-BDkT37OT.mjs → set-DRp3F4wz.mjs} +4 -4
- package/dist/{set-active-CDJTfQEc.mjs → set-active-CAt6ieXS.mjs} +3 -3
- package/dist/{set-sensitivity-DVrINHde.mjs → set-sensitivity--Qq2RXVE.mjs} +4 -4
- package/dist/{setting-CoLzd08x.mjs → setting-DMqvipRp.mjs} +4 -4
- package/dist/{setup-C4F4XYbU.mjs → setup-B2PC1NVz.mjs} +3 -3
- package/dist/{signal-CxWeLszu.mjs → signal-0Yt8JTMn.mjs} +1 -1
- package/dist/{skill-list-BgihWuPf.mjs → skill-list-Cyx1935Q.mjs} +2 -2
- package/dist/{skills-BWEFRpUj.mjs → skills-D7wu2iff.mjs} +3 -3
- package/dist/{skills-4qDjKRSk.mjs → skills-Dlp0MK6g.mjs} +2 -2
- package/dist/snippet-D-5bKT_U.mjs +19 -0
- package/dist/{stash-CZ1x0rox.mjs → stash-CHeQPI8Z.mjs} +4 -4
- package/dist/{status-BM6eYW7I.mjs → status-Bdt5XWrQ.mjs} +3 -3
- package/dist/{status-gqpPZvue.mjs → status-gTN3G-rs.mjs} +4 -4
- package/dist/{subscription-pSuO241O.mjs → subscription-C9alueg1.mjs} +6 -6
- package/dist/{subscriptions-n5zJ9rYZ.mjs → subscriptions-DJKbcxDy.mjs} +6 -6
- package/dist/{summary-DvIf2EiO.mjs → summary-kaC0aINr.mjs} +3 -3
- package/dist/{sync-schema-Cc21crxQ.mjs → sync-schema-C29bGCtt.mjs} +4 -4
- package/dist/{sync-schema-D1t8rhdQ.mjs → sync-schema-CyKovAb9.mjs} +6 -6
- package/dist/{sync-task-CXFoqlpF.mjs → sync-task-BAMOf6_t.mjs} +3 -2
- package/dist/table-8c-V5afO.mjs +26 -0
- package/dist/{table-CxvaDiIZ.mjs → table-BFIOH6Pb.mjs} +1 -1
- package/dist/{table-selector-flags-BVZvnhUa.mjs → table-selector-flags-CSoedTgm.mjs} +2 -2
- package/dist/{text-DaNkPRwt.mjs → text-CdtEI6l6.mjs} +1 -1
- package/dist/timeline-BetOmLYk.mjs +21 -0
- package/dist/{timeline-event-jn1SOKd4.mjs → timeline-event-DN3y8vwW.mjs} +6 -6
- package/dist/{transform-CNBIV7No.mjs → transform-D4z70PIN.mjs} +1 -1
- package/dist/transform-job-DALBzYVV.mjs +22 -0
- package/dist/transform-p-6_thIh.mjs +28 -0
- package/dist/{transform-tag-C0jzV6Dk.mjs → transform-tag-CIKnNaQH.mjs} +5 -5
- package/dist/transform-test-BjjCQ2xm.mjs +169 -0
- package/dist/transform-test-C5Havg4o.mjs +16 -0
- package/dist/transform-test-DHGKeuHa.mjs +32 -0
- package/dist/{transforms-DwTy_Quh.mjs → transforms-BQjwZKTN.mjs} +5 -5
- package/dist/transport-DuU3fLui.mjs +313 -0
- package/dist/{tree-p2j6IVy-.mjs → tree-C21CG5rm.mjs} +3 -3
- package/dist/{unpublish-B-961jX1.mjs → unpublish-C7MRZTmS.mjs} +3 -3
- package/dist/{unreferenced-Dxy-aYI7.mjs → unreferenced-BJUIC_Ct.mjs} +6 -6
- package/dist/{update-CHkVN69L.mjs → update-9b4JHJWR.mjs} +4 -4
- package/dist/{update-MD1Kwq1P.mjs → update-B2F22ryV.mjs} +4 -4
- package/dist/update-BQben_Xm.mjs +41 -0
- package/dist/{update-BnIEN390.mjs → update-BXFGGYT8.mjs} +5 -5
- package/dist/{update-BGeaPntx.mjs → update-C0QcHFIP.mjs} +5 -5
- package/dist/{update-CYGYUCFQ.mjs → update-CBcJTZo6.mjs} +4 -4
- package/dist/{update-DXxJHC8y.mjs → update-CCHTQjsP.mjs} +6 -6
- package/dist/{update-CKqL9PmU.mjs → update-CVO8Srng.mjs} +5 -5
- package/dist/{update-D4TGE6FS.mjs → update-CYy-r_Jq.mjs} +5 -5
- package/dist/{update-D7xi-0bU.mjs → update-CZ2eSAV5.mjs} +4 -4
- package/dist/{update-CALlEgIC.mjs → update-CuYvtXQY.mjs} +4 -4
- package/dist/{update-DK77vtFF.mjs → update-D6oHLn1g.mjs} +6 -6
- package/dist/{update-DiJK0uRG.mjs → update-DDH6FTe6.mjs} +8 -8
- package/dist/{update-BFYRBbRu.mjs → update-DEnsF5zT.mjs} +5 -5
- package/dist/{update-qDZvnwvf.mjs → update-DX1s6KnO.mjs} +7 -7
- package/dist/{update-DKDQTlnV.mjs → update-Duxk_-dC.mjs} +5 -5
- package/dist/{update-hvO4VpfZ.mjs → update-EpHReUGk.mjs} +7 -7
- package/dist/{update-tltXCUwR.mjs → update-IEVAFvpi.mjs} +4 -4
- package/dist/{update-dashcard-DuTjOh14.mjs → update-dashcard-C4ZndfvP.mjs} +4 -4
- package/dist/{upgrade-Ca-Ss5jb.mjs → upgrade-o2DpB66j.mjs} +4 -4
- package/dist/upload-BqNErDXE.mjs +13 -0
- package/dist/{upload-t6dkccqn.mjs → upload-CEtKrueq.mjs} +3 -3
- package/dist/{upload-C2fhpKkP.mjs → upload-DJB7DMA1.mjs} +2 -2
- package/dist/{uuid-BMlJZT8z.mjs → uuid-D9oozo8p.mjs} +2 -2
- package/dist/{validate-D7e110oU.mjs → validate-D_iikPkc.mjs} +1 -1
- package/dist/{validate-query-BzbZmenf.mjs → validate-query-BEYjmSv2.mjs} +3 -7
- package/dist/{values-CXN4xTTh.mjs → values-De8aGDiJ.mjs} +3 -3
- package/dist/{verify-k-JB-k3D.mjs → verify-DKmz4xJs.mjs} +3 -3
- package/dist/{verify-CPVfwKSu.mjs → verify-DVjaammv.mjs} +3 -3
- package/dist/{verify-t-CEmvoG.mjs → verify-ob8JSLxv.mjs} +3 -3
- package/dist/{wait-KSkq7kKW.mjs → wait-BN_MzTng.mjs} +5 -5
- package/dist/{wait-flags-KX7NHdj4.mjs → wait-flags-DQlX2yM_.mjs} +2 -2
- package/dist/{window-CI_QD04s.mjs → window-2ybHqui2.mjs} +1 -1
- package/package.json +1 -1
- package/skill-data/core/SKILL.md +7 -1
- package/skill-data/native-sql/SKILL.md +1 -1
- package/skill-data/transform/SKILL.md +63 -1
- package/skill-data/transform-test-plan/SKILL.md +82 -0
- package/skill-data/transform-test-plan/references/checklist.md +32 -0
- package/skill-data/transform-test-plan/references/checks.md +156 -0
- package/dist/archive-55sDfnHf.mjs +0 -32
- package/dist/card-CQD4D8mw.mjs +0 -25
- package/dist/collection-CuaTd10G.mjs +0 -21
- package/dist/create-BJG630xB.mjs +0 -48
- package/dist/dashboard-D11YAa7I.mjs +0 -35
- package/dist/data-action-BiHjjVjc.mjs +0 -24
- package/dist/data-action-DZxVB_hD.mjs +0 -85
- package/dist/data-action-R9qxJDPA.mjs +0 -40
- package/dist/delete-09O7BTNw.mjs +0 -44
- package/dist/dependency-CIam7zmr.mjs +0 -15
- package/dist/document-uxz96Lah.mjs +0 -20
- package/dist/execute-BhHbkBqf.mjs +0 -45
- package/dist/field-fBpiGiqr.mjs +0 -21
- package/dist/get-DGmE5fmp.mjs +0 -31
- package/dist/git-sync-VAqASCQ5.mjs +0 -29
- package/dist/glossary-Brnk2PBi.mjs +0 -14
- package/dist/list-DgsM9YQX.mjs +0 -28
- package/dist/query-BKtMP5eH.mjs +0 -13
- package/dist/snippet-CYd8D9SK.mjs +0 -19
- package/dist/table-Dc0dLfyg.mjs +0 -26
- package/dist/timeline-BqU5sOb6.mjs +0 -21
- package/dist/transform-BUIlFqpv.mjs +0 -28
- package/dist/transform-job-DsbY9mme.mjs +0 -22
- package/dist/update-CuQy2g51.mjs +0 -52
- package/dist/upload-Dw7mVr9u.mjs +0 -13
- package/skill-data/data-action/SKILL.md +0 -125
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
import { dt as ResponseShapeError, ft as TimeoutError, ht as errorMessage, mt as ValidationError, n as methodRequirements, ut as NetworkError } from "./cli.mjs";
|
|
2
|
+
import { $ as CapabilityError, B as assertCredentialHeaderSafe, G as normalizeUrl, H as credentialSecrets, I as isRetryableStatus, J as checkFeatures, L as JSON_CONTENT_TYPE, M as buildNetworkError, N as isConnectionClosed, P as HttpError, Q as probeServer, R as parseJson, V as credentialAuthHeader, X as createServerProfile } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { n as throwIfAborted, r as untilAborted, t as combineAborts } from "./signal-0Yt8JTMn.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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { m as CollectionTreeNode } from "./collection-
|
|
1
|
+
import { U as connectionFlags, W as formatFlags, Y as profileFlag, g as writeJson, ot as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { m as CollectionTreeNode } from "./collection-BgPYl2c5.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/collection/tree.ts
|
|
6
6
|
const CollectionTreeResponse = z.array(CollectionTreeNode);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { i as tableSelectorFlags, n as parseTableSelectors } from "./table-selector-flags-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { i as tableSelectorFlags, n as parseTableSelectors } from "./table-selector-flags-CSoedTgm.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/library/unpublish.ts
|
|
6
6
|
const LibraryUnpublishResult = z.object({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as collectForOutput } from "./window-
|
|
4
|
-
import { d as DependencyNodeCompact } from "./dependency-
|
|
5
|
-
import { i as dependencyNodeView } from "./dependency-
|
|
6
|
-
import { a as readItemFilters, n as itemFilterFlags } from "./filter-flags-
|
|
1
|
+
import { J as outputFlags, K as listFlags, U as connectionFlags, Y as profileFlag, Z as listEnvelopeSchema, d as renderList } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as collectForOutput } from "./window-2ybHqui2.mjs";
|
|
4
|
+
import { d as DependencyNodeCompact } from "./dependency-DaGeVAHF.mjs";
|
|
5
|
+
import { i as dependencyNodeView } from "./dependency-BZxbh7qe.mjs";
|
|
6
|
+
import { a as readItemFilters, n as itemFilterFlags } from "./filter-flags-DiUgZ6vZ.mjs";
|
|
7
7
|
//#region src/commands/dependency/unreferenced.ts
|
|
8
8
|
const DependencyUnreferencedListEnvelope = listEnvelopeSchema(DependencyNodeCompact);
|
|
9
9
|
var unreferenced_default = defineMetabaseCommand({
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { a as FieldDetail, g as hasDataSensitivity, l as FieldUpdateInput } from "./field-5nivEfd6.mjs";
|
|
7
7
|
import { c as fieldView, l as fieldWithDataSensitivityView } from "./field-wmN6raOG.mjs";
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.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";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
|
+
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
|
+
import { a as TransformTestUpdateInput, t as TransformTest } from "./transform-test-BjjCQ2xm.mjs";
|
|
7
|
+
import { n as transformTestView } from "./transform-test-DHGKeuHa.mjs";
|
|
8
|
+
//#region src/commands/transform-test/update.ts
|
|
9
|
+
var update_default = defineMetabaseCommand({
|
|
10
|
+
meta: {
|
|
11
|
+
name: "update",
|
|
12
|
+
description: "Update a transform test from JSON"
|
|
13
|
+
},
|
|
14
|
+
details: "Only the fields the body carries are patched. `inputs` and `expectations` replace what is stored rather than merging into it. The body is closed at every level: a test read back with `get --full` has to shed `id`, `entity_id`, `creator_id`, `created_at` and `updated_at` before it can be sent.",
|
|
15
|
+
requires: ["transformTest.update"],
|
|
16
|
+
args: {
|
|
17
|
+
...outputFlags,
|
|
18
|
+
...profileFlag,
|
|
19
|
+
...connectionFlags,
|
|
20
|
+
...bodyInputFlags,
|
|
21
|
+
id: {
|
|
22
|
+
type: "positional",
|
|
23
|
+
description: "Transform test id",
|
|
24
|
+
required: true
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
inputSchema: TransformTestUpdateInput,
|
|
28
|
+
outputSchema: TransformTest,
|
|
29
|
+
examples: ["cat patch.json | mb transform-test update 1", "mb transform-test update 1 --file patch.json"],
|
|
30
|
+
async run({ args, ctx, getClient }) {
|
|
31
|
+
const id = parseId(args.id);
|
|
32
|
+
const body = await readBody({
|
|
33
|
+
flag: args.body,
|
|
34
|
+
file: args.file
|
|
35
|
+
}, TransformTestUpdateInput);
|
|
36
|
+
const updated = await (await getClient()).transformTest.update(id, body);
|
|
37
|
+
renderSummary(updated, transformTestView, `Updated transform test ${updated.id}.`, ctx);
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { update_default as default };
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.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 {
|
|
7
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-BEYjmSv2.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({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
2
|
import { c as NotificationUpdateInput, n as Notification } from "./notification-DaA4bBHW.mjs";
|
|
3
|
-
import { t as notificationView } from "./notification-
|
|
4
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
5
|
-
import { t as parseId } from "./parse-id-
|
|
3
|
+
import { t as notificationView } from "./notification-Cuuwoksm.mjs";
|
|
4
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
5
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
6
6
|
import { t as describeAlert } from "./summary-BytbDz6e.mjs";
|
|
7
|
-
import { t as readBody } from "./body-
|
|
7
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
8
8
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
9
9
|
//#region src/commands/alert/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { o as TransformJobUpdateInput, t as TransformJob } from "./transform-job-CCguL6LP.mjs";
|
|
7
7
|
import { t as transformJobView } from "./transform-job-AaMZRxAq.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { i as GlossaryUpdateInput, t as Glossary } from "./glossary-CdW6RFId.mjs";
|
|
5
|
+
import { t as glossaryView } from "./glossary-Del97Jqg.mjs";
|
|
6
|
+
import { n as readEntryInput, t as entryFlags } from "./entry-flags-z8cZTfaQ.mjs";
|
|
7
7
|
//#region src/commands/glossary/update.ts
|
|
8
8
|
var update_default = defineMetabaseCommand({
|
|
9
9
|
meta: {
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { a as PulseUpdateInput, t as Pulse } from "./pulse-Dz0ocv0l.mjs";
|
|
7
|
-
import { t as pulseView } from "./pulse-
|
|
7
|
+
import { t as pulseView } from "./pulse-CIza18rO.mjs";
|
|
8
8
|
//#region src/commands/subscription/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { c as DashboardUpdateInput, o as DashboardDetail } from "./dashboard-Phz3XpRM.mjs";
|
|
7
7
|
import { n as dashboardView } from "./dashboard-XSTr9QCr.mjs";
|
|
8
|
-
import { t as preflightDashcardCardReferences } from "./preflight-
|
|
8
|
+
import { t as preflightDashcardCardReferences } from "./preflight-ChJ0pemy.mjs";
|
|
9
9
|
//#region src/commands/dashboard/update.ts
|
|
10
10
|
var update_default = defineMetabaseCommand({
|
|
11
11
|
meta: {
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { c as TimelineUpdateInput, t as Timeline } from "./timeline-CCSU2qOS.mjs";
|
|
7
7
|
import { n as timelineView } from "./timeline-uDCmwGFT.mjs";
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { i as TimelineEvent, s as TimelineEventUpdateInput } from "./timeline-CCSU2qOS.mjs";
|
|
7
7
|
import { t as timelineEventView } from "./timeline-uDCmwGFT.mjs";
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.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-COQzVLjW.mjs";
|
|
7
|
+
import { t as documentView } from "./document-BsaKF8UR.mjs";
|
|
8
8
|
//#region src/commands/document/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { F as chainRequestFailure, t as defineMetabaseCommand, tt as parseInteger } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { r as givenValue } from "./input-
|
|
5
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { C as isBlank, J as outputFlags, U as connectionFlags, Y as profileFlag, dt as ResponseShapeError, lt as MetabaseError, ot as ConfigError, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { F as chainRequestFailure, t as defineMetabaseCommand, tt as parseInteger } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { r as givenValue } from "./input-DjHsV-kD.mjs";
|
|
5
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
6
6
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
7
|
-
import { g as CollectionUpdateInput, r as Collection } from "./collection-
|
|
8
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
9
|
-
import { n as collectionView } from "./collection-
|
|
7
|
+
import { g as CollectionUpdateInput, r as Collection } from "./collection-BgPYl2c5.mjs";
|
|
8
|
+
import { t as parseEnumFlag } from "./parse-enum-BPKULOSw.mjs";
|
|
9
|
+
import { n as collectionView } from "./collection-DPiztU_l.mjs";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
//#region src/commands/collection/update-flags.ts
|
|
12
12
|
const ROOT_PARENT = "root";
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { t as Table, y as TableUpdateInput } from "./table-Ci6bhZkb.mjs";
|
|
7
|
-
import { u as tableView } from "./table-
|
|
7
|
+
import { u as tableView } from "./table-BFIOH6Pb.mjs";
|
|
8
8
|
//#region src/commands/table/update.ts
|
|
9
9
|
var update_default = defineMetabaseCommand({
|
|
10
10
|
meta: {
|
|
@@ -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 { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
5
5
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
6
6
|
import { f as TransformUpdateInput, t as Transform } from "./transform-DiW7bREn.mjs";
|
|
7
|
-
import { a as
|
|
8
|
-
import { n as transformView } from "./transform-
|
|
9
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
7
|
+
import { a as preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-BEYjmSv2.mjs";
|
|
8
|
+
import { n as transformView } from "./transform-D4z70PIN.mjs";
|
|
9
|
+
import { t as enrichTransformCollectionError } from "./collection-namespace-Q_up_tSg.mjs";
|
|
10
10
|
//#region src/commands/transform/update.ts
|
|
11
11
|
var update_default = defineMetabaseCommand({
|
|
12
12
|
meta: {
|