webhook through event system, extract data-generators adapter

webhook route now emits WebhookDataReceived event instead of directly
mutating DataProjection and broadcasting. event_handler applies data
and pushes incremental DataUpdate.

clock/static_text generators extracted to data-generators crate behind
DataSourcePort. chrono removed from bootstrap. polling adapters grouped
into Adapters struct.
This commit is contained in:
2026-06-19 12:33:42 +02:00
parent 437056cfc4
commit 455d5da901
9 changed files with 216 additions and 116 deletions

13
Cargo.lock generated
View File

@@ -226,9 +226,8 @@ version = "0.1.0"
dependencies = [
"anyhow",
"application",
"chrono",
"chrono-tz",
"config-sqlite",
"data-generators",
"domain",
"dotenvy",
"http-api",
@@ -467,6 +466,16 @@ dependencies = [
"cipher",
]
[[package]]
name = "data-generators"
version = "0.1.0"
dependencies = [
"chrono",
"chrono-tz",
"domain",
"thiserror",
]
[[package]]
name = "der"
version = "0.7.10"