@jealous-robot-dev/shared-types-responses 1.24.0 → 1.24.4
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.
|
@@ -9,7 +9,8 @@ export declare enum Cookies {
|
|
|
9
9
|
UITHEME = "uitheme",
|
|
10
10
|
NEW_MEMBER = "_nm",
|
|
11
11
|
AUTH_CTX = "a_ctx",
|
|
12
|
-
IMPRESSION_ID = "impression_id"
|
|
12
|
+
IMPRESSION_ID = "impression_id",
|
|
13
|
+
EVENT_VIEW = "_evp"
|
|
13
14
|
}
|
|
14
15
|
export declare const ListedCookes: Cookies[];
|
|
15
16
|
export declare enum PermissionCookies {
|
|
@@ -14,12 +14,13 @@ var Cookies;
|
|
|
14
14
|
Cookies["NEW_MEMBER"] = "_nm";
|
|
15
15
|
Cookies["AUTH_CTX"] = "a_ctx";
|
|
16
16
|
Cookies["IMPRESSION_ID"] = "impression_id";
|
|
17
|
+
Cookies["EVENT_VIEW"] = "_evp";
|
|
17
18
|
})(Cookies = exports.Cookies || (exports.Cookies = {}));
|
|
18
19
|
exports.ListedCookes = [
|
|
19
20
|
Cookies.AUTH_CTX, Cookies.CONSENT, Cookies.CSFR_TOKEN,
|
|
20
21
|
Cookies.CURRENCY, Cookies.DEVICE_ID, Cookies.LOCALE_ID,
|
|
21
|
-
Cookies.
|
|
22
|
-
Cookies.
|
|
22
|
+
Cookies.UITHEME, Cookies.IMPRESSION_ID, Cookies.EVENT_VIEW,
|
|
23
|
+
Cookies.NEW_MEMBER, Cookies.REMEMBERED_USER, Cookies.SESSION_PASS
|
|
23
24
|
];
|
|
24
25
|
var PermissionCookies;
|
|
25
26
|
(function (PermissionCookies) {
|
|
@@ -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,7 +104,8 @@ 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;
|
|
@@ -97,13 +97,12 @@ export interface EventCommonData {
|
|
|
97
97
|
event_organizer: UserInEvent;
|
|
98
98
|
}
|
|
99
99
|
export interface ConciseEventData {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
event_organizer?: string;
|
|
100
|
+
picture: string;
|
|
101
|
+
id: string;
|
|
102
|
+
name: string;
|
|
103
|
+
raiting: number;
|
|
104
|
+
reviews_count: number;
|
|
105
|
+
type: EventTypes;
|
|
107
106
|
}
|
|
108
107
|
export interface PhrasedEventType {
|
|
109
108
|
type: EventTypes;
|