heartraite 1.0.53 → 1.0.55
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/enum/firestore.enum.d.ts +28 -0
- package/dist/enum/firestore.enum.js +34 -0
- package/dist/enum/index.d.ts +1 -0
- package/dist/enum/index.js +1 -0
- package/dist/types/match.types.d.ts +2 -3
- package/package.json +1 -1
- package/src/enum/firestore.enum.ts +30 -0
- package/src/enum/index.ts +1 -0
- package/src/types/match.types.ts +2 -3
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum FirestoreCollection {
|
|
2
|
+
BANK_ID_ORDERS = "bankid_orders",
|
|
3
|
+
CONVERSATIONS = "conversations",
|
|
4
|
+
CA_SUBMISSIONS = "ca_submissions",
|
|
5
|
+
CA_SCORES = "ca_scores",
|
|
6
|
+
MESSAGES = "messages",
|
|
7
|
+
USERS = "users",
|
|
8
|
+
RATING = "ratings",
|
|
9
|
+
STRIPE_SUBSCRIPTIONS = "stripe_subscriptions",
|
|
10
|
+
REPORTS = "reports",
|
|
11
|
+
MATCHES = "matches",
|
|
12
|
+
REFERRALS = "referrals",
|
|
13
|
+
SUBMISSIONS = "submissions",
|
|
14
|
+
PLS_INPUTS = "pls_inputs",
|
|
15
|
+
PLS_ASSESSMENTS = "pls_assessments",
|
|
16
|
+
PLS_SCORES = "pls_scores",
|
|
17
|
+
PENDING_USERS = "pending_users"
|
|
18
|
+
}
|
|
19
|
+
export declare enum ConversationCollection {
|
|
20
|
+
MESSAGES = "messages"
|
|
21
|
+
}
|
|
22
|
+
export declare enum UserCollection {
|
|
23
|
+
CONVERSATIONS = "conversations",
|
|
24
|
+
MESSAGES = "messages",
|
|
25
|
+
MATCHES = "matches",
|
|
26
|
+
OUTGOING_LIKES = "outgoing_likes",
|
|
27
|
+
INCOMING_LIKES = "incoming_likes"
|
|
28
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UserCollection = exports.ConversationCollection = exports.FirestoreCollection = void 0;
|
|
4
|
+
var FirestoreCollection;
|
|
5
|
+
(function (FirestoreCollection) {
|
|
6
|
+
FirestoreCollection["BANK_ID_ORDERS"] = "bankid_orders";
|
|
7
|
+
FirestoreCollection["CONVERSATIONS"] = "conversations";
|
|
8
|
+
FirestoreCollection["CA_SUBMISSIONS"] = "ca_submissions";
|
|
9
|
+
FirestoreCollection["CA_SCORES"] = "ca_scores";
|
|
10
|
+
FirestoreCollection["MESSAGES"] = "messages";
|
|
11
|
+
FirestoreCollection["USERS"] = "users";
|
|
12
|
+
FirestoreCollection["RATING"] = "ratings";
|
|
13
|
+
FirestoreCollection["STRIPE_SUBSCRIPTIONS"] = "stripe_subscriptions";
|
|
14
|
+
FirestoreCollection["REPORTS"] = "reports";
|
|
15
|
+
FirestoreCollection["MATCHES"] = "matches";
|
|
16
|
+
FirestoreCollection["REFERRALS"] = "referrals";
|
|
17
|
+
FirestoreCollection["SUBMISSIONS"] = "submissions";
|
|
18
|
+
FirestoreCollection["PLS_INPUTS"] = "pls_inputs";
|
|
19
|
+
FirestoreCollection["PLS_ASSESSMENTS"] = "pls_assessments";
|
|
20
|
+
FirestoreCollection["PLS_SCORES"] = "pls_scores";
|
|
21
|
+
FirestoreCollection["PENDING_USERS"] = "pending_users";
|
|
22
|
+
})(FirestoreCollection || (exports.FirestoreCollection = FirestoreCollection = {}));
|
|
23
|
+
var ConversationCollection;
|
|
24
|
+
(function (ConversationCollection) {
|
|
25
|
+
ConversationCollection["MESSAGES"] = "messages";
|
|
26
|
+
})(ConversationCollection || (exports.ConversationCollection = ConversationCollection = {}));
|
|
27
|
+
var UserCollection;
|
|
28
|
+
(function (UserCollection) {
|
|
29
|
+
UserCollection["CONVERSATIONS"] = "conversations";
|
|
30
|
+
UserCollection["MESSAGES"] = "messages";
|
|
31
|
+
UserCollection["MATCHES"] = "matches";
|
|
32
|
+
UserCollection["OUTGOING_LIKES"] = "outgoing_likes";
|
|
33
|
+
UserCollection["INCOMING_LIKES"] = "incoming_likes";
|
|
34
|
+
})(UserCollection || (exports.UserCollection = UserCollection = {}));
|
package/dist/enum/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./app-route.enum";
|
|
|
2
2
|
export * from "./ca.enum";
|
|
3
3
|
export * from "./cloudfunction.enum";
|
|
4
4
|
export * from "./evaluation.enum";
|
|
5
|
+
export * from "./firestore.enum";
|
|
5
6
|
export * from "./like.enum";
|
|
6
7
|
export * from "./match.enum";
|
|
7
8
|
export * from "./report.enum";
|
package/dist/enum/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __exportStar(require("./app-route.enum"), exports);
|
|
|
18
18
|
__exportStar(require("./ca.enum"), exports);
|
|
19
19
|
__exportStar(require("./cloudfunction.enum"), exports);
|
|
20
20
|
__exportStar(require("./evaluation.enum"), exports);
|
|
21
|
+
__exportStar(require("./firestore.enum"), exports);
|
|
21
22
|
__exportStar(require("./like.enum"), exports);
|
|
22
23
|
__exportStar(require("./match.enum"), exports);
|
|
23
24
|
__exportStar(require("./report.enum"), exports);
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AdvancedMatchStatus } from "../enum/match.enum";
|
|
2
|
-
import {
|
|
2
|
+
import { MatchCompatibility } from "./matchmaking.types";
|
|
3
3
|
export type Match = {
|
|
4
4
|
id: string;
|
|
5
5
|
users: Record<string, boolean>;
|
|
6
6
|
created: string;
|
|
7
7
|
initiatedBy: string;
|
|
8
|
-
percentages: RatedQuestions;
|
|
9
|
-
totalPercentage: number;
|
|
10
8
|
conversationId: string;
|
|
9
|
+
compatibility: MatchCompatibility;
|
|
11
10
|
advancedMatchStatus: AdvancedMatchStatus;
|
|
12
11
|
advancedMatch?: AdvancedMatch;
|
|
13
12
|
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export enum FirestoreCollection {
|
|
2
|
+
BANK_ID_ORDERS = "bankid_orders",
|
|
3
|
+
CONVERSATIONS = "conversations",
|
|
4
|
+
CA_SUBMISSIONS = "ca_submissions",
|
|
5
|
+
CA_SCORES = "ca_scores",
|
|
6
|
+
MESSAGES = "messages",
|
|
7
|
+
USERS = "users",
|
|
8
|
+
RATING = "ratings",
|
|
9
|
+
STRIPE_SUBSCRIPTIONS = "stripe_subscriptions",
|
|
10
|
+
REPORTS = "reports",
|
|
11
|
+
MATCHES = "matches",
|
|
12
|
+
REFERRALS = "referrals",
|
|
13
|
+
SUBMISSIONS = "submissions",
|
|
14
|
+
PLS_INPUTS = "pls_inputs",
|
|
15
|
+
PLS_ASSESSMENTS = "pls_assessments",
|
|
16
|
+
PLS_SCORES = "pls_scores",
|
|
17
|
+
PENDING_USERS = "pending_users",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export enum ConversationCollection {
|
|
21
|
+
MESSAGES = "messages",
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export enum UserCollection {
|
|
25
|
+
CONVERSATIONS = "conversations",
|
|
26
|
+
MESSAGES = "messages",
|
|
27
|
+
MATCHES = "matches",
|
|
28
|
+
OUTGOING_LIKES = "outgoing_likes",
|
|
29
|
+
INCOMING_LIKES = "incoming_likes",
|
|
30
|
+
}
|
package/src/enum/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./app-route.enum";
|
|
|
2
2
|
export * from "./ca.enum";
|
|
3
3
|
export * from "./cloudfunction.enum";
|
|
4
4
|
export * from "./evaluation.enum";
|
|
5
|
+
export * from "./firestore.enum";
|
|
5
6
|
export * from "./like.enum";
|
|
6
7
|
export * from "./match.enum";
|
|
7
8
|
export * from "./report.enum";
|
package/src/types/match.types.ts
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { AdvancedMatchStatus } from "../enum/match.enum";
|
|
2
|
-
import {
|
|
2
|
+
import { MatchCompatibility } from "./matchmaking.types";
|
|
3
3
|
|
|
4
4
|
export type Match = {
|
|
5
5
|
id: string;
|
|
6
6
|
users: Record<string, boolean>;
|
|
7
7
|
created: string;
|
|
8
8
|
initiatedBy: string;
|
|
9
|
-
percentages: RatedQuestions;
|
|
10
|
-
totalPercentage: number;
|
|
11
9
|
conversationId: string;
|
|
10
|
+
compatibility: MatchCompatibility;
|
|
12
11
|
advancedMatchStatus: AdvancedMatchStatus;
|
|
13
12
|
advancedMatch?: AdvancedMatch;
|
|
14
13
|
};
|