feat(schema): extend version update schema with releasedAt field
This commit is contained in:
parent
f8ad8cc0af
commit
5fc2592bd5
@ -9,6 +9,7 @@ export const VersionUpdateInput = z
|
|||||||
.enum(['draft', 'review', 'published'])
|
.enum(['draft', 'review', 'published'])
|
||||||
.default('draft')
|
.default('draft')
|
||||||
.optional(),
|
.optional(),
|
||||||
|
releasedAt: z.date().or(z.string()).optional(),
|
||||||
})
|
})
|
||||||
.openapi({})
|
.openapi({})
|
||||||
export const VersionUpdateParams = z
|
export const VersionUpdateParams = z
|
||||||
|
Loading…
Reference in New Issue
Block a user