Expose project revision timeline
This commit is contained in:
parent
4b47bc2bcc
commit
5a0c9019af
14 changed files with 365 additions and 8 deletions
8
src/shared/validation/project-history.schemas.ts
Normal file
8
src/shared/validation/project-history.schemas.ts
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import { z } from "zod";
|
||||
|
||||
export const listProjectRevisionsQuerySchema = z
|
||||
.object({
|
||||
limit: z.coerce.number().int().min(1).max(100).default(25),
|
||||
beforeRevision: z.coerce.number().int().positive().optional(),
|
||||
})
|
||||
.strict();
|
||||
Loading…
Add table
Add a link
Reference in a new issue