- 위치 API: snp-api → signal-batch 이중 케이던스 폴링 - ChnPrmShip: 1분 주기, 2시간 보존 - RecentVessel: 10분 주기, 72분 보존 - source 기반 머지/프루닝 (아이콘 깜박임 방지) - 항적 API: signal-batch v2 POST 전환, 레거시 폴백 제거 - Fastify AIS 프록시 라우트 제거 - 레거시 코드 정리 (searchAisTargets, searchChnprmship, fetchTrack) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
35 lines
715 B
TypeScript
35 lines
715 B
TypeScript
/** GET /api/v2/vessels/chnprmship/recent-positions 응답 항목 */
|
|
export interface ChnPrmShipPositionDto {
|
|
mmsi: string;
|
|
imo: number;
|
|
name: string;
|
|
callsign: string;
|
|
vesselType: string;
|
|
lat: number;
|
|
lon: number;
|
|
sog: number;
|
|
cog: number;
|
|
heading: number;
|
|
length: number;
|
|
width: number;
|
|
draught: number;
|
|
destination: string;
|
|
status: string;
|
|
signalKindCode: string;
|
|
messageTimestamp: string;
|
|
}
|
|
|
|
/** GET /api/v2/vessels/recent-positions 응답 항목 */
|
|
export interface RecentVesselPositionDto {
|
|
mmsi: string;
|
|
lon: number;
|
|
lat: number;
|
|
sog: number;
|
|
cog: number;
|
|
shipNm: string;
|
|
shipTy: string;
|
|
shipKindCode: string;
|
|
nationalCode: string;
|
|
lastUpdate: string;
|
|
}
|