mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-30 08:30:05 +00:00
724c88c201
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.
20 lines
732 B
TypeScript
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 {}
|