Export template source from 122c862dccc4a1825f19cc8d4eb1095e5661f1ea:examples/local-first/packages/language-reader-presentation
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
query CachedResults($after: Cursor) {
|
||||
root {
|
||||
results(first: 256, after: $after) {
|
||||
entries { node {
|
||||
configuration
|
||||
data { key kind featureRevision sourceRevision start end status output error createdAt }
|
||||
feature {_camino {ref}}
|
||||
request {progress {status reason}}
|
||||
} }
|
||||
pageInfo {hasNextPage endCursor}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
query Conversation {
|
||||
root {
|
||||
reader { _camino { ref } }
|
||||
configuration
|
||||
data { key kind status output error }
|
||||
request {
|
||||
progress { status reason attempt generation }
|
||||
questions(first: 8) { entries { node { data {key title options status answer attempt generation} } } }
|
||||
}
|
||||
thread {
|
||||
data { title kind }
|
||||
active {
|
||||
progress { status reason attempt generation }
|
||||
questions(first: 8) { entries { node { data {key title options status answer attempt generation} } } }
|
||||
}
|
||||
items(first: 100, orderBy: {data: {sequence: DESC}}) {
|
||||
entries { node { request { _camino {ref} } data {key kind text phase sequence} } }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
query DocumentContent {
|
||||
root {
|
||||
library { _camino { ref } }
|
||||
reader { _camino { ref } }
|
||||
canonical { data { title } }
|
||||
adaptation
|
||||
data { title text sourceRevision source url attribution }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
query Document {
|
||||
root {
|
||||
reader {_camino {ref}}
|
||||
canonical {data {title}}
|
||||
adaptation
|
||||
data { title text sourceRevision source url attribution }
|
||||
jobs(first: 1024) { entries { node {
|
||||
configuration
|
||||
data { key kind featureRevision sourceRevision start end status output error createdAt }
|
||||
feature { _camino { ref } }
|
||||
request { progress { status reason } }
|
||||
} } }
|
||||
results(first: 1024) { entries { node {
|
||||
configuration
|
||||
data { key kind featureRevision sourceRevision start end status output error createdAt }
|
||||
feature { _camino { ref } }
|
||||
request { progress { status reason } }
|
||||
} } pageInfo {hasNextPage endCursor} }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
fragment Navigation on ReadingNavigation { document { _camino { ref } } reading { displayMode position } annotationTarget {start end} viewports {client width height expiresAt} cursor { anchor focus size } ui {page panel section sourceTab} settingsReader {_camino {ref} library {_camino {ref}} vocabulary {_camino {ref}} palette {text accent} data {name size width font background configRevision} features(first:200) {entries {node {_camino {ref}}}}} settingsFeature {_camino {ref}} builder {style reveal color options} prompts {name change followup generate} draft { title text custom } }
|
||||
@@ -0,0 +1,20 @@
|
||||
query Reader {
|
||||
root {
|
||||
name
|
||||
archivedTypes
|
||||
readers(first: 40) { entries { node { library {_camino {ref}} vocabulary {_camino {ref}} palette {text accent} data {name size width font background configRevision} features(first: 200) {entries {node {_camino {ref}}}} } } }
|
||||
defaultVocabulary {_camino {ref}}
|
||||
defaultReader {_camino {ref}}
|
||||
inferenceProfile
|
||||
documents(first: 100) { entries { node { archived data { title source url attribution } } } }
|
||||
features(first: 200) { entries { node { authoring {_camino {ref}} options data { name processor style reveal generation scope color enabled configRevision } } } }
|
||||
tasks(first: 20, where: {data: {kind: {in: ["customize", "text"]}}}, orderBy: {data: {createdAt: DESC}}) { entries { node {
|
||||
reader {_camino {ref}}
|
||||
document {_camino {ref}}
|
||||
configuration
|
||||
data { key kind status error createdAt }
|
||||
request { progress { status reason attempt generation } }
|
||||
thread { data { title kind } active { progress {status reason attempt generation} } }
|
||||
} } }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
query VocabularyLists($search: String!, $after: Cursor) {
|
||||
root { vocabularies(first: 30, after: $after, where: {name: {containsInsensitive: $search}}, orderBy: {name: ASC}) {
|
||||
entries {node {name}}
|
||||
pageInfo {hasNextPage endCursor}
|
||||
} }
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
query Vocabulary($search: String!, $after: Cursor) {
|
||||
root {
|
||||
name
|
||||
draft {
|
||||
word
|
||||
}
|
||||
words(first: 250, after: $after, where: { text: { containsInsensitive: $search } }, orderBy: { text: ASC }) {
|
||||
entries {
|
||||
node {
|
||||
text
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user