enfr_extension.base.graphqls 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. interface NoteInterface {
  78. note: String
  79. numero: Int
  80. }
  81. type Noteref implements NoteInterface {
  82. note: String
  83. numero: Int
  84. }
  85. type Noteprod implements NoteInterface {
  86. note: String
  87. numero: Int
  88. #
  89. liens: [TextInterface]
  90. }
  91. type Filefield {
  92. file: File!
  93. description: String
  94. }
  95. type File {
  96. fid: String!
  97. uuid: String!
  98. filename: String!
  99. filemime: String!
  100. filesize: String!
  101. url: String!
  102. }
  103. type Taxoterm {
  104. id: Int!
  105. uuid: String!
  106. name: String!
  107. vocabulary: String
  108. }
  109. type Auteur {
  110. id: Int!
  111. uuid: String!
  112. name: String!
  113. first_name: String
  114. last_name: String
  115. }
  116. type VideoLink {
  117. url: String
  118. }
  119. type Image {
  120. id: Int!
  121. url: String!
  122. alt: String
  123. # style_minicard: ImageStyle
  124. # style_minicard_url: String
  125. # style_linkedmaterialcard: ImageStyle
  126. # style_linkedmaterialcard_url: String
  127. # style_cardmedium: ImageStyle
  128. # style_cardmedium_url: String
  129. # style_cardfull: ImageStyle
  130. # style_cardfull_url: String
  131. # style_articlecardmedium: ImageStyle
  132. # style_articlecardmedium_url: String
  133. # style_hd: ImageStyle
  134. # style_hd_url: String
  135. }
  136. type ImageStyle {
  137. width: Int
  138. height: Int
  139. url: String
  140. }
  141. type Link {
  142. url: String
  143. title: String
  144. }