/**
 * 카테고리 타입 정의
 */
export interface Category {
  id: string;
  name: string;
  order: number;
  isDefault?: boolean;
  isActive?: boolean;
  createdAt?: string;
  updatedAt?: string;
}

export interface CategoryDialogProps {
  isOpen: boolean;
  onOpenChange: (open: boolean) => void;
  mode: 'add' | 'edit';
  category?: Category;
  onSubmit: (name: string) => void;
  isLoading?: boolean;
}