import { ControlsOf } from '@/shared/forms/form-validations'; export interface Session { access_unixtime: number; expire_unixtime: number; } export interface Login extends Session { token: string; } export interface UserData { name: string; lastname: string; fullname: string; email: string; employee_id: string; enabled: number; type_id: number; type: string; gender_id: number; gender: string; image_url: string; country_code: string; country: string; registry_unix_time: number; enabled_unix_time: number; area: string; has_breakout: boolean; session: Session; } export interface LoginCredentials { email: string | null; } export type LoginForm = ControlsOf; export interface SignupCredentials { name: string | null; lastname1: string | null; lastname2: string | null; email: string | null; emailc: string | null; professional_license: string | null; speciality: number | null; state: number | null; acceptPrivacy: boolean; } export type SignupForm = ControlsOf;