@jealous-robot-dev/shared-types-responses 1.20.24 → 1.20.28
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/index.d.ts +1 -0
- package/build/index.js +1 -0
- package/build/services/events/event.d.ts +2 -2
- package/build/services/events/events.d.ts +1 -1
- package/build/services/forms/authentication.d.ts +1 -1
- package/build/services/main-data.d.ts +1 -1
- package/build/services/media.d.ts +11 -0
- package/build/services/media.js +29 -0
- package/build/services/messenger/conversations.d.ts +2 -2
- package/build/services/messenger/user-inbox.d.ts +1 -1
- package/build/services/static-components/searchbar.d.ts +1 -1
- package/build/services/stats/user-visitors.d.ts +1 -1
- package/build/services/user/profile-basic-data.d.ts +7 -2
- package/build/services/user/profile-basic-data.js +6 -1
- package/build/services/user/search-user.d.ts +1 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
package/build/index.js
CHANGED
|
@@ -10,6 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
__exportStar(require("./services/media"), exports);
|
|
13
14
|
__exportStar(require("./services/errors"), exports);
|
|
14
15
|
__exportStar(require("./services/common"), exports);
|
|
15
16
|
__exportStar(require("./services/cookies"), exports);
|
|
@@ -100,7 +100,7 @@ export interface ViewEventAboutHostPhrases {
|
|
|
100
100
|
export interface ViewEventHostData {
|
|
101
101
|
member_since: string;
|
|
102
102
|
about: string;
|
|
103
|
-
|
|
103
|
+
has_ppu: boolean;
|
|
104
104
|
UID: string;
|
|
105
105
|
reviews: number | null;
|
|
106
106
|
firstname: string;
|
|
@@ -144,7 +144,7 @@ export interface ViewEventGatheredPhrases {
|
|
|
144
144
|
export interface ViewEventReview {
|
|
145
145
|
author: {
|
|
146
146
|
UID: string;
|
|
147
|
-
|
|
147
|
+
has_ppu: boolean;
|
|
148
148
|
username: string;
|
|
149
149
|
};
|
|
150
150
|
written_at: string;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.pputresholds = exports.ppusizeslist = exports.PPUSizes = void 0;
|
|
4
|
+
var PPUSizes;
|
|
5
|
+
(function (PPUSizes) {
|
|
6
|
+
PPUSizes["LARGE"] = "large";
|
|
7
|
+
PPUSizes["SMALL"] = "small";
|
|
8
|
+
PPUSizes["MEDIUM"] = "medium";
|
|
9
|
+
})(PPUSizes = exports.PPUSizes || (exports.PPUSizes = {}));
|
|
10
|
+
exports.ppusizeslist = [
|
|
11
|
+
PPUSizes.LARGE, PPUSizes.MEDIUM, PPUSizes.SMALL
|
|
12
|
+
];
|
|
13
|
+
exports.pputresholds = [
|
|
14
|
+
{
|
|
15
|
+
size: PPUSizes.LARGE,
|
|
16
|
+
width: 264,
|
|
17
|
+
quality: 20
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
size: PPUSizes.MEDIUM,
|
|
21
|
+
width: 132,
|
|
22
|
+
quality: 212
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
size: PPUSizes.SMALL,
|
|
26
|
+
width: 68,
|
|
27
|
+
quality: 10
|
|
28
|
+
},
|
|
29
|
+
];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Message } from './messages';
|
|
2
2
|
export interface MessengerUser {
|
|
3
|
-
|
|
3
|
+
has_ppu: boolean;
|
|
4
4
|
UID: string;
|
|
5
5
|
username: string;
|
|
6
6
|
lastname: string;
|
|
@@ -9,7 +9,7 @@ export interface MessengerUser {
|
|
|
9
9
|
deleted_chat: number;
|
|
10
10
|
}
|
|
11
11
|
export interface ShortMessengerUser {
|
|
12
|
-
|
|
12
|
+
has_ppu: boolean;
|
|
13
13
|
UID: string;
|
|
14
14
|
username: string;
|
|
15
15
|
lastname: string;
|
|
@@ -10,7 +10,7 @@ export interface UserFollower {
|
|
|
10
10
|
username: string;
|
|
11
11
|
lastname: string;
|
|
12
12
|
firstname: string;
|
|
13
|
-
|
|
13
|
+
has_ppu: boolean;
|
|
14
14
|
youFollow?: boolean;
|
|
15
15
|
}
|
|
16
16
|
export interface CountableItems<ItemType> {
|
|
@@ -22,7 +22,7 @@ export interface UserProfileData {
|
|
|
22
22
|
firstname: string;
|
|
23
23
|
lastname: string;
|
|
24
24
|
email?: string;
|
|
25
|
-
has_ppu
|
|
25
|
+
has_ppu: boolean;
|
|
26
26
|
UID: string;
|
|
27
27
|
about?: string;
|
|
28
28
|
location?: string;
|
|
@@ -73,6 +73,7 @@ export interface UserProfileCurrentUserPhrases {
|
|
|
73
73
|
description: string;
|
|
74
74
|
upload_photo: string;
|
|
75
75
|
delete_photo: string;
|
|
76
|
+
get_from_fb: string;
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
79
|
export interface ViewerProfilePhrases {
|
|
@@ -113,6 +114,10 @@ export declare enum ProfileInfoFiels {
|
|
|
113
114
|
ABOUT = "about",
|
|
114
115
|
LANGS = "languagesSpoken"
|
|
115
116
|
}
|
|
117
|
+
export declare enum PeerRestriction {
|
|
118
|
+
BLOCK = "BLOCK",
|
|
119
|
+
UNBLOCK = "UNBLOCK"
|
|
120
|
+
}
|
|
116
121
|
export declare const PIFListed: ProfileInfoFiels[];
|
|
117
122
|
export declare enum ProfileShowResponses {
|
|
118
123
|
FOUND = "FOUND",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProfileShowResponses = exports.PIFListed = exports.ProfileInfoFiels = void 0;
|
|
3
|
+
exports.ProfileShowResponses = exports.PIFListed = exports.PeerRestriction = exports.ProfileInfoFiels = void 0;
|
|
4
4
|
var ProfileInfoFiels;
|
|
5
5
|
(function (ProfileInfoFiels) {
|
|
6
6
|
ProfileInfoFiels["TWTR_USERNAME"] = "twitterUsername";
|
|
@@ -9,6 +9,11 @@ var ProfileInfoFiels;
|
|
|
9
9
|
ProfileInfoFiels["ABOUT"] = "about";
|
|
10
10
|
ProfileInfoFiels["LANGS"] = "languagesSpoken";
|
|
11
11
|
})(ProfileInfoFiels = exports.ProfileInfoFiels || (exports.ProfileInfoFiels = {}));
|
|
12
|
+
var PeerRestriction;
|
|
13
|
+
(function (PeerRestriction) {
|
|
14
|
+
PeerRestriction["BLOCK"] = "BLOCK";
|
|
15
|
+
PeerRestriction["UNBLOCK"] = "UNBLOCK";
|
|
16
|
+
})(PeerRestriction = exports.PeerRestriction || (exports.PeerRestriction = {}));
|
|
12
17
|
exports.PIFListed = [
|
|
13
18
|
ProfileInfoFiels.TWTR_USERNAME, ProfileInfoFiels.LOCATION,
|
|
14
19
|
ProfileInfoFiels.ABOUT, ProfileInfoFiels.WEBSITE, ProfileInfoFiels.LANGS
|