@jealous-robot-dev/shared-types-responses 1.20.14 → 1.20.18
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/build/services/user/profile-basic-data.d.ts +8 -4
- package/build/services/user/profile-basic-data.js +8 -0
- package/build/services/user-settings/event-settings.d.ts +2 -2
- package/build/services/user-settings/user-notifications-settings.d.ts +1 -1
- package/build/services/user-settings/user-notifications-settings.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { QueryResponse, LND, Language } from '../common';
|
|
2
2
|
import { ConciseEventData, EventReview } from '../events/events';
|
|
3
|
+
import { PersonalInfoBirthday } from '../user-settings';
|
|
3
4
|
export interface SuspensionReason {
|
|
4
5
|
code: string;
|
|
5
6
|
value: string;
|
|
@@ -28,15 +29,12 @@ export interface UserProfileData {
|
|
|
28
29
|
twiterUsername?: string;
|
|
29
30
|
website?: string;
|
|
30
31
|
average_raiting?: number;
|
|
32
|
+
birthday?: PersonalInfoBirthday;
|
|
31
33
|
review_count?: number;
|
|
32
34
|
languagesSpoken: string[];
|
|
33
|
-
followersCount: number;
|
|
34
|
-
followingCount: number;
|
|
35
35
|
joinedIn: number;
|
|
36
36
|
isCurrentUser: boolean;
|
|
37
37
|
isHost: boolean;
|
|
38
|
-
followingYou?: boolean;
|
|
39
|
-
youFollow?: boolean;
|
|
40
38
|
}
|
|
41
39
|
export interface UserReportForm {
|
|
42
40
|
label: string;
|
|
@@ -108,5 +106,11 @@ export interface UserProfilePhrases {
|
|
|
108
106
|
subject: string;
|
|
109
107
|
};
|
|
110
108
|
}
|
|
109
|
+
export declare enum ProfileShowResponses {
|
|
110
|
+
FOUND = "FOUND",
|
|
111
|
+
NOT_FOUND = "NOT_FOUND",
|
|
112
|
+
BAD_REQUEST = "BAD_REQUEST",
|
|
113
|
+
PLEASE_LOGIN = "PLEASE_LOGIN"
|
|
114
|
+
}
|
|
111
115
|
export interface UserProfileResponse extends QueryResponse<UserProfileData, UserProfilePhrases> {
|
|
112
116
|
}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProfileShowResponses = void 0;
|
|
4
|
+
var ProfileShowResponses;
|
|
5
|
+
(function (ProfileShowResponses) {
|
|
6
|
+
ProfileShowResponses["FOUND"] = "FOUND";
|
|
7
|
+
ProfileShowResponses["NOT_FOUND"] = "NOT_FOUND";
|
|
8
|
+
ProfileShowResponses["BAD_REQUEST"] = "BAD_REQUEST";
|
|
9
|
+
ProfileShowResponses["PLEASE_LOGIN"] = "PLEASE_LOGIN";
|
|
10
|
+
})(ProfileShowResponses = exports.ProfileShowResponses || (exports.ProfileShowResponses = {}));
|
|
@@ -9,13 +9,13 @@ export interface UserEventSettingsData {
|
|
|
9
9
|
guest: {
|
|
10
10
|
updatedEventNotifs: boolean;
|
|
11
11
|
upcomingEvents: {
|
|
12
|
-
|
|
12
|
+
enabled: boolean;
|
|
13
13
|
interval: number;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
host: {
|
|
17
17
|
upcomingEvents: {
|
|
18
|
-
|
|
18
|
+
enabled: boolean;
|
|
19
19
|
interval: number;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -2,7 +2,7 @@ import { QueryResponse } from '../common';
|
|
|
2
2
|
import { FAQ } from '@jealous-robot-dev/shared-ui-lib';
|
|
3
3
|
export declare enum Channels {
|
|
4
4
|
EMAIL = "email",
|
|
5
|
-
PUSH = "push
|
|
5
|
+
PUSH = "push"
|
|
6
6
|
}
|
|
7
7
|
export declare const UNCL: Channels[];
|
|
8
8
|
export declare enum UserNotificationDataSettingID {
|
|
@@ -4,7 +4,7 @@ exports.UNDSIDs = exports.UserNotificationDataSettingID = exports.UNCL = exports
|
|
|
4
4
|
var Channels;
|
|
5
5
|
(function (Channels) {
|
|
6
6
|
Channels["EMAIL"] = "email";
|
|
7
|
-
Channels["PUSH"] = "push
|
|
7
|
+
Channels["PUSH"] = "push";
|
|
8
8
|
})(Channels = exports.Channels || (exports.Channels = {}));
|
|
9
9
|
exports.UNCL = [Channels.EMAIL, Channels.PUSH];
|
|
10
10
|
var UserNotificationDataSettingID;
|