@jealous-robot-dev/shared-types-responses 1.12.15 → 1.12.16

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,5 @@
1
- import { QueryResponse, PluralSingular, Language, Month } from '../common';
2
- import { ConciseEventData, EventReview, MinimumEventPhrases } from '../events/events';
1
+ import { QueryResponse, LND, Language, Month } from '../common';
2
+ import { ConciseEventData, EventReview } from '../events/events';
3
3
  export interface SuspensionReason {
4
4
  code: string;
5
5
  value: string;
@@ -33,20 +33,50 @@ export interface UserProfileData {
33
33
  followingCount: number;
34
34
  joinedIn: number;
35
35
  isCurrentUser: boolean;
36
+ isHost: boolean;
36
37
  followingYou?: boolean;
37
38
  youFollow?: boolean;
38
- events: CountableItems<ConciseEventData>;
39
- saved: CountableItems<ConciseEventData>;
40
- reviews: CountableItems<EventReview>;
41
39
  }
42
- export interface LabelNDescription {
40
+ export interface UserReportForm {
43
41
  label: string;
44
- description: string;
42
+ pickareason: string;
43
+ customreason: string;
44
+ reasons: SuspensionReason[];
45
+ successfull: LND;
46
+ }
47
+ export interface UserEventsInProfile {
48
+ title: string;
49
+ events: ConciseEventData[];
50
+ organizedBy: string;
51
+ }
52
+ export interface UserReviewsInProfile {
53
+ title: string;
54
+ reviews: EventReview[];
55
+ }
56
+ export interface UserProfileCurrentUserPhrases {
57
+ updateProfile: string;
58
+ invalidWebsite: string;
59
+ invalidTwitter: string;
60
+ resetAvatar: string;
61
+ done: string;
62
+ languagesispeak: string;
63
+ whyLanguages: string;
64
+ addMore: string;
65
+ save: string;
66
+ location: string;
67
+ twitterUsername: string;
68
+ websiteUrl: string;
69
+ update_avatar: {
70
+ title: string;
71
+ description: string;
72
+ upload_photo: string;
73
+ delete_photo: string;
74
+ };
45
75
  }
46
76
  export interface UserProfilePhrases {
47
77
  common: {
48
- following: PluralSingular;
49
- followers: PluralSingular;
78
+ following: string;
79
+ followers: string;
50
80
  follow: string;
51
81
  followingUser: string;
52
82
  unfollow: string;
@@ -55,65 +85,29 @@ export interface UserProfilePhrases {
55
85
  joinedIn: string;
56
86
  about: string;
57
87
  reviews: string;
58
- reviewsByYou: string;
59
- events: string;
88
+ hosted_events: string;
60
89
  block: string;
61
90
  suggested: string;
62
91
  viewMore: string;
63
- saved: string;
64
92
  cancel: string;
65
93
  choicelanguages: Language[];
94
+ months: Month[];
66
95
  areYouSure: string;
67
96
  showMore: string;
68
97
  showLess: string;
69
- haveNoEvents: LabelNDescription;
70
- haveNoReviews: LabelNDescription;
71
- haveNoSaved: LabelNDescription;
72
- haveNoFollowers: string;
73
- haveNoFollowing: string;
98
+ haveNoFollowers?: string;
99
+ haveNoFollowing?: string;
74
100
  blockDescription: {
75
101
  first: string;
76
102
  second: string;
77
103
  };
78
- report: {
79
- label: string;
80
- pickareason: string;
81
- customreason: string;
82
- reasons: SuspensionReason[];
83
- successfull: {
84
- label: string;
85
- description: string;
86
- };
87
- };
88
104
  };
89
- months: Month[];
90
- events: MinimumEventPhrases;
91
105
  share: {
92
106
  label: string;
93
107
  title: string;
94
108
  message: string;
95
109
  subject: string;
96
110
  };
97
- isCurrent?: {
98
- updateProfile: string;
99
- invalidWebsite: string;
100
- invalidTwitter: string;
101
- resetAvatar: string;
102
- done: string;
103
- languagesispeak: string;
104
- whyLanguages: string;
105
- addMore: string;
106
- save: string;
107
- location: string;
108
- twitterUsername: string;
109
- websiteUrl: string;
110
- update_avatar: {
111
- title: string;
112
- description: string;
113
- upload_photo: string;
114
- delete_photo: string;
115
- };
116
- };
117
111
  }
118
112
  export interface UserProfileResponse extends QueryResponse<UserProfileData, UserProfilePhrases> {
119
113
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.12.15",
3
+ "version": "1.12.16",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",