heartraite 1.0.112 → 1.0.113
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/like.enum.d.ts
CHANGED
|
@@ -9,3 +9,11 @@ export declare enum LikeStatus {
|
|
|
9
9
|
MATCHED = "matched",
|
|
10
10
|
REJECTED = "rejected"
|
|
11
11
|
}
|
|
12
|
+
export declare enum DislikeReason {
|
|
13
|
+
NOT_MY_TYPE = "not_my_type",
|
|
14
|
+
DIFFERENT_LIFESTYLE = "different_lifestyle",
|
|
15
|
+
DIFFERENT_VALUES = "different_values",
|
|
16
|
+
NOT_GENUINE = "not_genuine",
|
|
17
|
+
TO_LONG_DISTANCE = "to_long_distance",
|
|
18
|
+
OTHER = "other"
|
|
19
|
+
}
|
package/dist/enum/like.enum.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LikeStatus = exports.LikeType = void 0;
|
|
3
|
+
exports.DislikeReason = exports.LikeStatus = exports.LikeType = void 0;
|
|
4
4
|
var LikeType;
|
|
5
5
|
(function (LikeType) {
|
|
6
6
|
LikeType["LIKE"] = "like";
|
|
@@ -14,3 +14,12 @@ var LikeStatus;
|
|
|
14
14
|
LikeStatus["MATCHED"] = "matched";
|
|
15
15
|
LikeStatus["REJECTED"] = "rejected";
|
|
16
16
|
})(LikeStatus || (exports.LikeStatus = LikeStatus = {}));
|
|
17
|
+
var DislikeReason;
|
|
18
|
+
(function (DislikeReason) {
|
|
19
|
+
DislikeReason["NOT_MY_TYPE"] = "not_my_type";
|
|
20
|
+
DislikeReason["DIFFERENT_LIFESTYLE"] = "different_lifestyle";
|
|
21
|
+
DislikeReason["DIFFERENT_VALUES"] = "different_values";
|
|
22
|
+
DislikeReason["NOT_GENUINE"] = "not_genuine";
|
|
23
|
+
DislikeReason["TO_LONG_DISTANCE"] = "to_long_distance";
|
|
24
|
+
DislikeReason["OTHER"] = "other";
|
|
25
|
+
})(DislikeReason || (exports.DislikeReason = DislikeReason = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FeedbackAgreement, FeedbackType, Gender, LikeType, ProviderType, ReportReason, UserDeletionReason } from "../enum";
|
|
1
|
+
import { DislikeReason, FeedbackAgreement, FeedbackType, Gender, LikeType, ProviderType, ReportReason, UserDeletionReason } from "../enum";
|
|
2
2
|
import { DeepPartial } from "./helper.types";
|
|
3
3
|
import { Answer, Demographics } from "./submission.types";
|
|
4
4
|
import { DatingPreferences, UserConsents, UserDevice, UserNotifications, UserProfile, UserSettings } from "./user.types";
|
|
@@ -49,6 +49,8 @@ export type GetMessagesRequest = {
|
|
|
49
49
|
export type CreateLikeRequest = {
|
|
50
50
|
recipientId: string;
|
|
51
51
|
type: LikeType;
|
|
52
|
+
dislikeReason?: DislikeReason;
|
|
53
|
+
dislikeComment?: string;
|
|
52
54
|
};
|
|
53
55
|
export type GetLikesRequest = {
|
|
54
56
|
limit: number;
|
package/package.json
CHANGED
package/src/enum/like.enum.ts
CHANGED
|
@@ -10,3 +10,12 @@ export enum LikeStatus {
|
|
|
10
10
|
MATCHED = "matched",
|
|
11
11
|
REJECTED = "rejected",
|
|
12
12
|
}
|
|
13
|
+
|
|
14
|
+
export enum DislikeReason {
|
|
15
|
+
NOT_MY_TYPE = "not_my_type",
|
|
16
|
+
DIFFERENT_LIFESTYLE = "different_lifestyle",
|
|
17
|
+
DIFFERENT_VALUES = "different_values",
|
|
18
|
+
NOT_GENUINE = "not_genuine",
|
|
19
|
+
TO_LONG_DISTANCE = "to_long_distance",
|
|
20
|
+
OTHER = "other",
|
|
21
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
DislikeReason,
|
|
2
3
|
FeedbackAgreement,
|
|
3
4
|
FeedbackType,
|
|
4
5
|
Gender,
|
|
@@ -73,7 +74,12 @@ export type GetMessagesRequest = {
|
|
|
73
74
|
};
|
|
74
75
|
|
|
75
76
|
// like
|
|
76
|
-
export type CreateLikeRequest = {
|
|
77
|
+
export type CreateLikeRequest = {
|
|
78
|
+
recipientId: string;
|
|
79
|
+
type: LikeType;
|
|
80
|
+
dislikeReason?: DislikeReason;
|
|
81
|
+
dislikeComment?: string;
|
|
82
|
+
};
|
|
77
83
|
export type GetLikesRequest = { limit: number; offset: string };
|
|
78
84
|
export type HandleLikeSeenRequest = { userId: string };
|
|
79
85
|
|