enfr_extension.base.graphqls 3.1 KB

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