fix(tactical): resolve DTO types and TS1272 build error for isolatedModules
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
import { Repository, DataSource } from 'typeorm';
|
||||
import { CandidateRoad } from './candidate-road.entity';
|
||||
import { RoadSegmentStat } from './road-stat.entity';
|
||||
export declare class RoadRefinementController {
|
||||
private readonly candidateRepo;
|
||||
private readonly roadStatRepo;
|
||||
private readonly dataSource;
|
||||
private readonly logger;
|
||||
constructor(candidateRepo: Repository<CandidateRoad>, roadStatRepo: Repository<RoadSegmentStat>, dataSource: DataSource);
|
||||
getSummary(): Promise<{
|
||||
roads: {
|
||||
analyzed: number;
|
||||
closed: number;
|
||||
};
|
||||
candidates: {
|
||||
total: number;
|
||||
pending: number;
|
||||
};
|
||||
}>;
|
||||
getCandidates(status?: string): Promise<any>;
|
||||
submitManualCandidate(body: {
|
||||
geojson: any;
|
||||
name?: string;
|
||||
highway?: string;
|
||||
}): Promise<{
|
||||
success: boolean;
|
||||
candidate: any;
|
||||
}>;
|
||||
approveCandidate(id: string): Promise<{
|
||||
success: boolean;
|
||||
id: string;
|
||||
status: string;
|
||||
}>;
|
||||
rejectCandidate(id: string): Promise<{
|
||||
success: boolean;
|
||||
id: string;
|
||||
status: string;
|
||||
}>;
|
||||
getClosures(): Promise<any>;
|
||||
discoverOvertureGaps(): Promise<{
|
||||
success: boolean;
|
||||
candidatesFound: number;
|
||||
message: string;
|
||||
} | {
|
||||
success: boolean;
|
||||
candidatesFound: any;
|
||||
message?: undefined;
|
||||
}>;
|
||||
discoverClosures(): Promise<{
|
||||
success: boolean;
|
||||
roadsClosed: number;
|
||||
}>;
|
||||
snapExistingApprovedRoads(): Promise<{
|
||||
success: boolean;
|
||||
message: string;
|
||||
}>;
|
||||
}
|
||||
Reference in New Issue
Block a user