Refactor code structure for improved readability and maintainability
Test Suite / test (24.15.0) (push) Has been cancelled
Test Suite / test (24.15.0) (push) Has been cancelled
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
export interface ParsedIngredient {
|
||||
rawName: string;
|
||||
quantity: number;
|
||||
unit: string;
|
||||
note: string | null;
|
||||
alternatives: string[];
|
||||
}
|
||||
export interface ParsedRecipe {
|
||||
name: string;
|
||||
description: string;
|
||||
instructions: string;
|
||||
ingredients: ParsedIngredient[];
|
||||
}
|
||||
export declare function parseRecipeMarkdown(markdown: string): ParsedRecipe;
|
||||
Reference in New Issue
Block a user