#pragma once

#include <maps/wikimap/mapspro/services/social/src/libs/common/db_pools.h>
#include <maps/wikimap/mapspro/libs/assessment/include/console.h>

namespace maps::wiki::socialsrv {

struct TokenResult
{
    DbToken token;
};

struct PostGradeResult
{
    maps::wiki::assessment::Grade grade;
    DbToken token;
};

struct PostGradeRequest
{
    maps::wiki::assessment::Entity entity;
    maps::wiki::assessment::Action action;
    maps::wiki::assessment::Grade::Value gradeValue;
    std::optional<std::string> comment;
};

} // namespace maps::wiki::socialsrv
