import{v as s}from"./index-BbBXKozi.js";import{P as t,m}from"./player-DDpxJGp8.js";const y=async({teamId:a})=>{const{data:r}=await s.get(`v2/teams/${a}/players`);return t.array().parse(r).map(e=>m(e))};export{y as g}; //# sourceMappingURL=index-CKaVn-Gt.js.map