NodePartial.gql 574 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # This fragment queries data needed for an object to be displayed as a `MiniNodeCard`
  2. fragment NodePartial on MapItemInterface {
  3. id
  4. ... on TextInterface {
  5. content: texte
  6. images {
  7. id
  8. url
  9. alt
  10. }
  11. }
  12. ... on Textprod {
  13. tags: tagsprod {
  14. id
  15. name
  16. }
  17. }
  18. ... on Textref {
  19. tags {
  20. id
  21. name
  22. }
  23. strangeness: degres_detrangement
  24. }
  25. ... on Creation {
  26. content: texte,
  27. piece: oeuvre {
  28. url,
  29. title
  30. }
  31. files: fichiers {
  32. filemime
  33. url
  34. }
  35. }
  36. # For debug
  37. path
  38. }