chore: main 병합 — 단풍·띠 좋아요, 밀림 수정, 글 주제·사진 Blob, 애드센스

This commit is contained in:
minaChoi committed 2026-10-23 15:29:15 +09:00
commit e30f41de68
31 files changed
+831 -88

No files matched your search

+9 -3
View File
@@ -65,12 +65,18 @@ LINEUP = [
(20, PostType.UV, RefType.NONE, None),
(21, PostType.HERO, RefType.NONE, None),
(22, PostType.TODAY_GAK, RefType.NONE, None),
(23, PostType.FOLIAGE, RefType.NONE, None),
(24, PostType.EVENTS_BAND, RefType.NONE, None),
(25, PostType.SEASON_BAND, RefType.NONE, None),
]
# 피드 목록 대신 히어로·오늘의 각 카드에 좋아요·댓글만 붙는 자리
_PINNED = {PostType.HERO: "hero_post", PostType.TODAY_GAK: "gak_post"}
# 피드 목록 대신 히어로·오늘의 각·단풍 지도·띠에 좋아요·댓글만 붙는 자리
_PINNED = {
PostType.HERO: "hero_post", PostType.TODAY_GAK: "gak_post", PostType.FOLIAGE: "foliage_post",
PostType.EVENTS_BAND: "events_post", PostType.SEASON_BAND: "season_post",
}
# 좋아요·댓글 단위. 이 종류들은 전국이 같은 카드 하나, 나머지는 그 구 데이터로 채우는 카드라 시도마다 따로 만든다.
NATIONAL_SCOPE = "00"
NATIONAL_TYPES = frozenset({PostType.SEASON, PostType.TIP, PostType.QUOTE, PostType.MOON})
NATIONAL_TYPES = frozenset({PostType.SEASON, PostType.TIP, PostType.QUOTE, PostType.MOON, PostType.FOLIAGE, PostType.SEASON_BAND})
def sido_of(region_code: str) -> str: