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

56 lines
806 B
GraphQL

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