fixes
Build and Push Docker Image / build (push) Successful in 1m6s

This commit is contained in:
jason
2026-04-21 20:59:55 -05:00
parent bb452a59ae
commit bc3b78aa33
17 changed files with 534 additions and 40 deletions
+8 -1
View File
@@ -163,6 +163,9 @@ export const UpdateAssemblySchema = z
name: NonEmpty.optional(),
qty: z.coerce.number().int().positive().max(100000).optional(),
notes: OptionalText,
stepFileId: z.string().min(1).nullable().optional(),
drawingFileId: z.string().min(1).nullable().optional(),
cutFileId: z.string().min(1).nullable().optional(),
})
.strict();
@@ -202,7 +205,11 @@ export const UpdatePartSchema = z
// ---- operations ---------------------------------------------------------
export const OperationStatuses = ["pending", "in_progress", "completed"] as const;
// "partial" = an operation that was started, had units logged, and then paused.
// Behaves like "pending" for claim purposes (any operator can resume it) but
// visually distinct so admins can see work-in-flight that isn't actively
// being run right now.
export const OperationStatuses = ["pending", "in_progress", "partial", "completed"] as const;
export const CreateOperationSchema = z.object({
templateId: z.string().min(1).nullable().optional(),