anixartjs 0.1.3 → 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: null;
66
+ readonly lastViewEpisode: IEpisode;
67
67
  readonly isViewed: boolean;
68
68
  readonly isFavorite: boolean;
69
69
  readonly isViewBlocked: boolean;
@@ -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: null;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "anixartjs",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "Anixart API Wrapper for NodeJS",
5
5
  "type": "commonjs",
6
6
  "main": "dist/index.js",