@jealous-robot-dev/shared-types-responses 1.27.19 → 1.28.3
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.
- package/build/services/cookies.js +1 -0
- package/build/services/events/event.d.ts +3 -0
- package/build/services/events/events.d.ts +3 -2
- package/build/services/events/manage-events.d.ts +4 -2
- package/build/services/events/manage-events.js +3 -2
- package/build/services/user/collections.d.ts +1 -1
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ export interface ViewEventCommonData {
|
|
|
34
34
|
single_session: boolean;
|
|
35
35
|
tags: string[];
|
|
36
36
|
saved: boolean;
|
|
37
|
+
cancellation_rate: number;
|
|
37
38
|
pictures: HostEventPics[];
|
|
38
39
|
}
|
|
39
40
|
export interface ViewEventPicturePhrases {
|
|
@@ -105,6 +106,8 @@ export interface ViewEventHostData {
|
|
|
105
106
|
firstname?: string;
|
|
106
107
|
lastname?: string;
|
|
107
108
|
username?: string;
|
|
109
|
+
has_gold_badge?: boolean;
|
|
110
|
+
cancellation_rate?: number;
|
|
108
111
|
}
|
|
109
112
|
export interface EventSessionTime {
|
|
110
113
|
sid: string;
|
|
@@ -43,10 +43,11 @@ export interface EventRaiting {
|
|
|
43
43
|
}
|
|
44
44
|
export interface UserInEvent {
|
|
45
45
|
UID: string;
|
|
46
|
+
ppu: string;
|
|
47
|
+
lastname: string;
|
|
46
48
|
username: string;
|
|
47
49
|
firstname: string;
|
|
48
|
-
|
|
49
|
-
ppu: string;
|
|
50
|
+
has_gold_badge?: boolean;
|
|
50
51
|
}
|
|
51
52
|
export interface EventReview {
|
|
52
53
|
reviewID: string;
|
|
@@ -3,8 +3,8 @@ import { PhrasedEventType, EventPhrasedTimemode, EventTypes, EventTimeModes } fr
|
|
|
3
3
|
import { HostEventFee, HostEventPics, HostEventTime } from './host-an-event';
|
|
4
4
|
import { EventHostTimimgCommonPhrases } from './timing';
|
|
5
5
|
export declare enum EventManagerSortFields {
|
|
6
|
-
LANGUAGE = "lang",
|
|
7
6
|
TYPE = "type",
|
|
7
|
+
LANGUAGE = "lang",
|
|
8
8
|
CAPACITY = "capacity",
|
|
9
9
|
TIMING_MODE = "timing_mode"
|
|
10
10
|
}
|
|
@@ -88,9 +88,10 @@ export interface EventManagerPhrases {
|
|
|
88
88
|
};
|
|
89
89
|
event_managing: {
|
|
90
90
|
label: string;
|
|
91
|
+
delete: string;
|
|
91
92
|
suspend: string;
|
|
92
93
|
unsuspend: string;
|
|
93
|
-
|
|
94
|
+
urgent_cancellation: string;
|
|
94
95
|
};
|
|
95
96
|
};
|
|
96
97
|
}
|
|
@@ -117,6 +118,7 @@ export declare const EQFListed: EventQueryableFields[];
|
|
|
117
118
|
export declare enum EventManagerAction {
|
|
118
119
|
DELETION = "deletion",
|
|
119
120
|
SUSPENSION = "suspension",
|
|
121
|
+
CANCEL = "cancel",
|
|
120
122
|
RESUME = "resume"
|
|
121
123
|
}
|
|
122
124
|
export declare const EMAListed: EventManagerAction[];
|
|
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.EETFListed = exports.EditableEventTimeFields = exports.EMAListed = exports.EventManagerAction = exports.EQFListed = exports.EventQueryableFields = exports.EEFListed = exports.EventEditableFields = exports.EventManagerSortFields = void 0;
|
|
4
4
|
var EventManagerSortFields;
|
|
5
5
|
(function (EventManagerSortFields) {
|
|
6
|
-
EventManagerSortFields["LANGUAGE"] = "lang";
|
|
7
6
|
EventManagerSortFields["TYPE"] = "type";
|
|
7
|
+
EventManagerSortFields["LANGUAGE"] = "lang";
|
|
8
8
|
EventManagerSortFields["CAPACITY"] = "capacity";
|
|
9
9
|
EventManagerSortFields["TIMING_MODE"] = "timing_mode";
|
|
10
10
|
})(EventManagerSortFields = exports.EventManagerSortFields || (exports.EventManagerSortFields = {}));
|
|
@@ -43,11 +43,12 @@ var EventManagerAction;
|
|
|
43
43
|
(function (EventManagerAction) {
|
|
44
44
|
EventManagerAction["DELETION"] = "deletion";
|
|
45
45
|
EventManagerAction["SUSPENSION"] = "suspension";
|
|
46
|
+
EventManagerAction["CANCEL"] = "cancel";
|
|
46
47
|
EventManagerAction["RESUME"] = "resume";
|
|
47
48
|
})(EventManagerAction = exports.EventManagerAction || (exports.EventManagerAction = {}));
|
|
48
49
|
exports.EMAListed = [
|
|
49
50
|
EventManagerAction.DELETION, EventManagerAction.RESUME,
|
|
50
|
-
EventManagerAction.SUSPENSION
|
|
51
|
+
EventManagerAction.SUSPENSION, EventManagerAction.CANCEL
|
|
51
52
|
];
|
|
52
53
|
var EditableEventTimeFields;
|
|
53
54
|
(function (EditableEventTimeFields) {
|