Variable characterSchemaConst
characterSchema:
ZodObject<
{
description:
ZodString;
emotions:
ZodArray<ZodString,
"many">;
name:
ZodString;
position:
ZodUnion<
[
ZodLiteral<"left">,
ZodLiteral<"center">,
ZodLiteral<"right">,
ZodLiteral<"background">,
ZodLiteral<"foreground">,
],
>;
role:
ZodUnion<
[
ZodLiteral<"protagonist">,
ZodLiteral<"antagonist">,
ZodLiteral<"mentor">,
ZodLiteral<"supporting">,
ZodLiteral<"narrator">,
],
>;
},
"strip",
ZodTypeAny,
{
description: string;
emotions: string[];
name: string;
position:
"left"
|
"center"
|
"right"
|
"background"
|
"foreground";
role:
"protagonist"
|
"antagonist"
|
"mentor"
|
"supporting"
|
"narrator";
},
{
description: string;
emotions: string[];
name: string;
position:
"left"
|
"center"
|
"right"
|
"background"
|
"foreground";
role:
"protagonist"
|
"antagonist"
|
"mentor"
|
"supporting"
|
"narrator";
},
> = ...