mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
refactor(realtime): the websocket welcome frame reads the running version from app-config
The gateway imported hostVersion from the plugin install code to put the version in its welcome frame, which made the realtime domain, imported by nearly every other, depend on plugins. The running version (image VERSION or APP_VERSION, else package.json) is app config; runningVersion() holds it and the plugin host-compat checks call the same function.
This commit is contained in:
@@ -12,27 +12,10 @@
|
||||
"assignments -> mcp-shared",
|
||||
"assignments -> realtime",
|
||||
"atlas -> addons",
|
||||
"auth -> budget",
|
||||
"auth -> files",
|
||||
"auth -> notifications",
|
||||
"auth -> plugins",
|
||||
"budget -> addons",
|
||||
"budget -> mcp-shared",
|
||||
"budget -> realtime",
|
||||
"calendar -> days",
|
||||
"calendar -> reservations",
|
||||
"categories -> mcp-shared",
|
||||
"collab -> addons",
|
||||
"collab -> files",
|
||||
"collab -> mcp-shared",
|
||||
"collab -> notifications",
|
||||
"collab -> realtime",
|
||||
"collections -> addons",
|
||||
"collections -> notifications",
|
||||
"collections -> places",
|
||||
"collections -> realtime",
|
||||
"day-notes -> mcp-shared",
|
||||
"day-notes -> realtime",
|
||||
"days -> accommodations",
|
||||
"days -> assignments",
|
||||
"days -> mcp-shared",
|
||||
@@ -55,7 +38,6 @@
|
||||
"journey -> memories",
|
||||
"journey -> photos",
|
||||
"journey -> realtime",
|
||||
"llm-parse -> addons",
|
||||
"maps -> geo",
|
||||
"mcp-shared -> realtime",
|
||||
"memories -> addons",
|
||||
@@ -63,10 +45,6 @@
|
||||
"memories -> photos",
|
||||
"memories -> realtime",
|
||||
"notifications -> realtime",
|
||||
"packing -> addons",
|
||||
"packing -> mcp-shared",
|
||||
"packing -> notifications",
|
||||
"packing -> realtime",
|
||||
"photos -> memories",
|
||||
"places -> accommodations",
|
||||
"places -> assignments",
|
||||
@@ -74,29 +52,9 @@
|
||||
"places -> journey",
|
||||
"places -> mcp-shared",
|
||||
"places -> realtime",
|
||||
"plugins -> accommodations",
|
||||
"plugins -> addons",
|
||||
"plugins -> assignments",
|
||||
"plugins -> atlas",
|
||||
"plugins -> budget",
|
||||
"plugins -> categories",
|
||||
"plugins -> collab",
|
||||
"plugins -> collections",
|
||||
"plugins -> day-notes",
|
||||
"plugins -> days",
|
||||
"plugins -> files",
|
||||
"plugins -> journey",
|
||||
"plugins -> llm-parse",
|
||||
"plugins -> notifications",
|
||||
"plugins -> packing",
|
||||
"plugins -> places",
|
||||
"plugins -> realtime",
|
||||
"plugins -> reservations",
|
||||
"plugins -> todo",
|
||||
"plugins -> trips",
|
||||
"plugins -> vacay",
|
||||
"realtime -> journey",
|
||||
"realtime -> plugins",
|
||||
"reservations -> accommodations",
|
||||
"reservations -> assignments",
|
||||
"reservations -> budget",
|
||||
@@ -105,48 +63,17 @@
|
||||
"reservations -> mcp-shared",
|
||||
"reservations -> notifications",
|
||||
"reservations -> realtime",
|
||||
"todo -> addons",
|
||||
"todo -> mcp-shared",
|
||||
"todo -> realtime",
|
||||
"transit -> days",
|
||||
"transit -> mcp-shared",
|
||||
"transit -> reservations",
|
||||
"trip-members -> auth",
|
||||
"trip-members -> budget",
|
||||
"trip-members -> notifications",
|
||||
"trip-members -> realtime",
|
||||
"trip-members -> trips",
|
||||
"trip-read-model -> accommodations",
|
||||
"trip-read-model -> budget",
|
||||
"trip-read-model -> collab",
|
||||
"trip-read-model -> days",
|
||||
"trip-read-model -> files",
|
||||
"trip-read-model -> packing",
|
||||
"trip-read-model -> places",
|
||||
"trip-read-model -> reservations",
|
||||
"trip-read-model -> todo",
|
||||
"trip-read-model -> trip-members",
|
||||
"trip-read-model -> trips",
|
||||
"trips -> accommodations",
|
||||
"trips -> addons",
|
||||
"trips -> budget",
|
||||
"trips -> calendar",
|
||||
"trips -> collab",
|
||||
"trips -> days",
|
||||
"trips -> files",
|
||||
"trips -> mcp-shared",
|
||||
"trips -> packing",
|
||||
"trips -> places",
|
||||
"trips -> realtime",
|
||||
"trips -> reservations",
|
||||
"trips -> todo",
|
||||
"trips -> trip-members",
|
||||
"trips -> trip-read-model",
|
||||
"trips -> vacay",
|
||||
"vacay -> addons",
|
||||
"vacay -> auth",
|
||||
"vacay -> notifications",
|
||||
"vacay -> realtime"
|
||||
"vacay -> auth"
|
||||
],
|
||||
"sharedImportsDomain": [
|
||||
"nest/common/idempotency-cleanup.job.ts -> nest/audit/audit-log.logger.ts",
|
||||
@@ -201,7 +128,6 @@
|
||||
"plugins -> maps/maps.helpers.ts",
|
||||
"plugins -> notifications/channel-registry.ts",
|
||||
"plugins -> notifications/notification-events.ts",
|
||||
"realtime -> plugins/install/host-compat.ts",
|
||||
"receipt-scan -> llm-parse/image-input.ts",
|
||||
"reservation-import -> integrations/airtrail.dto.ts",
|
||||
"reservation-import -> llm-parse/image-input.ts",
|
||||
|
||||
Reference in New Issue
Block a user