export type MenuCategory = {
  id: string;
  slug: string;
  title: string;
  description: string;
  sort: number;
};

export type Dish = {
  id: string;
  sbisId?: string;
  slug: string;
  name: string;
  shortDescription: string;
  fullDescription: string;
  categorySlug: string;
  categoryId?: string;
  price: number;
  oldPrice?: number;
  weight: string;
  unit?: string;
  image: string;
  imageAlt?: string;
  gallery: string[];
  hit?: boolean;
  isHit?: boolean;
  new?: boolean;
  isNew?: boolean;
  restaurantAvailable: boolean;
  deliveryAvailable: boolean;
  pickupAvailable: boolean;
  stockLeft?: number | null;
  unavailableText?: string;
  availableInRestaurant?: boolean;
  availableForDelivery?: boolean;
  availableForPickup?: boolean;
  temporarilyUnavailable?: boolean;
  sort: number;
  sortOrder?: number;
  spicy?: boolean;
  isSpicy?: boolean;
  vegetarian?: boolean;
  isVegetarian?: boolean;
  alcohol?: boolean;
  showDetails?: boolean;
  allergens: string[];
  tags?: string[];
  nutrition?: string;
  cookingTime?: string;
  seoTitle?: string;
  seoDescription?: string;
};

export type CartItem = {
  dishId: string;
  quantity: number;
  priceSnapshot?: number;
};

export type Review = {
  author: string;
  date: string;
  source: string;
  rating?: number;
  href?: string;
  text: string;
};

export type EventItem = {
  id: string;
  title: string;
  date: string;
  description: string;
};
