// types/auth.ts
export interface LoginForm {
    email: string
    password: string
}

export interface RegisterForm {
    first_name: string
    last_name: string
    email: string
    password: string
    passwordConfirm: string
}

export interface User {
    id: number
    email: string
    full_name: string
    first_name?: string
    last_name?: string
    inn?: string | null
    phone?: string | null
    city?: string | null
    org_type?: string | null
    org_full_name?: string | null
    org_short_name?: string | null
    org_inn?: string | null
    email_verified_at?: string | null
    created_at: string
    updated_at: string

    // Статистика (если есть в API)
    objects_count?: number
    reviews_count?: number
    active_objects_count?: number
    moderation_objects_count?: number
}