@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { v as MALFORMED_CELL } from "./cli.mjs";
|
|
2
2
|
import { i as NotificationCompact, o as NotificationHandler, r as NotificationCardPayload, s as NotificationSubscription } from "./notification-DaA4bBHW.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/output/views/notification.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, ot as ConfigError, 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
4
|
import { i as ParameterValuesCompact, r as ParameterValues } from "./parameter-Celg0wZa.mjs";
|
|
5
5
|
//#region src/output/views/parameter.ts
|
|
6
6
|
const parameterValuesView = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as isBlank, ot as ConfigError } from "./cli.mjs";
|
|
2
2
|
//#region src/commands/parse-text.ts
|
|
3
3
|
function parseText(value, name) {
|
|
4
4
|
if (isBlank(value)) throw new ConfigError(`invalid ${name}: must not be blank`);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as windowList } from "./window-
|
|
4
|
-
import { i as loadVisibleSkills, n as findSkillByName, r as loadAllSkills } from "./skills-
|
|
1
|
+
import { J as outputFlags, K as listFlags, Z as listEnvelopeSchema, d as renderList } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { n as windowList } from "./window-2ybHqui2.mjs";
|
|
4
|
+
import { i as loadVisibleSkills, n as findSkillByName, r as loadAllSkills } from "./skills-Dlp0MK6g.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/skills/path.ts
|
|
7
7
|
const SkillPath = z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as throwIfAborted, t as combineAborts } from "./signal-
|
|
1
|
+
import { ft as TimeoutError } from "./cli.mjs";
|
|
2
|
+
import { n as throwIfAborted, t as combineAborts } from "./signal-0Yt8JTMn.mjs";
|
|
3
3
|
import { setTimeout } from "node:timers/promises";
|
|
4
4
|
//#region ../client/src/poll.ts
|
|
5
5
|
const DEFAULT_INTERVAL_MS = 2e3;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { F as chainRequestFailure } from "./runtime-
|
|
3
|
-
import "./validate-
|
|
1
|
+
import { g as writeJson, lt as MetabaseError, ot as ConfigError } from "./cli.mjs";
|
|
2
|
+
import { F as chainRequestFailure } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import "./validate-D_iikPkc.mjs";
|
|
4
4
|
//#region src/commands/dashboard/preflight.ts
|
|
5
5
|
async function preflightDashcardCardReferences(client, dashcards) {
|
|
6
6
|
const issues = await client.dashboard.checkCardReferences(dashcards);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { a as CollectionCompact, r as Collection } from "./collection-
|
|
4
|
-
import { i as tableSelectorFlags, n as parseTableSelectors } from "./table-selector-flags-
|
|
1
|
+
import { A as warn, J as outputFlags, U as connectionFlags, Y as profileFlag, ht as errorMessage, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { a as CollectionCompact, r as Collection } from "./collection-BgPYl2c5.mjs";
|
|
4
|
+
import { i as tableSelectorFlags, n as parseTableSelectors } from "./table-selector-flags-CSoedTgm.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/git-sync/sync-scope.ts
|
|
7
7
|
function isOutsideSyncScope(collection) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { R as parseJson, nt as parseOptionalInteger, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { a as CardQueryResult } from "./card-
|
|
5
|
-
import { t as cardQueryView } from "./card-
|
|
6
|
-
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary } from "./cli.mjs";
|
|
2
|
+
import { R as parseJson, nt as parseOptionalInteger, t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { a as CardQueryResult } from "./card-Bv4ZN0oV.mjs";
|
|
5
|
+
import { t as cardQueryView } from "./card-DSrgU7lT.mjs";
|
|
6
|
+
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-QbLI0sKz.mjs";
|
|
7
7
|
import { t as pipeToStdout } from "./stream-McixcoUl.mjs";
|
|
8
8
|
import { z } from "zod";
|
|
9
9
|
//#region src/commands/card/query.ts
|
|
@@ -1,18 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { F as chainRequestFailure, P as HttpError, R as parseJson, t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, g as writeJson, h as serializeJson, ot as ConfigError, p as renderSummary, u as renderItem, v as MALFORMED_CELL } from "./cli.mjs";
|
|
2
|
+
import { F as chainRequestFailure, P as HttpError, R as parseJson, t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { t as Field } from "./field-5nivEfd6.mjs";
|
|
6
|
-
import { a as
|
|
7
|
-
import { a as CardQueryResult } from "./card-P5mBknsl.mjs";
|
|
6
|
+
import { a as CardQueryResult, l as DatasetQuery, p as VisualizationSettings } from "./card-Bv4ZN0oV.mjs";
|
|
8
7
|
import { p as TableQueryMetadata } from "./table-Ci6bhZkb.mjs";
|
|
9
|
-
import { t as Database } from "./database-
|
|
8
|
+
import { t as Database } from "./database-D-CRyRIv.mjs";
|
|
10
9
|
import { t as Snippet } from "./snippet-CyKAgIZl.mjs";
|
|
11
|
-
import { a as VirtualTable, i as QueryMetadataCompact, n as CompiledQueryCompact, r as QueryMetadata, t as CompiledQuery } from "./dataset-
|
|
12
|
-
import { t as cardQueryView } from "./card-
|
|
13
|
-
import { a as validateQuery, i as isMbql5Query, n as assertNotLegacyEnvelopeWrappingMbql5, r as getQuerySchemaBundle, t as ValidationOutcome } from "./validate-
|
|
14
|
-
import {
|
|
15
|
-
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-
|
|
10
|
+
import { a as VirtualTable, i as QueryMetadataCompact, n as CompiledQueryCompact, r as QueryMetadata, t as CompiledQuery } from "./dataset-p5oNPQgL.mjs";
|
|
11
|
+
import { t as cardQueryView } from "./card-DSrgU7lT.mjs";
|
|
12
|
+
import { a as validateQuery, i as isMbql5Query, n as assertNotLegacyEnvelopeWrappingMbql5, r as getQuerySchemaBundle, t as ValidationOutcome } from "./validate-D_iikPkc.mjs";
|
|
13
|
+
import { o as skipValidateFlag } from "./validate-query-BEYjmSv2.mjs";
|
|
14
|
+
import { i as formatQueryResult, n as exportFlags, r as readExportRequest, t as assertStreamedOutput } from "./export-flags-QbLI0sKz.mjs";
|
|
16
15
|
import { t as pipeToStdout } from "./stream-McixcoUl.mjs";
|
|
17
16
|
import { z } from "zod";
|
|
18
17
|
//#region src/output/views/dataset.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as parseText } from "./parse-text-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary, y as formatScalar } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { n as parseText } from "./parse-text-Bm6eUa-p.mjs";
|
|
5
5
|
import { i as fieldRemappingMissView, r as fieldRemappingMatchView, t as FieldRemappingResult, u as toValueLabel } from "./field-wmN6raOG.mjs";
|
|
6
6
|
//#region src/commands/field/remapping.ts
|
|
7
7
|
var remapping_default = defineMetabaseCommand({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
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
4
|
import { l as SyncSettingsUpdateResult } from "./git-sync-COokpYgc.mjs";
|
|
5
5
|
import { c as syncSettingsUpdateView } from "./git-sync-DspFahwV.mjs";
|
|
6
6
|
//#region src/commands/git-sync/remove-collection.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Y as Skew } from "./runtime-
|
|
1
|
+
import { vt as KNOWN_RANGE } from "./cli.mjs";
|
|
2
|
+
import { Y as Skew } from "./runtime-C3AL15Dp.mjs";
|
|
3
3
|
//#region src/commands/auth/render.ts
|
|
4
4
|
const SKEW_LABEL = Object.freeze({
|
|
5
5
|
supported: "supported",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
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
4
|
import { n as UploadUpdateResult } from "./upload-DAtxBBms.mjs";
|
|
5
|
-
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-
|
|
5
|
+
import { n as requireUploadFilePath, t as readCsvFile } from "./upload-DJB7DMA1.mjs";
|
|
6
6
|
import { n as uploadUpdateResultView } from "./upload-C3z5ZaXA.mjs";
|
|
7
7
|
//#region src/commands/upload/replace.ts
|
|
8
8
|
var replace_default = defineMetabaseCommand({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
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
4
|
import { l as TableFieldValuesResult } from "./table-Ci6bhZkb.mjs";
|
|
5
|
-
import { i as tableFieldValuesResultView } from "./table-
|
|
5
|
+
import { i as tableFieldValuesResultView } from "./table-BFIOH6Pb.mjs";
|
|
6
6
|
//#region src/commands/table/rescan-values.ts
|
|
7
7
|
var rescan_values_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { a as DatabaseSyncResult } from "./database-
|
|
5
|
-
import { t as databaseSyncResultView } from "./database-
|
|
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 { a as DatabaseSyncResult } from "./database-D-CRyRIv.mjs";
|
|
5
|
+
import { t as databaseSyncResultView } from "./database-MlUPpitM.mjs";
|
|
6
6
|
//#region src/commands/db/rescan-values.ts
|
|
7
7
|
var rescan_values_default = defineMetabaseCommand({
|
|
8
8
|
meta: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
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
4
|
import { a as TransformJobRunResult } from "./transform-job-CCguL6LP.mjs";
|
|
5
5
|
//#region src/commands/transform-job/run.ts
|
|
6
6
|
const transformJobRunResultView = {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, m as renderSummaryWithinMaxBytes, ot as ConfigError, st as FailedResultError, t as interruptSignal } 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 DEFAULT_TIMEOUT_MS } from "./transport-DuU3fLui.mjs";
|
|
5
|
+
import { i as TransformTestRunResult } from "./transform-test-BjjCQ2xm.mjs";
|
|
6
|
+
import { t as transformTestRunResultView } from "./transform-test-DHGKeuHa.mjs";
|
|
7
|
+
//#region src/commands/transform-test/run.ts
|
|
8
|
+
function namesOf(expectations, status) {
|
|
9
|
+
return expectations.filter((expectation) => expectation.status === status).map((e) => e.name);
|
|
10
|
+
}
|
|
11
|
+
function summaryLine(id, result) {
|
|
12
|
+
if (result.status === "passed") return `Transform test ${id} passed ${result.expectations.length} expectation(s).`;
|
|
13
|
+
const failed = namesOf(result.expectations, "failed");
|
|
14
|
+
const errored = namesOf(result.expectations, "error");
|
|
15
|
+
const parts = [failed.length > 0 ? `failed: ${failed.join(", ")}` : null, errored.length > 0 ? `could not run: ${errored.join(", ")}` : null].filter((part) => part !== null);
|
|
16
|
+
return `Transform test ${id} ${result.status} — ${parts.join("; ")}.`;
|
|
17
|
+
}
|
|
18
|
+
var run_default = defineMetabaseCommand({
|
|
19
|
+
meta: {
|
|
20
|
+
name: "run",
|
|
21
|
+
description: "Run a transform test by id"
|
|
22
|
+
},
|
|
23
|
+
details: "Runs the transform against temp tables built from the test's inputs, checks every expectation against its output, and drops the temp tables. The transform and the expectations read only those temp tables; a `format: \"sql\"` input runs verbatim against the transform's source database. The run is one synchronous request, so --timeout bounds the whole of it. --json reports what each expectation found, including the rows a comparison disagreed on. A test that does not pass exits 1, also when its report is over --max-bytes and is not printed; the error then names the expectations that did not pass.",
|
|
24
|
+
requires: ["transformTest.run"],
|
|
25
|
+
args: {
|
|
26
|
+
...outputFlags,
|
|
27
|
+
...profileFlag,
|
|
28
|
+
...connectionFlags,
|
|
29
|
+
timeout: {
|
|
30
|
+
type: "string",
|
|
31
|
+
description: "Request timeout in ms",
|
|
32
|
+
default: String(DEFAULT_TIMEOUT_MS)
|
|
33
|
+
},
|
|
34
|
+
id: {
|
|
35
|
+
type: "positional",
|
|
36
|
+
description: "Transform test id",
|
|
37
|
+
required: true
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
outputSchema: TransformTestRunResult,
|
|
41
|
+
examples: [
|
|
42
|
+
"mb transform-test run 1",
|
|
43
|
+
"mb transform-test run 1 --json",
|
|
44
|
+
"mb transform-test run 1 --timeout 300000"
|
|
45
|
+
],
|
|
46
|
+
async run({ args, ctx, getClient }) {
|
|
47
|
+
const id = parseId(args.id);
|
|
48
|
+
const timeoutMs = parseId(args.timeout, "timeout");
|
|
49
|
+
const result = await (await getClient()).transformTest.run(id, {
|
|
50
|
+
timeoutMs,
|
|
51
|
+
signal: interruptSignal
|
|
52
|
+
});
|
|
53
|
+
const summary = summaryLine(id, result);
|
|
54
|
+
const oversize = renderSummaryWithinMaxBytes(result, transformTestRunResultView, summary, ctx);
|
|
55
|
+
if (result.status === "passed") {
|
|
56
|
+
if (oversize !== null) throw new ConfigError(oversize);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
throw new FailedResultError(oversize === null ? `transform test ${id} ${result.status}` : `${summary} Its ${oversize}`);
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
//#endregion
|
|
63
|
+
export { run_default as default };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary, st as FailedResultError } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
4
|
import { c as TransformRunResult, p as isTransformRunFailed } from "./transform-DiW7bREn.mjs";
|
|
5
|
-
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-
|
|
5
|
+
import { i as waitFlags, n as parseWaitFlags } from "./wait-flags-DQlX2yM_.mjs";
|
|
6
6
|
//#region src/commands/transform/run.ts
|
|
7
7
|
const transformRunResultView = {
|
|
8
8
|
compactPick: TransformRunResult,
|
|
@@ -26,7 +26,7 @@ var run_default = defineMetabaseCommand({
|
|
|
26
26
|
name: "run",
|
|
27
27
|
description: "Trigger a transform run by id"
|
|
28
28
|
},
|
|
29
|
-
details: "Starts a run and returns immediately. --wait polls the run to a terminal status. --sync additionally waits until the run's output table is registered and returns its `target_table_id`, so you can build MBQL cards against it — the run registers the table itself, so no separate `db sync-schema` is needed; --sync implies waiting for the run.",
|
|
29
|
+
details: "Starts a run and returns immediately. --wait polls the run to a terminal status. --sync additionally waits until the run's output table is registered and returns its `target_table_id`, so you can build MBQL cards against it — the run registers the table itself, so no separate `db sync-schema` is needed; --sync implies waiting for the run. While waiting, a run that does not succeed exits 1.",
|
|
30
30
|
requires: ["transform.run"],
|
|
31
31
|
args: {
|
|
32
32
|
...outputFlags,
|
|
@@ -66,11 +66,11 @@ var run_default = defineMetabaseCommand({
|
|
|
66
66
|
}
|
|
67
67
|
if (result.run_id === null || result.final === null) {
|
|
68
68
|
renderSummary(result, transformRunResultView, result.message, ctx);
|
|
69
|
-
throw new
|
|
69
|
+
throw new FailedResultError(`transform run did not start: ${result.message}`);
|
|
70
70
|
}
|
|
71
71
|
const status = result.final.status;
|
|
72
72
|
renderSummary(result, transformRunResultView, summaryLine(id, result.run_id, status, syncTarget, result.target_table_id), ctx);
|
|
73
|
-
if (isTransformRunFailed(status)) throw new
|
|
73
|
+
if (isTransformRunFailed(status)) throw new FailedResultError(`transform run ${result.run_id} ${status}`);
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
76
|
function summaryLine(transformId, runId, status, syncTarget, targetTableId) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as collectForOutput } from "./window-
|
|
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 parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { t as collectForOutput } from "./window-2ybHqui2.mjs";
|
|
5
5
|
import { s as TransformRunCompact } from "./transform-DiW7bREn.mjs";
|
|
6
|
-
import { t as transformRunView } from "./transform-
|
|
6
|
+
import { t as transformRunView } from "./transform-D4z70PIN.mjs";
|
|
7
7
|
//#region src/commands/transform/runs.ts
|
|
8
8
|
const TransformRunListEnvelope = listEnvelopeSchema(TransformRunCompact);
|
|
9
9
|
var runs_default = defineMetabaseCommand({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as assertArgv, A as warn, B as setMetabaseAugment, F as ENV_SKIP_PREFLIGHT, H as version, I as ENV_URL, L as consumeLegacyEnvWarnings, M as ENV_DISABLE_KEYRING, R as readEnv, _t as isFileNotFoundError, a as Features, at as ChainedRequestError, c as ruleGap, dt as ResponseShapeError, et as givenFlagKeys, ft as TimeoutError, ht as errorMessage, i as FEATURE_RULES, j as ENV_API_KEY, l as reportError, lt as MetabaseError, mt as ValidationError, n as methodRequirements, o as evaluateFeatures, ot as ConfigError, r as FEATURE_NAMES, t as interruptSignal, tt as parseCsv, ut as NetworkError, vt as KNOWN_RANGE, w as isPlainObject, z as ProfileRefreshedError } from "./cli.mjs";
|
|
2
2
|
import { defineCommand } from "citty";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { Entry } from "@napi-rs/keyring";
|
|
@@ -1542,7 +1542,7 @@ function defineMetabaseCommand(def) {
|
|
|
1542
1542
|
const resolved = await getResolvedConfig();
|
|
1543
1543
|
const probe = await readCachedProbe(resolved.profile, resolved.url);
|
|
1544
1544
|
const server = probe === null ? null : createServerProfile(probe);
|
|
1545
|
-
const { createClient } = await import("./client-
|
|
1545
|
+
const { createClient } = await import("./client-5y-BaV3d.mjs").then((n) => n.t);
|
|
1546
1546
|
cachedClient = createClient({
|
|
1547
1547
|
url: resolved.url,
|
|
1548
1548
|
credential: resolved.credential
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
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 parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { n as windowList } from "./window-2ybHqui2.mjs";
|
|
5
5
|
import { a as TableCompact } from "./table-Ci6bhZkb.mjs";
|
|
6
|
-
import { u as tableView } from "./table-
|
|
6
|
+
import { u as tableView } from "./table-BFIOH6Pb.mjs";
|
|
7
7
|
//#region src/commands/db/schema-tables.ts
|
|
8
8
|
const DatabaseSchemaTablesEnvelope = listEnvelopeSchema(TableCompact);
|
|
9
9
|
var schema_tables_default = defineMetabaseCommand({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { n as windowList } from "./window-
|
|
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 parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { n as windowList } from "./window-2ybHqui2.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/db/schemas.ts
|
|
7
7
|
const SchemaName = z.object({ name: z.string() });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
4
|
-
import { t as collectForOutput } from "./window-
|
|
5
|
-
import { n as parseText } from "./parse-text-
|
|
1
|
+
import { J as outputFlags, K as listFlags, U as connectionFlags, Y as profileFlag, Z as listEnvelopeSchema, d as renderList, ot as ConfigError } 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 collectForOutput } from "./window-2ybHqui2.mjs";
|
|
5
|
+
import { n as parseText } from "./parse-text-Bm6eUa-p.mjs";
|
|
6
6
|
import { n as FieldValueLabel, o as fieldValueLabelView, u as toValueLabel } from "./field-wmN6raOG.mjs";
|
|
7
7
|
//#region src/commands/field/search.ts
|
|
8
8
|
const FieldSearchListEnvelope = listEnvelopeSchema(FieldValueLabel);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { n as parseIdCsv, t as parseId } from "./parse-id-
|
|
4
|
-
import { r as windowServerPage } from "./window-
|
|
1
|
+
import { G as listFlag, J as outputFlags, U as connectionFlags, Y as profileFlag, Z as listEnvelopeSchema, d as renderList, ot as ConfigError, q as listFlagsWithDefaultLimit, rt as parseEnumCsv } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { n as parseIdCsv, t as parseId } from "./parse-id-aMXePsUP.mjs";
|
|
4
|
+
import { r as windowServerPage } from "./window-2ybHqui2.mjs";
|
|
5
5
|
import { i as SearchResultCompact, n as SearchModel, t as SEARCH_MODELS } from "./search-BAXg-EJw.mjs";
|
|
6
|
-
import { t as parseOptionalText } from "./parse-text-
|
|
6
|
+
import { t as parseOptionalText } from "./parse-text-Bm6eUa-p.mjs";
|
|
7
7
|
//#region src/output/views/search.ts
|
|
8
8
|
const searchResultView = {
|
|
9
9
|
compactPick: SearchResultCompact,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-D4w87fXL.mjs";
|
|
2
2
|
//#region src/commands/segment/index.ts
|
|
3
3
|
var segment_default = defineCommandGroup({
|
|
4
4
|
name: "segment",
|
|
@@ -11,11 +11,11 @@ var segment_default = defineCommandGroup({
|
|
|
11
11
|
purpose: "define reusable segments"
|
|
12
12
|
}],
|
|
13
13
|
subCommands: {
|
|
14
|
-
list: () => import("./list-
|
|
15
|
-
get: () => import("./get-
|
|
16
|
-
create: () => import("./create-
|
|
17
|
-
update: () => import("./update-
|
|
18
|
-
archive: () => import("./archive-
|
|
14
|
+
list: () => import("./list-CHUwj_Qh.mjs").then((mod) => mod.default),
|
|
15
|
+
get: () => import("./get-TbBkN-jS.mjs").then((mod) => mod.default),
|
|
16
|
+
create: () => import("./create-DdnC7PkI.mjs").then((mod) => mod.default),
|
|
17
|
+
update: () => import("./update-BXFGGYT8.mjs").then((mod) => mod.default),
|
|
18
|
+
archive: () => import("./archive-CC6THE3k.mjs").then((mod) => mod.default)
|
|
19
19
|
}
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
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
4
|
import { z } from "zod";
|
|
5
5
|
//#region src/commands/alert/send.ts
|
|
6
6
|
const AlertSendResult = z.object({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as readBody } from "./body-
|
|
1
|
+
import { J as outputFlags, U as connectionFlags, Y as profileFlag, p as renderSummary, y as formatScalar } from "./cli.mjs";
|
|
2
|
+
import { t as defineMetabaseCommand } from "./runtime-C3AL15Dp.mjs";
|
|
3
|
+
import { t as readBody } from "./body-CT1cQrhp.mjs";
|
|
4
4
|
import { r as SettingValue } from "./setting-DTiLCW8g.mjs";
|
|
5
5
|
import { t as settingValueView } from "./setting-CwRYgHYN.mjs";
|
|
6
|
-
import { t as parseSettingKey } from "./key-
|
|
6
|
+
import { t as parseSettingKey } from "./key-BTaxFn_7.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/commands/setting/set.ts
|
|
9
9
|
const SettingValueInput = z.unknown().describe("Any JSON value; the setting's own type constraints are enforced server-side");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
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
3
|
import { n as TransformJobActiveResult } from "./transform-job-CCguL6LP.mjs";
|
|
4
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
4
|
+
import { t as parseEnumFlag } from "./parse-enum-BPKULOSw.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region src/commands/transform-job/set-active.ts
|
|
7
7
|
const ActiveWord = z.enum(["true", "false"]);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
import { t as parseId } from "./parse-id-
|
|
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
4
|
import { f as FieldWithDataSensitivity, i as FieldDataSensitivity } from "./field-5nivEfd6.mjs";
|
|
5
|
-
import { t as parseEnumFlag } from "./parse-enum-
|
|
5
|
+
import { t as parseEnumFlag } from "./parse-enum-BPKULOSw.mjs";
|
|
6
6
|
import { l as fieldWithDataSensitivityView } from "./field-wmN6raOG.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
//#region src/commands/field/set-sensitivity.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as defineCommandGroup } from "./group-
|
|
1
|
+
import { t as defineCommandGroup } from "./group-D4w87fXL.mjs";
|
|
2
2
|
//#region src/commands/setting/index.ts
|
|
3
3
|
var setting_default = defineCommandGroup({
|
|
4
4
|
name: "setting",
|
|
@@ -8,9 +8,9 @@ var setting_default = defineCommandGroup({
|
|
|
8
8
|
purpose: "setting get/set JSON value quoting"
|
|
9
9
|
}],
|
|
10
10
|
subCommands: {
|
|
11
|
-
list: () => import("./list-
|
|
12
|
-
get: () => import("./get-
|
|
13
|
-
set: () => import("./set-
|
|
11
|
+
list: () => import("./list-Hiq5T4Bt.mjs").then((m) => m.default),
|
|
12
|
+
get: () => import("./get-BlLUy1G0.mjs").then((m) => m.default),
|
|
13
|
+
set: () => import("./set-DRp3F4wz.mjs").then((m) => m.default)
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as defineMetabaseCommand } from "./runtime-
|
|
3
|
-
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 readBody } from "./body-CT1cQrhp.mjs";
|
|
4
4
|
import { t as bodyInputFlags } from "./body-flags-AqKpN01Y.mjs";
|
|
5
5
|
import { n as SetupResult, r as SetupResultCompact, t as SetupInput } from "./setup-CO7QV-ao.mjs";
|
|
6
6
|
//#region src/output/views/setup.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ht as errorMessage, it as AbortError, lt as MetabaseError } from "./cli.mjs";
|
|
2
2
|
//#region ../client/src/signal.ts
|
|
3
3
|
function combineAborts(...signals) {
|
|
4
4
|
return AbortSignal.any(signals.filter((signal) => signal !== void 0));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { et as RequirementFailure } from "./runtime-
|
|
1
|
+
import { A as warn, k as listTruncationNotice } from "./cli.mjs";
|
|
2
|
+
import { et as RequirementFailure } from "./runtime-C3AL15Dp.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/output/skill-list.ts
|
|
5
5
|
const UnavailableSkillJson = z.object({
|
|
@@ -7,9 +7,9 @@ var skills_default = defineCommand({
|
|
|
7
7
|
},
|
|
8
8
|
default: "list",
|
|
9
9
|
subCommands: {
|
|
10
|
-
list: () => import("./list-
|
|
11
|
-
get: () => import("./get-
|
|
12
|
-
path: () => import("./path-
|
|
10
|
+
list: () => import("./list-ISpYiawJ.mjs").then((m) => m.default),
|
|
11
|
+
get: () => import("./get-aC5jUA1y.mjs").then((m) => m.default),
|
|
12
|
+
path: () => import("./path-CGbz-QSr.mjs").then((m) => m.default)
|
|
13
13
|
}
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|