Skip to main content

Type Alias: SiteSnapshotParseResult

SiteSnapshotParseResult = ReturnType<typeof siteSchema.safeParse>

Defined in: shared/validation/guards.ts:41

Validates an unknown payload against the canonical Site schema.

Paramโ€‹

Payload returned from an external boundary (e.g. IPC).

Returnsโ€‹

The Zod SafeParseReturnType describing validation success and, when successful, the inferred Site instance.