UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

2 lines 325 B
const e=(e,t,n)=>{let r=new Map;if(e.translations)for(let n of t)e.translations[n]===void 0?r.set(n,null):r.set(n,e.translations[n]);else if(e.value!==void 0)for(let i of t)i===n?r.set(i,e.value):r.set(i,null);else for(let e of t)r.set(e,null);return r};export{e as default}; //# sourceMappingURL=process-field-values.mjs.map