#pragma once

#include "common.h"
#include <maps/wikimap/mapspro/libs/poi_feed/include/magic_strings.h>
#include <yandex/maps/wiki/revision/revisionid.h>
#include <yandex/maps/wiki/revision/snapshot.h>

namespace maps::wiki::poi {

using namespace maps::wiki::revision;
using ObjectIdToCommitIdMap = std::unordered_map<DBID, DBID>;

void updateMapWithRecentSlaveRevisions(
    const DBIDSet& poiIds,
    const Snapshot& tds,
    ObjectIdToCommitIdMap& objectIdToMaxCommitId);

} // namespace maps::wiki::poi
