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,12 +1,14 @@
|
|||
import { z } from "zod";
|
||||
import { z } from 'zod';
|
||||
|
||||
export const CreateCard = z.object({
|
||||
title: z.string({
|
||||
required_error: "Card title is required",
|
||||
invalid_type_error: "Card title must be a string",
|
||||
}).min(2, {
|
||||
message: "Card title must be at least 2 characters",
|
||||
}),
|
||||
title: z
|
||||
.string({
|
||||
required_error: 'Card title is required',
|
||||
invalid_type_error: 'Card title must be a string',
|
||||
})
|
||||
.min(2, {
|
||||
message: 'Card title must be at least 2 characters',
|
||||
}),
|
||||
boardId: z.string(),
|
||||
listId: z.string(),
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue