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:
@@ -16,6 +16,7 @@ class ApiEndpoints {
|
||||
static const String equipment = '/equipments'; // 단수형 별칭
|
||||
static const String equipments = '/equipments';
|
||||
static const String equipmentHistory = '/equipment-history';
|
||||
static const String equipmentHistoryStockStatus = '/equipment-history/stock-status';
|
||||
|
||||
// 회사 관리
|
||||
static const String companies = '/companies';
|
||||
@@ -38,7 +39,14 @@ class ApiEndpoints {
|
||||
|
||||
// 우편번호 관리
|
||||
static const String zipcodes = '/zipcodes';
|
||||
static const String zipcodeHierarchySidos = '/zipcodes/hierarchy/sidos';
|
||||
static const String zipcodeHierarchyGus = '/zipcodes/hierarchy/gus';
|
||||
static const String zipcodeHierarchyEtcs = '/zipcodes/hierarchy/etcs';
|
||||
|
||||
// 검색 및 조회
|
||||
static const String lookups = '/lookups';
|
||||
// 검색 및 조회 (개별 엔드포인트로 변경 - 백엔드 실존 API 활용)
|
||||
static const String lookups = '/lookups'; // 레거시 지원
|
||||
static const String lookupsVendors = '/lookups/vendors';
|
||||
static const String lookupsCompanies = '/lookups/companies';
|
||||
static const String lookupsWarehouses = '/lookups/warehouses';
|
||||
static String lookupsModelsByVendor(int vendorId) => '/lookups/models/$vendorId';
|
||||
}
|
||||
@@ -1,13 +1,32 @@
|
||||
/// 앱 전역 상수 정의
|
||||
class AppConstants {
|
||||
// API 관련
|
||||
static const int defaultPageSize = 20;
|
||||
static const int defaultPageSize = 10;
|
||||
static const int maxPageSize = 100;
|
||||
static const Duration cacheTimeout = Duration(minutes: 5);
|
||||
|
||||
// API 타임아웃
|
||||
static const Duration apiConnectTimeout = Duration(seconds: 60);
|
||||
static const Duration apiReceiveTimeout = Duration(seconds: 60);
|
||||
// 페이지네이션 상수 (중앙 집중 관리)
|
||||
static const int minPageSize = 5; // 최소 페이지 크기
|
||||
static const int largePageSize = 20; // 대용량 데이터용
|
||||
static const int smallPageSize = 5; // 테스트/미리보기용
|
||||
static const int bulkPageSize = 100; // 대량 조회용
|
||||
static const int maxBulkPageSize = 1000; // 전체 데이터 조회용
|
||||
|
||||
// 테이블별 기본 페이지 크기 (데이터 특성에 맞춰 최적화)
|
||||
static const int equipmentPageSize = 10; // 장비 목록 (상세 정보 많음)
|
||||
static const int userPageSize = 20; // 사용자 목록 (일반적인 리스트)
|
||||
static const int companyPageSize = 10; // 회사 목록 (계층 구조 고려)
|
||||
static const int warehousePageSize = 10; // 창고 목록 (위치 정보 포함)
|
||||
static const int adminPageSize = 10; // 관리자 목록 (소수 데이터)
|
||||
static const int vendorPageSize = 10; // 제조사 목록
|
||||
static const int modelPageSize = 20; // 모델 목록
|
||||
static const int historyPageSize = 10; // 이력 목록 (상세 정보 많음)
|
||||
static const int rentPageSize = 20; // 대여 목록
|
||||
static const int maintenancePageSize = 10; // 유지보수 목록
|
||||
|
||||
// API 타임아웃 (Phase 8 2단계: 30초로 단축하여 빠른 오류 감지)
|
||||
static const Duration apiConnectTimeout = Duration(seconds: 30);
|
||||
static const Duration apiReceiveTimeout = Duration(seconds: 30);
|
||||
static const Duration healthCheckTimeout = Duration(seconds: 10);
|
||||
static const Duration loginTimeout = Duration(seconds: 10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user