Variable progressMessageSchemaConst
progressMessageSchema: z.ZodObject<
{
current: z.ZodOptional<z.ZodNumber>;
id: z.ZodString;
itemId: z.ZodOptional<z.ZodString>;
kind: z.ZodOptional<
z.ZodCatch<
z.ZodEnum<
{
inspection: "inspection";
retrieve: "retrieve";
transfer: "transfer";
workflow: "workflow";
},
>,
>,
>;
label: z.ZodOptional<z.ZodString>;
operation: z.ZodCatch<
z.ZodEnum<
{
download: "download";
group: "group";
pipeline: "pipeline";
pull: "pull";
task: "task";
upload: "upload";
workflow: "workflow";
},
>,
>;
path: z.ZodOptional<z.ZodString>;
percent: z.ZodOptional<z.ZodNumber>;
phase: z.ZodCatch<
z.ZodEnum<
{
complete: "complete";
failed: "failed";
reading: "reading";
retrying: "retrying";
scanning: "scanning";
transferring: "transferring";
watching: "watching";
working: "working";
},
>,
>;
reason: z.ZodOptional<z.ZodString>;
status: z.ZodOptional<
z.ZodCatch<
z.ZodEnum<
{
done: "done";
error: "error";
running: "running";
stalled: "stalled";
timeout: "timeout";
unconfirmed: "unconfirmed";
unknown: "unknown";
},
>,
>,
>;
total: z.ZodOptional<z.ZodNumber>;
type: z.ZodLiteral<"progress">;
unit: z.ZodOptional<
z.ZodCatch<
z.ZodEnum<
{
bytes: "bytes";
files: "files";
jobs: "jobs";
nodes: "nodes";
series: "series";
},
>,
>,
>;
},
z.core.$strip,
>
A structured progress event correlated to a command.