Variable courseEventSchemaConst
courseEventSchema: ZodDiscriminatedUnion<
[
ZodObject<
{
at: ZodISODateTime;
courseId: ZodString;
name: ZodString;
type: ZodLiteral<"course.created">;
},
$strip,
>,
ZodObject<
{
at: ZodISODateTime;
courseId: ZodString;
examDate: ZodNullable<ZodString>;
type: ZodLiteral<"course.examDateSet">;
},
$strip,
>,
],
"type",
> = ...
Events in
courses.jsonl.