TextCard.gql 547 B

123456789101112131415161718192021222324252627282930313233343536
  1. #import "../fragments/TextFields.gql"
  2. query TextRef ($id: Int!) {
  3. text: texte (id: $id) {
  4. ...TextFields
  5. ... on Textref {
  6. children: text_produits {
  7. id
  8. }
  9. siblings: text_en_rebond {
  10. id
  11. title
  12. authors: auteurs {
  13. name
  14. }
  15. edition {
  16. name
  17. }
  18. }
  19. }
  20. ... on Textprod {
  21. siblings: text_en_rebond {
  22. id
  23. title
  24. authors: auteurs {
  25. name
  26. }
  27. edition {
  28. name
  29. }
  30. }
  31. }
  32. }
  33. }