feat: Engine-Oberfläche über das Gateway: Weiterleitung mit Sandbox und Pfad-Token, Knopf auf der Karte (#1101)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@ -22,6 +22,8 @@ pub struct AppState {
|
||||
pub bootstrap_file: std::sync::OnceLock<std::path::PathBuf>,
|
||||
/// Stand der Fähigkeiten-Prüfung je Modell (nur im Speicher), für die Anzeige in der Tabelle.
|
||||
pub pruefungen: Mutex<HashMap<String, Pruefstand>>,
|
||||
/// Zugangstoken für Engine-Oberflächen (nur im Speicher, eine Stunde gültig, → #1101).
|
||||
pub engine_tokens: Mutex<HashMap<String, crate::ui::engineui::EngineToken>>,
|
||||
/// Name dieses Knotens und Messintervall (aus der Konfiguration, → #1197);
|
||||
/// ohne Eintrag gelten `lokal` und 15 s.
|
||||
pub knoten: std::sync::OnceLock<KnotenInfo>,
|
||||
@ -123,6 +125,7 @@ impl AppState {
|
||||
logs_dir: std::sync::OnceLock::new(),
|
||||
bootstrap_file: std::sync::OnceLock::new(),
|
||||
pruefungen: Mutex::new(HashMap::new()),
|
||||
engine_tokens: Mutex::new(HashMap::new()),
|
||||
knoten: std::sync::OnceLock::new(),
|
||||
db_pfad: std::sync::OnceLock::new(),
|
||||
system: std::sync::OnceLock::new(),
|
||||
|
||||
Reference in New Issue
Block a user