webc-miam 6.2.4 → 6.3.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.
- package/interfaces/miam-interface.ts +14 -0
- package/main-es2015.js +1 -1
- package/main-es5.js +1 -1
- package/miam-style.css +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
|
@@ -96,6 +96,12 @@ export interface MiamInterface {
|
|
|
96
96
|
* Call to enable personal recipes on recipe-catalog
|
|
97
97
|
*/
|
|
98
98
|
enablePersonalRecipes: () => void;
|
|
99
|
+
/**
|
|
100
|
+
* Call to enable the meals-planner
|
|
101
|
+
*
|
|
102
|
+
* @param url of the page where you inject the meals planner
|
|
103
|
+
*/
|
|
104
|
+
enableMealsPlanner: (url: string) => void;
|
|
99
105
|
};
|
|
100
106
|
|
|
101
107
|
// ---------------------------------------------------------------------------------------------------
|
|
@@ -200,6 +206,14 @@ export interface MiamInterface {
|
|
|
200
206
|
* Inform Miam of the url where the onboarding section of the catalog should redirect
|
|
201
207
|
*/
|
|
202
208
|
setRecipeInfoLink: (url: string) => void;
|
|
209
|
+
/**
|
|
210
|
+
* Inform Miam of the url of the retailer's if Miam needs to redirect there
|
|
211
|
+
*/
|
|
212
|
+
setRetailerCartUrl: (url: string) => void;
|
|
213
|
+
/**
|
|
214
|
+
* Inform Miam of the url where the promotions are
|
|
215
|
+
*/
|
|
216
|
+
setPromotionsUrl: (url: string) => void;
|
|
203
217
|
};
|
|
204
218
|
|
|
205
219
|
// ---------------------------------------------------------------------------------------------------
|