mirror of
https://github.com/ahmadk953/tasko.git
synced 2025-05-04 12:43:24 +00:00
Formated Files
This commit is contained in:
parent
d5631b309a
commit
e768d9181f
138 changed files with 1829 additions and 1851 deletions
|
@ -1,14 +1,16 @@
|
|||
import { z } from "zod";
|
||||
import { z } from 'zod';
|
||||
|
||||
export const CreateBoard = z.object({
|
||||
title: z.string({
|
||||
required_error: "Title is required",
|
||||
invalid_type_error: "Title must be a string",
|
||||
}).min(3, {
|
||||
message: "Title must be at least 3 characters",
|
||||
}),
|
||||
title: z
|
||||
.string({
|
||||
required_error: 'Title is required',
|
||||
invalid_type_error: 'Title must be a string',
|
||||
})
|
||||
.min(3, {
|
||||
message: 'Title must be at least 3 characters',
|
||||
}),
|
||||
image: z.string({
|
||||
required_error: "Image is required",
|
||||
invalid_type_error: "Image must be a string",
|
||||
})
|
||||
});
|
||||
required_error: 'Image is required',
|
||||
invalid_type_error: 'Image must be a string',
|
||||
}),
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue