import type { EnumOption } from '@/types/employee';

export type AppearanceMode = 'light' | 'dark' | 'system';

export type UserProfile = {
    full_name: string | null;
    phone_number: string | null;
    gender: string | null;
    gender_label: string | null;
    birth_date_input: string | null;
    address: string | null;
    profile_photo_url: string | null;
};

export type ProfileUser = {
    id: number;
    email: string;
    username: string;
    profile: UserProfile | null;
};

export type ProfileFormData = {
    email: string;
    username: string;
    full_name: string;
    phone_number: string;
    gender: string;
    birth_date: string;
    address: string;
};

export type PasswordFormData = {
    current_password: string;
    password: string;
    password_confirmation: string;
};

export type AppearanceFormData = {
    appearance: AppearanceMode;
};

export type { EnumOption };
