/**
 * Transaction domain types
 * These types define the core business logic for transactions.
 * They are independent of the DataTable implementation.
 */

export type TransactionStatus = "success" | "failed" | "pending" | "cancelled";

export interface Transaction {
  id: string;
  userId: string;
  profilePicture: string;
  name: string;
  date: string;
  email: string;
  title: string;
  amount: number;
  credits: number;
  status: TransactionStatus;
}
