materio_extension.base.graphqls 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. scalar Violation
  2. interface NodeInterface {
  3. id: Int!
  4. uuid: String!
  5. title: String!
  6. path: String!
  7. author: String
  8. bundle: String!
  9. }
  10. interface SearchResultInterface {
  11. id: Int!
  12. uuid: String!
  13. title: String!
  14. path: String!
  15. author: String
  16. bundle: String!
  17. #
  18. short_description: String
  19. body: String
  20. linked_materials: [Materiau]
  21. }
  22. type Materiau implements NodeInterface & SearchResultInterface{
  23. id: Int!
  24. uuid: String!
  25. title: String!
  26. path: String!
  27. author: String
  28. bundle: String!
  29. #
  30. short_description: String
  31. body: String
  32. linked_materials: [Materiau]
  33. #
  34. linked_articles: [Article]
  35. images: [Image]
  36. videos: [VideoLink]
  37. tags: [Tag]
  38. thesaurus: [Thesaurus]
  39. memo: String
  40. attachments: [Filefield]
  41. distributor: [Company]
  42. manufacturer: [Company]
  43. reference: String
  44. samples: [Sample]
  45. note: Note
  46. note_id: Int
  47. # famille: String
  48. # index: Int
  49. }
  50. type Thematique implements NodeInterface & SearchResultInterface {
  51. id: Int!
  52. uuid: String!
  53. title: String!
  54. path: String!
  55. author: String
  56. bundle: String!
  57. #
  58. short_description: String
  59. body: String
  60. linked_materials: [Materiau]
  61. #
  62. images: [Image]
  63. tags: [Tag]
  64. memo: String
  65. }
  66. type Article implements NodeInterface {
  67. id: Int!
  68. uuid: String!
  69. title: String!
  70. path: String!
  71. author: String
  72. bundle: String!
  73. #
  74. body: String
  75. linked_materials: [Materiau]
  76. images: [Image]
  77. videos: [VideoLink]
  78. source: Link
  79. showroom: Showroom
  80. tags: [Tag]
  81. thesaurus: [Thesaurus]
  82. date: Date
  83. memo: String
  84. }
  85. type Note {
  86. id: Int!
  87. contenu: String
  88. target: Int
  89. }
  90. # type SearchResult {
  91. # id: Int!
  92. # uuid: String!
  93. # title: String!
  94. # bundle: String!
  95. # path: String!
  96. # short_description: String
  97. # images: [Image]
  98. # visuels: [Image]
  99. # reference: String
  100. # samples: [Sample]
  101. # }
  102. type Product {
  103. id: Int!
  104. uuid: String!
  105. title: String
  106. bundle: String
  107. body: String
  108. price_description: String
  109. path: String
  110. variations: [Variation]
  111. }
  112. type Variation {
  113. id: Int!
  114. uuid: String!
  115. title: String
  116. description: String
  117. subscription_type: String
  118. sku: String
  119. price: Price
  120. product_id: Int
  121. # list_price
  122. # billing_schedule
  123. # license_expiration
  124. # license_type
  125. # field_multiple
  126. }
  127. type Price {
  128. value: Int
  129. currency: String
  130. }
  131. type Sample {
  132. showroom: Showroom
  133. location: String
  134. }
  135. type Filefield {
  136. file: File!
  137. description: String
  138. }
  139. type File {
  140. fid: String!
  141. uuid: String!
  142. filename: String!
  143. filemime: String!
  144. filesize: String!
  145. url: String!
  146. }
  147. type Link {
  148. url: String
  149. title: String
  150. }
  151. type Showroom {
  152. id: Int!
  153. uuid: String!
  154. name: String!
  155. description: String
  156. images: [Image]
  157. email: String
  158. address: Address
  159. country: Country
  160. phone: String
  161. website: Link
  162. }
  163. type Company {
  164. id: Int!
  165. uuid: String!
  166. name: String!
  167. description: String
  168. attachments: [Filefield]
  169. memo: String
  170. note: Int
  171. website: Link
  172. departement: String
  173. email: String
  174. country: Country
  175. phone: String
  176. infos: String
  177. }
  178. type Tag {
  179. id: Int!
  180. uuid: String!
  181. name: String!
  182. }
  183. type Thesaurus {
  184. id: Int!
  185. uuid: String!
  186. name: String!
  187. }
  188. type Address {
  189. langcode: String
  190. country_code: String
  191. administrative_area: String
  192. locality: String
  193. dependent_locality: String
  194. postal_code: String
  195. sorting_code: String
  196. address_line1: String
  197. address_line2: String
  198. organization: String
  199. given_name: String
  200. additional_name: String
  201. family_name: String
  202. }
  203. type Country {
  204. country_code: String
  205. country_name: String
  206. }
  207. type Date {
  208. start: String
  209. end: String
  210. }
  211. type VideoLink {
  212. url: String
  213. }
  214. type Image {
  215. id: Int!
  216. url: String!
  217. alt: String
  218. style_minicard: ImageStyle
  219. style_minicard_url: String
  220. style_linkedmaterialcard: ImageStyle
  221. style_linkedmaterialcard_url: String
  222. style_cardmedium: ImageStyle
  223. style_cardmedium_url: String
  224. style_cardfull: ImageStyle
  225. style_cardfull_url: String
  226. style_articlecardmedium: ImageStyle
  227. style_articlecardmedium_url: String
  228. style_hd: ImageStyle
  229. style_hd_url: String
  230. style_showroomhome: ImageStyle
  231. style_showroomhome_url: String
  232. }
  233. type ImageStyle {
  234. width: Int
  235. height: Int
  236. url: String
  237. }