@jealous-robot-dev/shared-types-responses 1.24.2 → 1.24.6
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,6 +1,7 @@
|
|
|
1
1
|
import { LND } from "../common";
|
|
2
2
|
import { EventTypes } from "./events";
|
|
3
3
|
import { SharerProps } from '../forms/sharer';
|
|
4
|
+
import { HostEventPics } from "./host-an-event";
|
|
4
5
|
export declare enum EventSectionIDs {
|
|
5
6
|
INTRO = "INTRO",
|
|
6
7
|
HEADER = "HEADER",
|
|
@@ -18,20 +19,21 @@ export declare enum EventSectionIDs {
|
|
|
18
19
|
TIPS = "TIPS & REQUIREMENTS"
|
|
19
20
|
}
|
|
20
21
|
export interface ViewEventCommonData {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
22
|
+
id: string;
|
|
23
|
+
language: string;
|
|
24
|
+
type: EventTypes;
|
|
25
|
+
name: string;
|
|
26
|
+
description: string;
|
|
27
|
+
fee: number;
|
|
28
|
+
duration: string;
|
|
29
|
+
capacity: number;
|
|
30
|
+
prerequisites: string[];
|
|
31
|
+
raiting: number;
|
|
32
|
+
review_count: number;
|
|
33
|
+
single_session: boolean;
|
|
34
|
+
tags: string[];
|
|
35
|
+
saved: boolean;
|
|
36
|
+
pictures: HostEventPics[];
|
|
35
37
|
}
|
|
36
38
|
export interface ViewEventPicture {
|
|
37
39
|
id: string;
|
|
@@ -102,14 +104,17 @@ export interface ViewEventHostData {
|
|
|
102
104
|
about: string;
|
|
103
105
|
ppu: string;
|
|
104
106
|
UID: string;
|
|
105
|
-
reviews: number
|
|
107
|
+
reviews: number;
|
|
108
|
+
raiting: number;
|
|
106
109
|
firstname: string;
|
|
107
110
|
lastname: string;
|
|
108
111
|
username: string;
|
|
109
112
|
}
|
|
110
113
|
export interface EventSessionTime {
|
|
111
|
-
|
|
112
|
-
|
|
114
|
+
sid: string;
|
|
115
|
+
duration: number;
|
|
116
|
+
starts_at: string;
|
|
117
|
+
is_almost_taken: boolean;
|
|
113
118
|
}
|
|
114
119
|
export interface ViewEventDates {
|
|
115
120
|
count: number;
|
|
@@ -11,13 +11,13 @@ export interface EventCollectionPhrases {
|
|
|
11
11
|
} | null;
|
|
12
12
|
}
|
|
13
13
|
export interface EventInCollection {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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;
|