Files
2026-07-13 12:58:18 +08:00

12 lines
308 B
TypeScript

import { z } from "zod";
import { UserSchema, TaskSchema } from "@/lib/types";
export const AgentStateSchema = z.object({
projectName: z.string(),
projectDescription: z.string(),
users: z.array(UserSchema),
tasks: z.array(TaskSchema),
});
export type AgentState = z.infer<typeof AgentStateSchema>;