webc-miam 9.2.6 → 9.2.8

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.
@@ -1,6 +1,6 @@
1
1
  import { PlausibleProps } from 'mealz-shared-analytics';
2
2
  import { Observable } from 'rxjs';
3
- import { BasketEntry, Recipe } from '../../_models';
3
+ import { BasketEntry, Recipe, RecipeLike } from '../../_models';
4
4
  import { RecipePricing } from '../../_models/recipe-pricing';
5
5
  import { EventJourney } from '../event-journey.enum';
6
6
 
@@ -33,7 +33,7 @@ export interface MealzInternalInterface {
33
33
  /**
34
34
  * Emits the pricing information for recipes in the basket.
35
35
  */
36
- recipePricesInBasket$: () => Observable<{ id: string; price: string }[]>;
36
+ recipeDataInBasket$: () => Observable<{ id: string; price: string, guests: number }[]>;
37
37
 
38
38
  /**
39
39
  * Emits the list of recipes in the basket.
@@ -84,6 +84,11 @@ export interface MealzInternalInterface {
84
84
  */
85
85
  updateRecipeLike: (recipeLikeId: string, recipeId: string, isPast: boolean, path?: string) => void;
86
86
 
87
+ /**
88
+ * Gets the RecipeLike for the recipeId
89
+ */
90
+ getRecipeLike: (recipeId: string) => Observable<RecipeLike>;
91
+
87
92
  /**
88
93
  * Emits an observable that notifies subscribers when a recipe like has been updated.
89
94
  */