fix: types
This commit is contained in:
@@ -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>>,
|
||||
|
||||
Reference in New Issue
Block a user