Created
June 27, 2022 03:30
-
-
Save 0xAnon101/bcf054c12096b22b4d06678f5aa4bd74 to your computer and use it in GitHub Desktop.
Schema graph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # fulltext query: searchable keywords | |
| type _Schema_ | |
| @fulltext( | |
| name: "apeFilter" | |
| language: en | |
| algorithm: rank | |
| include: [ | |
| { | |
| entity: "BoredApeToken" | |
| fields: [{ name: "eyes" }, { name: "background" }] | |
| } | |
| ] | |
| ) | |
| type BoredApeToken @entity { | |
| id: ID! | |
| # image info | |
| tokenID: BigInt! | |
| contentURI: String! | |
| imageURI: String | |
| baseURI: String | |
| createdAtTimestamp: BigInt! | |
| # traits | |
| eyes: String | |
| background: String | |
| hat: String | |
| mouth: String | |
| clothes: String | |
| fur: String | |
| earring: String | |
| # relation | |
| owner: BoredApeUser! | |
| } | |
| type BoredApeUser @entity { | |
| id: ID! | |
| tokens: [BoredApeToken!]! @derivedFrom(field: "owner") | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment