Variable commandDiagnosticEventSchemaConst
commandDiagnosticEventSchema: ZodObject<
{
code: ZodOptional<ZodString>;
level: ZodEnum<["debug", "info", "warning", "error"]>;
message: ZodString;
timestamp: ZodString;
type: ZodLiteral<"diagnostic">;
},
"strict",
ZodTypeAny,
{
code?: string;
level: "info"
| "error"
| "debug"
| "warning";
message: string;
timestamp: string;
type: "diagnostic";
},
{
code?: string;
level: "info"
| "error"
| "debug"
| "warning";
message: string;
timestamp: string;
type: "diagnostic";
},
> = ...
Schema for a diagnostic emitted while a command executes.