API mission
This commit is contained in:
22
src/mission/mission_enqueue.hpp
Normal file
22
src/mission/mission_enqueue.hpp
Normal 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
|
||||
Reference in New Issue
Block a user