mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
shared zod types and drizzle schema
This commit is contained in:
22
packages/shared/src/index.ts
Normal file
22
packages/shared/src/index.ts
Normal 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";
|
||||
Reference in New Issue
Block a user