Type Alias: DefaultGuardName<T>
ts
type DefaultGuardName<T> = T extends object ? T extends object ? D : "web" : string;Defined in: packages/core/src/types.ts:107
The guard whose names apply when no guard is given: T['defaultGuard'] (default 'web') with guards, string (all guards share the names) without.
Type Parameters
| Type Parameter | Default type |
|---|---|
T extends RbacTypeConfig | DefaultRbacTypes |
