meilisearch / meilisearch-js

JavaScript client for the Meilisearch API

Home Page:https://www.meilisearch.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

status `canceled` is missing on `TaskStatus` type

nicolasvienot opened this issue · comments

Description
In Meilisearch v0.30.0, the feature Cancel 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 the TaskStatus type on meilisearch-js.

Expected behavior
TaskStatus type should contain Canceled

Current behavior
Error when using type TaskStatus from outside