@jealous-robot-dev/shared-types-responses 1.20.16 → 1.20.20

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.
@@ -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;
@@ -21,22 +22,19 @@ export interface UserProfileData {
21
22
  firstname: string;
22
23
  lastname: string;
23
24
  email?: string;
24
- ppu?: string;
25
+ has_ppu?: boolean;
25
26
  UID: string;
26
27
  about?: string;
27
28
  location?: string;
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
- joinedIn: number;
35
+ joinedIn: string;
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;
@@ -74,16 +72,12 @@ export interface UserProfileCurrentUserPhrases {
74
72
  }
75
73
  export interface ViewerProfilePhrases {
76
74
  block: string;
75
+ contact: string;
77
76
  are_you_sure: string;
78
77
  block_description: string;
79
78
  }
80
79
  export interface UserProfilePhrases {
81
80
  common: {
82
- following: string;
83
- followers: string;
84
- unfollow: string;
85
- follow: string;
86
- following_user: string;
87
81
  languages_spoken: string;
88
82
  joinedIn: string;
89
83
  about: string;
@@ -93,8 +87,6 @@ export interface UserProfilePhrases {
93
87
  showMore: string;
94
88
  showLess: string;
95
89
  load_more: string;
96
- haveNoFollowers?: string;
97
- haveNoFollowing?: string;
98
90
  };
99
91
  is_host: {
100
92
  hosted_events: string;
@@ -108,5 +100,11 @@ export interface UserProfilePhrases {
108
100
  subject: string;
109
101
  };
110
102
  }
103
+ export declare enum ProfileShowResponses {
104
+ FOUND = "FOUND",
105
+ NOT_FOUND = "NOT_FOUND",
106
+ BAD_REQUEST = "BAD_REQUEST",
107
+ PLEASE_LOGIN = "PLEASE_LOGIN"
108
+ }
111
109
  export interface UserProfileResponse extends QueryResponse<UserProfileData, UserProfilePhrases> {
112
110
  }
@@ -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
- remind: boolean;
12
+ enabled: boolean;
13
13
  interval: number;
14
14
  };
15
15
  };
16
16
  host: {
17
17
  upcomingEvents: {
18
- remind: boolean;
18
+ enabled: boolean;
19
19
  interval: number;
20
20
  };
21
21
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.20.16",
3
+ "version": "1.20.20",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",