fix(tactical): resolve DTO types and TS1272 build error for isolatedModules
This commit is contained in:
+12
-1
@@ -3,6 +3,7 @@ import type { Cache } from 'cache-manager';
|
||||
import { PlaceSyria } from './entities/place-syria.entity';
|
||||
import { PlaceJordan } from './entities/place-jordan.entity';
|
||||
import { PlaceEgypt } from './entities/place-egypt.entity';
|
||||
import { PlaceIraq } from './entities/place-iraq.entity';
|
||||
import { BasePlace } from './entities/base-place.entity';
|
||||
import { OsmArea } from './entities/osm-area.entity';
|
||||
import { OsmPointWithArea } from './entities/osm-point-with-area.entity';
|
||||
@@ -10,12 +11,13 @@ export declare class GeocodingService {
|
||||
private placesSyriaRepository;
|
||||
private placesJordanRepository;
|
||||
private placesEgyptRepository;
|
||||
private placesIraqRepository;
|
||||
private osmAreasRepository;
|
||||
private osmPointsRepository;
|
||||
private cacheManager;
|
||||
private readonly logger;
|
||||
private readonly DB_TIMEOUT_MS;
|
||||
constructor(placesSyriaRepository: Repository<PlaceSyria>, placesJordanRepository: Repository<PlaceJordan>, placesEgyptRepository: Repository<PlaceEgypt>, osmAreasRepository: Repository<OsmArea>, osmPointsRepository: Repository<OsmPointWithArea>, cacheManager: Cache);
|
||||
constructor(placesSyriaRepository: Repository<PlaceSyria>, placesJordanRepository: Repository<PlaceJordan>, placesEgyptRepository: Repository<PlaceEgypt>, placesIraqRepository: Repository<PlaceIraq>, osmAreasRepository: Repository<OsmArea>, osmPointsRepository: Repository<OsmPointWithArea>, cacheManager: Cache);
|
||||
private getRepositoryForCoords;
|
||||
private identifyRegion;
|
||||
private getTableNameForRepo;
|
||||
@@ -42,7 +44,9 @@ export declare class GeocodingService {
|
||||
results: any;
|
||||
source?: undefined;
|
||||
}>;
|
||||
private findIraqiAddress;
|
||||
reverseGeocode(lat: number, lng: number): Promise<any[]>;
|
||||
private extractCoords;
|
||||
addPlace(data: Partial<BasePlace>): Promise<any>;
|
||||
upsertPlace(data: Partial<BasePlace>): Promise<{
|
||||
id: any;
|
||||
@@ -53,6 +57,13 @@ export declare class GeocodingService {
|
||||
processed: number;
|
||||
created: number;
|
||||
updated: number;
|
||||
failed: number;
|
||||
errors: {
|
||||
index: number;
|
||||
name?: string;
|
||||
reason: string;
|
||||
}[];
|
||||
errorsTruncated: boolean;
|
||||
}>;
|
||||
getRecentPlaces(limit?: number): Promise<any[]>;
|
||||
getAllPlacesGeoJSON(): Promise<{
|
||||
|
||||
Reference in New Issue
Block a user