Skip to main content

Type Alias: PreloadGuardDiagnosticsReport

type PreloadGuardDiagnosticsReport = Simplify<{
channel: string;
guard: string;
metadata?: UnknownRecord;
payloadPreview?: string;
reason?: string;
timestamp: number;
}>;

Defined in: shared/types/ipc.ts:463

Structured payload emitted when a preload guard rejects an incoming event.

Remarksโ€‹

Enables centralized diagnostics by forwarding guard failures, along with contextual metadata, to the Electron main process.