summaryrefslogtreecommitdiff
path: root/src-migrate/common/types/auth.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src-migrate/common/types/auth.ts')
-rw-r--r--src-migrate/common/types/auth.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/common/types/auth.ts b/src-migrate/common/types/auth.ts
index 5909584a..65fd06c7 100644
--- a/src-migrate/common/types/auth.ts
+++ b/src-migrate/common/types/auth.ts
@@ -1,6 +1,6 @@
import { registerSchema } from '../validations/auth';
import { OdooApiProps } from './odoo';
-import * as yup from 'yup';
+import { z } from 'zod';
export type AuthProps = {
id: number;
@@ -19,7 +19,7 @@ export type AuthProps = {
export type AuthApiProps = OdooApiProps & { result: AuthProps };
-export type RegisterProps = yup.InferType<typeof registerSchema>;
+export type RegisterProps = z.infer<typeof registerSchema>;
export type RegisterResApiProps = {
register: boolean;