import{a7 as s}from"./app-BgLa5dit.js";const u="798",p=[{id:u,name:"Monorepo"},{id:"109",name:"Online"},{id:"822",name:"Lite"},{id:"534",name:"Library Editor"},{id:"62",name:"Curator"}],l=50,n="U_Jxes3Htv-xiaDX5wfn",i="https://gitlab.cvinternal.net/api/v4",$={milestones(e,r){return{key:`milestones:${e}`,url:s.urlBuilder(`${i}/projects/${e}/milestones`,{private_token:n}),normalize:!1,formatData:t=>t.map(a=>a.title),success:r}},branchNames(e,r){return{key:`branch:names:${e}`,url:s.urlBuilder(`${i}/projects/${e}/repository/branches`,{private_token:n,per_page:l}),normalize:!1,formatData:t=>t.map(a=>a.name),success:r}},mergeRequestsByMilestone(e,r,t,a){return{key:`merge:requests:${e}:${r}:${t}`,url:s.urlBuilder(`${i}/projects/${e}/merge_requests`,{private_token:n,milestone:r,state:"merged",per_page:l,page:t}),success:a}},getFilesPaths(e,r,t){return{key:`file:paths:${r}:${e}`,url:s.urlBuilder(`${i}/projects/${e}/search`,{scope:"blobs",search:r,private_token:n}),normalize:!1,formatData:a=>a.filter(o=>o.filename.includes(r)),success:t}},getFile(e,r,t,a){return{key:`file:${e}:${r}:${t}`,url:s.urlBuilder(`${i}/projects/${e}/repository/files/${encodeURIComponent(r)}/raw`,{ref:t,private_token:n}),normalize:!1,formatData:o=>JSON.parse(o),success:a}}};export{p as G,u as M,$ as a,l as b};
//# sourceMappingURL=nGg28n7I.chunk.js.map
