webc-miam 10.0.4 → 10.1.0

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.
@@ -44,6 +44,12 @@ export interface MealzInternalInterface {
44
44
  */
45
45
  recipePricesInBasket$: () => Observable<{ id: string; price: string }[]>;
46
46
 
47
+ /**
48
+ * Gets the guests count for a recipe
49
+ * @param recipeId
50
+ */
51
+ guestsForRecipe: (recipeId: string) => number;
52
+
47
53
  /**
48
54
  * Removes a recipe from the basket.
49
55
  */
@@ -465,6 +471,11 @@ export interface MealzInternalInterface {
465
471
  * Removes a product from the basket
466
472
  */
467
473
  removeProduct: (basketEntry: BasketEntry, path: string) => void;
474
+
475
+ /**
476
+ * Checks if a product is being updated
477
+ */
478
+ entryIsBeingUpdated: (entryId: string) => Observable<boolean>;
468
479
  };
469
480
 
470
481
  // ---------------------------------------------------------------------------------------------------
@@ -586,6 +597,11 @@ export interface MealzInternalInterface {
586
597
  */
587
598
  open: () => void;
588
599
 
600
+ /**
601
+ * Closes the product addition modal
602
+ */
603
+ close: () => void;
604
+
589
605
  /**
590
606
  * Emits an observable that notifies subscribers when a product has been added.
591
607
  */