UNPKG
abacl
Version:
latest (8.0.10)
8.0.10
8.0.9
8.0.8
8.0.7
8.0.6
8.0.5
8.0.4
8.0.3
7.2.1
7.2.0
7.1.2
7.1.1
7.1.0
7.0.1
7.0.0
6.1.3
6.1.2
6.1.1
6.1.0
6.0.0
5.0.0
4.1.2
4.1.1
4.1.0
4.0.1
4.0.0
3.4.1
3.4.0
3.3.0
3.2.3
3.2.2
3.2.1
3.2.0
3.1.3
3.1.2
3.1.1
3.1.0
3.0.1
2.1.1
2.1.0
2.0.0
1.4.9
1.4.8
1.4.7
1.4.6
1.4.5
1.4.3
1.4.2
1.4.0
1.3.10
1.3.9
1.3.8
1.3.6
1.3.5
1.3.4
1.3.0
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.5
1.0.4
1.0.3
1.0.0
Attribute Based Access Control Library
github.com/vhidvz/abacl
vhidvz/abacl
abacl
/
dist
/
types
/
policy.type.d.ts
14 lines
(13 loc)
•
281 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
interface
Time
{
cron_exp
:
string
;
duration
:
number
; }
export
interface
Policy
<
Sub
=
string
,
Act
=
string
,
Obj
=
string
> {
subject
:
Sub
;
action
:
Act
;
object
:
Obj
;
time
?:
Time
[];
field
?:
string
[];
filter
?:
string
[];
location
?:
string
[]; }