enfr_extension.base.graphqls 3.2 KB

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