Type Alias: SiteSnapshotParseResult
type SiteSnapshotParseResult = ReturnType<typeof siteSchema.safeParse>;
Defined in: shared/validation/guards.ts:43
Validates an unknown payload against the canonical Site schema.
Paramโ
value
Payload returned from an external boundary (e.g. IPC).
Returnsโ
The Zod SafeParseReturnType describing validation success and, when successful, the inferred Site instance.