materio_extension.base.graphqls 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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 Sample {
  41. showroom: Showroom
  42. location: String
  43. }
  44. type Filefield {
  45. file: File!
  46. description: String
  47. }
  48. type File {
  49. fid: String!
  50. uuid: String!
  51. filename: String!
  52. filemime: String!
  53. filesize: String!
  54. url: String!
  55. }
  56. type Link {
  57. url: String
  58. title: String
  59. }
  60. type Showroom {
  61. id: Int!
  62. uuid: String!
  63. name: String!
  64. images: [Image]
  65. email: String
  66. address: Address
  67. phone: String
  68. }
  69. type Company {
  70. id: Int!
  71. uuid: String!
  72. name: String!
  73. description: String
  74. attachments: [Filefield]
  75. memo: String
  76. note: Int
  77. website: Link
  78. departement: String
  79. email: String
  80. address: Address
  81. phone: String
  82. infos: String
  83. }
  84. type Tag {
  85. id: Int!
  86. uuid: String!
  87. name: String!
  88. }
  89. type Thesaurus {
  90. id: Int!
  91. uuid: String!
  92. name: String!
  93. }
  94. type Address {
  95. langcode: String
  96. country_code: String
  97. administrative_area: String
  98. locality: String
  99. dependent_locality: String
  100. postal_code: String
  101. sorting_code: String
  102. address_line1: String
  103. address_line2: String
  104. organization: String
  105. given_name: String
  106. additional_name: String
  107. family_name: String
  108. }
  109. type Date {
  110. start: String
  111. end: String
  112. }
  113. type VideoLink {
  114. url: String
  115. }
  116. type Image {
  117. id: Int!
  118. url: String!
  119. alt: String
  120. style_minicard: ImageStyle
  121. style_cardmedium: ImageStyle
  122. style_cardfull: ImageStyle
  123. style_articlecardmedium: ImageStyle
  124. }
  125. type ImageStyle {
  126. width: Int
  127. height: Int
  128. url: String
  129. }