shared zod types and drizzle schema

This commit is contained in:
Oliver Bryan
2025-12-13 21:36:32 +00:00
parent b2284b1b30
commit 9d381ca4ff
13 changed files with 1269 additions and 1987 deletions

View File

@@ -0,0 +1,22 @@
// Drizzle tables
export { User, Project, Issue } from "./schema";
// Types
export type {
UserRecord,
UserInsert,
ProjectRecord,
ProjectInsert,
IssueRecord,
IssueInsert,
} from "./schema";
// Zod schemas
export {
UserSelectSchema,
UserInsertSchema,
ProjectSelectSchema,
ProjectInsertSchema,
IssueSelectSchema,
IssueInsertSchema,
} from "./schema";