Skip to content

ResolveTargetsResult

Defined in: packages/core/src/revalidate/types.ts:44

Result of resolveTargets — the deduped paths to purge for a single document write, plus any route-mapper failures encountered while computing them.

errors is never thrown — a broken mapper must never block a save. Callers (the revalidation route, a future server-side dispatch) decide how to surface it.

errors: unknown[]

Defined in: packages/core/src/revalidate/types.ts:49

Errors thrown by mapper, one per failed invocation. Empty when every call to mapper succeeded.


paths: string[]

Defined in: packages/core/src/revalidate/types.ts:51

Deduped, order-stable public paths to pass to revalidatePath.