enfr_extension.base.graphqls 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  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. }
  88. type Static implements NodeInterface {
  89. id: Int!
  90. uuid: String!
  91. bundle: String!
  92. title: String!
  93. path: String!
  94. author: String
  95. texte: String
  96. notes: [Noteprod]
  97. fichiers: [File]
  98. burger: Boolean
  99. poid: Int
  100. }
  101. interface NoteInterface {
  102. note: String
  103. numero: Int
  104. }
  105. type Noteref implements NoteInterface {
  106. note: String
  107. numero: Int
  108. }
  109. type Noteprod implements NoteInterface {
  110. note: String
  111. numero: Int
  112. #
  113. liens: [TextInterface]
  114. }
  115. type Filefield {
  116. file: File!
  117. description: String
  118. }
  119. type File {
  120. fid: String!
  121. uuid: String!
  122. filename: String!
  123. filemime: String!
  124. filesize: String!
  125. url: String!
  126. }
  127. type Taxoterm {
  128. id: Int!
  129. uuid: String!
  130. name: String!
  131. vocabulary: String
  132. }
  133. type Auteur {
  134. id: Int!
  135. uuid: String!
  136. name: String!
  137. first_name: String
  138. last_name: String
  139. }
  140. type VideoLink {
  141. url: String
  142. }
  143. type Image {
  144. id: Int!
  145. url: String!
  146. alt: String
  147. # style_minicard: ImageStyle
  148. # style_minicard_url: String
  149. # style_linkedmaterialcard: ImageStyle
  150. # style_linkedmaterialcard_url: String
  151. # style_cardmedium: ImageStyle
  152. # style_cardmedium_url: String
  153. # style_cardfull: ImageStyle
  154. # style_cardfull_url: String
  155. # style_articlecardmedium: ImageStyle
  156. # style_articlecardmedium_url: String
  157. # style_hd: ImageStyle
  158. # style_hd_url: String
  159. }
  160. type ImageStyle {
  161. width: Int
  162. height: Int
  163. url: String
  164. }
  165. type Link {
  166. url: String
  167. title: String
  168. }
  169. type Date {
  170. start: String
  171. end: String
  172. }