Skip to content

Interface: GetSnapshotOptions<N> ​

Defined in: packages/astro/src/server.ts:159

Type Parameters ​

Type ParameterDefault type
N extends stringstring

Properties ​

PropertyTypeDescriptionDefined in
checkBefore?readonly N[]Permissions to run the before hook for: those it denies are listed in the snapshot's denied, which the React, Vue and Svelte packages honour. See SubjectRbac.snapshot().packages/astro/src/server.ts:164
guard?stringMake the snapshot in this guard instead of the server's.packages/astro/src/server.ts:166

Released under the MIT License. Inspired by spatie/laravel-permission.