Added the Ability to Update Board Background Images After Creation

This commit is contained in:
Ahmad 2024-04-30 20:01:22 -04:00
parent 4ddb7f99fd
commit ae6a8d69b8
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
6 changed files with 123 additions and 6 deletions

View file

@ -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',
})
),
});