materio-d9/web/modules/custom/materio_graphql/graphql/materio_extension.extension...

56 lines
969 B
GraphQL

extend type Query {
route(path: String!, lang: String): NodeInterface
}
extend type Query {
materiau(id: Int!, lang: String): Materiau
}
extend type Query {
materiaux(ids: [Int], lang: String): [Materiau]
}
extend type Query {
searchresults(ids: [Int], lang: String): [SearchResultInterface]
}
extend type Query {
article(id: Int!, lang: String): Article
}
extend type Query {
thematique(id: Int!, lang: String): Thematique
}
extend type Query {
showroom(id: Int!, lang: String): Showroom
}
extend type Query {
tag(id: Int!, lang: String): Tag
}
extend type Query {
thesaurus(id: Int!, lang: String): Thesaurus
}
extend type Query {
company(id: Int!, lang: String): Company
}
extend type Query {
product(id: Int!, lang: String): Product
}
extend type Query {
products(ids: [Int], lang: String): [Product]
}
# extend type Query {
# variation(id: Int!): Variation
# }
#
# extend type Query {
# variations(id: [Int]): Variation
# }