Add named project snapshots

This commit is contained in:
Julian Appel 2026-07-25 22:15:22 +02:00
parent 5a0c9019af
commit 7c670fece3
21 changed files with 3076 additions and 7 deletions

View file

@ -0,0 +1,10 @@
import { z } from "zod";
import { expectedProjectRevisionSchema } from "./project-command.schemas.js";
export const createNamedProjectSnapshotSchema = z
.object({
expectedRevision: expectedProjectRevisionSchema,
name: z.string().trim().min(1).max(100),
description: z.string().trim().max(500).optional(),
})
.strict();