사용하지 않는 파일 정리 전 백업 (Phase 10 완료 후 상태)

This commit is contained in:
JiWoong Sul
2025-08-29 15:11:59 +09:00
parent a740ff10c8
commit d916b281a7
333 changed files with 53617 additions and 22574 deletions

View File

@@ -24,17 +24,17 @@ abstract class UserRepository {
/// Returns: 사용자 상세 정보
Future<Either<Failure, User>> getUserById(int id);
/// 사용자 계정 생성
/// [user] 생성할 사용자 정보 (username, email, name, role 필수)
/// [password] 초기 비밀번호 (필수, 6자 이상)
/// 사용자 계정 생성 (백엔드 API v1 준수)
/// [name] 사용자 이름 (필수)
/// [email] 이메일 (선택적)
/// [phone] 전화번호 (선택적)
/// [companiesId] 회사 ID (필수)
/// Returns: 생성된 사용자 정보 (ID 포함)
Future<Either<Failure, User>> createUser({
required String username,
required String email,
required String password,
required String name,
String? email,
String? phone,
required UserRole role,
required int companiesId,
});
/// 사용자 정보 수정
@@ -49,8 +49,8 @@ abstract class UserRepository {
/// Returns: 삭제 성공/실패 여부
Future<Either<Failure, void>> deleteUser(int id);
/// 사용자명 사용 가능 여부 확인
/// [username] 체크할 사용자
/// Returns: 사용 가능 여부 응답
Future<Either<Failure, bool>> checkUsernameAvailability(String username);
/// 사용자 이름 중복 확인 (백엔드 API v1에서는 미지원)
/// [name] 체크할 사용자 이름
/// Returns: 사용 가능 여부 응답 (항상 true 반환)
Future<Either<Failure, bool>> checkUsernameAvailability(String name);
}