You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
In Meilisearch v0.30.0, the feature Cancel processing and enqueued taskshas been added.
By doing so, they added a task status canceled.
It's documented here.
The status canceled is missing on the TaskStatus type on meilisearch-js.
Expected behavior TaskStatus type should contain Canceled
Current behavior
Error when using type TaskStatus from outside
The text was updated successfully, but these errors were encountered:
1561: fix(type): add canceled status to type TaskStatus r=atoulmet a=nicolasvienot
# Pull Request
## Related issue
Fixes#1560
## What does this PR do?
In Meilisearch `v0.30.0`, the feature `Cancel processing and enqueued tasks` [has been added](https://github.com/meilisearch/meilisearch/releases/tag/v0.30.0).
By doing so, they added a task status `canceled`. It's documented [here](https://www.meilisearch.com/docs/reference/api/tasks#status).
The status `canceled` is missing in the type `TaskStatus` in meilisearch-js.
- Add `canceled` status to `TaskStatus` type
- Update a test in the cancel part of the task tests
## PR checklist
Please check if your PR fulfills the following requirements:
- [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)?
- [x] Have you read the contributing guidelines?
- [x] 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: nicolasvienot <[email protected]>
Description
In Meilisearch
v0.30.0
, the featureCancel processing and enqueued tasks
has been added.By doing so, they added a task status
canceled
.It's documented here.
The status
canceled
is missing on theTaskStatus
type on meilisearch-js.Expected behavior
TaskStatus
type should containCanceled
Current behavior
Error when using type
TaskStatus
from outsideThe text was updated successfully, but these errors were encountered: