UNPKG
xiot-core-spec-ts
Version:
latest (3.8.6)
3.8.6
3.8.5
3.8.4
0.52.0
0.51.2
0.51.1
0.50.0
0.49.0
0.48.0
0.47.0
0.46.0
0.44.0
0.41.0
0.40.0
0.39.0
0.38.0
0.37.0
0.36.0
0.35.0
0.34.0
0.33.0
0.32.0
0.31.0
0.30.0
0.29.0
0.28.0
0.27.0
0.26.0
0.25.0
0.24.0
0.23.0
0.22.7
0.22.6
0.22.5
0.22.3
0.22.2
0.22.1
0.22.0
0.21.0
0.20.8
0.20.7
0.20.6
0.20.5
0.20.4
0.20.2
0.20.1
0.20.0
0.19.0
0.17.3
0.17.2
0.17.1
0.17.0
0.16.9
0.16.8
0.16.7
0.16.6
0.16.5
0.16.4
0.16.3
0.16.2
0.16.1
0.16.0
0.15.9
0.15.8
0.15.7
0.15.6
0.15.5
0.15.4
0.15.3
0.15.2
0.15.1
0.14.3
0.14.2
0.14.1
0.13.6
0.13.5
0.13.4
0.13.3
0.13.2
0.13.1
0.12.1
0.11.1
0.10.15
0.10.14
0.10.13
0.10.12
0.10.11
0.10.10
0.10.9
0.10.8
0.10.7
0.10.6
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.9.99
0.9.98
0.9.97
0.9.96
0.9.95
0.9.94
0.9.93
0.9.92
0.9.91
0.9.90
0.9.89
0.9.88
0.9.87
0.9.86
0.9.85
0.9.84
0.9.83
0.9.82
0.9.81
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.16
0.8.15
0.8.14
0.8.13
0.8.12
0.8.11
0.8.10
0.8.9
0.8.8
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.9
0.7.8
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.9
0.6.8
0.6.7
0.6.6
0.6.5
0.6.4
XIOT Specification Codec
github.com/gkcity/xiot-core-spec-ts
gkcity/xiot-core-spec-ts
xiot-core-spec-ts
/
dist
/
xiot
/
core
/
spec
/
codec
/
rbac
/
RoleCodec.d.ts
8 lines
(7 loc)
•
240 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Role
}
from
'../../typedef/rbac/Role'
;
export
declare
class
RoleCodec
{
static
decodeArray
(
array
:
any
[]):
Role
[];
static
decode
(
x
:
any
):
Role
;
static
encode
(
x
:
Role
): {};
static
encodeArray
(
roles
:
Role
[]):
any
[]; }