Skip to content

Commit

Permalink
included rolesGranted and rolesReceived on entity Account
Browse files Browse the repository at this point in the history
  • Loading branch information
ernanirst committed Oct 20, 2023
1 parent cb77cb7 commit e865e40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ type Nft @entity {
type Account @entity {
id: ID! # address
nfts: [Nft!] @derivedFrom(field: "owner")
rolesGranted: [Role!] @derivedFrom(field: "grantor")
rolesReceived: [Role!] @derivedFrom(field: "grantee")
roleApprovals: [RoleApproval!] @derivedFrom(field: "grantor")
}

Expand Down

0 comments on commit e865e40

Please sign in to comment.