Variable MJAIModalitySchemaConst
MJAIModalitySchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
ContentBlockType: ZodUnion<
[
ZodLiteral<"audio_url">,
ZodLiteral<"embedding">,
ZodLiteral<"file_url">,
ZodLiteral<"image_url">,
ZodLiteral<"text">,
ZodLiteral<"video_url">,
],
>;
DefaultMaxCountPerMessage: ZodNullable<ZodNumber>;
DefaultMaxSizeBytes: ZodNullable<ZodNumber>;
Description: ZodNullable<ZodString>;
DisplayOrder: ZodNumber;
ID: ZodString;
MIMETypePattern: ZodNullable<ZodString>;
Name: ZodString;
Type: ZodUnion<
[
ZodLiteral<"Binary">,
ZodLiteral<"Content">,
ZodLiteral<"Structured">,
],
>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ContentBlockType?: | "audio_url"
| "embedding"
| "file_url"
| "image_url"
| "text"
| "video_url";
DefaultMaxCountPerMessage?: number;
DefaultMaxSizeBytes?: number;
Description?: string;
DisplayOrder?: number;
ID?: string;
MIMETypePattern?: string;
Name?: string;
Type?: "Binary"
| "Content"
| "Structured";
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
ContentBlockType?: | "audio_url"
| "embedding"
| "file_url"
| "image_url"
| "text"
| "video_url";
DefaultMaxCountPerMessage?: number;
DefaultMaxSizeBytes?: number;
Description?: string;
DisplayOrder?: number;
ID?: string;
MIMETypePattern?: string;
Name?: string;
Type?: "Binary"
| "Content"
| "Structured";
},
> = ...
zod schema definition for the entity MJ: AI Modalities