2026-08-14 14:34:27 +08:00

14 lines
337 B
TypeScript

import { z } from "zod";
export const projectSchema = z.object({
id: z.string(),
name: z.string(),
workspaceRoot: z.string(),
workspaceAvailable: z.boolean(),
conversationCount: z.number().int().nonnegative(),
createdAt: z.string(),
updatedAt: z.string(),
});
export type ProjectResponse = z.infer<typeof projectSchema>;