2021-11-16 07:35:05 +00:00
|
|
|
enum EnumType {
|
|
|
|
choice1
|
|
|
|
choice2
|
|
|
|
}
|
|
|
|
|
2021-11-17 11:31:09 +00:00
|
|
|
type RelatedEntity @entity {
|
|
|
|
id: ID!
|
|
|
|
paramBigInt: BigInt!
|
|
|
|
bigIntArray: [BigInt!]!
|
|
|
|
}
|
|
|
|
|
2021-09-28 06:58:43 +00:00
|
|
|
type ExampleEntity @entity {
|
|
|
|
id: ID!
|
|
|
|
count: BigInt!
|
2021-11-16 07:35:05 +00:00
|
|
|
paramString: String! # string
|
|
|
|
paramInt: Int! # uint8
|
|
|
|
paramBoolean: Boolean!
|
|
|
|
paramBytes: Bytes!
|
|
|
|
paramEnum: EnumType!
|
|
|
|
paramBigDecimal: BigDecimal!
|
2021-11-17 11:31:09 +00:00
|
|
|
related: RelatedEntity!
|
2021-11-22 10:16:29 +00:00
|
|
|
manyRelated: [ManyRelatedEntity!]!
|
|
|
|
}
|
|
|
|
|
|
|
|
type ManyRelatedEntity @entity {
|
|
|
|
id: ID!
|
|
|
|
count: BigInt!
|
2021-09-28 06:58:43 +00:00
|
|
|
}
|