Saving tasks in UI (#346)

Co-authored-by: Muhammed Salih Altun <muhammedsalihaltun@gmail.com>
This commit is contained in:
Kerem Yilmaz
2024-05-20 08:27:36 -07:00
committed by GitHub
parent 5acdddf67e
commit dc10ea3c32
27 changed files with 1513 additions and 325 deletions

View File

@@ -0,0 +1,8 @@
import { z } from "zod";
export const taskTemplateFormSchema = z.object({
title: z.string().min(1, "Title can't be empty"),
description: z.string(),
});
export type TaskTemplateFormValues = z.infer<typeof taskTemplateFormSchema>;