Variable diagnosticSchemaConst
diagnosticSchema: ZodObject<
{
code: ZodOptional<
ZodEnum<
[
"syntax",
"unsupported",
"undefined-command",
"undefined-environment",
"undefined-reference",
"duplicate-label",
"missing-file",
"missing-font",
"overfull-box",
"underfull-box",
"budget-exceeded",
],
>,
>;
column: ZodOptional<ZodNumber>;
construct: ZodOptional<ZodString>;
file: ZodString;
line: ZodNumber;
message: ZodString;
severity: ZodEnum<["error", "warning", "info"]>;
},
"strip",
ZodTypeAny,
{
code?: | "syntax"
| "unsupported"
| "undefined-command"
| "undefined-environment"
| "undefined-reference"
| "duplicate-label"
| "missing-file"
| "missing-font"
| "overfull-box"
| "underfull-box"
| "budget-exceeded"
| "limit-exceeded"
| "stopped"
| "internal";
column?: number;
construct?: string;
file: string;
line: number;
message: string;
severity: "error"
| "warning"
| "info";
},
{
code?: | "syntax"
| "unsupported"
| "undefined-command"
| "undefined-environment"
| "undefined-reference"
| "duplicate-label"
| "missing-file"
| "missing-font"
| "overfull-box"
| "underfull-box"
| "budget-exceeded"
| "limit-exceeded"
| "stopped"
| "internal";
column?: number;
construct?: string;
file: string;
line: number;
message: string;
severity: "error"
| "warning"
| "info";
},
> = ...