@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 499 B
JavaScript
import{versionTypesSchema as e}from"./document-versions.mjs";import t from"zod";const n=t.string().meta({description:`An opaque preview token`}),r={resolve:{body:void 0,query:{string:void 0,formatted:void 0},params:t.object({token:n}),response:t.object({mode:t.enum([`perspective`,`scoped`]),entry:t.object({collectionKey:t.string(),documentId:t.number(),version:e,versionId:t.number().nullable()}),expiresAt:t.iso.datetime()})}};export{r as controllerSchemas};
//# sourceMappingURL=previews.mjs.map