docs/prediction-analysis.md §7 P1 권고의 "UI 미노출 탐지" 해소. event_generator 가 생산하는 카테고리 중 불법 조업 관련 3종을 READ 전용 대시보드로 통합. 대상 카테고리: - GEAR_ILLEGAL — G-01 수역·어구 / G-05 고정어구 drift / G-06 쌍끌이 - EEZ_INTRUSION — 영해 침범 / 접속수역 + 고위험 - ZONE_DEPARTURE — 특정수역 진입 (risk ≥ 40) ### 변경 - frontend/src/services/illegalFishingPatternApi.ts 신설 - 기존 /api/events 를 category 다중 병렬 조회 후 머지 (backend 변경 없음) - category '' 이면 3 카테고리 통합, 지정 시 단일 카테고리만 - size 기본 200 × 3 categories = 최대 600건, occurredAt desc 정렬 - byCategory / byLevel 집계 포함 - frontend/src/features/detection/IllegalFishingPattern.tsx 신설 (391 라인) - PageContainer + PageHeader(Ban 아이콘) + Section + KPI 5장 + 카테고리별 3장 - DataTable (occurredAt/level/category/title/mmsi/zone/status 7컬럼) - 필터: category / level / mmsi (최근 DEFAULT_SIZE 건 범위) - 상세 패널: JSON features 포함, EventList 로 네비게이션 링크 - design-system SSOT 준수: Badge intent, Select aria-label, text-* 시맨틱 토큰 - index.ts + componentRegistry.ts export/lazy 등록 - detection.json (ko/en) illegalPattern.* 네임스페이스 추가 (각 60키) - common.json (ko/en) nav.illegalFishing 추가 - V032__menu_illegal_fishing_pattern.sql - auth_perm_tree 엔트리 (rsrc_cd=detection:illegal-fishing, nav_sort=920) - ADMIN 5 ops + OPERATOR/ANALYST/FIELD/VIEWER READ - READ 전용 페이지 (처리 액션은 EventList 경유) ### 검증 - npx tsc --noEmit 통과 (0 에러) - 백엔드 변경 없음 (기존 /api/events category 필터 재사용) - Flyway V032 자동 적용 (백엔드 재배포 필요)
7 lines
348 B
TypeScript
7 lines
348 B
TypeScript
export { DarkVesselDetection } from './DarkVesselDetection';
|
|
export { GearDetection } from './GearDetection';
|
|
export { ChinaFishing } from './ChinaFishing';
|
|
export { GearIdentification } from './GearIdentification';
|
|
export { GearCollisionDetection } from './GearCollisionDetection';
|
|
export { IllegalFishingPattern } from './IllegalFishingPattern';
|