Variable sourceRetrievalResultSchemaConst
sourceRetrievalResultSchema: ZodDiscriminatedUnion<
[
ZodObject<
{
body: ZodRecord<ZodString, ZodUnknown>;
kind: ZodLiteral<"document">;
},
$strip,
>,
ZodObject<{ kind: ZodLiteral<"gone"> }, $strip>,
ZodObject<
{
code: ZodEnum<
{
source_unavailable: "source_unavailable";
unsupported_content_type: "unsupported_content_type";
},
>;
kind: ZodLiteral<"error">;
message: ZodString;
},
$strip,
>,
],
"kind",
> = ...
Outcome of one source callback (discriminated on
kind).