@cfxlabsinc/b2b-services
Preparing search index...
@cfxlabsinc/ui
lib/dashboard-permissions
PermissionCheck
Type Alias PermissionCheck<P>
What a gate asks for: every key in
allOf
and, when given, one in
anyOf
.
type
PermissionCheck
<
P
extends
string
>
=
{
allOf
?:
readonly
P
[]
;
anyOf
?:
readonly
P
[]
;
}
Type Parameters
P
extends
string
Index
Properties
all
Of?
any
Of?
Properties
Optional
all
Of
allOf
?:
readonly
P
[]
Optional
any
Of
anyOf
?:
readonly
P
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
all
Of
any
Of
@cfxlabsinc/b2b-services
Loading...
What a gate asks for: every key in
allOfand, when given, one inanyOf.