// API Response Model
export interface ApiResponse<T = any> {
  success: boolean;
  data?: T;
  message?: string;
  errors?: any;
}

// Portfolio Model
export interface Portfolio {
  active: boolean;
  id: number;
  name: string;
  domain: string;
  path?: string;
  created_at: string;
  updated_at: string;
}

// User Model
export interface User {
  id: number;
  name: string;
  email: string;
  created_at: string;
  updated_at: string;
}

// Auth Response Models
export interface LoginResponse {
  token: string;
  user: User;
}

export interface RegisterResponse {
  token: string;
  user: User;
}

// Form Data Models
export interface LoginFormData {
  email: string;
  password: string;
  remember?: boolean;
}

export interface RegisterFormData {
  name: string;
  email: string;
  password: string;
  password_confirmation: string;
}

export interface PortfolioFormData {
  name: string;
  domain: string;
}
