Add report workflow

This commit is contained in:
gabdevele
2026-06-02 20:04:59 +02:00 Unverified
parent 54aa4cb73e
commit bff22ea83a
9 changed files with 295 additions and 52 deletions
+6 -1
View File
@@ -20,6 +20,7 @@ class ReportService
Json::Value updateStatus(const auth::UserContext &user,
long long reportId,
const Json::Value &body);
Json::Value takeReport(const auth::UserContext &user, long long reportId);
Json::Value addMessage(const auth::UserContext &user,
long long reportId,
const Json::Value &body);
@@ -30,8 +31,12 @@ class ReportService
Json::Value addFeedback(const auth::UserContext &user,
long long reportId,
const Json::Value &body);
Json::Value canAddPhoto(const auth::UserContext &user, long long reportId);
Json::Value addPhoto(const auth::UserContext &user,
long long reportId,
const std::string &url);
const std::string &url,
const std::string &originalFilename,
const std::string &contentType,
size_t sizeBytes);
};
} // namespace visione::services