protoype: list raw events on mock mode reports page

This commit is contained in:
2026-08-19 23:19:16 -06:00
parent e108e9da26
commit 002d7146d0
8 changed files with 252 additions and 128 deletions
+3
View File
@@ -12,6 +12,7 @@ import (
"ruben/inventory2/domains/authentication"
etsy_platform "ruben/inventory2/domains/platforms/etsy"
"ruben/inventory2/domains/raw_events"
"ruben/inventory2/domains/reports"
"ruben/inventory2/logging"
"ruben/inventory2/server/api"
"ruben/inventory2/server/auth"
@@ -30,6 +31,7 @@ func NewRouter(
contentDir string,
rawEvents *raw_events.Store,
accts *accounts.Store,
reps *reports.Store,
etsy *etsy_platform.Platform,
authr *authentication.Authenticator,
) *Router {
@@ -59,6 +61,7 @@ func NewRouter(
"/ui",
rawEvents,
accts,
reps,
etsy,
authM.Authenticate(),
)