@geins/types 0.7.0 → 0.8.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.
@@ -52,12 +52,18 @@ export declare enum GeinsEventType {
52
52
  SESSION_REFRESH = "SESSION_REFRESH",
53
53
  /** Session expired — refresh failed, user must re-authenticate */
54
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
+ /** Parent event for all list-related events */
56
+ LIST = "LIST",
57
+ /** A new list was created */
58
+ LIST_CREATE = "LIST_CREATE",
59
+ /** A list was deleted */
60
+ LIST_DELETE = "LIST_DELETE",
61
+ /** A list was updated (renamed, reordered, etc.) */
62
+ LIST_UPDATE = "LIST_UPDATE",
63
+ /** An item was added to a list */
64
+ LIST_ADD_ITEM = "LIST_ADD_ITEM",
65
+ /** An item was removed from a list */
66
+ LIST_REMOVE_ITEM = "LIST_REMOVE_ITEM",
67
+ /** All items were cleared from a list */
68
+ LIST_CLEAR = "LIST_CLEAR"
63
69
  }
package/dist/index.cjs CHANGED
@@ -46,14 +46,20 @@ 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
+ /** Parent event for all list-related events */
50
+ GeinsEventType["LIST"] = "LIST";
51
+ /** A new list was created */
52
+ GeinsEventType["LIST_CREATE"] = "LIST_CREATE";
53
+ /** A list was deleted */
54
+ GeinsEventType["LIST_DELETE"] = "LIST_DELETE";
55
+ /** A list was updated (renamed, reordered, etc.) */
56
+ GeinsEventType["LIST_UPDATE"] = "LIST_UPDATE";
57
+ /** An item was added to a list */
58
+ GeinsEventType["LIST_ADD_ITEM"] = "LIST_ADD_ITEM";
59
+ /** An item was removed from a list */
60
+ GeinsEventType["LIST_REMOVE_ITEM"] = "LIST_REMOVE_ITEM";
61
+ /** All items were cleared from a list */
62
+ GeinsEventType["LIST_CLEAR"] = "LIST_CLEAR";
57
63
  })(exports.GeinsEventType || (exports.GeinsEventType = {}));
58
64
 
59
65
  exports.CustomerType = void 0;
package/dist/index.esm.js CHANGED
@@ -44,14 +44,20 @@ 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
+ /** Parent event for all list-related events */
48
+ GeinsEventType["LIST"] = "LIST";
49
+ /** A new list was created */
50
+ GeinsEventType["LIST_CREATE"] = "LIST_CREATE";
51
+ /** A list was deleted */
52
+ GeinsEventType["LIST_DELETE"] = "LIST_DELETE";
53
+ /** A list was updated (renamed, reordered, etc.) */
54
+ GeinsEventType["LIST_UPDATE"] = "LIST_UPDATE";
55
+ /** An item was added to a list */
56
+ GeinsEventType["LIST_ADD_ITEM"] = "LIST_ADD_ITEM";
57
+ /** An item was removed from a list */
58
+ GeinsEventType["LIST_REMOVE_ITEM"] = "LIST_REMOVE_ITEM";
59
+ /** All items were cleared from a list */
60
+ GeinsEventType["LIST_CLEAR"] = "LIST_CLEAR";
55
61
  })(GeinsEventType || (GeinsEventType = {}));
56
62
 
57
63
  var CustomerType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geins/types",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "main": "dist/index.cjs",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",