사용자 계정 관리 API 연동 및 기능 개선

- 사용자 비밀번호 변경 API 추가
- 메뉴 권한 관리 API 추가 (조회/저장)
- 인증 방법 수정 API 추가
- 사용자 권한 업데이트 API 추가
- 계정 관리 UI 컴포넌트 개선
- Docker 및 Makefile 설정 업데이트

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-09-26 14:22:37 +09:00
parent 43e7eefefa
commit dd2fa9d6f3
25 changed files with 999 additions and 261 deletions

View File

@@ -1,6 +1,7 @@
import {
DefaulResponsePagination,
DefaultRequestPagination
DefaultRequestPagination,
ErrorResponse,
} from '@/entities/common/model/types';
export interface LoginParams {
@@ -28,16 +29,19 @@ export interface LoginResponse {
};
export interface UserInfo extends LoginResponse {
status: boolean;
error?: ErrorResponse;
}
export interface UserParams {
status: boolean;
error?: ErrorResponse;
};
export interface UserListItem {
usrid: string;
idCl: string;
status: string;
tid: string;
}
export interface UserFindResponse extends DefaulResponsePagination {
@@ -56,6 +60,8 @@ export interface UserExistsUseridParams {
export interface UserFindAuthMethodParams {
mid: string;
usrid: string;
idCl: string;
status: string;
page?: DefaultRequestPagination;
};
@@ -68,16 +74,86 @@ export interface UserExistsUseridResponse {
exists: boolean;
};
export interface AuthMethodModifyItem {
usrid: string;
systemAdminClassId: string;
idCl: string;
authMethodType: string;
sequence: number;
content: string;
}
export interface UserModifyAuthMethodParams {
addMethods?: Array<AuthMethodModifyItem>;
removeMethods?: Array<AuthMethodModifyItem>;
};
export interface UserModifyAuthMethodResponse {
status: boolean;
error?: ErrorResponse;
};
export interface UserUpdatePermissionsParams {
mid: string;
usrid: string;
idCl: string;
status: string;
}
export interface UserUpdatePermissionsResponse {
status: boolean;
error?: ErrorResponse;
}
export interface UserMenuPermissionsParams {
mid: string;
usrid: string;
}
export interface UserMenuPermissionsResponse {
status: boolean;
data: Array<UserMenuPermissionData>;
}
export interface UserMenuPermissionsSaveParams {
mid: string;
namsUserMenuAccess: Array<UserMenuPermissionData>;
}
export interface UserMenuPermissionsSaveResponse {
status: boolean;
error?: ErrorResponse;
}
export interface UserMenuPermissionData {
menuId: number;
usrid: string;
grant: number;
}
export interface ChangePasswordParams {
mid: string;
usrid: string;
password: string;
}
export interface ChangePasswordResponse {
status: boolean;
error?: ErrorResponse;
}
export interface VerificationsItem {
type: string;
contact: string;
};
export interface UserCreateParams {
userId: string;
mid: string;
usrid: string;
password: string;
loginRange: string;
verification: Array<VerificationsItem>
verifications: Array<VerificationsItem>
};
export interface UserData {