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;