mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-01-10 05:18:05 +00:00
47cef8d5d7
* Fix packages build * Add support for boolean type in subgraph schema * Add BigDecimal fromString and toString implementation * Add implementation for subgraph Bytes type * Implement enum type for subgraph schema * Add implementation for subgraph schema BigDecimal type * JSON stringify and parse entity data for auto-diff
16 lines
254 B
GraphQL
16 lines
254 B
GraphQL
enum EnumType {
|
|
choice1
|
|
choice2
|
|
}
|
|
|
|
type ExampleEntity @entity {
|
|
id: ID!
|
|
count: BigInt!
|
|
paramString: String! # string
|
|
paramInt: Int! # uint8
|
|
paramBoolean: Boolean!
|
|
paramBytes: Bytes!
|
|
paramEnum: EnumType!
|
|
paramBigDecimal: BigDecimal!
|
|
}
|