mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-23 23:46:35 +00:00
refactor(addons): the transit-provider setting and photo-provider routes move into the shared kernel
AddonsService read the transit backend through transit/transit-provider.ts and built photo-provider endpoint paths with memories.helpers, so the addons domain, which nearly every domain imports for its gates, depended on transit and memories. Both are free functions over a repository or plain strings; they move unchanged to common/, where the transit and admin sides read them too.
This commit is contained in:
@@ -3,44 +3,21 @@
|
||||
"domainCycles": [
|
||||
"accommodations -> assignments",
|
||||
"accommodations -> places",
|
||||
"addons -> memories",
|
||||
"addons -> transit",
|
||||
"assignments -> days",
|
||||
"assignments -> journey",
|
||||
"atlas -> addons",
|
||||
"auth -> plugins",
|
||||
"budget -> addons",
|
||||
"days -> accommodations",
|
||||
"days -> assignments",
|
||||
"days -> places",
|
||||
"geo -> maps",
|
||||
"integrations -> addons",
|
||||
"integrations -> assignments",
|
||||
"integrations -> atlas",
|
||||
"integrations -> journey",
|
||||
"integrations -> places",
|
||||
"integrations -> reservations",
|
||||
"journey -> addons",
|
||||
"journey -> atlas",
|
||||
"journey -> memories",
|
||||
"journey -> photos",
|
||||
"maps -> geo",
|
||||
"memories -> addons",
|
||||
"memories -> photos",
|
||||
"photos -> memories",
|
||||
"places -> accommodations",
|
||||
"places -> assignments",
|
||||
"places -> atlas",
|
||||
"places -> journey",
|
||||
"plugins -> trips",
|
||||
"plugins -> vacay",
|
||||
"reservations -> accommodations",
|
||||
"reservations -> assignments",
|
||||
"reservations -> budget",
|
||||
"reservations -> days",
|
||||
"reservations -> integrations",
|
||||
"transit -> days",
|
||||
"transit -> reservations",
|
||||
"trip-members -> auth",
|
||||
"trip-members -> trips",
|
||||
"trip-read-model -> trip-members",
|
||||
@@ -57,11 +34,8 @@
|
||||
"nest/common/validate-route-guards.ts -> nest/public-api/api-token.guard.ts"
|
||||
],
|
||||
"domainInternals": [
|
||||
"addons -> memories/memories.helpers.ts",
|
||||
"addons -> settings/instance-api-keys.ts",
|
||||
"addons -> transit/transit-provider.ts",
|
||||
"admin -> llm-parse/llm-config.ts",
|
||||
"admin -> memories/memories.helpers.ts",
|
||||
"atlas -> geo/nominatim.client.ts",
|
||||
"atlas -> public-api/public-api-request.ts",
|
||||
"auth -> maps/maps.helpers.ts",
|
||||
|
||||
Reference in New Issue
Block a user