Files

20 lines
353 B
GraphQL
Raw Permalink Normal View History

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
}
}
}
}