Files
asan-installer-front/src/types/index.ts
T
2024-08-06 13:41:27 +03:30

46 lines
839 B
TypeScript

import React from "react"
export interface LoginFormInterface {
phoneNumber: string,
password: string
}
export interface ResetPasswordInterface {
password: string,
repeatPassword: string
}
export interface ForgotPasswordInterface {
phoneNumber: string
}
export interface LoginWithCodeInterface {
phoneNumber: string
}
export interface ResetPasswordCodeInterface {
code: string
}
export interface LoginCodeInterface {
code: string
}
export interface RegisterInterface {
name: string,
family: string,
city: object,
capCity: object,
marketName: string,
phoneNumber: string,
password: string,
repeatPassword: string,
}
export interface SidebarInterface {
name: string,
title: string,
route: string,
icon: React.ReactNode,
activeIcon: React.ReactNode
}