fix: 프로젝트 전체 TypeScript 타입에러 408개 수정 (tsc --noEmit 0 errors)

- 공통 템플릿 타입 수정 (IntegratedDetailTemplate, UniversalListPage)
- 페이지(app/[locale]) 타입 호환성 수정 (80개)
- 재고/자재 모듈 타입 수정 (StockStatus, ReceivingManagement)
- 생산 모듈 타입 수정 (WorkOrders, WorkerScreen, WorkResults)
- 주문/출고 모듈 타입 수정 (ShipmentManagement, Orders)
- 견적/단가 모듈 타입 수정 (Quotes, Pricing)
- 건설 모듈 타입 수정 (49개, 17개 하위 모듈)
- HR 모듈 타입 수정 (CardManagement, VacationManagement 등)
- 설정 모듈 타입 수정 (PermissionManagement, AccountManagement 등)
- 게시판 모듈 타입 수정 (BoardManagement, BoardList 등)
- 회계 모듈 타입 수정 (VendorManagement, BadDebtCollection 등)
- 기타 모듈 타입 수정 (CEODashboard, clients, vehicle 등)
- 유틸/훅/API 타입 수정 (hooks, contexts, lib)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
유병철
2026-01-30 10:07:58 +09:00
parent 8a5cbde5ef
commit a1f4c82cec
154 changed files with 832 additions and 536 deletions

View File

@@ -28,20 +28,26 @@ import {
} from "@/components/ui/select";
import { Package } from "lucide-react";
// 품목 타입
// 품목 타입 - actions.ts의 OrderItem과 호환
export interface OrderItem {
id: string;
itemCode: string; // 품목코드
itemId?: number;
itemCode?: string; // 품목코드
itemName: string; // 품명
type: string; // 층
symbol: string; // 부호
spec: string; // 규격
width: number; // 가로 (mm)
height: number; // 로 (mm)
specification?: string;
type?: string; //
symbol?: string; // 부호
spec?: string; // 규격
width?: number; // 로 (mm)
height?: number; // 세로 (mm)
quantity: number; // 수량
unit: string; // 단위
unit?: string; // 단위
unitPrice: number; // 단가
amount: number; // 금액
supplyAmount?: number;
taxAmount?: number;
totalAmount?: number;
amount?: number; // 금액
sortOrder?: number;
guideRailType?: string; // 가이드레일 타입
finish?: string; // 마감
floor?: string; // 층