Compile complete local-first reader and scope fixtures

This commit is contained in:
Timothy J. Aveni
2026-09-19 22:42:29 -07:00
parent 4c0c404a39
commit 15c132a38b
14 changed files with 469 additions and 0 deletions
@@ -0,0 +1 @@
query HighlightEditorInputs { root { _qx {ref} color range {sourceRevision start end} } }
@@ -0,0 +1 @@
query HighlightEditorView { root { _qx {ref} color @live range {sourceRevision start end} } }
@@ -0,0 +1 @@
query HighlightList($color: String!) { root { availableObjects(all: 200, where: {color: {eq: $color}}, orderBy: {range: {start: ASC}}) { entries { key node { _qx {ref} color @live range {sourceRevision start end} } } } } }
@@ -0,0 +1 @@
query HighlightScope($color: String!) { root { objects(all: 200, where: {color: {eq: $color}}) { entries { key node { _qx {ref} color range {sourceRevision start end} } } } } }
@@ -0,0 +1,21 @@
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 } } } }
}
}
@@ -0,0 +1,20 @@
query ReplicaInputs {
root {
sourceRevision
content
highlights(all: 1000) {
entries {
key
node {
_qx { ref }
range { sourceRevision start end }
color
excerpt
comments(all: 200) {
entries { key node { _qx { ref } content { text tags } } }
}
}
}
}
}
}