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