20 lines
353 B
GraphQL
20 lines
353 B
GraphQL
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
|
|
}
|
|
}
|
|
}
|
|
}
|