File tree 1 file changed +1
-13
lines changed
1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -59,19 +59,7 @@ export class LinkedAction extends Struct {
59
59
export type WaitWeightType = WaitWeight | { wait_sec : UInt32Type ; weight : UInt16Type }
60
60
61
61
@Struct . type ( 'permission' )
62
- export class Permission extends Struct {
63
- @Struct . field ( 'name' ) declare perm_name : Name
64
- @Struct . field ( 'name' ) declare parent : Name
65
- @Struct . field ( Authority ) declare required_auth : Authority
66
- @Struct . field ( LinkedAction , { array : true , optional : true } ) declare linked_actions ?: LinkedAction
67
-
68
- static from ( value : PermissionType ) : Permission {
69
- if ( isInstanceOf ( value , Permission ) ) {
70
- return value
71
- }
72
- return super . from ( value ) as Permission
73
- }
74
-
62
+ export class Permission extends API . v1 . AccountPermission {
75
63
get name ( ) : Name {
76
64
return this . perm_name
77
65
}
You can’t perform that action at this time.
0 commit comments