Add Visione backend foundation
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include "common/Auth.h"
|
||||
|
||||
#include <json/json.h>
|
||||
|
||||
namespace visione::services
|
||||
{
|
||||
class AdminService
|
||||
{
|
||||
public:
|
||||
Json::Value listCategories();
|
||||
Json::Value createCategory(const auth::UserContext &user, const Json::Value &body);
|
||||
Json::Value listAreas();
|
||||
Json::Value createArea(const auth::UserContext &user, const Json::Value &body);
|
||||
Json::Value listTeams();
|
||||
Json::Value createTeam(const auth::UserContext &user, const Json::Value &body);
|
||||
Json::Value overviewStats(const auth::UserContext &user);
|
||||
};
|
||||
} // namespace visione::services
|
||||
|
||||
Reference in New Issue
Block a user