enfr_extension.extension.graphqls 854 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. famille(id: Int!): Taxoterm
  36. }
  37. extend type Query {
  38. tag(id: Int!): Taxoterm
  39. }
  40. extend type Query {
  41. tagprod(id: Int!): Taxoterm
  42. }
  43. extend type Query {
  44. auteur(id: Int!): Auteur
  45. }
  46. extend type Query {
  47. allauteurs: [Auteur]
  48. }