import{ensureMongoDocumentToObject as e}from"../ensureMongoDocumentToObject.mjs";const t=e=>{if(!e)return e;let{apiKey:t,...n}=e;return{...n,apiKeyConfigured:!!t}},n=e=>e&&{...e,ai:t(e.ai)},r=t=>{if(!t)return null;let r=e(t);return r.configuration&&=n(r.configuration),r},i=e=>e.map(r).filter(Boolean);export{r as mapProjectToAPI,i as mapProjectsToAPI};
//# sourceMappingURL=project.mjs.map