Skip to content

reportDiagnosticEventSchema

const reportDiagnosticEventSchema: ZodMiniObject<{ attributes: ZodMiniOptional<ZodMiniRecord<ZodMiniString<string>, ZodMiniUnknown>>; code: ZodMiniOptional<ZodMiniString<string>>; kind: ZodMiniLiteral<"diagnostic">; message: ZodMiniString<string>; scopeId: ZodMiniNullable<ZodMiniString<string>>; severity: ZodMiniEnum<{ error: "error"; info: "info"; warning: "warning"; }>; timestamp: ZodMiniNumber<number>; }, $strip>

Defined in: packages/app-report/src/events.ts:123