Variable MJTemplateContentTypeSchemaConst
MJTemplateContentTypeSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
CodeType: ZodUnion<
[
ZodLiteral<"CSS">,
ZodLiteral<"HTML">,
ZodLiteral<"JSON">,
ZodLiteral<"JavaScript">,
ZodLiteral<"Nunjucks">,
ZodLiteral<"Other">,
ZodLiteral<"Python">,
ZodLiteral<"TypeScript">,
],
>;
Description: ZodNullable<ZodString>;
ID: ZodString;
Name: ZodString;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CodeType?: | "Other"
| "JSON"
| "HTML"
| "CSS"
| "JavaScript"
| "TypeScript"
| "Python"
| "Nunjucks";
Description?: string;
ID?: string;
Name?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
CodeType?: | "Other"
| "JSON"
| "HTML"
| "CSS"
| "JavaScript"
| "TypeScript"
| "Python"
| "Nunjucks";
Description?: string;
ID?: string;
Name?: string;
},
> = ...
zod schema definition for the entity MJ: Template Content Types