// ============================================================
// 登录/注册 — 类型定义
// ============================================================

// ---------- 登录 ----------

export interface LoginFormValues {
   username: string;
   password: string;
   remember: boolean;
   autoLogin: boolean;
}

// ---------- 注册（个人版） ----------

export interface RegisterFormValues {
   username: string;
   password: string;
   confirmPassword: string;
   phone: string;
   sms_code: string;
   device_id: string;
   device_label: string;
   display_name: string;
   referral_code: string;
}

// 从 ui/ 重新导出通用字段类型（保持向后兼容）
export type { FieldRule, InputType, FieldConfig } from '@/shared/components/types';
