Interface: GetSnapshotOptions<N>
Defined in: packages/sveltekit/src/server/handle.ts:138
Options of getSnapshot.
Type Parameters
| Type Parameter | Default type |
|---|---|
N extends string | string |
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
checkBefore? | readonly N[] | Permission names to run the engine's before hook for. Those it denies are sent as denied, and the client (setRbacContext(), <Can>) treats them as not allowed, super-admins included. | packages/sveltekit/src/server/handle.ts:143 |
guard? | string | Make the snapshot in this guard instead of the hook's (subject.withScope({ guard })). | packages/sveltekit/src/server/handle.ts:145 |
