Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Sep 14, 2024
1 parent fa37a0c commit a116dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/models/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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>>,
Expand Down

0 comments on commit a116dd4

Please sign in to comment.