Variable commandProgressEventSchemaConst
commandProgressEventSchema: ZodObject<
{
current: ZodOptional<ZodNumber>;
message: ZodOptional<ZodString>;
operation: ZodString;
status: ZodEnum<["started", "updated", "completed"]>;
timestamp: ZodString;
total: ZodOptional<ZodNumber>;
type: ZodLiteral<"progress">;
},
"strict",
ZodTypeAny,
{
current?: number;
message?: string;
operation: string;
status: "started"
| "updated"
| "completed";
timestamp: string;
total?: number;
type: "progress";
},
{
current?: number;
message?: string;
operation: string;
status: "started"
| "updated"
| "completed";
timestamp: string;
total?: number;
type: "progress";
},
> = ...
Schema for a progress update emitted while a command executes.