feat: 워치에 주변 축제 표시 (앱 축제 장, 스킨 날짜 밑 한 줄)
- /v1/watch/summary 에 events 2개: 진행 중 먼저, 이름 앞 [주최] 괄호 제거, 4초 넘으면 축제만 빼고 응답 - 앱: 내 각 다음에 근처 축제 장 (이름 · 상태 · 장소와 그날 날씨) - 스킨: 날짜 밑 "🎉 주변 축제 · 이름" 한 줄 (EventComplicationService, LONG_TEXT, 행사 없으면 숨김) - 스킨 배치: 해 구슬 162→136, 해·링 묶음 24px 아래로, 기온·비 칩 y 366 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a6a738ae61
commit
b4d028a91b
10 files changed
+208
-46
No files matched your search
@@ -27,6 +27,13 @@ class WatchSlot(WebPacketProtocol):
|
||||
rain_prob: Optional[int] = None
|
||||
|
||||
|
||||
class WatchEvent(WebPacketProtocol):
|
||||
name: str
|
||||
place_name: str
|
||||
status_label: str
|
||||
fit: Optional[str] = None
|
||||
|
||||
|
||||
class WatchTimeline(WebPacketProtocol):
|
||||
start_at: datetime
|
||||
kind: Literal["gak", "sunset"]
|
||||
@@ -45,3 +52,4 @@ class Res_WatchSummary(Res_WebPacketProtocol):
|
||||
sunset: Optional[WatchSunset] = None
|
||||
slots: list[WatchSlot] = []
|
||||
timeline: list[WatchTimeline] = []
|
||||
events: list[WatchEvent] = []
|
||||
Reference in new issue
Block a user