Skip to content

Interface: GetSnapshotOptions<N> ​

Defined in: packages/tanstack-start/src/server.ts:137

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/tanstack-start/src/server.ts:142
guard?stringMake the snapshot in this guard instead of the server's.packages/tanstack-start/src/server.ts:144

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