materio_extension.base.graphqls 2.2 KB

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