diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2024-01-16 16:08:43 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2024-01-16 16:08:43 +0700 |
| commit | a70fd5b6d9c7a769ac1aaa22a7d037ba3be27a05 (patch) | |
| tree | 825d6b5de089bb22003bb2a517d371dc291f1962 /src-migrate/types/auth.ts | |
| parent | d9dafa74857959974e9d379dc1a3abfbaf2af83d (diff) | |
Update improve product detail performance
Diffstat (limited to 'src-migrate/types/auth.ts')
| -rw-r--r-- | src-migrate/types/auth.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/types/auth.ts b/src-migrate/types/auth.ts index 4f69bb96..02e3623d 100644 --- a/src-migrate/types/auth.ts +++ b/src-migrate/types/auth.ts @@ -1,5 +1,5 @@ import { registerSchema } from '~/validations/auth'; -import { OdooApiProps } from './odoo'; +import { OdooApiRes } from './odoo'; import { z } from 'zod'; export type AuthProps = { @@ -17,7 +17,7 @@ export type AuthProps = { token: string; }; -export type AuthApiProps = OdooApiProps & { result: AuthProps }; +export type AuthApiProps = OdooApiRes<AuthProps>; export type RegisterProps = z.infer<typeof registerSchema>; |
