@irfanshadikrishad/anilist 2.0.0-forbidden → 2.0.0-forbidden.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,22 +1,62 @@
1
1
  declare class AniList {
2
+ /**
3
+ * Prompt the user for a list status (Planning/Watching-Reading/Completed/Paused/Dropped)
4
+ */
5
+ private static promptListType;
6
+ /**
7
+ * Save a media entry to the authenticated user's list, logging the outcome.
8
+ */
9
+ private static saveEntryToList;
10
+ /**
11
+ * Import a previously exported AniList JSON file, saving each entry with
12
+ * progress via the given mutation.
13
+ */
14
+ private static importJSONList;
2
15
  static importAnime(): Promise<void>;
3
16
  static importManga(): Promise<void>;
17
+ /**
18
+ * Prompt for CSV/JSON/XML and dispatch to the matching exporter.
19
+ */
20
+ private static promptExportFormatAndSave;
4
21
  static exportAnime(): Promise<void>;
5
22
  static exportManga(): Promise<void>;
23
+ /**
24
+ * Pick an existing entry from one of the user's own lists and re-save it
25
+ * under a (possibly different) list status.
26
+ */
27
+ private static pickFromMyListAndResave;
6
28
  static MyAnime(): Promise<void>;
7
29
  static MyManga(): Promise<void>;
30
+ /**
31
+ * Page through a media browse query (trending/popular/upcoming), letting the
32
+ * user "see more" or pick an entry to add to one of their lists.
33
+ */
34
+ private static browseAndAddAnime;
8
35
  static getTrendingAnime(count: number): Promise<void>;
9
36
  static getPopularAnime(count: number): Promise<void>;
10
37
  static getUpcomingAnime(count: number): Promise<void>;
11
38
  static getUserByUsername(username: string): Promise<void>;
12
39
  static getAnimeDetailsByID(anilistID: number): Promise<void>;
13
40
  static getMangaDetailsByID(mangaID: number): Promise<void>;
41
+ /**
42
+ * Search AniList and let the user pick a result to add to one of their lists.
43
+ */
44
+ private static searchAndAddToList;
14
45
  static searchAnime(search: string, count: number): Promise<void>;
15
46
  static searchManga(search: string, count: number): Promise<void>;
16
47
  }
17
48
  declare class MyAnimeList {
49
+ /**
50
+ * Import a MyAnimeList export XML file, mapping each entry to its AniList
51
+ * equivalent by MAL id and saving it with progress.
52
+ */
53
+ private static importMALList;
18
54
  static importAnime(): Promise<void>;
19
55
  static importManga(): Promise<void>;
56
+ /**
57
+ * Fetch the authenticated user's anime/manga list and export it as MAL XML.
58
+ */
59
+ private static exportMALList;
20
60
  static exportAnime(): Promise<void>;
21
61
  static exportManga(): Promise<void>;
22
62
  }