anixartjs 0.1.4 → 0.1.5
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/dist/types/release.d.ts +19 -12
- package/dist/types/release.js +8 -1
- package/package.json +1 -1
package/dist/types/release.d.ts
CHANGED
|
@@ -25,6 +25,12 @@ export declare enum BookmarkExportResult {
|
|
|
25
25
|
InvalidProfileLists = 2,
|
|
26
26
|
InvalidExtraFields = 3
|
|
27
27
|
}
|
|
28
|
+
export declare enum FilterSortType {
|
|
29
|
+
SortDateUpdate = 0,
|
|
30
|
+
SortGrade = 1,
|
|
31
|
+
SortYear = 2,
|
|
32
|
+
SortPopular = 3
|
|
33
|
+
}
|
|
28
34
|
export interface ICommentRepliesRequest extends IBaseRequestPageable {
|
|
29
35
|
id: number;
|
|
30
36
|
sort: number;
|
|
@@ -34,23 +40,24 @@ export interface IVideoReleaseInCategoryRequest extends IBaseRequestPageable {
|
|
|
34
40
|
categoryId: number;
|
|
35
41
|
}
|
|
36
42
|
export interface IReleaseFilterRequest {
|
|
37
|
-
|
|
43
|
+
category_id?: number;
|
|
38
44
|
country?: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
end_year?: number;
|
|
46
|
+
episode_duration_from?: number;
|
|
47
|
+
episode_duration_to?: number;
|
|
48
|
+
episodes_from?: number;
|
|
49
|
+
episodes_to?: number;
|
|
50
|
+
is_genres_exclude_mode_enabled?: boolean;
|
|
45
51
|
season?: number;
|
|
46
|
-
|
|
47
|
-
|
|
52
|
+
start_year?: number;
|
|
53
|
+
status_id?: number;
|
|
48
54
|
studio?: string;
|
|
49
|
-
sort?:
|
|
55
|
+
sort?: FilterSortType;
|
|
50
56
|
genres?: string[];
|
|
51
|
-
|
|
57
|
+
profile_list_exclusions?: number[];
|
|
52
58
|
types?: number[];
|
|
53
|
-
|
|
59
|
+
age_ratings?: number[];
|
|
60
|
+
source?: string;
|
|
54
61
|
}
|
|
55
62
|
export interface IReleaseFilterResponse extends IPageableResponse<IRelease> {
|
|
56
63
|
}
|
package/dist/types/release.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BookmarkExportResult = exports.ReleaseVideoResult = exports.ReleaseStatus = exports.VoteType = exports.ReleaseCategory = void 0;
|
|
3
|
+
exports.FilterSortType = exports.BookmarkExportResult = exports.ReleaseVideoResult = exports.ReleaseStatus = exports.VoteType = exports.ReleaseCategory = void 0;
|
|
4
4
|
var ReleaseCategory;
|
|
5
5
|
(function (ReleaseCategory) {
|
|
6
6
|
ReleaseCategory[ReleaseCategory["Unknown"] = 0] = "Unknown";
|
|
@@ -30,3 +30,10 @@ var BookmarkExportResult;
|
|
|
30
30
|
BookmarkExportResult[BookmarkExportResult["InvalidProfileLists"] = 2] = "InvalidProfileLists";
|
|
31
31
|
BookmarkExportResult[BookmarkExportResult["InvalidExtraFields"] = 3] = "InvalidExtraFields";
|
|
32
32
|
})(BookmarkExportResult || (exports.BookmarkExportResult = BookmarkExportResult = {}));
|
|
33
|
+
var FilterSortType;
|
|
34
|
+
(function (FilterSortType) {
|
|
35
|
+
FilterSortType[FilterSortType["SortDateUpdate"] = 0] = "SortDateUpdate";
|
|
36
|
+
FilterSortType[FilterSortType["SortGrade"] = 1] = "SortGrade";
|
|
37
|
+
FilterSortType[FilterSortType["SortYear"] = 2] = "SortYear";
|
|
38
|
+
FilterSortType[FilterSortType["SortPopular"] = 3] = "SortPopular";
|
|
39
|
+
})(FilterSortType || (exports.FilterSortType = FilterSortType = {}));
|