|
/**
|
|
* 인증 관련 타입 정의
|
|
*/
|
|
|
|
export interface LoginFormData {
|
|
userId: string;
|
|
password: string;
|
|
}
|
|
|
|
export interface LoginResponse {
|
|
success: boolean;
|
|
message?: string;
|
|
data?: any;
|
|
errorCode?: string;
|
|
}
|
|
|
|
export interface AuthStatus {
|
|
isLoggedIn: boolean;
|
|
isAdmin?: boolean;
|
|
}
|