@lucidcms/core
Version:
The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.
19 lines (18 loc) • 1.08 kB
text/typescript
import z from "zod";
//#region src/schemas/collection-fields.d.ts
declare const fieldInputSchema: z.ZodObject<{
key: z.ZodString;
type: z.ZodUnion<readonly [z.ZodLiteral<"text">, z.ZodLiteral<"rich-text">, z.ZodLiteral<"media">, z.ZodLiteral<"number">, z.ZodLiteral<"range">, z.ZodLiteral<"checkbox">, z.ZodLiteral<"select">, z.ZodLiteral<"textarea">, z.ZodLiteral<"json">, z.ZodLiteral<"code">, z.ZodLiteral<"color">, z.ZodLiteral<"datetime">, z.ZodLiteral<"link">, z.ZodLiteral<"repeater">, z.ZodLiteral<"user">, z.ZodLiteral<"relation">]>;
translations: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
value: z.ZodOptional<z.ZodAny>;
groups: z.ZodOptional<z.ZodArray<z.ZodObject<{
ref: z.ZodString;
order: z.ZodOptional<z.ZodNumber>;
open: z.ZodOptional<z.ZodBoolean>;
fields: z.ZodArray<z.ZodObject< /*elided*/any, z.z.core.$strip>>;
}, z.z.core.$strip>>>;
}, z.z.core.$strip>;
type FieldInputSchema = z.infer<typeof fieldInputSchema>;
//#endregion
export { FieldInputSchema, fieldInputSchema };
//# sourceMappingURL=collection-fields.d.mts.map