Files
TREK/server/src/nest/geo/geo.module.ts
T
Maurice 724c88c201 style: format server and shared with prettier
A mechanical prettier --write over server/src, server/tests, server/scripts
and shared/src with the workspaces' .prettierrc; nothing but layout and
import order changes, and every file keeps the same set of imports. shared
is formatted throughout and its format baseline is empty. The server
baseline keeps the 35 files that Prettier would grow past their lint:size
limit (they need a split first, which is not a formatting change), and the
generated entity files stay as their generator writes them.
2026-10-10 21:23:37 +02:00

20 lines
732 B
TypeScript

import { GeocodingService } from './geocoding.service';
import { Module } from '@nestjs/common';
/**
* The single Nominatim seam.
*
* A leaf that imports nothing and is registered straight in AppModule, rather
* than imported by MapsModule and AtlasModule. That is not an oversight: both
* domains reach `nominatimFetch` as a module-level primitive, because the
* bridges have to reach the very same throttle cursor from outside the
* container. An import here would claim an injection edge that does not exist.
* What the module contributes is the lifecycle hook that starts and stops the
* cache's cleanup timer.
*/
@Module({
providers: [GeocodingService],
exports: [GeocodingService],
})
export class GeoModule {}