feat: 댓글 신고·차단·약관 동의(관리 스크립트 포함), 구글 로그인(서버·웹·안드로이드 앱), 앱 패키지 kr.o2o.nalssigak·versionCode 1000
This commit is contained in:
1 parent
fbebdcb796
commit
3f3a3ea039
35 files changed
+1723
-115
No files matched your search
@@ -1,7 +1,8 @@
|
||||
import uuid
|
||||
from datetime import date, datetime
|
||||
from typing import Optional
|
||||
|
||||
from common.enums import PostType
|
||||
from common.enums import PostType, ReportReason
|
||||
from common.models.gmodel import Req_WebPacketProtocol, Res_WebPacketProtocol, WebPacketProtocol
|
||||
|
||||
|
||||
@@ -55,3 +56,18 @@ class Res_Comment(Res_WebPacketProtocol):
|
||||
class Res_CommentLike(Res_WebPacketProtocol):
|
||||
liked: Optional[bool] = None
|
||||
like_count: Optional[int] = None
|
||||
|
||||
|
||||
class Req_Report(Req_WebPacketProtocol):
|
||||
reason: ReportReason
|
||||
|
||||
|
||||
class BlockedUser(WebPacketProtocol):
|
||||
user_id: uuid.UUID
|
||||
nickname: str
|
||||
character: str
|
||||
color: str
|
||||
|
||||
|
||||
class Res_BlockedList(Res_WebPacketProtocol):
|
||||
users: list[BlockedUser] = []
|
||||
Reference in new issue
Block a user