feat: keep original text on ingredient parse (#1102)

* Keep Original Text on Ingredient Parse
* Reorder migration and update test
This commit is contained in:
Miroito
2022-03-29 18:07:01 +02:00
committed by GitHub
parent 5e44d1c238
commit 6f309d7a89
7 changed files with 33 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ export interface Ingredient {
}
export interface ParsedIngredient {
input: string
confidence: Confidence;
ingredient: Ingredient;
}