API mission

This commit is contained in:
2026-06-13 13:35:00 +07:00
parent 6f6d925fdd
commit 1a8bddb037
23 changed files with 1930 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include "mission/mission_store.hpp"
#include <nlohmann/json.hpp>
#include <optional>
#include <string>
namespace lm {
class MissionEnqueue
{
public:
static nlohmann::json normalizeParameters(const nlohmann::json& parameters);
static bool buildPayload(const MissionStore& store,
const nlohmann::json& request,
nlohmann::json& payload,
std::string& err);
};
} // namespace lm