mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-10 13:28:06 +00:00
800ad79baf
* Handle relation entities in subgraph * Modify eden-watcher entities to handle subgraph schema data types * Modify schema gql to match eden subgraph gql shape * Handle array type fields in subgraph schema * Fix store get api for array type fields in subgraph entities * Handle array type in eden-watcher and format await used in params
24 lines
401 B
GraphQL
24 lines
401 B
GraphQL
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!
|
|
}
|