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 { id: number; name: string; email: string; cellphone: string; gpid: string; enabled: number; type_id: number; type: string; gender_id: number; gender: string; image_url: string; country_code: string; country: string; location_id: string; location: string; user_level_id: number; level: string; points: number; registry_unix_time: number; session: Session; } export interface LoginCredentials { employee_id: string | null; } export interface SignupCredentials { fullname: string | null; employee_id: string | null; acceptTerms: boolean; } export type LoginForm = ControlsOf; export type SignupForm = ControlsOf;