UNPKG

@lucidcms/core

Version:

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

2 lines 427 B
import e from"../../../constants/constants.mjs";import{translate as t}from"../../i18n/translate.mjs";const n=(n,r,i)=>{for(let[a,o]of Object.entries(i))if(o>e.fieldBuiler.maxRepeaterDepth)throw Error(t(`server:core.fields.repeater.validation.depth.message`,{data:{type:n,typeKey:r,repeaterKey:a,depth:o,maxRepeaterDepth:e.fieldBuiler.maxRepeaterDepth}}))};export{n as default}; //# sourceMappingURL=check-repeater-depth.mjs.map