meals-made-easy-app/src/app/model/Recipe.model.ts
2025-12-13 11:39:55 -06:00

26 lines
413 B
TypeScript

export interface RecipeInfoViews {
slice: {
number: number;
size: number;
};
content: Recipe[];
}
export interface RecipeView {
isOwner: boolean | null;
isStarred: boolean | null;
recipe: Recipe;
}
export interface Recipe {
id: number;
title: string;
mainImage: ImageView;
text: string;
}
export interface ImageView {
alt: string;
url: string;
}