diff options
Diffstat (limited to 'src/models')
-rw-r--r-- | src/models/RecipePreview.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/models/RecipePreview.ts b/src/models/RecipePreview.ts index fb8cb3e3e..33b5e1432 100644 --- a/src/models/RecipePreview.ts +++ b/src/models/RecipePreview.ts | |||
@@ -4,6 +4,10 @@ interface IRecipePreview { | |||
4 | icon: string; | 4 | icon: string; |
5 | featured: boolean; | 5 | featured: boolean; |
6 | aliases: string[]; | 6 | aliases: string[]; |
7 | isDevRecipe?: boolean; | ||
8 | icons?: { | ||
9 | svg: string; | ||
10 | }; | ||
7 | } | 11 | } |
8 | 12 | ||
9 | export default class RecipePreview { | 13 | export default class RecipePreview { |
@@ -17,6 +21,12 @@ export default class RecipePreview { | |||
17 | 21 | ||
18 | aliases: string[] = []; | 22 | aliases: string[] = []; |
19 | 23 | ||
24 | isDevRecipe?: boolean; | ||
25 | |||
26 | icons?: { | ||
27 | svg: string; | ||
28 | }; | ||
29 | |||
20 | constructor(data: IRecipePreview) { | 30 | constructor(data: IRecipePreview) { |
21 | if (!data) { | 31 | if (!data) { |
22 | throw new Error('RecipePreview config not valid'); | 32 | throw new Error('RecipePreview config not valid'); |