materio_extension.base.graphqls 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. scalar Violation
  2. interface NodeInterface {
  3. id: Int!
  4. path: String!
  5. }
  6. type Materiau implements NodeInterface {
  7. id: Int!
  8. uuid: String!
  9. title: String!
  10. path: String!
  11. author: String
  12. body: String
  13. short_description: String
  14. linked_materials: [Materiau]
  15. linked_articles: [Article]
  16. images: [Image]
  17. videos: [VideoLink]
  18. tags: [Tag]
  19. thesaurus: [Thesaurus]
  20. memo: String
  21. attachments: [Filefield]
  22. distributor: [Company]
  23. manufacturer: [Company]
  24. # famille: String
  25. # index: Int
  26. reference: String
  27. samples: [Sample]
  28. }
  29. type Article implements NodeInterface {
  30. id: Int!
  31. uuid: String!
  32. title: String!
  33. path: String!
  34. author: String
  35. body: String
  36. linked_materials: [Materiau]
  37. images: [Image]
  38. videos: [VideoLink]
  39. source: Link
  40. showroom: Showroom
  41. tags: [Tag]
  42. thesaurus: [Thesaurus]
  43. date: Date
  44. memo: String
  45. }
  46. type Thematique implements NodeInterface {
  47. id: Int!
  48. uuid: String!
  49. title: String!
  50. path: String!
  51. author: String
  52. body: String
  53. linked_materials: [Materiau]
  54. images: [Image]
  55. tags: [Tag]
  56. memo: String
  57. }
  58. type SearchResult {
  59. id: Int!
  60. uuid: String!
  61. title: String!
  62. bundle: String!
  63. path: String!
  64. short_description: String
  65. images: [Image]
  66. visuels: [Image]
  67. reference: String
  68. }
  69. type Sample {
  70. showroom: Showroom
  71. location: String
  72. }
  73. type Filefield {
  74. file: File!
  75. description: String
  76. }
  77. type File {
  78. fid: String!
  79. uuid: String!
  80. filename: String!
  81. filemime: String!
  82. filesize: String!
  83. url: String!
  84. }
  85. type Link {
  86. url: String
  87. title: String
  88. }
  89. type Showroom {
  90. id: Int!
  91. uuid: String!
  92. name: String!
  93. images: [Image]
  94. email: String
  95. address: Address
  96. phone: String
  97. }
  98. type Company {
  99. id: Int!
  100. uuid: String!
  101. name: String!
  102. description: String
  103. attachments: [Filefield]
  104. memo: String
  105. note: Int
  106. website: Link
  107. departement: String
  108. email: String
  109. address: Address
  110. phone: String
  111. infos: String
  112. }
  113. type Tag {
  114. id: Int!
  115. uuid: String!
  116. name: String!
  117. }
  118. type Thesaurus {
  119. id: Int!
  120. uuid: String!
  121. name: String!
  122. }
  123. type Address {
  124. langcode: String
  125. country_code: String
  126. administrative_area: String
  127. locality: String
  128. dependent_locality: String
  129. postal_code: String
  130. sorting_code: String
  131. address_line1: String
  132. address_line2: String
  133. organization: String
  134. given_name: String
  135. additional_name: String
  136. family_name: String
  137. }
  138. type Date {
  139. start: String
  140. end: String
  141. }
  142. type VideoLink {
  143. url: String
  144. }
  145. type Image {
  146. id: Int!
  147. url: String!
  148. alt: String
  149. style_minicard: ImageStyle
  150. style_minicard_url: String
  151. style_cardmedium: ImageStyle
  152. style_cardmedium_url: String
  153. style_cardfull: ImageStyle
  154. style_cardfull_url: String
  155. style_articlecardmedium: ImageStyle
  156. style_articlecardmedium_url: String
  157. style_hd: ImageStyle
  158. style_hd_url: String
  159. }
  160. type ImageStyle {
  161. width: Int
  162. height: Int
  163. url: String
  164. }