UNPKG
@notadd/user
Version:
latest (2.4.6)
2.4.6
2.4.5
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.43
2.3.42
2.3.41
2.3.40
2.3.39
2.3.38
2.3.37
2.3.36
2.3.35
2.3.34
2.3.33
2.3.32
2.3.31
2.3.30
2.3.29
2.3.28
2.3.27
2.3.26
2.3.23
2.3.22
2.3.21
2.3.19
2.3.17
2.3.16
2.3.13
2.3.6
2.3.4
2.2.8
2.2.7
2.2.3
2.2.2
2.2.0
2.1.14
2.1.13
2.1.12
2.1.11
2.1.10
2.1.9
2.1.6
2.0.1
Package Open in Browser for already.
github.com/notadd/ts-module-user
notadd/ts-module-user
@notadd/user
/
decorator
/
permissions.decorator.d.ts
7 lines
(6 loc)
•
241 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
"reflect-metadata"
;
export
declare
const
PERMISSION_DEFINITION
=
"user:permission_definition"
;
export
declare
function
Permissions
(
definitions
:
Array
<{ name:
string
; description:
string
; }>
):
ClassDecorator
&
MethodDecorator
;