heartraite 1.0.16 → 1.0.17
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/ca.enum.d.ts +6 -0
- package/dist/enum/ca.enum.js +10 -0
- package/dist/enum/index.d.ts +4 -3
- package/dist/enum/index.js +4 -3
- package/dist/enum/match.enum.d.ts +6 -0
- package/dist/enum/match.enum.js +8 -1
- package/dist/enum/user.enum.d.ts +3 -0
- package/dist/enum/user.enum.js +7 -0
- package/dist/types/error.types.d.ts +5 -0
- package/dist/types/error.types.js +2 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/submission.types.d.ts +1 -0
- package/dist/types/user.types.d.ts +9 -1
- package/package.json +1 -1
- package/src/enum/ca.enum.ts +6 -0
- package/src/enum/index.ts +4 -3
- package/src/enum/match.enum.ts +7 -0
- package/src/enum/user.enum.ts +3 -0
- package/src/types/error.types.ts +5 -0
- package/src/types/index.ts +1 -0
- package/src/types/submission.types.ts +1 -0
- package/src/types/user.types.ts +16 -1
- package/dist/enum/ai-verification-status.enum.d.ts +0 -6
- package/dist/enum/ai-verification-status.enum.js +0 -10
- package/src/enum/ai-verification-status.enum.ts +0 -6
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CASkipReason = void 0;
|
|
4
|
+
var CASkipReason;
|
|
5
|
+
(function (CASkipReason) {
|
|
6
|
+
CASkipReason["NOT_RELEVANT"] = "not_relevant";
|
|
7
|
+
CASkipReason["TOO_PERSONAL"] = "too_personal";
|
|
8
|
+
CASkipReason["DONT_KNOW"] = "dont_know";
|
|
9
|
+
CASkipReason["OTHER_REASON"] = "other_reason";
|
|
10
|
+
})(CASkipReason || (exports.CASkipReason = CASkipReason = {}));
|
package/dist/enum/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
export * from "./app-route.enum";
|
|
2
|
+
export * from "./ca.enum";
|
|
1
3
|
export * from "./cloudfunction.enum";
|
|
4
|
+
export * from "./evaluation.enum";
|
|
2
5
|
export * from "./like.enum";
|
|
3
6
|
export * from "./match.enum";
|
|
4
|
-
export * from "./app-route.enum";
|
|
5
|
-
export * from "./ai-verification-status.enum";
|
|
6
|
-
export * from "./evaluation.enum";
|
|
7
7
|
export * from "./report.enum";
|
|
8
8
|
export * from "./gender.enum";
|
|
9
9
|
export * from "./provider.enum";
|
|
10
10
|
export * from "./state.enum";
|
|
11
11
|
export * from "./notification.enum";
|
|
12
|
+
export * from "./user.enum";
|
package/dist/enum/index.js
CHANGED
|
@@ -14,14 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./app-route.enum"), exports);
|
|
18
|
+
__exportStar(require("./ca.enum"), exports);
|
|
17
19
|
__exportStar(require("./cloudfunction.enum"), exports);
|
|
20
|
+
__exportStar(require("./evaluation.enum"), exports);
|
|
18
21
|
__exportStar(require("./like.enum"), exports);
|
|
19
22
|
__exportStar(require("./match.enum"), exports);
|
|
20
|
-
__exportStar(require("./app-route.enum"), exports);
|
|
21
|
-
__exportStar(require("./ai-verification-status.enum"), exports);
|
|
22
|
-
__exportStar(require("./evaluation.enum"), exports);
|
|
23
23
|
__exportStar(require("./report.enum"), exports);
|
|
24
24
|
__exportStar(require("./gender.enum"), exports);
|
|
25
25
|
__exportStar(require("./provider.enum"), exports);
|
|
26
26
|
__exportStar(require("./state.enum"), exports);
|
|
27
27
|
__exportStar(require("./notification.enum"), exports);
|
|
28
|
+
__exportStar(require("./user.enum"), exports);
|
package/dist/enum/match.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AdvancedMatchStatus = void 0;
|
|
3
|
+
exports.CACompletionStatus = exports.AdvancedMatchStatus = void 0;
|
|
4
4
|
var AdvancedMatchStatus;
|
|
5
5
|
(function (AdvancedMatchStatus) {
|
|
6
6
|
AdvancedMatchStatus["INITIAL"] = "initial";
|
|
@@ -8,3 +8,10 @@ var AdvancedMatchStatus;
|
|
|
8
8
|
AdvancedMatchStatus["ERROR"] = "error";
|
|
9
9
|
AdvancedMatchStatus["SUCCESS"] = "success";
|
|
10
10
|
})(AdvancedMatchStatus || (exports.AdvancedMatchStatus = AdvancedMatchStatus = {}));
|
|
11
|
+
var CACompletionStatus;
|
|
12
|
+
(function (CACompletionStatus) {
|
|
13
|
+
CACompletionStatus["NOT_STARTED"] = "not started";
|
|
14
|
+
CACompletionStatus["IN_PROGRESS"] = "in progress";
|
|
15
|
+
CACompletionStatus["ERROR"] = "error";
|
|
16
|
+
CACompletionStatus["SUCCESS"] = "success";
|
|
17
|
+
})(CACompletionStatus || (exports.CACompletionStatus = CACompletionStatus = {}));
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/index.js
CHANGED
|
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./assessment.types"), exports);
|
|
18
18
|
__exportStar(require("./cloud-function-types"), exports);
|
|
19
|
+
__exportStar(require("./error.types"), exports);
|
|
19
20
|
__exportStar(require("./helper.types"), exports);
|
|
20
21
|
__exportStar(require("./like.types"), exports);
|
|
21
22
|
__exportStar(require("./match.types"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Gender, NotificationSetting } from "../enum";
|
|
1
|
+
import { CACompletionStatus, Gender, NotificationSetting, UserLanguage } from "../enum";
|
|
2
2
|
export type User = {
|
|
3
3
|
id: string;
|
|
4
4
|
email: string;
|
|
@@ -7,6 +7,14 @@ export type User = {
|
|
|
7
7
|
profile: UserProfile;
|
|
8
8
|
preferences: DatingPreferences;
|
|
9
9
|
notifications: UserNotifications;
|
|
10
|
+
settings: UserSettings;
|
|
11
|
+
status: UserStatus;
|
|
12
|
+
};
|
|
13
|
+
export type UserStatus = {
|
|
14
|
+
caCompletionStatus: CACompletionStatus;
|
|
15
|
+
};
|
|
16
|
+
export type UserSettings = {
|
|
17
|
+
language: UserLanguage;
|
|
10
18
|
};
|
|
11
19
|
export type UserPermissions = {
|
|
12
20
|
registrationReferralAllowed: boolean;
|
package/package.json
CHANGED
package/src/enum/index.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
export * from "./app-route.enum";
|
|
2
|
+
export * from "./ca.enum";
|
|
1
3
|
export * from "./cloudfunction.enum";
|
|
4
|
+
export * from "./evaluation.enum";
|
|
2
5
|
export * from "./like.enum";
|
|
3
6
|
export * from "./match.enum";
|
|
4
|
-
export * from "./app-route.enum";
|
|
5
|
-
export * from "./ai-verification-status.enum";
|
|
6
|
-
export * from "./evaluation.enum";
|
|
7
7
|
export * from "./report.enum";
|
|
8
8
|
export * from "./gender.enum";
|
|
9
9
|
export * from "./provider.enum";
|
|
10
10
|
export * from "./state.enum";
|
|
11
11
|
export * from "./notification.enum";
|
|
12
|
+
export * from "./user.enum";
|
package/src/enum/match.enum.ts
CHANGED
package/src/types/index.ts
CHANGED
package/src/types/user.types.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
CACompletionStatus,
|
|
3
|
+
Gender,
|
|
4
|
+
NotificationSetting,
|
|
5
|
+
UserLanguage,
|
|
6
|
+
} from "../enum";
|
|
2
7
|
|
|
3
8
|
export type User = {
|
|
4
9
|
id: string;
|
|
@@ -8,6 +13,16 @@ export type User = {
|
|
|
8
13
|
profile: UserProfile;
|
|
9
14
|
preferences: DatingPreferences;
|
|
10
15
|
notifications: UserNotifications;
|
|
16
|
+
settings: UserSettings;
|
|
17
|
+
status: UserStatus;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type UserStatus = {
|
|
21
|
+
caCompletionStatus: CACompletionStatus;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export type UserSettings = {
|
|
25
|
+
language: UserLanguage;
|
|
11
26
|
};
|
|
12
27
|
|
|
13
28
|
export type UserPermissions = {
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AiVerificationStatus = void 0;
|
|
4
|
-
var AiVerificationStatus;
|
|
5
|
-
(function (AiVerificationStatus) {
|
|
6
|
-
AiVerificationStatus["PENDING"] = "pending";
|
|
7
|
-
AiVerificationStatus["ERROR"] = "error";
|
|
8
|
-
AiVerificationStatus["SUCCESS"] = "success";
|
|
9
|
-
AiVerificationStatus["ACTION_REQUIRED"] = "action required";
|
|
10
|
-
})(AiVerificationStatus || (exports.AiVerificationStatus = AiVerificationStatus = {}));
|