@abtnode/types 1.16.17-beta-3232a7af → 1.16.17-beta-703fb879

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 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.TRole,
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?: Record<string, any>,
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-3232a7af",
3
+ "version": "1.16.17-beta-703fb879",
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": "af4067dd2e418c51a0ed96b1ee242ca812904056"
39
+ "gitHead": "97d63c671d823076e58b994107e10866367edd5d"
40
40
  }