Skip to main content

Type Alias: SiteSnapshotsParseResult

SiteSnapshotsParseResult = ReturnType<typeof siteSnapshotsSchema.safeParse>

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

Validates an unknown payload against the canonical Site[] schema.

Remarksโ€‹

This mirrors the return shape of other guards in this module by returning the Zod SafeParseReturnType. Consumers that need per-index diagnostics can derive indices from result.error.issues[*].path[0].