@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 676 B
JavaScript
import{adminCopyInputSchema as e}from"../../../i18n/copy.mjs";import t from"../../../../constants/constants.mjs";import{collectionTableParts as n}from"../../helpers/table-parts.mjs";import r from"zod";const i=r.object({key:r.string().max(t.db.maxBuilderKeyLength).refine(e=>!e.includes(t.db.nameSeparator),{message:`Brick key cannot contain '${t.db.nameSeparator}'`}).refine(e=>e!==n.versions,{message:`Brick key cannot be '${n.versions}'`}).refine(e=>e!==n.fields,{message:`Brick key cannot be '${n.fields}'`}),details:r.object({name:e,summary:e.optional()}).optional(),tenants:r.array(r.string().min(1)).optional()});export{i as default};
//# sourceMappingURL=schema.mjs.map