Variable jobViewSchemaConst
jobViewSchema: ZodObject<
{
id: ZodString;
ticket: ZodNumber;
nowServing: ZodNumber;
position: ZodNumber;
status: ZodEnum<
{
queued: "queued";
running: "running";
done: "done";
failed: "failed";
cancelled: "cancelled";
},
>;
result: ZodOptional<
ZodObject<{ text: ZodString; model: ZodString }, $strip>,
>;
error: ZodOptional<ZodString>;
},
$strip,
> = ...
What a caller sees of its job, from
POST,GETandDELETE.