heartraite 1.0.159 → 1.0.161
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/feedback.enum.d.ts +5 -0
- package/dist/enum/feedback.enum.js +7 -1
- package/dist/types/feedback.types.d.ts +2 -1
- package/dist/types/request.types.d.ts +2 -1
- package/package.json +1 -1
- package/src/enum/feedback.enum.ts +6 -0
- package/src/types/feedback.types.ts +2 -1
- package/src/types/request.types.ts +2 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FeedbackType = void 0;
|
|
3
|
+
exports.FeedbackHandlingStatus = exports.FeedbackType = void 0;
|
|
4
4
|
var FeedbackType;
|
|
5
5
|
(function (FeedbackType) {
|
|
6
6
|
FeedbackType["BUG"] = "bug";
|
|
@@ -10,3 +10,9 @@ var FeedbackType;
|
|
|
10
10
|
FeedbackType["QUESTION"] = "question";
|
|
11
11
|
FeedbackType["OTHER"] = "other";
|
|
12
12
|
})(FeedbackType || (exports.FeedbackType = FeedbackType = {}));
|
|
13
|
+
var FeedbackHandlingStatus;
|
|
14
|
+
(function (FeedbackHandlingStatus) {
|
|
15
|
+
FeedbackHandlingStatus["NEW"] = "NEW";
|
|
16
|
+
FeedbackHandlingStatus["RESPONDED"] = "RESPONDED";
|
|
17
|
+
FeedbackHandlingStatus["CLOSED"] = "CLOSED";
|
|
18
|
+
})(FeedbackHandlingStatus || (exports.FeedbackHandlingStatus = FeedbackHandlingStatus = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FeedbackType } from "../enum";
|
|
1
|
+
import { FeedbackHandlingStatus, FeedbackType } from "../enum";
|
|
2
2
|
export type Feedback = {
|
|
3
3
|
id: string;
|
|
4
4
|
type: FeedbackType;
|
|
@@ -6,6 +6,7 @@ export type Feedback = {
|
|
|
6
6
|
context: string;
|
|
7
7
|
createdBy: string;
|
|
8
8
|
created: string;
|
|
9
|
+
handlingStatus?: FeedbackHandlingStatus;
|
|
9
10
|
metadata?: Record<string, any>;
|
|
10
11
|
rating?: number;
|
|
11
12
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DislikeReason, FeedbackAgreement, FeedbackType, Gender, LikeType, ProviderType, ReportReason, UserDeletionReason } from "../enum";
|
|
1
|
+
import { DislikeReason, FeedbackAgreement, FeedbackType, Gender, LikeType, ProviderType, ReportReason, Theme, 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";
|
|
@@ -10,6 +10,7 @@ export type RegisterUserRequest = {
|
|
|
10
10
|
provider: ProviderType;
|
|
11
11
|
created: string;
|
|
12
12
|
referrerId?: string;
|
|
13
|
+
theme: Theme;
|
|
13
14
|
};
|
|
14
15
|
export type GetCARequest = undefined;
|
|
15
16
|
export type SubmitAnswerRequest = {
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FeedbackType } from "../enum";
|
|
1
|
+
import { FeedbackHandlingStatus, FeedbackType } from "../enum";
|
|
2
2
|
|
|
3
3
|
export type Feedback = {
|
|
4
4
|
id: string;
|
|
@@ -7,6 +7,7 @@ export type Feedback = {
|
|
|
7
7
|
context: string;
|
|
8
8
|
createdBy: string;
|
|
9
9
|
created: string;
|
|
10
|
+
handlingStatus?: FeedbackHandlingStatus;
|
|
10
11
|
metadata?: Record<string, any>;
|
|
11
12
|
rating?: number;
|
|
12
13
|
};
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
LikeType,
|
|
7
7
|
ProviderType,
|
|
8
8
|
ReportReason,
|
|
9
|
+
Theme,
|
|
9
10
|
UserDeletionReason,
|
|
10
11
|
} from "../enum";
|
|
11
12
|
import { DeepPartial } from "./helper.types";
|
|
@@ -30,6 +31,7 @@ export type RegisterUserRequest = {
|
|
|
30
31
|
provider: ProviderType;
|
|
31
32
|
created: string;
|
|
32
33
|
referrerId?: string;
|
|
34
|
+
theme: Theme;
|
|
33
35
|
};
|
|
34
36
|
|
|
35
37
|
// ca
|