@irfanshadikrishad/anilist 1.2.0-forbidden.1 → 1.2.0-forbidden.6

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.
@@ -9,5 +9,5 @@
9
9
  * @param {object} variables - An object containing the variables for the query.
10
10
  * @returns {Promise<object|null>} The response from the API as a JSON object if successful; otherwise, null.
11
11
  */
12
- declare function fetcher(query: string, variables: object): Promise<any>;
12
+ declare function fetcher(query: string, variables: object): Promise<object | null>;
13
13
  export { fetcher };
@@ -5,11 +5,12 @@ declare class AniList {
5
5
  static exportManga(): Promise<void>;
6
6
  static MyAnime(): Promise<void>;
7
7
  static MyManga(): Promise<void>;
8
- static getTrendingAnime(count: number): Promise<any>;
8
+ static getTrendingAnime(count: number): Promise<void>;
9
9
  static getPopularAnime(count: number): Promise<void>;
10
10
  static getUpcomingAnime(count: number): Promise<void>;
11
11
  static getUserByUsername(username: string): Promise<void>;
12
12
  static getAnimeDetailsByID(anilistID: number): Promise<void>;
13
+ static getMangaDetailsByID(mangaID: number): Promise<void>;
13
14
  static searchAnime(search: string, count: number): Promise<void>;
14
15
  static searchManga(search: string, count: number): Promise<void>;
15
16
  }
@@ -19,4 +20,7 @@ declare class MyAnimeList {
19
20
  static exportAnime(): Promise<void>;
20
21
  static exportManga(): Promise<void>;
21
22
  }
22
- export { AniList, MyAnimeList };
23
+ declare class AniDB {
24
+ static importAnime(): Promise<void>;
25
+ }
26
+ export { AniDB, AniList, MyAnimeList };