Variable materialEventSchemaConst
materialEventSchema: ZodDiscriminatedUnion<
[
ZodObject<
{
at: ZodISODateTime;
bytes: ZodNumber;
courseId: ZodString;
fileName: ZodString;
format: ZodEnum<
{
csv: "csv";
docx: "docx";
md: "md";
pdf: "pdf";
pptx: "pptx";
txt: "txt";
xlsx: "xlsx";
},
>;
materialId: ZodString;
sha256: ZodString;
storedName: ZodString;
type: ZodLiteral<"material.added">;
},
$strip,
>,
ZodObject<
{
at: ZodISODateTime;
materialId: ZodString;
runId: ZodString;
type: ZodLiteral<"material.started">;
},
$strip,
>,
ZodObject<
{
at: ZodISODateTime;
materialId: ZodString;
passageCount: ZodNumber;
sections: ZodArray<
ZodObject<
{
heading: ZodOptional<ZodBoolean>;
level: ZodNumber;
ordinal: ZodNumber;
sectionId: ZodString;
title: ZodString;
},
$strip,
>,
>;
type: ZodLiteral<"material.extracted">;
},
$strip,
>,
],
"type",
> = ...
Events in
materials.jsonl: a file's progress from upload to proposed concepts.