All required

This commit is contained in:
Andras Schmelczer 2026-06-06 10:45:35 +01:00
parent 44b4e0d72f
commit df63764a9f
7 changed files with 45 additions and 128 deletions

View file

@ -44,10 +44,9 @@ pub struct AppState {
pub poi_category_groups: Arc<Vec<POICategoryGroup>>,
/// Precomputed travel time data store
pub travel_time_store: Arc<TravelTimeStore>,
/// Optional real-world listings (e.g. Rightmove / Zoopla data) loaded from ACTUAL_LISTINGS_PATH.
pub actual_listings: Option<Arc<ActualListingData>>,
/// Real-world listings (e.g. Rightmove / Zoopla data) loaded from ACTUAL_LISTINGS_PATH.
pub actual_listings: Arc<ActualListingData>,
/// Per-LSOA per-year crime counts used by the right pane to plot trends.
/// Empty when the side parquet was not supplied.
pub crime_by_year: Arc<CrimeByYearData>,
/// Token validation cache (60s TTL)
pub token_cache: Arc<TokenCache>,