Skip to content

Commit

Permalink
Merge branch 'feature--role-assignments' into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Oct 20, 2023
2 parents 5739314 + ac8f167 commit 14b3d4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ type Nft @entity {
address: String!
tokenId: BigInt!
owner: Account!
rolesHistory: [RoleAssignment!] @derivedFrom(field: "nft")
rolesHistory: [Role!] @derivedFrom(field: "nft")
}

type Account @entity {
Expand All @@ -29,6 +29,7 @@ type RoleAssignment @entity {
type Role @entity {
id: ID! # tokenId + tokenAddress + roleHash
roleHash: Bytes!
nft: Nft!
roleAssignments: [RoleAssignment!] @derivedFrom(field: "role")
}

Expand Down

0 comments on commit 14b3d4d

Please sign in to comment.