Skip to content

VexRevalidateCollectionRequest

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

A collection-wide purge, sent by useVexRevalidate from the list view.

The route resolves paths by listing the collection server-side and running the route mapper over each document, so it needs no document payload from the client — which also means a client cannot ask for paths it has not been authorized to see.

all: true

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

Discriminant selecting the collection-wide branch.


collection: string

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

The collection to purge — also the hasPermission resource.