@jealous-robot-dev/shared-types-responses 1.24.3 → 1.24.7

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;
@@ -104,14 +96,17 @@ export interface ViewEventHostData {
104
96
  about: string;
105
97
  ppu: string;
106
98
  UID: string;
107
- reviews: number | null;
99
+ reviews: number;
100
+ raiting: number;
108
101
  firstname: string;
109
102
  lastname: string;
110
103
  username: string;
111
104
  }
112
105
  export interface EventSessionTime {
113
- time: string;
114
- session_id: string;
106
+ sid: string;
107
+ duration: number;
108
+ starts_at: string;
109
+ is_almost_taken: boolean;
115
110
  }
116
111
  export interface ViewEventDates {
117
112
  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.3",
3
+ "version": "1.24.7",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",