@jealous-robot-dev/shared-types-responses 1.24.4 → 1.24.8

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.
@@ -35,14 +35,6 @@ export interface ViewEventCommonData {
35
35
  saved: boolean;
36
36
  pictures: HostEventPics[];
37
37
  }
38
- export interface ViewEventPicture {
39
- id: string;
40
- index: number;
41
- }
42
- export interface ViewEventPictures {
43
- total: number;
44
- entries: ViewEventPicture[];
45
- }
46
38
  export interface ViewEventPicturePhrases {
47
39
  close: string;
48
40
  show_all_photos: string;
@@ -100,19 +92,22 @@ export interface ViewEventAboutHostPhrases {
100
92
  ask_a_question: string;
101
93
  }
102
94
  export interface ViewEventHostData {
103
- member_since: string;
104
- about: string;
105
- ppu: string;
106
- UID: string;
107
- reviews: number;
108
- raiting: number;
109
- firstname: string;
110
- lastname: string;
111
- username: string;
95
+ is_available: boolean;
96
+ member_since?: string;
97
+ about?: string;
98
+ ppu?: string;
99
+ UID?: string;
100
+ reviews?: number;
101
+ raiting?: number;
102
+ firstname?: string;
103
+ lastname?: string;
104
+ username?: string;
112
105
  }
113
106
  export interface EventSessionTime {
114
- time: string;
115
- session_id: string;
107
+ sid: string;
108
+ duration: number;
109
+ starts_at: string;
110
+ is_almost_taken: boolean;
116
111
  }
117
112
  export interface ViewEventDates {
118
113
  count: number;
@@ -11,13 +11,13 @@ export interface EventCollectionPhrases {
11
11
  } | null;
12
12
  }
13
13
  export interface EventInCollection {
14
- event_pic: string;
15
- event_id: string;
16
- event_name: string;
17
- event_type: EventTypes;
18
- event_raiting: null | number;
19
- event_reviews_count: number | null;
20
- event_organizer: UserInEvent;
14
+ pic: string;
15
+ id: string;
16
+ name: string;
17
+ type: EventTypes;
18
+ raiting: number;
19
+ reviews_count: null;
20
+ organizer: UserInEvent;
21
21
  }
22
22
  export interface EventCollectionData {
23
23
  total: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jealous-robot-dev/shared-types-responses",
3
- "version": "1.24.4",
3
+ "version": "1.24.8",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",