TextCard.gql 689 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. #import "../fragments/TextCardFields.gql"
  2. query TextRef ($id: Int!) {
  3. text: texte (id: $id) {
  4. ...TextCardFields
  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. tags {
  20. id
  21. name
  22. }
  23. # degres_detrangement: Int
  24. notes {
  25. note
  26. number: numero
  27. }
  28. }
  29. ... on Textprod {
  30. tags: tagsprod {
  31. id
  32. name
  33. }
  34. notes {
  35. note
  36. number: numero
  37. links: liens {
  38. id
  39. }
  40. }
  41. }
  42. }
  43. }