enfr_extension.base.graphqls 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  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. }
  74. interface NoteInterface {
  75. note: String
  76. numero: Int
  77. }
  78. type Noteref implements NoteInterface {
  79. note: String
  80. numero: Int
  81. }
  82. type Noteprod implements NoteInterface {
  83. note: String
  84. numero: Int
  85. #
  86. liens: [TextInterface]
  87. }
  88. type Filefield {
  89. file: File!
  90. description: String
  91. }
  92. type File {
  93. fid: String!
  94. uuid: String!
  95. filename: String!
  96. filemime: String!
  97. filesize: String!
  98. url: String!
  99. }
  100. type Taxoterm {
  101. id: Int!
  102. uuid: String!
  103. name: String!
  104. vocabulary: 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. }