enfr_extension.base.graphqls 2.5 KB

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