Standardize Camino query references and retire live field sidecars

This commit is contained in:
Timothy J. Aveni
2026-09-22 15:41:27 -07:00
parent 152f58a3c6
commit eba85ba158
28 changed files with 88 additions and 217 deletions
@@ -1 +1 @@
query HighlightEditorInputs { root { _qx {ref} color range {sourceRevision start end} } }
query HighlightEditorInputs { root { _camino {ref} color range {sourceRevision start end} } }
@@ -1 +1 @@
query HighlightEditorView { root { _qx {ref} color @live range {sourceRevision start end} } }
query HighlightEditorView { root { _camino {ref} color range {sourceRevision start end} } }
@@ -1 +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} } } } } }
query HighlightList($color: String!) { root { availableObjects(all: 200, where: {color: {eq: $color}}, orderBy: {range: {start: ASC}}) { entries { key node { _camino {ref} color range {sourceRevision start end} } } } } }
@@ -1 +1 @@
query HighlightScope($color: String!) { root { objects(all: 200, where: {color: {eq: $color}}) { entries { key node { _qx {ref} color range {sourceRevision start end} } } } } }
query HighlightScope($color: String!) { root { objects(all: 200, where: {color: {eq: $color}}) { entries { key node { _camino {ref} color range {sourceRevision start end} } } } } }
@@ -1,7 +1,7 @@
query HighlightWindow($color: String!) {
root {
objects(first: 2, where: {color: {eq: $color}}, orderBy: {range: {start: ASC}}) {
entries { key node { _qx {ref} color range {sourceRevision start end} } }
entries { key node { _camino {ref} color range {sourceRevision start end} } }
pageInfo { hasNextPage endCursor }
}
}
@@ -6,16 +6,16 @@ query ReaderScreen($color: String!) {
entries {
key
node {
_qx { ref }
_camino { ref }
range { sourceRevision start end }
color @live
color
excerpt
comments(all: 200) {
entries { key node { _qx { ref } content @live { text tags } } }
entries { key node { _camino { ref } content { text tags } } }
}
}
}
}
_qx { relations { highlights { aggregate { count } } } }
_camino { relations { highlights { aggregate { count } } } }
}
}
@@ -6,12 +6,12 @@ query ReplicaInputs {
entries {
key
node {
_qx { ref }
_camino { ref }
range { sourceRevision start end }
color
excerpt
comments(all: 200) {
entries { key node { _qx { ref } content { text tags } } }
entries { key node { _camino { ref } content { text tags } } }
}
}
}