generated from google-gemini/aistudio-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
36 lines (31 loc) · 882 Bytes
/
types.ts
File metadata and controls
36 lines (31 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
export enum CuisineType {
CHINESE = 'Chinese',
WESTERN = 'Western',
JAPANESE = 'Japanese',
}
export enum FitnessGoal {
MUSCLE_GAIN = 'Muscle Gain',
FAT_LOSS = 'Fat Loss',
MAINTENANCE = 'Maintenance',
}
export interface MacroNutrients {
protein: string;
carbs: string;
fat: string;
calories: number;
}
export interface Dish {
name: string;
description: string;
macros: MacroNutrients;
recipeHint: string;
ingredients: string[]; // List of ingredients needed
instructions: string[]; // Step-by-step cooking instructions
imageUrl?: string; // Generated dynamically
}
export interface MenuResponse {
dishes: Dish[];
quote: string; // Movie or Novel quote
quoteSource: string; // Source of the quote (Movie/Book title)
}
export type LoadingState = 'idle' | 'analyzing_image' | 'generating_menu' | 'generating_images' | 'completed' | 'error';