Standardize Camino query references and retire live field sidecars
This commit is contained in:
@@ -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 } } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user