feat : update type
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
export interface Login {
|
export interface Login {
|
||||||
id: string
|
id: string
|
||||||
email: string
|
|
||||||
phone: string
|
phone: string
|
||||||
}
|
}
|
||||||
5
src/types/auth/varification.ts
Normal file
5
src/types/auth/varification.ts
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
export interface Verification {
|
||||||
|
phone: string
|
||||||
|
otp: number
|
||||||
|
user: string
|
||||||
|
}
|
||||||
6
src/types/index.ts
Normal file
6
src/types/index.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
import { Login } from '@/types/auth/login';
|
||||||
|
import { Verification } from './auth/varification';
|
||||||
|
|
||||||
|
|
||||||
|
export type ILogin = Login
|
||||||
|
export type IVerification = Verification
|
||||||
Reference in New Issue
Block a user