@abtnode/types 1.16.17-beta-6f0c7674 → 1.16.17-beta-952ef53d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/rpc_pb.d.ts +3 -2
- package/lib/type_pb.d.ts +14 -0
- package/package.json +2 -2
package/lib/rpc_pb.d.ts
CHANGED
@@ -545,6 +545,7 @@ export type TRequestCreateRole = {
|
|
545
545
|
description: string,
|
546
546
|
childName: string,
|
547
547
|
permissions: string[],
|
548
|
+
extra: string,
|
548
549
|
}
|
549
550
|
export type TResponseRole = {
|
550
551
|
code: enum_pb.StatusCodeMap[keyof enum_pb.StatusCodeMap],
|
@@ -592,7 +593,7 @@ export type TRequestUpdatePermissionsForRole = {
|
|
592
593
|
}
|
593
594
|
export type TRequestTeamRole = {
|
594
595
|
teamDid: string,
|
595
|
-
role?: type_pb.
|
596
|
+
role?: type_pb.TRoleUpdate,
|
596
597
|
}
|
597
598
|
export type TRequestTeamUser = {
|
598
599
|
teamDid: string,
|
@@ -608,7 +609,7 @@ export type TRequestUpdateUserExtra = {
|
|
608
609
|
teamDid: string,
|
609
610
|
did: string,
|
610
611
|
remark: string,
|
611
|
-
extra
|
612
|
+
extra: string,
|
612
613
|
}
|
613
614
|
export type TRequestTeamUserOptions = {
|
614
615
|
enableConnectedAccount: boolean,
|
package/lib/type_pb.d.ts
CHANGED
@@ -622,6 +622,20 @@ export type TRole = {
|
|
622
622
|
grants: string[],
|
623
623
|
title: string,
|
624
624
|
isProtected: boolean,
|
625
|
+
extra?: Record<string, any>,
|
626
|
+
}
|
627
|
+
export type TRoleAcquire = {
|
628
|
+
pay: string,
|
629
|
+
exchange: string,
|
630
|
+
invite: boolean,
|
631
|
+
transfer: boolean,
|
632
|
+
request: boolean,
|
633
|
+
}
|
634
|
+
export type TRoleUpdate = {
|
635
|
+
name: string,
|
636
|
+
title: string,
|
637
|
+
description: string,
|
638
|
+
extra: string,
|
625
639
|
}
|
626
640
|
export type TPermission = {
|
627
641
|
name: string,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@abtnode/types",
|
3
|
-
"version": "1.16.17-beta-
|
3
|
+
"version": "1.16.17-beta-952ef53d",
|
4
4
|
"description": "Typescript definitions generated from protobuf",
|
5
5
|
"keywords": [
|
6
6
|
"abtnode",
|
@@ -36,5 +36,5 @@
|
|
36
36
|
"bugs": {
|
37
37
|
"url": "https://github.com/ArcBlock/abt-node/issues"
|
38
38
|
},
|
39
|
-
"gitHead": "
|
39
|
+
"gitHead": "a575050c7ffd08961a5f4072f4048f6e37976810"
|
40
40
|
}
|