fix: types

This commit is contained in:
DIYgod
2024-09-15 02:34:03 +08:00
parent fa37a0ca2c
commit a116dd4018
+1 -1
View File
@@ -2,7 +2,7 @@ import type { apiClient } from "@renderer/lib/api-fetch"
import type { languageSchema, users } from "src/hono"
import type { z } from "zod"
export type UserModel = Omit<typeof users.$inferSelect, "emailVerified">
export type UserModel = Omit<Omit<typeof users.$inferSelect, "emailVerified">, "email">
export type ExtractBizResponse<T extends (...args: any[]) => any> = Exclude<
Awaited<ReturnType<T>>,