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