Skip to content

Interface: GetSnapshotOptions<N> ​

Defined in: packages/react-router/src/server.ts:152

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 package honours. See SubjectRbac.snapshot().packages/react-router/src/server.ts:157
guard?stringMake the snapshot in this guard instead of the server's.packages/react-router/src/server.ts:159

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