Preparing search index...
The search index is not available
A38
A38
@a38/core
ResourceRuleMap
Class ResourceRuleMap
Implements
Iterable
<
[
string
|
null
,
Rule
[]
]
>
Index
Constructors
constructor
Methods
[iterator]
add
importJSON
toJSON
fromJSON
Constructors
constructor
new
Resource
Rule
Map
(
)
:
ResourceRuleMap
Returns
ResourceRuleMap
Methods
[iterator]
[iterator]
(
)
:
Iterator
<
[
null
|
string
,
Rule
<
Role
,
Resource
>
[]
]
,
any
,
undefined
>
Returns
Iterator
<
[
null
|
string
,
Rule
<
Role
,
Resource
>
[]
]
,
any
,
undefined
>
add
add
<
ROLE
,
RESOURCE
>
(
resource
,
rule
)
:
void
Type Parameters
ROLE
extends
Role
=
Role
RESOURCE
extends
Resource
=
Resource
Parameters
resource
:
null
|
string
rule
:
Rule
<
ROLE
,
RESOURCE
>
Returns
void
importJSON
importJSON
(
json
)
:
ResourceRuleMap
Parameters
json
:
unknown
Returns
ResourceRuleMap
toJSON
toJSON
(
)
:
SerializedResourceRuleMap
Returns
SerializedResourceRuleMap
Static
fromJSON
fromJSON
(
json
)
:
ResourceRuleMap
Parameters
json
:
unknown
Returns
ResourceRuleMap
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
[iterator]
add
importJSON
toJSON
fromJSON
A38
Loading...