@jealous-robot-dev/shared-types-responses 1.11.8 → 1.11.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Month } from '../common';
|
|
1
|
+
import { Month, Weekday } from '../common';
|
|
2
2
|
import { EventTypes, PhrasedEventType, EventTimeModes, EventPhrasedTimemode } from '../events/events';
|
|
3
3
|
export declare enum PerformanceCategories {
|
|
4
4
|
REVIEWS = "reviews",
|
|
@@ -9,11 +9,14 @@ export interface UserPerformancePhrases {
|
|
|
9
9
|
title: string;
|
|
10
10
|
cancel: string;
|
|
11
11
|
months: Month[];
|
|
12
|
+
shortMonths: Month[];
|
|
13
|
+
days: Weekday[];
|
|
12
14
|
load_more: string;
|
|
13
15
|
show_more: string;
|
|
14
16
|
show_less: string;
|
|
15
17
|
show_results: string;
|
|
16
18
|
select_period: string;
|
|
19
|
+
view_event: string;
|
|
17
20
|
event_types: PhrasedEventType[];
|
|
18
21
|
timing_modes: EventPhrasedTimemode[];
|
|
19
22
|
categories: {
|
|
@@ -27,5 +30,6 @@ export interface EventInPerformance {
|
|
|
27
30
|
event_name: string;
|
|
28
31
|
event_type: EventTypes;
|
|
29
32
|
event_time_mode: EventTimeModes;
|
|
33
|
+
event_duration: number;
|
|
30
34
|
event_picture: string;
|
|
31
35
|
}
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { LND } from '../common';
|
|
2
2
|
export interface ShortEventVisitor {
|
|
3
3
|
UID: string;
|
|
4
4
|
firstname: string;
|
|
5
5
|
lastname: string;
|
|
6
6
|
ppu?: string;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
export interface PerformanceGuestsPhrases {
|
|
9
|
+
title: string;
|
|
10
|
+
total_guests: string;
|
|
11
|
+
description: string;
|
|
12
|
+
no_events_yet: LND;
|
|
13
|
+
no_guests: LND;
|
|
14
|
+
who_visited: string;
|
|
15
|
+
guests: string;
|
|
15
16
|
}
|
|
@@ -1,43 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
// export interface UserVisitorData {
|
|
4
|
-
// your_visitors_count: ObjectWithTimeStamp<number>[]
|
|
5
|
-
// you_visited_count: ObjectWithTimeStamp<number>[]
|
|
6
|
-
// events_visited: ObjectWithTimeStamp<number>[]
|
|
7
|
-
// events_organised: ObjectWithTimeStamp<number>[]
|
|
8
|
-
// total_events_visited: number
|
|
9
|
-
// total_events_organised: number
|
|
10
|
-
// events_visited_by_you: ObjectWithTimeStamp<VisitedEvent[]>[]
|
|
11
|
-
// your_organised_events: ObjectWithTimeStamp<VisitedYourEvents[]>[]
|
|
12
|
-
// }
|
|
13
|
-
// export interface AdditionalVisitorsResponse {
|
|
14
|
-
// your_visitors_count: number
|
|
15
|
-
// you_visited_count: number
|
|
16
|
-
// events_visited: number
|
|
17
|
-
// events_organised: number
|
|
18
|
-
// events_visited_by_you: VisitedEvent[]
|
|
19
|
-
// your_organised_events: VisitedYourEvents[]
|
|
20
|
-
// }
|
|
21
|
-
// interface WithTitle extends LND {
|
|
22
|
-
// title: string
|
|
23
|
-
// }
|
|
24
|
-
// export interface UserVisitorPhrases {
|
|
25
|
-
// visited_you: string
|
|
26
|
-
// visiting_you: string
|
|
27
|
-
// period: string
|
|
28
|
-
// total_visitors: string
|
|
29
|
-
// events_visited: string
|
|
30
|
-
// events_organised: string
|
|
31
|
-
// had_not_visited: WithTitle
|
|
32
|
-
// no_visitors: WithTitle
|
|
33
|
-
// events: string
|
|
34
|
-
// visited_times: string
|
|
35
|
-
// visited_by: string
|
|
36
|
-
// organised_by: string
|
|
37
|
-
// last_visited: string
|
|
38
|
-
// last_organised: string
|
|
39
|
-
// select_month: string
|
|
40
|
-
// view_event_organiser: string
|
|
41
|
-
// current: string
|
|
42
|
-
// }
|
|
43
|
-
// export interface UserVisitorResponse extends QueryResponse<UserVisitorData, UserVisitorPhrases> {}
|