import { BaseResponse } from "@/app/[name]/(Main)/types/Types";

export type MealType = "breakfast" | "lunch" | "dinner" | "snack";

export interface FavoriteFood {
  id: string;
  createdAt: string;
  updatedAt: string;
  deletedAt: string | null;
  restaurant: string;
  category: string;
  title: string;
  desc: string;
  content: string[];
  price: number;
  order: number | null;
  prepareTime: number | null;
  weekDays: number[];
  mealTypes: MealType[];
  isActive: boolean;
  images: string[];
  inPlaceServe: boolean;
  pickupServe: boolean;
  score: number;
  discount: number;
  isSpecialOffer: boolean;
}

export interface Favorite {
  id: string;
  createdAt: string;
  updatedAt: string;
  deletedAt: string | null;
  user: string;
  food: FavoriteFood;
}

export type FavoritesResponse = BaseResponse<Favorite[]>;

