feat: 대시보드 API 타입 swagger 기준 전면 수정 (#33) #34
No reviewers
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_WEB#34
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/SPMS-33-dashboard-api-type-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 작업 요약
🔗 관련 이슈 (Related Issues)
Closes #33
🛠️ 작업 내용 (Changes)
types.ts: swagger 기준 타입 전면 교체 (DashboardKpi, DailyStat, HourlyStat, PlatformStat, TopMessage, DashboardData)DashboardPage.tsx: map 함수 4개 수정 (mapCards, mapChart, mapMessages, mapPlatform) + hasData 조건 개선ServiceDetailPage.tsx: KPI 필드명 변경 (total_sent→total_send, success_rate→계산식)DashboardFilter.tsx: 서비스 드롭다운 제거 (전체 서비스 통합 현황만 표시)dashboard.api.ts: 미사용 fetchServiceList/ServiceOption 제거📢 리뷰어 참고 사항 (To Reviewers)
✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)
npx tsc --noEmit타입 체크 통과