enfr_extension.base.graphqls 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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. liens: [TextInterface]
  111. }
  112. type Noteprod implements NoteInterface {
  113. note: String
  114. numero: Int
  115. #
  116. liens: [TextInterface]
  117. }
  118. type Filefield {
  119. file: File!
  120. description: String
  121. }
  122. type File {
  123. fid: String!
  124. uuid: String!
  125. filename: String!
  126. filemime: String!
  127. filesize: String!
  128. url: String!
  129. }
  130. type Taxoterm {
  131. id: Int!
  132. uuid: String!
  133. name: String!
  134. vocabulary: String
  135. }
  136. type Auteur {
  137. id: Int!
  138. uuid: String!
  139. name: String!
  140. first_name: String
  141. last_name: String
  142. }
  143. type VideoLink {
  144. url: String
  145. }
  146. type Image {
  147. id: Int!
  148. url: String!
  149. alt: String
  150. # style_minicard: ImageStyle
  151. # style_minicard_url: String
  152. # style_linkedmaterialcard: ImageStyle
  153. # style_linkedmaterialcard_url: String
  154. # style_cardmedium: ImageStyle
  155. # style_cardmedium_url: String
  156. # style_cardfull: ImageStyle
  157. # style_cardfull_url: String
  158. # style_articlecardmedium: ImageStyle
  159. # style_articlecardmedium_url: String
  160. # style_hd: ImageStyle
  161. # style_hd_url: String
  162. }
  163. type ImageStyle {
  164. width: Int
  165. height: Int
  166. url: String
  167. }
  168. type Link {
  169. url: String
  170. title: String
  171. }
  172. type Date {
  173. start: String
  174. end: String
  175. }