feat: 오늘 히어로 D4-2 — 해 안 점수, 상태 한 줄(습도·불쾌지수·자외선·미세먼지 단계), 하루 흐름 칸이 미리보기 탭, 구름·비·눈 연출 / 각 시간대별 점수·순위 미리보기 / 자외선 시간표 단계 색 칩 / 밤 화면 어두운 아이콘 빛

This commit is contained in:
minaChoi committed 2026-10-12 15:35:34 +09:00
1 parent 4cdc8b274f
commit aa774c2a44
13 files changed
+367 -155

No files matched your search

+30
View File
@@ -595,6 +595,14 @@ export type Hero = {
* Weather Score
*/
weather_score?: number | null;
/**
* Weather Slots
*
* 오늘 구간별 날씨 점수 {morning·day·evening·night: 점수}
*/
weather_slots?: {
[key: string]: number;
};
top1?: TopIndex | null;
/**
* Bubble
@@ -618,6 +626,12 @@ export type Hero = {
* 히어로 상황 칸 1개. 지금 챙길 것(비·미세먼지·자외선·일교차·체감) 먼저
*/
stats?: Array<HeroStat>;
/**
* Status
*
* 히어로 상태 한 줄: 습도·불쾌지수·자외선(낮에만)·미세먼지 단계 이름. tone=warn 이면 조심(앱이 주황 글자로)
*/
status?: Array<HeroStat>;
};
/**
@@ -2409,6 +2423,22 @@ export type TopIndex = {
* 지금 구간이 이 각의 시간대와 겹침. false 면 순위 밖, score 는 하루 점수
*/
active?: boolean;
/**
* Slots
*
* 오늘 구간별 점수 {morning·day·evening·night: 점수}. 각 시간대와 안 겹치는 구간은 없음
*/
slots?: {
[key: string]: number;
};
/**
* Slot Ranks
*
* 오늘 구간별 순위 (점수 × 중요도 가중치). 각 시간대와 안 겹치는 구간은 없음
*/
slot_ranks?: {
[key: string]: number;
};
};
/**