materio_extension.base.graphqls 2.5 KB

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