AIModalitySchema: ZodObject<{
    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">]>;
    __mj_CreatedAt: ZodDate;
    __mj_UpdatedAt: ZodDate;
}, "strip", ZodTypeAny, {
    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";
    __mj_CreatedAt?: Date;
    __mj_UpdatedAt?: Date;
}> = ...

zod schema definition for the entity MJ: AI Modalities

Type declaration

  • 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">]>
  • __mj_CreatedAt: ZodDate
  • __mj_UpdatedAt: ZodDate

Type declaration

  • Optional ContentBlockType?: "audio_url" | "embedding" | "file_url" | "image_url" | "text" | "video_url"
  • Optional DefaultMaxCountPerMessage?: number
  • Optional DefaultMaxSizeBytes?: number
  • Optional Description?: string
  • Optional DisplayOrder?: number
  • Optional ID?: string
  • Optional MIMETypePattern?: string
  • Optional Name?: string
  • Optional Type?: "Binary" | "Content" | "Structured"
  • Optional __mj_CreatedAt?: Date
  • Optional __mj_UpdatedAt?: Date

Type declaration

  • Optional ContentBlockType?: "audio_url" | "embedding" | "file_url" | "image_url" | "text" | "video_url"
  • Optional DefaultMaxCountPerMessage?: number
  • Optional DefaultMaxSizeBytes?: number
  • Optional Description?: string
  • Optional DisplayOrder?: number
  • Optional ID?: string
  • Optional MIMETypePattern?: string
  • Optional Name?: string
  • Optional Type?: "Binary" | "Content" | "Structured"
  • Optional __mj_CreatedAt?: Date
  • Optional __mj_UpdatedAt?: Date