Merge remote-tracking branch 'origin/main' into feat/apps-in-toss
# Conflicts: # TODO.md # backend/crud/user_crud.py # backend/router/v1/auth/account.py # backend/router/v1/auth/protocol.py # backend/services/auth_service.py # compose.yaml # docs/이벤트_추적.md # frontend/src/api/client/@tanstack/react-query.gen.ts # frontend/src/api/client/index.ts # frontend/src/api/client/sdk.gen.ts # frontend/src/api/client/types.gen.ts # frontend/src/b/Sheets.tsx # frontend/src/b/region.tsx # frontend/src/lib/analytics.ts
This commit is contained in:
commit
84212099e6
285 files changed
+39026
-767
No files matched your search
@@ -1,5 +1,7 @@
|
||||
from typing import Optional
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
from common.enums import AuthProvider
|
||||
from common.models.gmodel import Req_WebPacketProtocol, Res_WebPacketProtocol, WebPacketProtocol
|
||||
|
||||
@@ -24,6 +26,8 @@ class Req_TossUnlink(Req_WebPacketProtocol):
|
||||
"""토스가 보내는 모양 그대로 (camelCase)"""
|
||||
userKey: int
|
||||
referrer: str
|
||||
class Req_Google(Req_WebPacketProtocol):
|
||||
credential: str = Field(min_length=20, max_length=4096, description="구글 로그인 버튼이 준 ID 토큰")
|
||||
|
||||
|
||||
class Req_Refresh(Req_WebPacketProtocol):
|
||||
@@ -62,3 +66,7 @@ class Res_Logout(Res_WebPacketProtocol):
|
||||
|
||||
class Res_Me(Res_WebPacketProtocol):
|
||||
me: Optional[Me] = None
|
||||
|
||||
|
||||
class Res_AuthConfig(Res_WebPacketProtocol):
|
||||
google_client_id: Optional[str] = Field(None, description="구글 로그인 버튼에 쓸 OAuth 클라이언트 ID. 없으면 구글 로그인을 숨긴다")
|
||||
Reference in new issue
Block a user