feat(schema): extend version update schema with releasedAt field

This commit is contained in:
Lars Hampe 2024-10-10 22:07:20 +02:00
parent f8ad8cc0af
commit 5fc2592bd5

View File

@ -9,6 +9,7 @@ export const VersionUpdateInput = z
.enum(['draft', 'review', 'published'])
.default('draft')
.optional(),
releasedAt: z.date().or(z.string()).optional(),
})
.openapi({})
export const VersionUpdateParams = z