@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
2 lines • 497 B
JavaScript
import e from"zod";const t=e.union([e.literal(`error`),e.literal(`warn`),e.literal(`info`),e.literal(`debug`),e.literal(`silent`)]),n=e.custom(e=>!(typeof e!=`object`||!e||!(`write`in e)||typeof e.write!=`function`||`flush`in e&&typeof e.flush!=`function`||`destroy`in e&&typeof e.destroy!=`function`),{message:`Expected a LogTransport object with a write function and optional flush and destroy functions`});export{t as LogLevelSchema,n as LogTransportSchema};
//# sourceMappingURL=schema.mjs.map