export type User = {
    id: number;
    name: string;
    email: string;
    avatar?: string;
    email_verified_at: string | null;
    created_at: string;
    updated_at: string;
    [key: string]: unknown;
};

export type Workspace = {
    id: number;
    name: string;
    slug: string;
};

export type Auth = {
    user: User | null;
    workspaces?: Workspace[];
    currentWorkspace?: Workspace | null;
    workspaceRole?: 'owner' | 'manager' | 'worker' | null;
    workspaceSwitchUrl?: string | null;
};

export type TwoFactorConfigContent = {
    title: string;
    description: string;
    buttonText: string;
};
