* feat(index): add $not and $nin operators * logical operator * test * test * types * logical * schema ID * types and $ilike fix * index type
31 lines
661 B
TypeScript
31 lines
661 B
TypeScript
export const updatedSchema = `
|
|
type Product @Listeners(values: ["product.created", "product.updated", "product.deleted"]) {
|
|
id: ID
|
|
title: String
|
|
handle: String
|
|
deep: InternalNested
|
|
variants: [ProductVariant]
|
|
}
|
|
|
|
type InternalNested {
|
|
a: Int
|
|
obj: InternalObject
|
|
}
|
|
|
|
type InternalObject {
|
|
b: Int
|
|
}
|
|
|
|
type ProductVariant @Listeners(values: ["variant.created", "variant.updated", "variant.deleted"]) {
|
|
id: ID
|
|
product_id: String
|
|
sku: String
|
|
prices: [Price]
|
|
}
|
|
|
|
type Price @Listeners(values: ["price.created", "price.updated", "price.deleted"]) {
|
|
amount: Float
|
|
currency_code: String
|
|
}
|
|
`
|