webc-miam 10.5.0 → 10.5.1

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.
@@ -279,7 +279,14 @@ export interface MealzInternalInterface {
279
279
  /**
280
280
  * Opens the recipe details by calling the `openRecipeDetails` method of the `recipesService`.
281
281
  */
282
- openDetails: (recipeId: string, guests: number, initialTabIndex?: number, analyticsPath?: string, categoryId?: string) => void;
282
+ openDetails: (
283
+ recipeId: string,
284
+ guests: number,
285
+ initialTabIndex?: number,
286
+ analyticsPath?: string,
287
+ plannerOrCategoryId?: boolean | string,
288
+ categoryId?: string
289
+ ) => void;
283
290
 
284
291
  /**
285
292
  * Loads and setups a recipe
@@ -391,7 +398,7 @@ export interface MealzInternalInterface {
391
398
  * If `recipeLikeId` is provided, it updates the existing like; otherwise, it creates a new one.
392
399
  * It also sets the `isPast` status and tracks the update event.
393
400
  */
394
- updateRecipeLike: (recipeLikeId: string, recipeId: string, isPast: boolean, path?: string) => void;
401
+ updateRecipeLike: (recipeLikeId: string, recipeId: string, isPast: boolean, path?: string, categoryId?: string) => void;
395
402
 
396
403
  /**
397
404
  * Emits an observable that notifies subscribers when a recipe like has been updated.
@@ -664,7 +671,7 @@ export interface MealzInternalInterface {
664
671
  /**
665
672
  * method that returns Like button HTML from SSR
666
673
  */
667
- like: (recipeId: string) => Observable<string>;
674
+ like: (recipeId: string, path?: string, categoryId?: string) => Observable<string>;
668
675
  };
669
676
 
670
677
  getStickyHeaderHeight: () => Observable<number>;