enfr_extension.extension.graphqls 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # extend type Query {
  2. # route(path: String!): NodeInterface
  3. # }
  4. extend type Query {
  5. texts: [TextInterface]
  6. }
  7. extend type Query {
  8. texte(id: Int!): TextInterface
  9. }
  10. extend type Query {
  11. textsdepart: [Textref]
  12. }
  13. extend type Query {
  14. textref(id: Int!): Textref
  15. }
  16. extend type Query {
  17. textsref(ids: [Int]): [Textref]
  18. }
  19. extend type Query {
  20. textprod(id: Int!): Textprod
  21. }
  22. extend type Query {
  23. textsprod(ids: [Int]): [Textprod]
  24. }
  25. extend type Query {
  26. allcreations: [Creation]
  27. }
  28. extend type Query {
  29. creations(ids: [Int]): [Creation]
  30. }
  31. extend type Query {
  32. creation(id: Int!): Creation
  33. }
  34. extend type Query {
  35. allstatics: [Static]
  36. }
  37. extend type Query {
  38. statics(ids: [Int]): [Static]
  39. }
  40. extend type Query {
  41. static(id: Int!): Static
  42. }
  43. extend type Query {
  44. famille(id: Int!): Taxoterm
  45. }
  46. extend type Query {
  47. alltags: [Taxoterm]
  48. }
  49. extend type Query {
  50. tag(id: Int!): Taxoterm
  51. }
  52. extend type Query {
  53. tagprod(id: Int!): Taxoterm
  54. }
  55. extend type Query {
  56. auteur(id: Int!): Auteur
  57. }
  58. extend type Query {
  59. allauteurs: [Auteur]
  60. }