@geins/types 0.6.1 → 0.7.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/dist/common/event.d.ts +9 -1
- package/dist/index.cjs +8 -0
- package/dist/index.esm.js +8 -0
- package/dist/pim/image.d.ts +1 -1
- package/package.json +1 -1
package/dist/common/event.d.ts
CHANGED
|
@@ -51,5 +51,13 @@ export declare enum GeinsEventType {
|
|
|
51
51
|
/** Auth token was refreshed successfully */
|
|
52
52
|
SESSION_REFRESH = "SESSION_REFRESH",
|
|
53
53
|
/** Session expired — refresh failed, user must re-authenticate */
|
|
54
|
-
SESSION_EXPIRED = "SESSION_EXPIRED"
|
|
54
|
+
SESSION_EXPIRED = "SESSION_EXPIRED",
|
|
55
|
+
/** Parent event for all favorites-related events */
|
|
56
|
+
FAVORITES = "FAVORITES",
|
|
57
|
+
/** Item added to favorites */
|
|
58
|
+
FAVORITES_ADD = "FAVORITES_ADD",
|
|
59
|
+
/** Item removed from favorites */
|
|
60
|
+
FAVORITES_REMOVE = "FAVORITES_REMOVE",
|
|
61
|
+
/** All favorites cleared */
|
|
62
|
+
FAVORITES_CLEAR = "FAVORITES_CLEAR"
|
|
55
63
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -46,6 +46,14 @@ exports.GeinsEventType = void 0;
|
|
|
46
46
|
GeinsEventType["SESSION_REFRESH"] = "SESSION_REFRESH";
|
|
47
47
|
/** Session expired — refresh failed, user must re-authenticate */
|
|
48
48
|
GeinsEventType["SESSION_EXPIRED"] = "SESSION_EXPIRED";
|
|
49
|
+
/** Parent event for all favorites-related events */
|
|
50
|
+
GeinsEventType["FAVORITES"] = "FAVORITES";
|
|
51
|
+
/** Item added to favorites */
|
|
52
|
+
GeinsEventType["FAVORITES_ADD"] = "FAVORITES_ADD";
|
|
53
|
+
/** Item removed from favorites */
|
|
54
|
+
GeinsEventType["FAVORITES_REMOVE"] = "FAVORITES_REMOVE";
|
|
55
|
+
/** All favorites cleared */
|
|
56
|
+
GeinsEventType["FAVORITES_CLEAR"] = "FAVORITES_CLEAR";
|
|
49
57
|
})(exports.GeinsEventType || (exports.GeinsEventType = {}));
|
|
50
58
|
|
|
51
59
|
exports.CustomerType = void 0;
|
package/dist/index.esm.js
CHANGED
|
@@ -44,6 +44,14 @@ var GeinsEventType;
|
|
|
44
44
|
GeinsEventType["SESSION_REFRESH"] = "SESSION_REFRESH";
|
|
45
45
|
/** Session expired — refresh failed, user must re-authenticate */
|
|
46
46
|
GeinsEventType["SESSION_EXPIRED"] = "SESSION_EXPIRED";
|
|
47
|
+
/** Parent event for all favorites-related events */
|
|
48
|
+
GeinsEventType["FAVORITES"] = "FAVORITES";
|
|
49
|
+
/** Item added to favorites */
|
|
50
|
+
GeinsEventType["FAVORITES_ADD"] = "FAVORITES_ADD";
|
|
51
|
+
/** Item removed from favorites */
|
|
52
|
+
GeinsEventType["FAVORITES_REMOVE"] = "FAVORITES_REMOVE";
|
|
53
|
+
/** All favorites cleared */
|
|
54
|
+
GeinsEventType["FAVORITES_CLEAR"] = "FAVORITES_CLEAR";
|
|
47
55
|
})(GeinsEventType || (GeinsEventType = {}));
|
|
48
56
|
|
|
49
57
|
var CustomerType;
|
package/dist/pim/image.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Content types served by the Geins image CDN. */
|
|
2
|
-
export type GeinsImageType = 'product' | 'category' | 'brand' | 'cms';
|
|
2
|
+
export type GeinsImageType = 'product' | 'category' | 'brand' | 'cms' | 'pagewidget';
|