14 lines
651 B
C++
14 lines
651 B
C++
// SPDX-License-Identifier: GPL-3.0-only
|
|
#pragma once
|
|
#include "modern/ui/catalog.hpp"
|
|
|
|
namespace bmh::modern_ui {
|
|
// Deterministic, presentation-only statistics. Request: section 0..8 (default
|
|
// 7), category 0/1/5, country 0..5, winner_country an actual nation ID,
|
|
// absolute boolean and curves an array of six booleans. No state is mutated.
|
|
// Table cells carry text and optional actual club/player/nation references.
|
|
// Unknown fields, malformed filters and unavailable countries are rejected.
|
|
Json demo_statistics(const Catalog &, const Json &full_state,
|
|
const Json &request = Json::object());
|
|
} // namespace bmh::modern_ui
|