@metabase/cli 0.4.0 → 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-CC6KSwjX.mjs → add-collection-CcjydN8e.mjs} +3 -3
- package/dist/{alert-Dt6La9tK.mjs → alert-DBTU8iHe.mjs} +7 -7
- package/dist/{alerts-ClKnJqgB.mjs → alerts-DsgnumqY.mjs} +6 -6
- package/dist/{append-pnaQWP_A.mjs → append-DUFn3_Og.mjs} +4 -4
- package/dist/{archive-CLu2TGW5.mjs → archive-BEzfnrwM.mjs} +3 -3
- package/dist/{archive-DEDA48w3.mjs → archive-BTfOiOnx.mjs} +5 -5
- package/dist/{archive-CSnBFcQ_.mjs → archive-Bxl1oeJr.mjs} +3 -3
- package/dist/{archive-YNpa8daf.mjs → archive-CC6THE3k.mjs} +3 -3
- package/dist/{archive-ewitrKdx.mjs → archive-CI-WE7dA.mjs} +5 -5
- package/dist/{archive-DJAsSzCz.mjs → archive-CWs273rN.mjs} +3 -3
- package/dist/{archive-By1pLYtO.mjs → archive-CcPTctIo.mjs} +3 -3
- package/dist/{archive-DtabbPUk.mjs → archive-DVgglC0F.mjs} +4 -4
- package/dist/{archive-COP9joWU.mjs → archive-DjQkD1WI.mjs} +4 -4
- package/dist/{archive-Ct1eyolN.mjs → archive-jwyopr47.mjs} +3 -3
- package/dist/{archive-D7nAQcCz.mjs → archive-sfqadV_a.mjs} +3 -3
- package/dist/{auth-DdLhXCn-.mjs → auth-IQKgyb_x.mjs} +5 -5
- package/dist/{body-Dd-TwYYL.mjs → body-CT1cQrhp.mjs} +3 -3
- package/dist/{branch-flag-pFQPNYKr.mjs → branch-flag-Czh8JT1G.mjs} +1 -1
- package/dist/{branches-ZvGNhed6.mjs → branches-ByUeNOBP.mjs} +3 -3
- package/dist/{breaking-BLswgvkA.mjs → breaking-BKR88YVq.mjs} +6 -6
- package/dist/{broken-BN0nL2hf.mjs → broken-DeS3_Cg2.mjs} +8 -8
- package/dist/{bulk-discard-values-DFJUjSnE.mjs → bulk-discard-values-DY7svs0d.mjs} +5 -5
- package/dist/{bulk-edit-Brqr67bu.mjs → bulk-edit-3EfcsqCu.mjs} +4 -4
- package/dist/{bulk-rescan-values-DndXXi2N.mjs → bulk-rescan-values-BpwnC_WY.mjs} +4 -4
- package/dist/{bulk-sync-schema-mO-t2QlL.mjs → bulk-sync-schema-Dwbs0TsG.mjs} +4 -4
- package/dist/{cancel-DP03dXBf.mjs → cancel-Nz4jJ-Ey.mjs} +3 -3
- package/dist/{cancel-task-CELBfBPP.mjs → cancel-task-CX_qYiJ0.mjs} +2 -2
- package/dist/card-DmQO85ej.mjs +25 -0
- package/dist/{cards-Cn2ywFTJ.mjs → cards-FUW8-5PO.mjs} +4 -4
- package/dist/cli.mjs +69 -48
- package/dist/{client-ToLiPu9q.mjs → client-5y-BaV3d.mjs} +10 -479
- 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-CWW6hZxK.mjs → collection-namespace-Q_up_tSg.mjs} +2 -2
- package/dist/{content-translation-C19SqZWp.mjs → content-translation-CSkaKlqa.mjs} +3 -3
- package/dist/{copy-COLUuiuF.mjs → copy-WlNBviDZ.mjs} +6 -6
- package/dist/{copy-BGK8Wz6d.mjs → copy-fikpWJO4.mjs} +4 -4
- package/dist/{copy-flags-eU8aa0zj.mjs → copy-flags-j38p0var.mjs} +2 -2
- package/dist/{create-Cxuqr3kT.mjs → create-9sPJd45D.mjs} +6 -6
- package/dist/{create-B2tuInV9.mjs → create-BI73JzZN.mjs} +4 -4
- package/dist/{create-CzW_UTE7.mjs → create-BmCz5lro.mjs} +6 -6
- package/dist/{create-XGomrTz5.mjs → create-C0MNevKK.mjs} +5 -5
- package/dist/{create-BwifyhyL.mjs → create-C4dDHOzR.mjs} +3 -3
- package/dist/{create-Colz5bOO.mjs → create-CC89lXeE.mjs} +3 -3
- package/dist/{create-B63JphYe.mjs → create-CEezFRTJ.mjs} +5 -5
- package/dist/{create-g1f2yJ4s.mjs → create-CLLcjbzq.mjs} +3 -3
- package/dist/{create-DWbW2WSc.mjs → create-CO6gBV7I.mjs} +4 -4
- package/dist/{create-CulUZgN1.mjs → create-COv2mYmk.mjs} +4 -4
- package/dist/{create-DNR8RMvV.mjs → create-CYqqBKhE.mjs} +4 -4
- package/dist/{create-B4gXKDRr.mjs → create-Ci7o6-Fk.mjs} +3 -3
- package/dist/create-DQM_AB3I.mjs +34 -0
- package/dist/{create-B3TKri1E.mjs → create-DdnC7PkI.mjs} +4 -4
- package/dist/{create-DSHeoV7e.mjs → create-Dp1597uC.mjs} +4 -4
- package/dist/{create-Dx8nfjGs.mjs → create-DqGen4jU.mjs} +3 -3
- package/dist/{create-branch-DxL7KUZp.mjs → create-branch-Cflee_NY.mjs} +2 -2
- package/dist/{create-BH6kLjHS.mjs → create-yLNBBrwG.mjs} +4 -4
- package/dist/{csv-C6TEfLMi.mjs → csv-CX1wws5-.mjs} +4 -4
- package/dist/{current-task-CHs0zNFM.mjs → current-task-BTnORR7t.mjs} +3 -3
- package/dist/dashboard-c_wOMtS9.mjs +35 -0
- package/dist/{db-BFSeETMO.mjs → db-DNevs1XU.mjs} +7 -7
- package/dist/{delete-DndykJn2.mjs → delete-BJ18ifIG.mjs} +4 -4
- package/dist/{delete-Cucqn4-V.mjs → delete-CCUYbNae.mjs} +4 -4
- package/dist/delete-CZTG4wI2.mjs +44 -0
- package/dist/{delete-CPBByycV.mjs → delete-Ch797MmM.mjs} +4 -4
- package/dist/{delete-BUKgSJhh.mjs → delete-ChmqxYa7.mjs} +4 -4
- package/dist/{delete-DZJxBmdU.mjs → delete-D5Jy83V-.mjs} +4 -4
- package/dist/{delete-D79TlpcE.mjs → delete-dfrM_M6T.mjs} +4 -4
- package/dist/{delete-runtime-BbmRg_in.mjs → delete-runtime-Cc7TASG7.mjs} +1 -1
- package/dist/{delete-table-CbsWcjh5.mjs → delete-table-0xxoSknN.mjs} +4 -4
- package/dist/{dependencies-B-880phi.mjs → dependencies-GvzMLOS2.mjs} +5 -5
- package/dist/{dependency-DSxKm9oS.mjs → dependency-BZxbh7qe.mjs} +2 -2
- package/dist/dependency-D6DMbPVm.mjs +15 -0
- package/dist/{dependency-DKSjKT8P.mjs → dependency-DaGeVAHF.mjs} +1 -1
- package/dist/{dependents-C_FDnpZs.mjs → dependents-BRqKb0Pu.mjs} +9 -9
- package/dist/{dirty-B-Is68--.mjs → dirty-Bq2cf5AG.mjs} +3 -3
- package/dist/{discard-values-yzH-kIsr.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-DluF-vnU.mjs → download-Dpbarf8I.mjs} +2 -2
- package/dist/{eid-Dz-mP40j.mjs → eid-BEc1p_um.mjs} +4 -4
- package/dist/{entity-CA4zfRt4.mjs → entity-c_Br4SFc.mjs} +2 -2
- package/dist/{entry-flags-7x7bIyOQ.mjs → entry-flags-z8cZTfaQ.mjs} +4 -4
- package/dist/{events-2sOk6H09.mjs → events-DBpOpy2y.mjs} +4 -4
- package/dist/{export-BKkAJOFb.mjs → export-F-R_vF48.mjs} +5 -5
- package/dist/{export-flags-NiZ7C3Gm.mjs → export-flags-QbLI0sKz.mjs} +2 -2
- package/dist/{export-preflight-CwJ_3-iX.mjs → export-preflight-0BvDa8Oz.mjs} +3 -3
- package/dist/field-CcCQ0goz.mjs +21 -0
- package/dist/{fields-Bod0s_uV.mjs → fields-DOdrazv2.mjs} +4 -4
- package/dist/{filter-flags-BYcbB85j.mjs → filter-flags-DiUgZ6vZ.mjs} +3 -3
- package/dist/{fks-IUw66K_Q.mjs → fks-41Ig_ZQ2.mjs} +5 -5
- package/dist/{get-DtBqoGTa.mjs → get-2l2CbHc6.mjs} +3 -3
- package/dist/{get-CaEiQnSw.mjs → get-B8hREA2A.mjs} +4 -4
- package/dist/{get-Cl81y0Md.mjs → get-BAV-KpLU.mjs} +3 -3
- package/dist/{get-DITlshJH.mjs → get-BVaN-tgY.mjs} +3 -3
- package/dist/{get-DQZfaVNq.mjs → get-Bby33eun.mjs} +4 -4
- package/dist/{get-BXsLkoit.mjs → get-BjJdy_Iw.mjs} +5 -5
- package/dist/{get-DLyg6Al9.mjs → get-BlLUy1G0.mjs} +3 -3
- package/dist/{get-CYIeiTZ9.mjs → get-CPhMYZDP.mjs} +4 -4
- package/dist/{get-Besqwy32.mjs → get-CVJFF8Lb.mjs} +3 -3
- package/dist/{get-BSUsfysk.mjs → get-CfeNeyGE.mjs} +3 -3
- package/dist/{get-BXssHyJ1.mjs → get-CjK2GzFn.mjs} +5 -5
- package/dist/{get-Biy4gOzu2.mjs → get-D1c-C-_Q2.mjs} +3 -3
- package/dist/{get-D1NjMXAH.mjs → get-DaxwG0AP.mjs} +4 -4
- package/dist/{get-BGqvoGQM.mjs → get-DwUB0K2G.mjs} +3 -3
- package/dist/{get-B8DUMrCw.mjs → get-Dwp_BfIp.mjs} +3 -3
- package/dist/get-DxpDAUz4.mjs +32 -0
- package/dist/{get-Bct52yPw.mjs → get-OKOOd2yb.mjs} +3 -3
- package/dist/{get-BfSX-OeS.mjs → get-TbBkN-jS.mjs} +3 -3
- package/dist/{get-D2cPuOPR.mjs → get-YinpF0y5.mjs} +4 -4
- package/dist/{get-_ik_5_lQ.mjs → get-aC5jUA1y.mjs} +5 -5
- package/dist/{get-run-CEc_tr5b.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-f6Bp1e8U.mjs → graph-M7V_js_w.mjs} +6 -6
- package/dist/{group-bpD_KcjA.mjs → group-D4w87fXL.mjs} +1 -1
- package/dist/{has-remote-changes-B8MmN6yh.mjs → has-remote-changes-D7uABGR0.mjs} +2 -2
- package/dist/{import-Bhq15KgP.mjs → import-CABYSyWS.mjs} +5 -5
- package/dist/{input-D8qW-KtR.mjs → input-DjHsV-kD.mjs} +1 -1
- package/dist/{is-dirty-CAsVuVx8.mjs → is-dirty-DpQBXuVa.mjs} +2 -2
- package/dist/{items-BZJomiDE.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-B7wDH-Nc.mjs → library-DDrpsgMv.mjs} +5 -5
- package/dist/{library-BOv5SY24.mjs → library-DmkpcZPb.mjs} +1 -1
- package/dist/{list-CCdXig7b.mjs → list-BFAc460G.mjs} +4 -4
- package/dist/{list-BtZVe1Nq.mjs → list-BQXq0A65.mjs} +6 -6
- package/dist/{list-Cj_mTxbY.mjs → list-BXRUiZuH.mjs} +4 -4
- package/dist/{list-C9x--9Jq.mjs → list-BygxQkq7.mjs} +5 -5
- package/dist/{list-DcnNlYQA.mjs → list-C9H24xr5.mjs} +6 -6
- package/dist/{list-C-A-2HFq.mjs → list-CEU9UXaZ.mjs} +3 -3
- package/dist/{list-CJDFoOHb.mjs → list-CHUwj_Qh.mjs} +3 -3
- package/dist/{list-CtS50R7m.mjs → list-CLRezReA.mjs} +3 -3
- package/dist/{list-CvZyTwmV.mjs → list-CONZkA9i.mjs} +5 -5
- package/dist/list-CQJABPGk.mjs +35 -0
- package/dist/{list-BT7xiUQe.mjs → list-CZF_gQnI.mjs} +3 -3
- package/dist/{list-B2uUl26x.mjs → list-D0MlsdSX.mjs} +4 -4
- package/dist/{list-DtgbtE3_.mjs → list-D217irjK.mjs} +3 -3
- package/dist/{list-BT5t8ZOl.mjs → list-DO767sO1.mjs} +4 -4
- package/dist/{list-CLFu3mQB.mjs → list-Dd9o6Tut.mjs} +3 -3
- package/dist/{list-Cd40Kr0R.mjs → list-Hiq5T4Bt.mjs} +3 -3
- package/dist/{list-BWFCv_zk.mjs → list-ISpYiawJ.mjs} +5 -5
- package/dist/{list-B4luDSYj.mjs → list-aHFBopQd.mjs} +4 -4
- package/dist/{list-B8ND9t2h.mjs → list-glgnTw7w.mjs} +3 -3
- package/dist/{list-BwdSG-P5.mjs → list-yDJq3wNs.mjs} +5 -5
- package/dist/{login-Bi_nGMJ9.mjs → login-DCWam2ec.mjs} +6 -6
- package/dist/{logout-CiHQJWTu.mjs → logout-CmrJqhkc.mjs} +2 -2
- package/dist/{measure-D2qq5e8f.mjs → measure-c_VUyXFN.mjs} +6 -6
- package/dist/{notification-DOYdl0ao.mjs → notification-Cuuwoksm.mjs} +1 -1
- package/dist/{parameter-values-CZow98nb.mjs → parameter-values-CnwWZrJ_.mjs} +3 -3
- package/dist/{parse-enum-CLIXMsd8.mjs → parse-enum-BPKULOSw.mjs} +1 -1
- package/dist/{parse-id-BW09NysN.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-K6LPLYPb.mjs → path-CGbz-QSr.mjs} +4 -4
- package/dist/{poll-Dz4tUm2f.mjs → poll-DFZRtTA_.mjs} +2 -2
- package/dist/{preflight-CX6cqB90.mjs → preflight-ChJ0pemy.mjs} +3 -3
- package/dist/{process-D0HdqZ3r.mjs → process-B3Di_HtV.mjs} +1 -1
- package/dist/{publish-COatW4Un.mjs → publish-7ke00CtK.mjs} +4 -4
- package/dist/{pulse-D1uh8UIU.mjs → pulse-CIza18rO.mjs} +1 -1
- package/dist/{query-DmvkyDfo.mjs → query-8M7ZN2Ca.mjs} +4 -4
- package/dist/{query-BJXTIDhy.mjs → query-DNa-fGS7.mjs} +6 -6
- package/dist/{remapping-CPAvDKHV.mjs → remapping-Cy1CEown.mjs} +4 -4
- package/dist/{remove-collection-Bg-sNX3U.mjs → remove-collection-B2CL66No.mjs} +3 -3
- package/dist/{render-BSfDD6ip.mjs → render-ColPG5G7.mjs} +2 -2
- package/dist/{replace-RCHeZLUT.mjs → replace-COC3ggyx.mjs} +4 -4
- package/dist/{rescan-values-PeMnpaFY.mjs → rescan-values-DUX58myu.mjs} +4 -4
- package/dist/{rescan-values-CpDGYZvf.mjs → rescan-values-DXzXTw9a.mjs} +3 -3
- package/dist/{run-CaQ7kubO.mjs → run-C5wf-lug.mjs} +3 -3
- package/dist/run-C_nqwWmC.mjs +63 -0
- package/dist/{run-DkRkZRgf.mjs → run-T2a4m1x9.mjs} +7 -7
- package/dist/{runs-BDjoVJ0P.mjs → runs-Datc76Wu.mjs} +5 -5
- package/dist/{runtime-CZ5zh32z.mjs → runtime-C3AL15Dp.mjs} +2 -2
- package/dist/{schema-tables-C2qjLcPq.mjs → schema-tables-CR2S5mNc.mjs} +5 -5
- package/dist/{schemas-D8hfNduk.mjs → schemas-OrGjEuVc.mjs} +4 -4
- package/dist/{search-CnTXKJgx.mjs → search-BEXBlfak.mjs} +5 -5
- package/dist/{search-BrQQuNmh.mjs → search-CJYSB5eP.mjs} +5 -5
- package/dist/{segment-Bi6eqj3e.mjs → segment-Tt8GaRnc.mjs} +6 -6
- package/dist/{send-CAjgVNlA.mjs → send-uNLODakO.mjs} +3 -3
- package/dist/{set-BXTkYWid.mjs → set-DRp3F4wz.mjs} +4 -4
- package/dist/{set-active-CBQVCePU.mjs → set-active-CAt6ieXS.mjs} +3 -3
- package/dist/{set-sensitivity-D39kGTob.mjs → set-sensitivity--Qq2RXVE.mjs} +4 -4
- package/dist/{setting-CPkvkc4H.mjs → setting-DMqvipRp.mjs} +4 -4
- package/dist/{setup-Be3xDXHi.mjs → setup-B2PC1NVz.mjs} +3 -3
- package/dist/{signal-CxWeLszu.mjs → signal-0Yt8JTMn.mjs} +1 -1
- package/dist/{skill-list-CBGq30sI.mjs → skill-list-Cyx1935Q.mjs} +2 -2
- package/dist/{skills-DyiLycMY.mjs → skills-D7wu2iff.mjs} +3 -3
- package/dist/{skills-CJ9eXouJ.mjs → skills-Dlp0MK6g.mjs} +2 -2
- package/dist/snippet-D-5bKT_U.mjs +19 -0
- package/dist/{stash-BVN3s5N_.mjs → stash-CHeQPI8Z.mjs} +4 -4
- package/dist/{status-CxP6w3aL.mjs → status-Bdt5XWrQ.mjs} +3 -3
- package/dist/{status-BtbMmIWo.mjs → status-gTN3G-rs.mjs} +4 -4
- package/dist/{subscription-Dr-YHARg.mjs → subscription-C9alueg1.mjs} +6 -6
- package/dist/{subscriptions-8tM8TTeQ.mjs → subscriptions-DJKbcxDy.mjs} +6 -6
- package/dist/{summary-DKx6ptQe.mjs → summary-kaC0aINr.mjs} +3 -3
- package/dist/{sync-schema-B8RY0Ra4.mjs → sync-schema-C29bGCtt.mjs} +4 -4
- package/dist/{sync-schema-kNriXZjG.mjs → sync-schema-CyKovAb9.mjs} +4 -4
- 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-1bYkAKld.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-DpNm4dkn.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-nTb0Ivpj.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-BSsAfwAg.mjs → transforms-BQjwZKTN.mjs} +5 -5
- package/dist/transport-DuU3fLui.mjs +313 -0
- package/dist/{tree-lMvw1jnZ.mjs → tree-C21CG5rm.mjs} +3 -3
- package/dist/{unpublish-CYFDd828.mjs → unpublish-C7MRZTmS.mjs} +3 -3
- package/dist/{unreferenced-8Xdq76Kw.mjs → unreferenced-BJUIC_Ct.mjs} +6 -6
- package/dist/{update-B28EJzrx.mjs → update-9b4JHJWR.mjs} +4 -4
- package/dist/{update-CITzAFG8.mjs → update-B2F22ryV.mjs} +4 -4
- package/dist/update-BQben_Xm.mjs +41 -0
- package/dist/{update-D--Fw7-_.mjs → update-BXFGGYT8.mjs} +5 -5
- package/dist/{update-CQXcsvaa.mjs → update-C0QcHFIP.mjs} +5 -5
- package/dist/{update-BnMUSFYZ.mjs → update-CBcJTZo6.mjs} +4 -4
- package/dist/{update-BwrYeKso.mjs → update-CCHTQjsP.mjs} +6 -6
- package/dist/{update-6P_GYCLT.mjs → update-CVO8Srng.mjs} +5 -5
- package/dist/{update-C7DEMiu-.mjs → update-CYy-r_Jq.mjs} +5 -5
- package/dist/{update-D9p0N8ky.mjs → update-CZ2eSAV5.mjs} +4 -4
- package/dist/{update-BDunZa7G.mjs → update-CuYvtXQY.mjs} +4 -4
- package/dist/{update-BT2yNB_g.mjs → update-D6oHLn1g.mjs} +6 -6
- package/dist/{update-CLl8tE20.mjs → update-DDH6FTe6.mjs} +8 -8
- package/dist/{update-D_DCOOAB.mjs → update-DEnsF5zT.mjs} +5 -5
- package/dist/{update-Cs2zv_L2.mjs → update-DX1s6KnO.mjs} +7 -7
- package/dist/{update-DAzRx0of.mjs → update-Duxk_-dC.mjs} +5 -5
- package/dist/{update-_sYM1GuU.mjs → update-EpHReUGk.mjs} +5 -5
- package/dist/{update-CM5uuhjB.mjs → update-IEVAFvpi.mjs} +4 -4
- package/dist/{update-dashcard-VNnIqHDI.mjs → update-dashcard-C4ZndfvP.mjs} +4 -4
- package/dist/{upgrade-Tj_reACv.mjs → upgrade-o2DpB66j.mjs} +4 -4
- package/dist/upload-BqNErDXE.mjs +13 -0
- package/dist/{upload-Dg91ldGg.mjs → upload-CEtKrueq.mjs} +3 -3
- package/dist/{upload-C2fhpKkP.mjs → upload-DJB7DMA1.mjs} +2 -2
- package/dist/{uuid-Blpv_e0S.mjs → uuid-D9oozo8p.mjs} +2 -2
- package/dist/{validate-D7e110oU.mjs → validate-D_iikPkc.mjs} +1 -1
- package/dist/{validate-query-C7LuKiUT.mjs → validate-query-BEYjmSv2.mjs} +2 -2
- package/dist/{values-PonkbYAK.mjs → values-De8aGDiJ.mjs} +3 -3
- package/dist/{verify-Dv7ER11c.mjs → verify-DKmz4xJs.mjs} +3 -3
- package/dist/{verify-DixUBbd2.mjs → verify-DVjaammv.mjs} +3 -3
- package/dist/{verify-Mpb65a5v.mjs → verify-ob8JSLxv.mjs} +3 -3
- package/dist/{wait-CaH6XHQV.mjs → wait-BN_MzTng.mjs} +5 -5
- package/dist/{wait-flags-rUU4NUrv.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/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/card-CFd-GUEM.mjs +0 -25
- package/dist/collection-BKNShKcY.mjs +0 -21
- package/dist/dashboard-AWrXqQ7a.mjs +0 -35
- package/dist/dependency-DBUJwXqv.mjs +0 -15
- package/dist/document-BRaba87v.mjs +0 -20
- package/dist/field-BARgq5I9.mjs +0 -21
- package/dist/git-sync-DKcaddkV.mjs +0 -29
- package/dist/glossary-CWIX8Zh6.mjs +0 -14
- package/dist/snippet-QirK70R_.mjs +0 -19
- package/dist/table-CZnT6d9x.mjs +0 -26
- package/dist/timeline-CUzx6uXi.mjs +0 -21
- package/dist/transform-g4-HHzDp.mjs +0 -28
- package/dist/transform-job-DqBtnTrG.mjs +0 -22
- package/dist/upload-BKxOpSz3.mjs +0 -13
|
@@ -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 { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-
|
|
7
|
+
import { a as preflightMbql5Query, o as skipValidateFlag, r as SEGMENT_DEFINITION_LABELS } from "./validate-query-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 preflightMbql5Query, i as TRANSFORM_SOURCE_QUERY_LABELS, o as skipValidateFlag } from "./validate-query-
|
|
8
|
-
import { n as transformView } from "./transform-
|
|
9
|
-
import { t as enrichTransformCollectionError } from "./collection-namespace-
|
|
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: {
|