mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
53e884ad55
Move the tag SQL from src/services/tagService.ts into TagsService over an injected DatabaseService (identical statements, #10b981 default, COALESCE semantics). Non-Nest consumers (MCP tools, plugin RPC host) go through the new tags.bridge.ts, which exports the legacy function names 1:1 from a module-level instance over the shared db Proxy — the settled pattern for the remaining legacy-service migrations (recipe documented in src/nest/README.md). Tests are DI-native: direct service construction in unit (with bridge delegation cases for the coverage gate) and DatabaseModule + real SQL in e2e.