@jealous-robot-dev/shared-types-responses 1.25.15 → 1.26.0
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,9 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventFilterSelectionIntervals = void 0;
|
|
3
|
+
exports.EFSI = exports.EventFilterSelectionIntervals = void 0;
|
|
4
4
|
var EventFilterSelectionIntervals;
|
|
5
5
|
(function (EventFilterSelectionIntervals) {
|
|
6
6
|
EventFilterSelectionIntervals["DAY"] = "DAY";
|
|
7
7
|
EventFilterSelectionIntervals["WEEK"] = "WEEK";
|
|
8
8
|
EventFilterSelectionIntervals["MONTH"] = "MONTH";
|
|
9
9
|
})(EventFilterSelectionIntervals = exports.EventFilterSelectionIntervals || (exports.EventFilterSelectionIntervals = {}));
|
|
10
|
+
exports.EFSI = [
|
|
11
|
+
EventFilterSelectionIntervals.DAY, EventFilterSelectionIntervals.WEEK,
|
|
12
|
+
EventFilterSelectionIntervals.MONTH
|
|
13
|
+
];
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { EventInSearch } from './event-search';
|
|
2
2
|
export interface TagExplorationStats {
|
|
3
|
-
wishlisted_by: number;
|
|
4
3
|
times_viewed: number;
|
|
5
4
|
mentioned: number;
|
|
6
5
|
}
|
|
7
6
|
export interface TagSearchResponse {
|
|
8
|
-
entries: EventInSearch;
|
|
9
|
-
no_more_entries:
|
|
7
|
+
entries: EventInSearch[];
|
|
8
|
+
no_more_entries: boolean;
|
|
10
9
|
page: number;
|
|
11
10
|
}
|
|
@@ -35,14 +35,10 @@ export interface SearchUser {
|
|
|
35
35
|
ppu: string;
|
|
36
36
|
UID: string;
|
|
37
37
|
}
|
|
38
|
-
export interface SearchTag {
|
|
39
|
-
tag: string;
|
|
40
|
-
mentioned: number;
|
|
41
|
-
}
|
|
42
38
|
export interface SearchbarData {
|
|
43
39
|
recent_searches: {
|
|
44
40
|
users: SearchUser[];
|
|
45
|
-
tags:
|
|
41
|
+
tags: string[];
|
|
46
42
|
};
|
|
47
43
|
}
|
|
48
44
|
export interface SearchbarResponse extends QueryResponse<SearchbarData, SearchbarPhrases> {
|