12 lines
218 B
TypeScript
12 lines
218 B
TypeScript
![]() |
import { z } from "zod"
|
||
|
|
||
|
export const taskSchema = z.object({
|
||
|
id: z.string(),
|
||
|
title: z.string(),
|
||
|
status: z.string(),
|
||
|
label: z.string(),
|
||
|
priority: z.string(),
|
||
|
})
|
||
|
|
||
|
export type Task = z.infer<typeof taskSchema>
|