import type { IResponse } from "@/types/response.types";

export interface IStatisticsData {
  totalOrders: number;
  activeFoods: number;
  totalClients: number;
  totalRevenue: number;
}

export type IStatisticsResponse = IResponse<IStatisticsData>;

export interface IPaymentChartItem {
  date: string;
  cash: number;
  online: number;
}

export type IPaymentChartResponse = IResponse<IPaymentChartItem[]>;

export interface IFoodSalesPieChartItem {
  foodId: string;
  foodTitle: string;
  quantity: number;
  revenue: number;
  percentage: number;
}

export type IFoodSalesPieChartResponse = IResponse<IFoodSalesPieChartItem[]>;
