feat: add homepage & auth

This commit is contained in:
2024-02-23 19:36:10 +07:00
parent d579c1b7c5
commit 735fa9354b
42 changed files with 981 additions and 70 deletions
+2 -1
View File
@@ -17,4 +17,5 @@ export const user = sqliteTable("users", {
export const insertUserSchema = createInsertSchema(user);
export const selectUserSchema = createSelectSchema(user);
export type UserSchema = z.infer<typeof selectUserSchema>;
export type UserWithPassword = z.infer<typeof selectUserSchema>;
export type UserSchema = Omit<UserWithPassword, "password">;