feat: 10/20 회의 반영 — 이야기 탭을 오늘 피드로 합침(글쓰기 칸·사진 올리기·위치 정보 삭제), 오늘의 각 카드와 히어로·각 공유 템플릿, 나만의 각을 이름+날씨 조건 저장으로, 로그인 없이 좋아요(IP 해시), 피드 순서·불쾌지수 상시·포스트 그림 배경, 새 각 아이콘
This commit is contained in:
1 parent
017022a0b0
commit
d0213f41a6
81 files changed
+3503
-593
No files matched your search
@@ -16,6 +16,7 @@ class TalkData(WebPacketProtocol):
|
||||
region_name: Optional[str] = Field(None, description="쓴 사람이 고른 동네 (성남시 분당구)")
|
||||
weather: Optional[str] = Field(None, description="쓸 때 그 동네 날씨 (18° 맑음)")
|
||||
body: str
|
||||
image: Optional[str] = Field(None, description="올린 사진 주소")
|
||||
like_count: int
|
||||
liked: bool
|
||||
mine: bool
|
||||
@@ -25,6 +26,7 @@ class TalkData(WebPacketProtocol):
|
||||
class Req_Talk(Req_WebPacketProtocol):
|
||||
region_code: str = Field(min_length=10, max_length=10)
|
||||
body: str = Field(min_length=1, max_length=200, description="공백을 줄인 뒤 100자까지")
|
||||
image: Optional[str] = Field(None, max_length=200, description="먼저 올린 사진 주소 (POST /v1/talk/image 결과)")
|
||||
|
||||
|
||||
class Req_TalkReport(Req_WebPacketProtocol):
|
||||
@@ -43,3 +45,7 @@ class Res_Talk(Res_WebPacketProtocol):
|
||||
class Res_TalkLike(Res_WebPacketProtocol):
|
||||
liked: Optional[bool] = None
|
||||
like_count: Optional[int] = None
|
||||
|
||||
|
||||
class Res_TalkImage(Res_WebPacketProtocol):
|
||||
image: Optional[str] = Field(None, description="글에 붙일 사진 주소")
|
||||
Reference in new issue
Block a user