materio_extension.extension.graphqls 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. extend type Query {
  2. route(path: String!, lang: String): NodeInterface
  3. }
  4. extend type Query {
  5. materiau(id: Int!, lang: String): Materiau
  6. }
  7. extend type Query {
  8. materiaux(ids: [Int], lang: String): [Materiau]
  9. }
  10. extend type Query {
  11. searchresults(ids: [Int], lang: String): [SearchResultInterface]
  12. }
  13. extend type Query {
  14. searchresult(id: Int!, lang: String): SearchResultInterface
  15. }
  16. extend type Query {
  17. article(id: Int!, lang: String): Article
  18. }
  19. extend type Query {
  20. thematique(id: Int!, lang: String): Thematique
  21. }
  22. extend type Query {
  23. allshowrooms(lang: String): [Showroom]
  24. }
  25. extend type Query {
  26. showroom(id: Int!, lang: String): Showroom
  27. }
  28. extend type Query {
  29. tag(id: Int!, lang: String): Tag
  30. }
  31. extend type Query {
  32. thesaurus(id: Int!, lang: String): Thesaurus
  33. }
  34. extend type Query {
  35. company(id: Int!, lang: String): Company
  36. }
  37. extend type Query {
  38. product(id: Int!, lang: String): Product
  39. }
  40. extend type Query {
  41. products(ids: [Int], lang: String): [Product]
  42. }
  43. # extend type Query {
  44. # variation(id: Int!): Variation
  45. # }
  46. #
  47. # extend type Query {
  48. # variations(id: [Int]): Variation
  49. # }