feature/improve-tag-organization-ux #8
@@ -15,7 +15,7 @@ export interface Recipe {
|
|||||||
author?: string;
|
author?: string;
|
||||||
cuisine?: string;
|
cuisine?: string;
|
||||||
categories?: string[]; // Changed from single category to array
|
categories?: string[]; // Changed from single category to array
|
||||||
tags?: string[];
|
tags?: (string | RecipeTag)[]; // Can be strings or RecipeTag objects from API
|
||||||
rating?: number;
|
rating?: number;
|
||||||
createdAt: Date;
|
createdAt: Date;
|
||||||
updatedAt: Date;
|
updatedAt: Date;
|
||||||
@@ -98,6 +98,10 @@ export interface Tag {
|
|||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface RecipeTag {
|
||||||
|
tag: Tag;
|
||||||
|
}
|
||||||
|
|
||||||
export interface Cookbook {
|
export interface Cookbook {
|
||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user