UNPKG

@lucidcms/core

Version:

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

2 lines 914 B
import e from"zod";const t={streamSingle:{body:void 0,query:{string:e.object({preset:e.string().trim().meta({description:`The preset to use for the image`,example:`thumbnail-small`}).optional(),format:e.enum([`jpeg`,`png`,`webp`,`avif`]).meta({description:`If requesting an image, the format to convert it to`,example:`webp`}).optional(),fallback:e.enum([`true`,`false`]).meta({description:`Determines if the fallback image should be returned when the requested one cannot be found`,example:!0}).optional()}),formatted:e.object({preset:e.string().trim().optional(),format:e.enum([`jpeg`,`png`,`webp`,`avif`]).optional(),fallback:e.enum([`true`,`false`]).optional()})},params:e.object({key:e.string().trim().meta({description:`The media key you wish to stream`,example:`public/123e4567e89b12d3a456426614174000/placeholder-image`})}),response:void 0}};export{t as controllerSchemas}; //# sourceMappingURL=cdn.mjs.map