23 lines
1.2 KiB
C++
23 lines
1.2 KiB
C++
// SPDX-License-Identifier: GPL-3.0-only
|
|
#pragma once
|
|
#include "modern/ui/catalog.hpp"
|
|
#include <cstddef>
|
|
|
|
namespace bmh::modern_ui {
|
|
// Read-only review of a completed, validated UI recording. Passing its last
|
|
// sequence acknowledges UI playback completion, never engine match completion.
|
|
// The recording, its identities and every original outcome remain unchanged.
|
|
Json make_demo_post_match(const Json &live_fixture, size_t completed_sequence);
|
|
// Optional externally supplied nominations, explicitly bound to this recording.
|
|
// No nominations/ratings are derived from catalogue strength or live events.
|
|
Json make_demo_post_match(const Json &live_fixture, size_t completed_sequence,
|
|
const Json &records);
|
|
// {kind:"review"|"report", completed_sequence:uint,
|
|
// fixture_id?:string, revision?:uint, match_id?:string, minute?:uint}
|
|
// match_id/minute are report-only. Minute seeking selects an existing recorded
|
|
// frame; it does not interpolate scores, calculate ratings or execute actions.
|
|
Json query_demo_post_match(const Json &live_fixture, const Json &request);
|
|
Json query_demo_post_match(const Json &live_fixture, const Json &request,
|
|
const Json &records);
|
|
} // namespace bmh::modern_ui
|