backup: 사용하지 않는 파일 삭제 전 복구 지점
- 전체 371개 파일 중 82개 미사용 파일 식별 - Phase 1: 33개 파일 삭제 예정 (100% 안전) - Phase 2: 30개 파일 삭제 검토 예정 - Phase 3: 19개 파일 수동 검토 예정 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import 'package:injectable/injectable.dart';
|
||||
import 'package:superport/data/models/vendor_dto.dart';
|
||||
import 'package:superport/data/repositories/vendor_repository.dart';
|
||||
import 'package:superport/utils/constants.dart';
|
||||
import 'package:superport/core/constants/app_constants.dart';
|
||||
|
||||
abstract class VendorUseCase {
|
||||
Future<VendorListResponse> getVendors({
|
||||
int page = 1,
|
||||
int limit = PaginationConstants.defaultPageSize,
|
||||
int limit = AppConstants.vendorPageSize,
|
||||
String? search,
|
||||
bool? isActive,
|
||||
});
|
||||
@@ -28,13 +28,13 @@ class VendorUseCaseImpl implements VendorUseCase {
|
||||
@override
|
||||
Future<VendorListResponse> getVendors({
|
||||
int page = 1,
|
||||
int limit = PaginationConstants.defaultPageSize,
|
||||
int limit = AppConstants.vendorPageSize,
|
||||
String? search,
|
||||
bool? isActive,
|
||||
}) async {
|
||||
// 비즈니스 로직: 페이지네이션 유효성 검사
|
||||
if (page < 1) page = 1;
|
||||
if (limit < 1 || limit > 100) limit = 20;
|
||||
if (limit < 1 || limit > 100) limit = AppConstants.vendorPageSize;
|
||||
|
||||
return await _repository.getAll(
|
||||
page: page,
|
||||
|
||||
Reference in New Issue
Block a user