fix(tactical): resolve DTO types and TS1272 build error for isolatedModules
This commit is contained in:
+49
@@ -0,0 +1,49 @@
|
||||
import { LineOfSightBodyDto, LineOfSightQueryDto } from './dto/line-of-sight.dto';
|
||||
import { ArtilleryMissionRequestDto, SaveScenarioDto } from './dto/tactical.dto';
|
||||
import { TacticalService } from './tactical.service';
|
||||
export declare class TacticalController {
|
||||
private readonly tacticalService;
|
||||
constructor(tacticalService: TacticalService);
|
||||
getLineOfSight(query: LineOfSightQueryDto): Promise<any>;
|
||||
getLosAlias(query: LineOfSightQueryDto): Promise<any>;
|
||||
postLineOfSight(body: LineOfSightBodyDto): Promise<any>;
|
||||
postLosAlias(body: LineOfSightBodyDto): Promise<any>;
|
||||
calculateArtilleryFireMission(dto: ArtilleryMissionRequestDto): Promise<{
|
||||
fireMissionId: string;
|
||||
caliber: string;
|
||||
muzzleVelocityMs: number;
|
||||
distanceMeters: number;
|
||||
distanceKm: number;
|
||||
azimuthDegrees: number;
|
||||
azimuthMils: number;
|
||||
gunElevationMeters: number;
|
||||
targetElevationMeters: number;
|
||||
apexAltitudeMeters: number;
|
||||
timeOfFlightSeconds: number;
|
||||
lowAngle: {
|
||||
degrees: number;
|
||||
mils: number;
|
||||
};
|
||||
highAngle: {
|
||||
degrees: number;
|
||||
mils: number;
|
||||
};
|
||||
hasCrestClearance: boolean;
|
||||
criticalObstacle: any;
|
||||
trajectoryPoints: any[];
|
||||
}>;
|
||||
assessHLZ(lat: string, lng: string, radius?: string): Promise<{
|
||||
centerLat: number;
|
||||
centerLng: number;
|
||||
searchRadiusMeters: number;
|
||||
totalAssessed: number;
|
||||
suitableCount: number;
|
||||
zones: any[];
|
||||
}>;
|
||||
saveScenario(body: SaveScenarioDto): Promise<{
|
||||
success: boolean;
|
||||
count: number;
|
||||
name: string;
|
||||
}>;
|
||||
getScenario(name?: string): Promise<import("./tactical.service").TacticalSymbol[]>;
|
||||
}
|
||||
Reference in New Issue
Block a user