#include <maps/wikimap/mapspro/libs/taskutils/include/common.h>
#include <maps/libs/enum_io/include/enum_io.h>

namespace maps::wiki::taskutils {

constexpr enum_io::Representations<TaskStatus>
    TASK_STATUS_ENUM_REPRESENTATION
{
    {TaskStatus::Expired, "expired"},
    {TaskStatus::Unknown, "unknown"},
    {TaskStatus::Created, "created"},
    {TaskStatus::Started, "started"},
    {TaskStatus::Done, "done"},
    {TaskStatus::Failed, "failed"},
    {TaskStatus::Canceled, "canceled"},
    {TaskStatus::Terminated, "terminated"}
};

DEFINE_ENUM_IO(TaskStatus, TASK_STATUS_ENUM_REPRESENTATION)

} // namespace maps::wiki::taskutils
