Formated Files

This commit is contained in:
Ahmad 2024-02-15 20:49:19 -05:00
parent d5631b309a
commit e768d9181f
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
138 changed files with 1829 additions and 1851 deletions

View file

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