gbclient/app/tasks/data/schema.ts

11 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>