heartraite 1.0.88 → 1.0.90

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.
@@ -19,10 +19,9 @@ export declare enum FirestoreCollection {
19
19
  export declare enum ConversationCollection {
20
20
  MESSAGES = "messages"
21
21
  }
22
- export declare enum UserCollection {
23
- CONVERSATIONS = "conversations",
24
- MATCHES = "matches",
25
- OUTGOING_LIKES = "outgoing_likes",
22
+ export declare enum FirestoreUserCollection {
26
23
  INCOMING_LIKES = "incoming_likes",
27
- MATCH_FETCHES = "match_fetches"
24
+ OUTGOING_LIKES = "outgoing_likes",
25
+ MATCHES = "user_matches",
26
+ CONVERSATIONS = "user_conversations"
28
27
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UserCollection = exports.ConversationCollection = exports.FirestoreCollection = void 0;
3
+ exports.FirestoreUserCollection = exports.ConversationCollection = exports.FirestoreCollection = void 0;
4
4
  var FirestoreCollection;
5
5
  (function (FirestoreCollection) {
6
6
  FirestoreCollection["BANK_ID_ORDERS"] = "bankid_orders";
@@ -24,11 +24,10 @@ var ConversationCollection;
24
24
  (function (ConversationCollection) {
25
25
  ConversationCollection["MESSAGES"] = "messages";
26
26
  })(ConversationCollection || (exports.ConversationCollection = ConversationCollection = {}));
27
- var UserCollection;
28
- (function (UserCollection) {
29
- UserCollection["CONVERSATIONS"] = "conversations";
30
- UserCollection["MATCHES"] = "matches";
31
- UserCollection["OUTGOING_LIKES"] = "outgoing_likes";
32
- UserCollection["INCOMING_LIKES"] = "incoming_likes";
33
- UserCollection["MATCH_FETCHES"] = "match_fetches";
34
- })(UserCollection || (exports.UserCollection = UserCollection = {}));
27
+ var FirestoreUserCollection;
28
+ (function (FirestoreUserCollection) {
29
+ FirestoreUserCollection["INCOMING_LIKES"] = "incoming_likes";
30
+ FirestoreUserCollection["OUTGOING_LIKES"] = "outgoing_likes";
31
+ FirestoreUserCollection["MATCHES"] = "user_matches";
32
+ FirestoreUserCollection["CONVERSATIONS"] = "user_conversations";
33
+ })(FirestoreUserCollection || (exports.FirestoreUserCollection = FirestoreUserCollection = {}));
@@ -1,3 +1,7 @@
1
1
  export declare enum IAPProductIdentifier {
2
2
  UNLOCK_SA = "unlock_sa"
3
3
  }
4
+ export declare enum Entitlement {
5
+ PREMIUM = "Premium",
6
+ UNLOCK_SA = "Self Awareness"
7
+ }
@@ -1,7 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IAPProductIdentifier = void 0;
3
+ exports.Entitlement = exports.IAPProductIdentifier = void 0;
4
4
  var IAPProductIdentifier;
5
5
  (function (IAPProductIdentifier) {
6
6
  IAPProductIdentifier["UNLOCK_SA"] = "unlock_sa";
7
7
  })(IAPProductIdentifier || (exports.IAPProductIdentifier = IAPProductIdentifier = {}));
8
+ var Entitlement;
9
+ (function (Entitlement) {
10
+ Entitlement["PREMIUM"] = "Premium";
11
+ Entitlement["UNLOCK_SA"] = "Self Awareness";
12
+ })(Entitlement || (exports.Entitlement = Entitlement = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "heartraite",
3
- "version": "1.0.88",
3
+ "version": "1.0.90",
4
4
  "description": "Heartraite npm package for common functionality",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,10 +21,9 @@ export enum ConversationCollection {
21
21
  MESSAGES = "messages",
22
22
  }
23
23
 
24
- export enum UserCollection {
25
- CONVERSATIONS = "conversations",
26
- MATCHES = "matches",
27
- OUTGOING_LIKES = "outgoing_likes",
24
+ export enum FirestoreUserCollection {
28
25
  INCOMING_LIKES = "incoming_likes",
29
- MATCH_FETCHES = "match_fetches",
26
+ OUTGOING_LIKES = "outgoing_likes",
27
+ MATCHES = "user_matches",
28
+ CONVERSATIONS = "user_conversations",
30
29
  }
@@ -1,3 +1,8 @@
1
1
  export enum IAPProductIdentifier {
2
2
  UNLOCK_SA = "unlock_sa",
3
3
  }
4
+
5
+ export enum Entitlement {
6
+ PREMIUM = "Premium",
7
+ UNLOCK_SA = "Self Awareness",
8
+ }