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

This commit is contained in:
jason
2026-04-21 09:29:44 -05:00
parent 41b06f89c0
commit fc5bce4868
19 changed files with 1469 additions and 190 deletions
+23
View File
@@ -235,3 +235,26 @@ export const UpdateOperationSchema = z
export const ReorderOperationsSchema = z.object({
order: z.array(z.string().min(1)).min(1),
});
// ---- operator scan actions ----------------------------------------------
// A scan-page "Pause" — stops the clock but does not complete the step. The
// operator can enter a partial unit count before dropping the claim.
export const ReleaseOperationSchema = z.object({
unitsProcessed: z.coerce.number().int().min(0).max(1_000_000).nullable().optional(),
note: OptionalText,
});
// A scan-page "Done". If the operation was flagged qcRequired the operator
// must stamp an inline pass/fail before we allow the close.
export const CloseOperationSchema = z.object({
unitsProcessed: z.coerce.number().int().min(0).max(1_000_000).nullable().optional(),
note: OptionalText,
qc: z
.object({
passed: z.boolean(),
notes: OptionalText,
measurements: JsonString,
})
.optional(),
});