2026-04-15-4
This commit is contained in:
@@ -14,6 +14,9 @@ import { JordanResearchService } from './jordan-research.service';
|
||||
import { AdministrativeLinkingService } from './administrative-linking.service';
|
||||
import { NeighborhoodPoint } from './entities/neighborhood-point.entity';
|
||||
import { NeighborhoodPolygon } from './entities/neighborhood-polygon.entity';
|
||||
import { MapCandidate } from './entities/map-candidate.entity';
|
||||
import { MapRefinementService } from './map-refinement.service';
|
||||
import { MapRefinementController } from './map-refinement.controller';
|
||||
import { CacheModule } from '@nestjs/cache-manager';
|
||||
import * as redisStore from 'cache-manager-redis-store';
|
||||
|
||||
@@ -27,7 +30,8 @@ import * as redisStore from 'cache-manager-redis-store';
|
||||
OsmPointWithArea,
|
||||
AdminBoundary,
|
||||
NeighborhoodPoint,
|
||||
NeighborhoodPolygon
|
||||
NeighborhoodPolygon,
|
||||
MapCandidate
|
||||
]),
|
||||
CacheModule.register({
|
||||
store: redisStore,
|
||||
@@ -36,14 +40,15 @@ import * as redisStore from 'cache-manager-redis-store';
|
||||
ttl: 3600, // 1 hour in seconds for version 1-2, or ms for v3
|
||||
}),
|
||||
],
|
||||
controllers: [GeocodingController],
|
||||
controllers: [GeocodingController, MapRefinementController],
|
||||
providers: [
|
||||
GeocodingService,
|
||||
GeocodingInitService,
|
||||
AdminBoundariesService,
|
||||
JordanResearchService,
|
||||
AdministrativeLinkingService
|
||||
AdministrativeLinkingService,
|
||||
MapRefinementService
|
||||
],
|
||||
exports: [GeocodingService],
|
||||
exports: [GeocodingService, MapRefinementService],
|
||||
})
|
||||
export class GeocodingModule {}
|
||||
|
||||
Reference in New Issue
Block a user