export interface RecipeResponse {
  data: Recipe[];
}

export interface Recipe {
  id: number;
  creator: string;
  name: string;
  kcal: number;
  servings: number;
  pictureUrl: string;
  isLiked: boolean;
  likes: number;
  tags?: RecipeTag[];
  ingredients: RecipeIngredient[];
  stepBySteps: RecipeStepByStep[];
}

export interface RecipeTagFilters {
  page: number;
  items_per_page: number;
  search_by_name: string;
}

export interface RecipeTag {
  id: number;
  name: string;
}

interface RecipeIngredient {
  id: number;
  name: string;
  quantity: number;
}

interface RecipeStepByStep {
  lexoRank: string;
  description: string;
}
