260615_01_FST: First Commit
This commit is contained in:
18
src/types/auth.ts
Normal file
18
src/types/auth.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
export type LoginRequest = {
|
||||
userId: string;
|
||||
userPw: string;
|
||||
};
|
||||
|
||||
export type LoginResponse = {
|
||||
accessToken: string;
|
||||
user: LoginUser;
|
||||
};
|
||||
|
||||
export type LoginUser = {
|
||||
userId: string;
|
||||
userName: string;
|
||||
userCmpn: string;
|
||||
userTeam: string;
|
||||
userRole: number;
|
||||
userDetail: Record<string, string>;
|
||||
};
|
||||
Reference in New Issue
Block a user