anixartjs 0.1.2 → 0.1.4
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,5 +1,5 @@
|
|
|
1
1
|
import { Anixart } from "../client";
|
|
2
|
-
import { BookmarkType, IBaseCommentAddRequest, ICommentRelease, IEpisodeLastUpdate, IRelated, IRelease, IReleaseCategory, IReleaseStatus, IVideoBanners, DefaultResult, ReleaseAddCollectionResult } from "../types";
|
|
2
|
+
import { BookmarkType, IBaseCommentAddRequest, ICommentRelease, IEpisodeLastUpdate, IRelated, IRelease, IReleaseCategory, IReleaseStatus, IVideoBanners, DefaultResult, ReleaseAddCollectionResult, IEpisode } from "../types";
|
|
3
3
|
import { Collection } from "./Collection";
|
|
4
4
|
import { Dubber } from "./Dubber";
|
|
5
5
|
import { ReleaseComment } from "./ReleaseComment";
|
|
@@ -16,7 +16,7 @@ export declare class Release {
|
|
|
16
16
|
readonly translators: string;
|
|
17
17
|
readonly studio: string;
|
|
18
18
|
readonly description: string;
|
|
19
|
-
readonly note: null;
|
|
19
|
+
readonly note: string | null;
|
|
20
20
|
readonly related: IRelated;
|
|
21
21
|
readonly category: IReleaseCategory;
|
|
22
22
|
readonly rating: number;
|
|
@@ -63,7 +63,7 @@ export declare class Release {
|
|
|
63
63
|
readonly profileListStatus: number;
|
|
64
64
|
readonly statusId: number;
|
|
65
65
|
readonly lastViewTimestamp: number;
|
|
66
|
-
readonly lastViewEpisode:
|
|
66
|
+
readonly lastViewEpisode: IEpisode;
|
|
67
67
|
readonly isViewed: boolean;
|
|
68
68
|
readonly isFavorite: boolean;
|
|
69
69
|
readonly isViewBlocked: boolean;
|
package/dist/types/channel.d.ts
CHANGED
|
@@ -131,7 +131,7 @@ export interface IArticleCreateResponse extends IResponse<ArticleCreateEditResul
|
|
|
131
131
|
export interface IArticle {
|
|
132
132
|
id: number;
|
|
133
133
|
channel: IChannel;
|
|
134
|
-
author: IProfile;
|
|
134
|
+
author: IProfile | null;
|
|
135
135
|
payload: {
|
|
136
136
|
time: number;
|
|
137
137
|
blocks: IArticlePayloadBlock[];
|
package/dist/types/release.d.ts
CHANGED
|
@@ -92,7 +92,7 @@ export interface IRelease {
|
|
|
92
92
|
translators: string;
|
|
93
93
|
studio: string;
|
|
94
94
|
description: string;
|
|
95
|
-
note: null;
|
|
95
|
+
note: string | null;
|
|
96
96
|
related: IRelated;
|
|
97
97
|
category: IReleaseCategory;
|
|
98
98
|
rating: number;
|
|
@@ -139,7 +139,7 @@ export interface IRelease {
|
|
|
139
139
|
profile_list_status: number;
|
|
140
140
|
status_id: number;
|
|
141
141
|
last_view_timestamp: number;
|
|
142
|
-
last_view_episode:
|
|
142
|
+
last_view_episode: IEpisode;
|
|
143
143
|
is_viewed: boolean;
|
|
144
144
|
is_favorite: boolean;
|
|
145
145
|
is_view_blocked: boolean;
|
|
@@ -170,6 +170,7 @@ export interface IVoteRelease {
|
|
|
170
170
|
rating: number;
|
|
171
171
|
grade: number;
|
|
172
172
|
status: number;
|
|
173
|
+
poster: string;
|
|
173
174
|
title_original: string;
|
|
174
175
|
title_ru: string;
|
|
175
176
|
favorites_count: number;
|
|
@@ -181,6 +182,7 @@ export interface IVoteRelease {
|
|
|
181
182
|
is_play_disabled: boolean;
|
|
182
183
|
is_adult: boolean;
|
|
183
184
|
my_vote: number;
|
|
185
|
+
voted_at: number;
|
|
184
186
|
episodes_released: number;
|
|
185
187
|
episodes_total: number;
|
|
186
188
|
release_date: string;
|