Skip to content

Batches typing issues #1876

@mdubus

Description

@mdubus

Description
When working with batches, I encountered some issues with typing:

  • Batch type is not exported from meilisearch. It has to be imported from meilisearch/src/batch
  • batchUids doesn't exist in the TasksQuery type (but the query with it works perfectly fine, having me think it was forgotten)

Expected behavior
We should be able to import the Batch type from meilisearch directly.
Using the batchUids as a parameter shouldn't throw a typescript error.

Screenshots or Logs

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions