import { DashboardFolder } from "indite-js/prisma"; import { z } from "zod"; export const folderSchema = z.object({ id: z.string(), createdAt: z.date(), updatedAt: z.date(), name: z.string(), parentFolderId: z.string().nullable(), workspaceId: z.string(), }) satisfies z.ZodType; export type Folder = z.infer;