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