Skip to content

Type Alias: RoleOrPermissionGuardOptions<Req> ​

ts
type RoleOrPermissionGuardOptions<Req> = RouteGuardOptions<Req>;

Defined in: packages/fastify/src/guards.ts:91

Type Parameters ​

Type ParameterDefault type
ReqFastifyRequest

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