Variable: MessageInputSchema
Makaio Framework / contracts/shared / MessageInputSchema
Variable: MessageInputSchema
Section titled “Variable: MessageInputSchema”
constMessageInputSchema:ZodUnion<readonly [ZodString,ZodObject<{blocks:ZodUnion<readonly [ZodDiscriminatedUnion<[ZodObject<{content:ZodString;type:ZodLiteral<…>; },$strip>,ZodObject<{source:ZodDiscriminatedUnion<…, …>;type:ZodLiteral<…>; },$strip>,ZodObject<{source:ZodDiscriminatedUnion<…, …>;type:ZodLiteral<…>; },$strip>,ZodObject<{attachmentType:ZodEnum<…>;displayName:ZodOptional<…>;fileName:ZodString;filePath:ZodString;source:ZodDiscriminatedUnion<…, …>;type:ZodLiteral<…>; },$strip>],"type">,ZodArray<ZodDiscriminatedUnion<[ZodObject<{content: …;type: …; },$strip>,ZodObject<{source: …;type: …; },$strip>,ZodObject<{source: …;type: …; },$strip>,ZodObject<{attachmentType: …;displayName: …;fileName: …;filePath: …;source: …;type: …; },$strip>],"type">>]>;role:ZodOptional<ZodEnum<{assistant:"assistant";system:"system";user:"user"; }>>; },$strip>]>
Defined in: ../../../packages/contracts/src/shared/index.ts:102
Message input type. Accepts either a simple string or a structured Message object.