Skip to content

Commit

Permalink
feat: add a reference to nft to it's sub categories (decentraland#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicosantangelo authored Nov 30, 2020
1 parent 9779ddb commit 7a1a3ad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions indexer/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ type Parcel @entity {
estate: Estate
data: Data
rawData: String
nft: NFT @derivedFrom(field: "parcel")
}

type Estate @entity {
Expand All @@ -91,6 +92,7 @@ type Estate @entity {
size: Int
data: Data
rawData: String
nft: NFT @derivedFrom(field: "estate")
}

type Data @entity {
Expand All @@ -113,6 +115,7 @@ type Wearable @entity {
category: WearableCategory!
rarity: WearableRarity!
bodyShapes: [WearableBodyShape!]
nft: NFT @derivedFrom(field: "wearable")
}

type ENS @entity {
Expand All @@ -124,6 +127,7 @@ type ENS @entity {
labelHash: Bytes
subdomain: String
createdAt: BigInt
nft: NFT @derivedFrom(field: "ens")
}

type NFT @entity {
Expand Down

0 comments on commit 7a1a3ad

Please sign in to comment.