UNPKG

@lucidcms/core

Version:

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

2 lines 809 B
import e from"zod";const t=e.union([e.literal(`license_key`),e.literal(`license_key_display`),e.literal(`license_valid`),e.literal(`license_last_checked`),e.literal(`license_error_message`),e.literal(`license_ai_enabled`)]),n=e.custom(e=>{if(typeof e!=`string`)return!1;let[n,r]=e.split(`:t:`);return n===void 0||r===void 0?!1:t.safeParse(n).success&&r.length>0}),r=e.literal(`media_storage_used`),i=e.custom(e=>{if(typeof e!=`string`)return!1;let[t,n]=e.split(`:t:`);return t===void 0||n===void 0?!1:r.safeParse(t).success&&n.length>0}),a=e.union([r,i,e.literal(`system_alert_email`),t,n]);export{t as licenseOptionNameSchema,r as mediaStorageOptionNameSchema,a as optionsNameSchema,n as tenantScopedLicenseOptionNameSchema,i as tenantScopedMediaStorageOptionNameSchema}; //# sourceMappingURL=options.mjs.map