251113_01_ENH : 베이스 아키텍처 제작(향후 템플릿으로 사용)
This commit is contained in:
16
src/types/auth.ts
Normal file
16
src/types/auth.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export type LoginRequest = {
|
||||
userId: string;
|
||||
userPw: string;
|
||||
};
|
||||
|
||||
export type LoginUser = {
|
||||
id: string;
|
||||
name: string;
|
||||
email: string;
|
||||
};
|
||||
|
||||
export type LoginResponse = {
|
||||
accessToken: string;
|
||||
refreshToken?: string;
|
||||
user: LoginUser;
|
||||
};
|
||||
Reference in New Issue
Block a user