enfr_extension.base.graphqls 2.9 KB

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