export type AdminCurrencyRow = {
  id: number;
  code: string;
  name: string;
  decimal_places: number;
  is_enabled: boolean;
  is_bettable: boolean;
  created_at: string | null;
  updated_at: string | null;
};

export type AdminCurrencyListData = {
  items: AdminCurrencyRow[];
};

export type AdminCurrencyDeleteResult = {
  deleted: boolean;
  id: number;
  code: string;
};

export type AdminCurrencyCreatePayload = {
  code: string;
  name: string;
  decimal_places?: number;
  is_enabled?: boolean;
  is_bettable?: boolean;
};

export type AdminCurrencyUpdatePayload = {
  name?: string;
  decimal_places?: number;
  is_enabled?: boolean;
  is_bettable?: boolean;
};
