ouatt_extension.base.graphqls 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. scalar Violation
  2. interface NodeInterface {
  3. id: Int!
  4. path: String!
  5. }
  6. type Concernement implements NodeInterface {
  7. id: Int!
  8. uuid: String!
  9. bundle: String!
  10. title: String!
  11. path: String!
  12. author: String
  13. texte: String
  14. entites: [Entiteintegre]
  15. }
  16. type Entiteintegre {
  17. entite: Entite
  18. rayon: Float
  19. angle: Float
  20. }
  21. type Entite implements NodeInterface {
  22. id: Int!
  23. uuid: String!
  24. bundle: String!
  25. title: String!
  26. path: String!
  27. author: String
  28. texte: String
  29. images: [Image]
  30. fichiers: [File]
  31. liens: [Link]
  32. }
  33. type Static implements NodeInterface {
  34. id: Int!
  35. uuid: String!
  36. bundle: String!
  37. title: String!
  38. path: String!
  39. author: String
  40. texte: String
  41. }
  42. type Filefield {
  43. file: File!
  44. description: String
  45. }
  46. type File {
  47. fid: String!
  48. uuid: String!
  49. filename: String!
  50. filemime: String!
  51. filesize: String!
  52. url: String!
  53. }
  54. type Taxoterm {
  55. id: Int!
  56. uuid: String!
  57. name: String!
  58. vocabulary: String
  59. }
  60. type VideoLink {
  61. url: String
  62. }
  63. type Image {
  64. id: Int!
  65. url: String!
  66. alt: String
  67. # style_minicard: ImageStyle
  68. # style_minicard_url: String
  69. # style_linkedmaterialcard: ImageStyle
  70. # style_linkedmaterialcard_url: String
  71. # style_cardmedium: ImageStyle
  72. # style_cardmedium_url: String
  73. # style_cardfull: ImageStyle
  74. # style_cardfull_url: String
  75. # style_articlecardmedium: ImageStyle
  76. # style_articlecardmedium_url: String
  77. # style_hd: ImageStyle
  78. # style_hd_url: String
  79. }
  80. type ImageStyle {
  81. width: Int
  82. height: Int
  83. url: String
  84. }
  85. type Link {
  86. url: String
  87. title: String
  88. }
  89. type Date {
  90. start: String
  91. end: String
  92. }