enfr_extension.base.graphqls 3.1 KB

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