has issues
This commit is contained in:
parent
2e112d7398
commit
c645b0f1d4
96 changed files with 2147083 additions and 5787 deletions
|
|
@ -6,8 +6,8 @@ use rustc_hash::FxHashMap;
|
|||
use crate::auth::TokenCache;
|
||||
use crate::bugsink::FrontendConfig as BugsinkFrontendConfig;
|
||||
use crate::data::{
|
||||
ActualListingData, OutcodeData, POICategoryGroup, POIData, PlaceData, PostcodeData,
|
||||
PropertyData, TravelTimeStore,
|
||||
ActualListingData, CrimeByYearData, OutcodeData, POICategoryGroup, POIData, PlaceData,
|
||||
PostcodeData, PropertyData, TravelTimeStore,
|
||||
};
|
||||
use crate::licensing::ShareBoundsCache;
|
||||
use crate::pocketbase::SuperuserTokenCache;
|
||||
|
|
@ -46,6 +46,9 @@ pub struct AppState {
|
|||
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>>,
|
||||
/// 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>,
|
||||
/// Cached PocketBase superuser token (10min TTL) to avoid rate-limiting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue