UNPKG

@lucidcms/core

Version:

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

2 lines 1.19 kB
import e from"zod";const t={update:{body:e.object({licenseKey:e.string().trim().min(8).max(256).nullable().meta({description:`The license key to save`,example:`lucid_live_***************************************1A2B`})}).strict(),query:{string:void 0,formatted:void 0},params:void 0,response:void 0},status:{body:void 0,query:{string:void 0,formatted:void 0},params:void 0,response:e.object({key:e.string().nullable().meta({description:`The stored display version of the license key`,example:`************************************************1A2B`}),valid:e.boolean().meta({description:`Whether the license is currently valid`,example:!0}),lastChecked:e.number().nullable().meta({description:`Unix time (seconds) the license was last checked`,example:1717098451}),errorMessage:e.string().nullable().meta({description:`Error message from last verification (if any)`,example:`License is invalid`}),ai:e.object({enabled:e.boolean().meta({description:`Whether AI features are enabled for this license`,example:!0})}).strict()}).strict()},verify:{body:void 0,query:{string:void 0,formatted:void 0},params:void 0,response:void 0}};export{t as controllerSchemas}; //# sourceMappingURL=license.mjs.map