feat : update type

This commit is contained in:
lukman
2024-07-25 10:08:01 +08:00
parent 6872fb51b2
commit 2f8a9ccab1
4 changed files with 11 additions and 1 deletions

View File

View File

@@ -1,5 +1,4 @@
export interface Login {
id: string
email: string
phone: string
}

View File

@@ -0,0 +1,5 @@
export interface Verification {
phone: string
otp: number
user: string
}

6
src/types/index.ts Normal file
View File

@@ -0,0 +1,6 @@
import { Login } from '@/types/auth/login';
import { Verification } from './auth/varification';
export type ILogin = Login
export type IVerification = Verification