fix: types

This commit is contained in:
DIYgod
2025-03-05 21:29:23 +08:00
parent 6588b3e7f4
commit 0be6255d0b
+7 -1
View File
@@ -6,7 +6,13 @@ declare const _apiClient: ReturnType<typeof hc<AppType>>
export type UserModel = Omit<
typeof users.$inferSelect,
"createdAt" | "updatedAt" | "email" | "emailVerified" | "twoFactorEnabled" | "isAnonymous"
| "createdAt"
| "updatedAt"
| "email"
| "emailVerified"
| "twoFactorEnabled"
| "isAnonymous"
| "suspended"
> & {
email?: string
}