enfr_extension.base.graphqls 2.5 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. field_titre: String
  19. auteurs: [Auteur]
  20. edition: Taxoterm
  21. }
  22. type Textref implements NodeInterface & TextInterface{
  23. id: Int!
  24. uuid: String!
  25. bundle: String!
  26. title: String!
  27. path: String!
  28. author: String
  29. texte: String
  30. images: [Image]
  31. videos: [VideoLink]
  32. fichiers: [File]
  33. familles: [Taxoterm]
  34. field_titre: String
  35. auteurs: [Auteur]
  36. edition: Taxoterm
  37. #
  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. field_titre: String
  57. auteurs: [Auteur]
  58. edition: Taxoterm
  59. #
  60. text_de_depart: [Textref]
  61. text_en_rebond: [Textref]
  62. tagsprod: [Taxoterm]
  63. notes: [Noteprod]
  64. }
  65. type Creation implements NodeInterface {
  66. id: Int!
  67. uuid: String!
  68. bundle: String!
  69. title: String!
  70. path: String!
  71. author: String
  72. texte: String
  73. auteurs: [Auteur]
  74. oeuvre: Link
  75. }
  76. interface NoteInterface {
  77. note: String
  78. numero: Int
  79. }
  80. type Noteref implements NoteInterface {
  81. note: String
  82. numero: Int
  83. }
  84. type Noteprod implements NoteInterface {
  85. note: String
  86. numero: Int
  87. #
  88. liens: [TextInterface]
  89. }
  90. type Filefield {
  91. file: File!
  92. description: String
  93. }
  94. type File {
  95. fid: String!
  96. uuid: String!
  97. filename: String!
  98. filemime: String!
  99. filesize: String!
  100. url: String!
  101. }
  102. type Taxoterm {
  103. id: Int!
  104. uuid: String!
  105. name: String!
  106. vocabulary: String
  107. }
  108. type Auteur {
  109. id: Int!
  110. uuid: String!
  111. name: String!
  112. first_name: String
  113. last_name: String
  114. }
  115. type VideoLink {
  116. url: String
  117. }
  118. type Image {
  119. id: Int!
  120. url: String!
  121. alt: String
  122. # style_minicard: ImageStyle
  123. # style_minicard_url: String
  124. # style_linkedmaterialcard: ImageStyle
  125. # style_linkedmaterialcard_url: String
  126. # style_cardmedium: ImageStyle
  127. # style_cardmedium_url: String
  128. # style_cardfull: ImageStyle
  129. # style_cardfull_url: String
  130. # style_articlecardmedium: ImageStyle
  131. # style_articlecardmedium_url: String
  132. # style_hd: ImageStyle
  133. # style_hd_url: String
  134. }
  135. type ImageStyle {
  136. width: Int
  137. height: Int
  138. url: String
  139. }
  140. type Link {
  141. url: String
  142. title: String
  143. }