materio_extension.base.graphqls 2.0 KB

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