mirror of
https://github.com/Sosokker/chefhai.git
synced 2025-12-19 05:54:08 +01:00
37 lines
710 B
TypeScript
37 lines
710 B
TypeScript
interface SavedFood {
|
|
user_id: string;
|
|
food_id: string;
|
|
created_at: string;
|
|
}
|
|
|
|
interface LikedFood {
|
|
user_id: string;
|
|
food_id: string;
|
|
created_at: string;
|
|
}
|
|
|
|
interface Foods {
|
|
id: string;
|
|
name: string;
|
|
description?: string;
|
|
time_to_cook_minutes: number;
|
|
skill_level: "Easy" | "Medium" | "Hard";
|
|
ingredient_count?: number;
|
|
calories?: number;
|
|
image_url?: string;
|
|
is_shared: boolean;
|
|
created_by: string;
|
|
created_at: string;
|
|
}
|
|
|
|
interface CookingStep {
|
|
id: string,
|
|
created_at: string,
|
|
food_id: string,
|
|
step_order: number,
|
|
title: string,
|
|
description: string
|
|
}
|
|
|
|
export { CookingStep, Foods, LikedFood, SavedFood };
|