Files
quixos-protocol/test/fixtures/local-first-reader/queries/reader-screen.graphql
T

22 lines
531 B
GraphQL

query ReaderScreen($color: String!) {
root {
sourceRevision
content
highlights(all: 1000, where: {color: {eq: $color}}, orderBy: [{range: {start: ASC}}]) {
entries {
key
node {
_qx { ref }
range { sourceRevision start end }
color @live
excerpt
comments(all: 200) {
entries { key node { _qx { ref } content @live { text tags } } }
}
}
}
}
_qx { relations { highlights { aggregate { count } } } }
}
}