Skip to content

Commit 6d7b99e

Browse files
Merge #1630
1630: Enable limit and offset according to documentation. r=curquiza a=reijovosu # Pull Request ## Related issue Fixes #<issue_number> ## What does this PR do? - Enables limit and offset according to documentation: https://www.meilisearch.com/docs/reference/api/documents ## PR checklist Please check if your PR fulfills the following requirements: - [ ] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [ ] Have you read the contributing guidelines? - [ ] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: Reijo Vosu <[email protected]>
2 parents 12dbd46 + cbf832e commit 6d7b99e

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)