26 lines
422 B
TypeScript
26 lines
422 B
TypeScript
/**
|
|
* 인증 관련 타입 정의
|
|
*/
|
|
|
|
export interface LoginFormData {
|
|
user_id: string;
|
|
password: string;
|
|
}
|
|
|
|
export interface LoginResponse {
|
|
success: boolean;
|
|
message?: string;
|
|
data?: {
|
|
token?: string;
|
|
user_info?: any;
|
|
first_menu_path?: string | null;
|
|
pop_landing_path?: string | null;
|
|
};
|
|
error_code?: string;
|
|
}
|
|
|
|
export interface AuthStatus {
|
|
isLoggedIn: boolean;
|
|
isAdmin?: boolean;
|
|
}
|