refactor: shifting lots of stuff around

This commit is contained in:
2025-07-18 15:14:30 +01:00
parent c6ad67345e
commit a89c6dc658
13 changed files with 257 additions and 255 deletions

View File

@@ -0,0 +1,11 @@
import { literal, pipe, strictObject, string, union, uuid } from "valibot";
export const processingImagesValidator = strictObject({
ImageID: pipe(string(), uuid()),
ImageName: string(),
Status: union([
literal("not-started"),
literal("in-progress"),
literal("complete"),
]),
});