webc-miam 9.1.26 → 9.1.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/interfaces/mealz-interface.ts +8 -1
- package/interfaces/mealz-internal-interface.ts +9 -2
- package/main-es2015.js +1 -1
- package/main-es5.js +1 -1
- package/package.json +1 -1
- package/webc-miam-de.js +1 -1
- package/webc-miam-en.js +1 -1
- package/webc-miam-es.js +1 -1
- package/webc-miam-fr.js +1 -1
- package/webc-miam-it.js +1 -1
- package/webc-miam-nl.js +1 -1
- package/webc-miam-pt.js +1 -1
- package/webc-miam-ro.js +1 -1
|
@@ -224,7 +224,14 @@ export interface MealzInterface {
|
|
|
224
224
|
/**
|
|
225
225
|
* Opens the recipe details by calling the `openRecipeDetails` method of the `recipesService`.
|
|
226
226
|
*/
|
|
227
|
-
openDetails: (
|
|
227
|
+
openDetails: (
|
|
228
|
+
recipeId: string,
|
|
229
|
+
guests: number,
|
|
230
|
+
initialTabIndex: number,
|
|
231
|
+
analyticsPath?: string,
|
|
232
|
+
plannerOrCategoryId?: boolean | string,
|
|
233
|
+
categoryId?: string
|
|
234
|
+
) => void;
|
|
228
235
|
/**
|
|
229
236
|
* Call with an url of a picture to change the default picture displayed if an ingredient doesn't have a picture
|
|
230
237
|
* and if ingredients picture have been enabled with recipes.shouldDisplayIngredientPicturesOnRecipeCards(true)
|
|
@@ -75,14 +75,21 @@ export interface MealzInternalInterface {
|
|
|
75
75
|
/**
|
|
76
76
|
* Opens the recipe details by calling the `openRecipeDetails` method of the `recipesService`.
|
|
77
77
|
*/
|
|
78
|
-
openDetails: (
|
|
78
|
+
openDetails: (
|
|
79
|
+
recipeId: string,
|
|
80
|
+
guests: number,
|
|
81
|
+
initialTabIndex: number,
|
|
82
|
+
analyticsPath?: string,
|
|
83
|
+
plannerOrCategoryId?: boolean | string,
|
|
84
|
+
categoryId?: string
|
|
85
|
+
) => void;
|
|
79
86
|
|
|
80
87
|
/**
|
|
81
88
|
* Updates or creates a recipe like entry.
|
|
82
89
|
* If `recipeLikeId` is provided, it updates the existing like; otherwise, it creates a new one.
|
|
83
90
|
* It also sets the `isPast` status and tracks the update event.
|
|
84
91
|
*/
|
|
85
|
-
updateRecipeLike: (recipeLikeId: string, recipeId: string, isPast: boolean, path?: string) => void;
|
|
92
|
+
updateRecipeLike: (recipeLikeId: string, recipeId: string, isPast: boolean, path?: string, categoryId?: string) => void;
|
|
86
93
|
|
|
87
94
|
/**
|
|
88
95
|
* Gets the RecipeLike for the recipeId
|