enfr_extension.base.graphqls 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. scalar Violation
  2. interface NodeInterface {
  3. id: Int!
  4. path: String!
  5. }
  6. interface MapItemInterface {
  7. id: Int!
  8. uuid: String!
  9. bundle: String!
  10. title: String!
  11. path: String!
  12. author: String
  13. }
  14. interface TextInterface {
  15. id: Int!
  16. uuid: String!
  17. bundle: String!
  18. title: String!
  19. path: String!
  20. author: String
  21. texte: String
  22. images: [Image]
  23. videos: [VideoLink]
  24. fichiers: [File]
  25. familles: [Taxoterm]
  26. auteurs: [Auteur]
  27. field_titre_regular: String
  28. field_titre_italique: String
  29. }
  30. type Textref implements NodeInterface & TextInterface & MapItemInterface{
  31. id: Int!
  32. uuid: String!
  33. bundle: String!
  34. title: String!
  35. path: String!
  36. author: String
  37. texte: String
  38. images: [Image]
  39. videos: [VideoLink]
  40. fichiers: [File]
  41. familles: [Taxoterm]
  42. auteurs: [Auteur]
  43. field_titre_regular: String
  44. field_titre_italique: String
  45. #
  46. edition: [Taxoterm]
  47. lien_reference: Link
  48. text_de_depart: [Textref]
  49. text_produits: [Textprod]
  50. text_en_rebond: [Textref]
  51. tags: [Taxoterm]
  52. degres_detrangement: Int
  53. notes: [Noteref]
  54. field_creations: [Creation]
  55. }
  56. type Textprod implements NodeInterface & TextInterface & MapItemInterface {
  57. id: Int!
  58. uuid: String!
  59. bundle: String!
  60. title: String!
  61. path: String!
  62. author: String
  63. texte: String
  64. images: [Image]
  65. videos: [VideoLink]
  66. fichiers: [File]
  67. familles: [Taxoterm]
  68. auteurs: [Auteur]
  69. field_titre_regular: String
  70. field_titre_italique: String
  71. #
  72. text_de_depart: [Textref]
  73. text_en_rebond: [Textref]
  74. tagsprod: [Taxoterm]
  75. notes: [Noteprod]
  76. }
  77. type Creation implements NodeInterface & MapItemInterface {
  78. id: Int!
  79. uuid: String!
  80. bundle: String!
  81. title: String!
  82. path: String!
  83. author: String
  84. texte: String
  85. auteurs: [Auteur]
  86. oeuvre: Link
  87. date: Date # field_date
  88. rebonds: [Creation] # field_rebonds
  89. texte_de_depart: [Textref] # field_texte_de_depart
  90. images: [Image]
  91. fichiers: [File]
  92. }
  93. type Static implements NodeInterface {
  94. id: Int!
  95. uuid: String!
  96. bundle: String!
  97. title: String!
  98. path: String!
  99. author: String
  100. texte: String
  101. notes: [Noteprod]
  102. fichiers: [File]
  103. burger: Boolean
  104. poid: Int
  105. }
  106. interface NoteInterface {
  107. note: String
  108. numero: Int
  109. }
  110. type Noteref implements NoteInterface {
  111. note: String
  112. numero: Int
  113. #
  114. liens: [TextInterface]
  115. }
  116. type Noteprod implements NoteInterface {
  117. note: String
  118. numero: Int
  119. #
  120. liens: [TextInterface]
  121. }
  122. type Filefield {
  123. file: File!
  124. description: String
  125. }
  126. type File {
  127. fid: String!
  128. uuid: String!
  129. filename: String!
  130. filemime: String!
  131. filesize: String!
  132. url: String!
  133. }
  134. type Taxoterm {
  135. id: Int!
  136. uuid: String!
  137. name: String!
  138. vocabulary: String
  139. }
  140. type Auteur {
  141. id: Int!
  142. uuid: String!
  143. name: String!
  144. first_name: String
  145. last_name: String
  146. }
  147. type VideoLink {
  148. url: String
  149. }
  150. type Image {
  151. id: Int!
  152. url: String!
  153. alt: String
  154. # style_minicard: ImageStyle
  155. # style_minicard_url: String
  156. # style_linkedmaterialcard: ImageStyle
  157. # style_linkedmaterialcard_url: String
  158. # style_cardmedium: ImageStyle
  159. # style_cardmedium_url: String
  160. # style_cardfull: ImageStyle
  161. # style_cardfull_url: String
  162. # style_articlecardmedium: ImageStyle
  163. # style_articlecardmedium_url: String
  164. # style_hd: ImageStyle
  165. # style_hd_url: String
  166. }
  167. type ImageStyle {
  168. width: Int
  169. height: Int
  170. url: String
  171. }
  172. type Link {
  173. url: String
  174. title: String
  175. }
  176. type Date {
  177. start: String
  178. end: String
  179. }