gbclient/app/tables/data/schema.ts

12 lines
218 B
TypeScript
Raw Normal View History

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>