@jealous-robot-dev/shared-types-responses 1.27.8 → 1.27.12
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.
|
@@ -26,6 +26,7 @@ var PermissionCookies;
|
|
|
26
26
|
(function (PermissionCookies) {
|
|
27
27
|
PermissionCookies["PW_RESET_VERIFICATION"] = "pwrv";
|
|
28
28
|
PermissionCookies["DELETE_ACCOUNT"] = "_da";
|
|
29
|
+
PermissionCookies["CANCEL_BOOKING"] = "_cb";
|
|
29
30
|
PermissionCookies["SUSPEND_EVENT"] = "_se";
|
|
30
31
|
PermissionCookies["RESUME_EVENT"] = "_re";
|
|
31
32
|
PermissionCookies["DELETE_EVENT"] = "_de";
|
|
@@ -5,6 +5,7 @@ export declare enum GuestHubCategories {
|
|
|
5
5
|
VISITED = "visited",
|
|
6
6
|
REVIEWS = "reviews"
|
|
7
7
|
}
|
|
8
|
+
export declare const GHCListed: GuestHubCategories[];
|
|
8
9
|
export interface EventGuestHubPhrases {
|
|
9
10
|
title: string;
|
|
10
11
|
no_visited_events: LND;
|
|
@@ -29,8 +30,29 @@ export interface EventForGuest {
|
|
|
29
30
|
raiting: number;
|
|
30
31
|
is_upcoming?: {
|
|
31
32
|
sid: string;
|
|
32
|
-
|
|
33
|
+
can_join: boolean;
|
|
33
34
|
};
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
reviews: number;
|
|
36
|
+
host: UserInEvent;
|
|
37
|
+
}
|
|
38
|
+
export interface ReviewedByGuestEvents {
|
|
39
|
+
event: {
|
|
40
|
+
id: string;
|
|
41
|
+
pic: string;
|
|
42
|
+
name: string;
|
|
43
|
+
raiting: number;
|
|
44
|
+
reviews: number;
|
|
45
|
+
type: EventTypes;
|
|
46
|
+
};
|
|
47
|
+
reviews: {
|
|
48
|
+
total: number;
|
|
49
|
+
latest_review: string;
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export interface ReviewedByGuestReviews {
|
|
53
|
+
rid: string;
|
|
54
|
+
sid: string;
|
|
55
|
+
comment: string;
|
|
56
|
+
raiting: number;
|
|
57
|
+
created_at: string;
|
|
36
58
|
}
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GuestHubCategories = void 0;
|
|
3
|
+
exports.GHCListed = exports.GuestHubCategories = void 0;
|
|
4
4
|
var GuestHubCategories;
|
|
5
5
|
(function (GuestHubCategories) {
|
|
6
6
|
GuestHubCategories["UPCOMING"] = "upcoming";
|
|
7
7
|
GuestHubCategories["VISITED"] = "visited";
|
|
8
8
|
GuestHubCategories["REVIEWS"] = "reviews";
|
|
9
9
|
})(GuestHubCategories = exports.GuestHubCategories || (exports.GuestHubCategories = {}));
|
|
10
|
+
exports.GHCListed = [
|
|
11
|
+
GuestHubCategories.UPCOMING,
|
|
12
|
+
GuestHubCategories.VISITED,
|
|
13
|
+
GuestHubCategories.REVIEWS,
|
|
14
|
+
];
|