watcher-ts/packages/graph-node/test/subgraph/example1/schema.graphql

24 lines
401 B
GraphQL
Raw Normal View History

enum EnumType {
choice1
choice2
}
type RelatedEntity @entity {
id: ID!
paramBigInt: BigInt!
examples: [ExampleEntity!]!
bigIntArray: [BigInt!]!
}
type ExampleEntity @entity {
id: ID!
count: BigInt!
paramString: String! # string
paramInt: Int! # uint8
paramBoolean: Boolean!
paramBytes: Bytes!
paramEnum: EnumType!
paramBigDecimal: BigDecimal!
related: RelatedEntity!
}