mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-18 17:55:27 +00:00
feat(ugc): read one model's makes with their options
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -142,6 +142,13 @@ public:
|
||||
};
|
||||
virtual std::vector<RunSummary> GetUgcRunSummaries() = 0;
|
||||
|
||||
// One model's makes (ugc_process_runs), the newest first, at most `limit`
|
||||
struct ModelRun {
|
||||
int64_t madeAt{}; // unix seconds
|
||||
ProcessRun run;
|
||||
};
|
||||
virtual std::vector<ModelRun> GetUgcModelRuns(const LWOOBJID id, const uint32_t limit) = 0;
|
||||
|
||||
virtual std::optional<ProcessInfo> GetUgcProcessInfo(const LWOOBJID id) = 0;
|
||||
|
||||
// Sets models back to pending with no attempts: one (`id`), or all of them (`id` nullopt; only the failed ones
|
||||
|
||||
Reference in New Issue
Block a user