#pragma once

#include <maps/wikimap/mapspro/libs/types/include/uid.h>
#include <maps/libs/enum_io/include/enum_io_fwd.h>

#include <cstdint>

namespace maps::wiki::taskutils {

enum class TaskStatus {
    Expired    = -2,
    Unknown    = -1,
    Created    = 0,
    Started    = 1,
    Done       = 2,
    Failed     = 3,
    Canceled   = 4,
    Terminated = 5,
};
DECLARE_ENUM_IO(TaskStatus);

using wiki::types::TUid;
using TaskID = uint64_t;

} // namespace maps::wiki::taskutils
