UNPKG

@lucidcms/core

Version:

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

2 lines 337 B
const e=(e,t)=>{let n=e.translate.forLocale(e.config.i18n.defaultLocale),r=n(t.config.details.name),i=n(t.config.details.singularName),a=n(t.config.details.summary);if(!(!r&&!i&&!a))return{...r?{name:r}:{},...i?{singularName:i}:{},...a?{summary:a}:{}}};export{e as default}; //# sourceMappingURL=get-translated-collection-details.mjs.map