Phase 1: 모노레포 디렉토리 구조 구축 - 기존 React 프로젝트를 frontend/ 디렉토리로 이동 (git mv) - backend/ 디렉토리 생성 (Phase 2에서 Spring Boot 초기화) - database/migration/ 디렉토리 생성 (Phase 2에서 Flyway 마이그레이션) - 루트 .gitignore에 frontend/, backend/ 경로 반영 - 루트 CLAUDE.md를 모노레포 가이드로 갱신 - Makefile 추가 (dev/build/lint 통합 명령) - frontend/vite.config.ts에 /api → :8080 백엔드 proxy 설정 - .githooks/pre-commit을 모노레포 구조에 맞게 갱신 (frontend/ 변경 시 frontend/ 내부에서 검증) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
export interface TransferRecord {
|
|
id: string;
|
|
time: string;
|
|
vesselA: { name: string; mmsi: string };
|
|
vesselB: { name: string; mmsi: string };
|
|
distance: number;
|
|
duration: number;
|
|
speed: number;
|
|
score: number;
|
|
location: string;
|
|
}
|
|
|
|
/** Transfer detection data (3 records) — shared by TransferDetection.tsx & ChinaFishing.tsx */
|
|
export const MOCK_TRANSFERS: TransferRecord[] = [
|
|
{
|
|
id: 'TR-001',
|
|
time: '2026-01-20 13:42:11',
|
|
vesselA: { name: '장저우8호', mmsi: '412345680' },
|
|
vesselB: { name: '黑江9호', mmsi: '412345690' },
|
|
distance: 45,
|
|
duration: 52,
|
|
speed: 2.3,
|
|
score: 89,
|
|
location: '서해 중부',
|
|
},
|
|
{
|
|
id: 'TR-002',
|
|
time: '2026-01-20 11:15:33',
|
|
vesselA: { name: '江苏如东號', mmsi: '412345683' },
|
|
vesselB: { name: '산동위해호', mmsi: '412345691' },
|
|
distance: 38,
|
|
duration: 67,
|
|
speed: 1.8,
|
|
score: 92,
|
|
location: '서해 북부',
|
|
},
|
|
{
|
|
id: 'TR-003',
|
|
time: '2026-01-20 09:23:45',
|
|
vesselA: { name: '辽宁大连號', mmsi: '412345682' },
|
|
vesselB: { name: '무명선박-D', mmsi: '412345692' },
|
|
distance: 62,
|
|
duration: 41,
|
|
speed: 2.7,
|
|
score: 78,
|
|
location: 'EEZ 북부',
|
|
},
|
|
];
|