mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 12:43:24 +00:00
Added the Ability to Update Board Background Images After Creation
This commit is contained in:
parent
4ddb7f99fd
commit
ae6a8d69b8
6 changed files with 123 additions and 6 deletions
|
@ -8,6 +8,12 @@ export const UpdateBoard = z.object({
|
|||
})
|
||||
.min(3, {
|
||||
message: 'Title must be at least 3 characters',
|
||||
}),
|
||||
})
|
||||
.optional(),
|
||||
id: z.string(),
|
||||
image: z.optional(
|
||||
z.string({
|
||||
invalid_type_error: 'Image must be a string',
|
||||
})
|
||||
),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue