materio_extension.base.graphqls 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  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 Product {
  70. id: Int!
  71. uuid: String!
  72. title: String
  73. bundle: String
  74. body: String
  75. price_description: String
  76. path: String
  77. variations: [Variation]
  78. }
  79. type Variation {
  80. id: Int!
  81. uuid: String!
  82. title: String
  83. description: String
  84. subscription_type: String
  85. sku: String
  86. price: Price
  87. product_id: Int
  88. # list_price
  89. # billing_schedule
  90. # license_expiration
  91. # license_type
  92. # field_multiple
  93. }
  94. type Price {
  95. value: Int
  96. currency: String
  97. }
  98. type Sample {
  99. showroom: Showroom
  100. location: String
  101. }
  102. type Filefield {
  103. file: File!
  104. description: String
  105. }
  106. type File {
  107. fid: String!
  108. uuid: String!
  109. filename: String!
  110. filemime: String!
  111. filesize: String!
  112. url: String!
  113. }
  114. type Link {
  115. url: String
  116. title: String
  117. }
  118. type Showroom {
  119. id: Int!
  120. uuid: String!
  121. name: String!
  122. images: [Image]
  123. email: String
  124. address: Address
  125. phone: String
  126. }
  127. type Company {
  128. id: Int!
  129. uuid: String!
  130. name: String!
  131. description: String
  132. attachments: [Filefield]
  133. memo: String
  134. note: Int
  135. website: Link
  136. departement: String
  137. email: String
  138. address: Address
  139. phone: String
  140. infos: String
  141. }
  142. type Tag {
  143. id: Int!
  144. uuid: String!
  145. name: String!
  146. }
  147. type Thesaurus {
  148. id: Int!
  149. uuid: String!
  150. name: String!
  151. }
  152. type Address {
  153. langcode: String
  154. country_code: String
  155. administrative_area: String
  156. locality: String
  157. dependent_locality: String
  158. postal_code: String
  159. sorting_code: String
  160. address_line1: String
  161. address_line2: String
  162. organization: String
  163. given_name: String
  164. additional_name: String
  165. family_name: String
  166. }
  167. type Date {
  168. start: String
  169. end: String
  170. }
  171. type VideoLink {
  172. url: String
  173. }
  174. type Image {
  175. id: Int!
  176. url: String!
  177. alt: String
  178. style_minicard: ImageStyle
  179. style_minicard_url: String
  180. style_cardmedium: ImageStyle
  181. style_cardmedium_url: String
  182. style_cardfull: ImageStyle
  183. style_cardfull_url: String
  184. style_articlecardmedium: ImageStyle
  185. style_articlecardmedium_url: String
  186. style_hd: ImageStyle
  187. style_hd_url: String
  188. }
  189. type ImageStyle {
  190. width: Int
  191. height: Int
  192. url: String
  193. }