fix: ProductInspectionData 타입 에러 수정

- saveLocationInspection 파라미터를 Record<string, unknown>에서 ProductInspectionData로 변경
- interface는 index signature가 없어 Record<string, unknown>에 할당 불가
This commit is contained in:
2026-03-07 01:49:38 +09:00
parent b7c2b99c68
commit 3bade70c5f

View File

@@ -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<string, unknown>,
inspectionData: ProductInspectionData,
constructionInfo?: {
width: number | null;
height: number | null;