Skip to content

Commit cbf832e

Browse files
committed
enable limit and offset according to documentation: https://www.meilisearch.com/docs/reference/api/documents
1 parent 874cfe0 commit cbf832e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,8 @@ export type RawDocumentAdditionOptions = DocumentOptions & {
286286
export type DocumentsQuery<T = Record<string, any>> = ResourceQuery & {
287287
fields?: Fields<T>
288288
filter?: Filter
289+
limit?: number
290+
offset?: number
289291
}
290292

291293
export type DocumentQuery<T = Record<string, any>> = {

0 commit comments

Comments
 (0)