refactor(realtime): the gateway asks a journey-access port instead of importing the journey domain

The websocket gateway injected JourneyDomainService to decide who may join
a journey's book room, so the realtime domain, which nearly every domain
imports for its broadcasts, depended on journey and closed a cycle through
all of them. It now injects a JOURNEY_ACCESS port declared in realtime;
JourneyAccessModule (global, imported by AppModule beside the gateway
module) binds it to the same JourneyDomainService method.
This commit is contained in:
Maurice
2026-10-10 12:29:19 +02:00
parent 0c2226c5f0
commit 846d8d4952
6 changed files with 42 additions and 33 deletions
@@ -2,69 +2,44 @@
"fileCycles": [],
"domainCycles": [
"accommodations -> assignments",
"accommodations -> mcp-shared",
"accommodations -> places",
"accommodations -> realtime",
"addons -> memories",
"addons -> transit",
"assignments -> days",
"assignments -> journey",
"assignments -> mcp-shared",
"assignments -> realtime",
"atlas -> addons",
"auth -> plugins",
"budget -> addons",
"budget -> mcp-shared",
"budget -> realtime",
"days -> accommodations",
"days -> assignments",
"days -> mcp-shared",
"days -> places",
"days -> realtime",
"files -> mcp-shared",
"files -> realtime",
"geo -> maps",
"integrations -> addons",
"integrations -> assignments",
"integrations -> atlas",
"integrations -> journey",
"integrations -> mcp-shared",
"integrations -> places",
"integrations -> realtime",
"integrations -> reservations",
"journey -> addons",
"journey -> atlas",
"journey -> files",
"journey -> memories",
"journey -> photos",
"journey -> realtime",
"maps -> geo",
"mcp-shared -> realtime",
"memories -> addons",
"memories -> notifications",
"memories -> photos",
"memories -> realtime",
"notifications -> realtime",
"photos -> memories",
"places -> accommodations",
"places -> assignments",
"places -> atlas",
"places -> journey",
"places -> mcp-shared",
"places -> realtime",
"plugins -> trips",
"plugins -> vacay",
"realtime -> journey",
"reservations -> accommodations",
"reservations -> assignments",
"reservations -> budget",
"reservations -> days",
"reservations -> integrations",
"reservations -> mcp-shared",
"reservations -> notifications",
"reservations -> realtime",
"transit -> days",
"transit -> mcp-shared",
"transit -> reservations",
"trip-members -> auth",
"trip-members -> trips",