UNPKG

@lucidcms/core

Version:

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

2 lines 393 B
import{copy as e}from"../../../libs/i18n/copy.mjs";const t=async(t,n)=>t.config.ai.enabled===!1||t.config.ai.features[n.feature]===!1?{error:{type:`basic`,status:403,name:e(`server:core.ai.config.feature.disabled.name`),message:e(`server:core.ai.config.feature.disabled.message`)},data:void 0}:{error:void 0,data:void 0};export{t as default}; //# sourceMappingURL=check-feature-enabled.mjs.map