#pragma once

#include <yandex/maps/wiki/revision/branch.h>

namespace maps::wiki::revision_meta {

const revision::Branch::LockId GLOBAL_LOCK_ID        = 0;
const revision::Branch::LockId REVISION_META_LOCK_ID = 1;
const revision::Branch::LockId EDITOR_TOOL_LOCK_ID   = 2;
const revision::Branch::LockId GEOLOCKS_LOCK_ID      = 3;
const revision::Branch::LockId MAINTAIN_LOCK_ID      = 4;

const revision::Branch::LockId TO_APPROVE_LOCK_ID =
    MAINTAIN_LOCK_ID; // branch.type == approved
const revision::Branch::LockId REMOVE_EXPIRED_ASYNC_TASKS_LOCK_ID =
    MAINTAIN_LOCK_ID; // branch.type == trunk;

// branch.type == approved
const revision::Branch::LockId TO_SYNC_LABELS_LOCK_ID = 5;
const revision::Branch::LockId TO_SYNC_BBOXES_LOCK_ID = 6;

} // namespace maps::wiki::revision_meta
