materio_extension.extension.graphqls 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. showroom(id: Int!, lang: String): Showroom
  24. }
  25. extend type Query {
  26. tag(id: Int!, lang: String): Tag
  27. }
  28. extend type Query {
  29. thesaurus(id: Int!, lang: String): Thesaurus
  30. }
  31. extend type Query {
  32. company(id: Int!, lang: String): Company
  33. }
  34. extend type Query {
  35. product(id: Int!, lang: String): Product
  36. }
  37. extend type Query {
  38. products(ids: [Int], lang: String): [Product]
  39. }
  40. # extend type Query {
  41. # variation(id: Int!): Variation
  42. # }
  43. #
  44. # extend type Query {
  45. # variations(id: [Int]): Variation
  46. # }