From 3bade70c5feb04f651af6f2934af74023478a063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B6=8C=ED=98=81=EC=84=B1?= Date: Sat, 7 Mar 2026 01:49:38 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20ProductInspectionData=20=ED=83=80?= =?UTF-8?q?=EC=9E=85=20=EC=97=90=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - saveLocationInspection 파라미터를 Record에서 ProductInspectionData로 변경 - interface는 index signature가 없어 Record에 할당 불가 --- src/components/quality/InspectionManagement/actions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/quality/InspectionManagement/actions.ts b/src/components/quality/InspectionManagement/actions.ts index c803f0cb..2be1e123 100644 --- a/src/components/quality/InspectionManagement/actions.ts +++ b/src/components/quality/InspectionManagement/actions.ts @@ -19,6 +19,7 @@ import { executeServerAction } from '@/lib/api/execute-server-action'; import { buildApiUrl } from '@/lib/api/query-params'; import type { ProductInspection, + ProductInspectionData, InspectionStats, InspectionStatus, InspectionCalendarItem, @@ -616,7 +617,7 @@ export async function updateInspection( export async function saveLocationInspection( docId: string, locationId: string, - inspectionData: Record, + inspectionData: ProductInspectionData, constructionInfo?: { width: number | null; height: number | null;