@jealous-robot-dev/shared-types-responses 1.20.29 → 1.21.2

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.
@@ -100,7 +100,7 @@ export interface ViewEventAboutHostPhrases {
100
100
  export interface ViewEventHostData {
101
101
  member_since: string;
102
102
  about: string;
103
- has_ppu: boolean;
103
+ ppu: string;
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
- has_ppu: boolean;
147
+ ppu: string;
148
148
  username: string;
149
149
  };
150
150
  written_at: string;
@@ -25,7 +25,7 @@ export interface UserInEvent {
25
25
  username: string;
26
26
  firstname: string;
27
27
  lastname: string;
28
- has_ppu: boolean;
28
+ ppu: string;
29
29
  }
30
30
  export interface EventReview {
31
31
  reviewID: string;
@@ -109,7 +109,7 @@ export interface WelcomeBackPhrases {
109
109
  export interface ShortAuthFormData {
110
110
  UID: string;
111
111
  email: string;
112
- has_ppu: boolean;
112
+ ppu: string;
113
113
  firstname: string;
114
114
  auth_provider: AuthenticationProviders;
115
115
  }
@@ -22,7 +22,7 @@ export interface MainUserData {
22
22
  username: string;
23
23
  firstname: string;
24
24
  lastname: string;
25
- has_ppu: boolean;
25
+ ppu: string;
26
26
  member_since: number;
27
27
  unread_messages_count: number;
28
28
  auth_instrument: AuthenticationProviders;
@@ -1,6 +1,6 @@
1
1
  import { Message } from './messages';
2
2
  export interface MessengerUser {
3
- has_ppu: boolean;
3
+ ppu: string;
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
- has_ppu: boolean;
12
+ ppu: string;
13
13
  UID: string;
14
14
  username: string;
15
15
  lastname: string;
@@ -5,7 +5,7 @@ export interface StartConversation {
5
5
  username: string;
6
6
  firstname: string;
7
7
  lastname: string;
8
- has_ppu: boolean;
8
+ ppu: string;
9
9
  }
10
10
  export interface UserInboxData {
11
11
  conversations: ShortConversation[];
@@ -32,7 +32,7 @@ export interface SearchUser {
32
32
  username: string;
33
33
  firstname: string;
34
34
  lastname: string;
35
- has_ppu: boolean;
35
+ ppu: string;
36
36
  UID: string;
37
37
  }
38
38
  export interface SearchbarData {
@@ -3,7 +3,7 @@ export interface ShortEventVisitor {
3
3
  UID: string;
4
4
  firstname: string;
5
5
  lastname: string;
6
- has_ppu: boolean;
6
+ ppu: string;
7
7
  }
8
8
  export interface PerformanceGuestsPhrases {
9
9
  title: string;
@@ -10,7 +10,7 @@ export interface UserFollower {
10
10
  username: string;
11
11
  lastname: string;
12
12
  firstname: string;
13
- has_ppu: boolean;
13
+ ppu: string;
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: boolean;
25
+ ppu: string;
26
26
  UID: string;
27
27
  about?: string;
28
28
  location?: string;
@@ -21,5 +21,15 @@ export interface UserInSearch {
21
21
  review_count?: number;
22
22
  languages_spoken: string[];
23
23
  joined_in: string;
24
- has_ppu: boolean;
24
+ ppu: string;
25
25
  }
26
+ export declare enum UserSearchCtxType {
27
+ USERNAME = "USERNAME",
28
+ NAMES = "NAMES"
29
+ }
30
+ export declare const USCTlist: UserSearchCtxType[];
31
+ export declare enum UserSearchQueryTypes {
32
+ SEARCHBAR = "SEARCHBAR",
33
+ PAGE = "PAGE"
34
+ }
35
+ export declare const USQTlist: UserSearchQueryTypes[];
@@ -1,2 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.USQTlist = exports.UserSearchQueryTypes = exports.USCTlist = exports.UserSearchCtxType = void 0;
4
+ var UserSearchCtxType;
5
+ (function (UserSearchCtxType) {
6
+ UserSearchCtxType["USERNAME"] = "USERNAME";
7
+ UserSearchCtxType["NAMES"] = "NAMES";
8
+ })(UserSearchCtxType = exports.UserSearchCtxType || (exports.UserSearchCtxType = {}));
9
+ exports.USCTlist = [
10
+ UserSearchCtxType.NAMES, UserSearchCtxType.USERNAME
11
+ ];
12
+ var UserSearchQueryTypes;
13
+ (function (UserSearchQueryTypes) {
14
+ UserSearchQueryTypes["SEARCHBAR"] = "SEARCHBAR";
15
+ UserSearchQueryTypes["PAGE"] = "PAGE";
16
+ })(UserSearchQueryTypes = exports.UserSearchQueryTypes || (exports.UserSearchQueryTypes = {}));
17
+ exports.USQTlist = [
18
+ UserSearchQueryTypes.PAGE, UserSearchQueryTypes.SEARCHBAR
19
+ ];
@@ -91,7 +91,7 @@ export interface BlockedUser {
91
91
  username: string;
92
92
  firstname: string;
93
93
  lastname: string;
94
- has_ppu: boolean;
94
+ ppu: string;
95
95
  }
96
96
  export interface UserSecurityResponse extends QueryResponse<UserSecurity, UserSecurityPhrases> {
97
97
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.20.29",
3
+ "version": "1.21.2",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",