@tutkli/jikan-ts 2.1.0 → 3.0.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.
- package/README.md +61 -58
- package/dist/chunk-b9f01kcn.js +1 -0
- package/dist/chunk-ygw2424n.js +1 -0
- package/dist/client.d.ts +19 -0
- package/dist/client.js +1 -0
- package/dist/clients/anime.client.d.ts +123 -0
- package/dist/clients/base.client.d.ts +45 -0
- package/dist/clients/characters.client.d.ts +46 -0
- package/dist/clients/clubs.client.d.ts +39 -0
- package/dist/clients/genres.client.d.ts +21 -0
- package/dist/clients/jikan.client.d.ts +41 -0
- package/dist/clients/magazines.client.d.ts +9 -0
- package/dist/clients/manga.client.d.ts +84 -0
- package/dist/clients/people.client.d.ts +46 -0
- package/dist/clients/producers.client.d.ts +31 -0
- package/dist/clients/random.client.d.ts +27 -0
- package/dist/clients/recommendations.client.d.ts +21 -0
- package/dist/clients/reviews.client.d.ts +21 -0
- package/dist/clients/schedules.client.d.ts +16 -0
- package/dist/clients/seasons.client.d.ts +32 -0
- package/dist/clients/top.client.d.ts +36 -0
- package/dist/clients/watch.client.d.ts +27 -0
- package/dist/config/cache.d.ts +11 -0
- package/dist/config/ky.config.d.ts +11 -0
- package/dist/config/logging.config.d.ts +4 -0
- package/dist/constants/base.const.d.ts +1 -0
- package/dist/endpoints/anime.endpoints.d.ts +23 -0
- package/dist/endpoints/characters.endpoints.d.ts +9 -0
- package/dist/endpoints/clubs.endpoints.d.ts +7 -0
- package/dist/endpoints/genres.endpoints.d.ts +4 -0
- package/dist/endpoints/magazines.endpoints.d.ts +3 -0
- package/dist/endpoints/manga.endpoints.d.ts +16 -0
- package/dist/endpoints/people.endpoints.d.ts +9 -0
- package/dist/endpoints/producers.endpoints.d.ts +6 -0
- package/dist/endpoints/random.endpoints.d.ts +7 -0
- package/dist/endpoints/recommendations.endpoints.d.ts +4 -0
- package/dist/endpoints/reviews.endpoints.d.ts +4 -0
- package/dist/endpoints/schedules.endpoints.d.ts +3 -0
- package/dist/endpoints/seasons.endpoints.d.ts +6 -0
- package/dist/endpoints/top.endpoints.d.ts +7 -0
- package/dist/endpoints/watch.endpoints.d.ts +6 -0
- package/dist/index.d.ts +1 -940
- package/dist/index.js +1 -1
- package/dist/models/Anime/anime-character.model.d.ts +4 -0
- package/dist/models/Anime/anime-episode.model.d.ts +12 -0
- package/dist/models/Anime/anime-picture.model.d.ts +4 -0
- package/dist/models/Anime/anime-staff.model.d.ts +5 -0
- package/dist/models/Anime/anime-statistics.model.d.ts +5 -0
- package/dist/models/Anime/anime-video.model.d.ts +32 -0
- package/dist/models/Anime/anime.model.d.ts +60 -0
- package/dist/models/Anime/index.d.ts +7 -0
- package/dist/models/Character/character.model.d.ts +28 -0
- package/dist/models/Character/index.d.ts +1 -0
- package/dist/models/Common/character.model.d.ts +18 -0
- package/dist/models/Common/external-link.model.d.ts +4 -0
- package/dist/models/Common/forum.model.d.ts +16 -0
- package/dist/models/Common/image.model.d.ts +11 -0
- package/dist/models/Common/index.d.ts +12 -0
- package/dist/models/Common/more-info.model.d.ts +3 -0
- package/dist/models/Common/news.model.d.ts +13 -0
- package/dist/models/Common/person.model.d.ts +7 -0
- package/dist/models/Common/recommendation.model.d.ts +12 -0
- package/dist/models/Common/relation.model.d.ts +10 -0
- package/dist/models/Common/resource.model.d.ts +35 -0
- package/dist/models/Common/seasons-list.model.d.ts +5 -0
- package/dist/models/Common/statistics.model.d.ts +12 -0
- package/dist/models/Genre/genre.model.d.ts +5 -0
- package/dist/models/Genre/index.d.ts +1 -0
- package/dist/models/Manga/index.d.ts +2 -0
- package/dist/models/Manga/manga-statistics.model.d.ts +5 -0
- package/dist/models/Manga/manga.model.d.ts +37 -0
- package/dist/models/Params/characters-params.model.d.ts +10 -0
- package/dist/models/Params/genres-params.model.d.ts +1 -0
- package/dist/models/Params/index.d.ts +7 -0
- package/dist/models/Params/pagination-params.model.d.ts +3 -0
- package/dist/models/Params/schedules-params.model.d.ts +9 -0
- package/dist/models/Params/search-params.model.d.ts +47 -0
- package/dist/models/Params/seasons-params.model.d.ts +12 -0
- package/dist/models/Params/top-params.model.d.ts +28 -0
- package/dist/models/Person/index.d.ts +2 -0
- package/dist/models/Person/person-params.model.d.ts +10 -0
- package/dist/models/Person/person.model.d.ts +50 -0
- package/dist/models/Producer/index.d.ts +2 -0
- package/dist/models/Producer/producer-params.model.d.ts +10 -0
- package/dist/models/Producer/producer.model.d.ts +14 -0
- package/dist/models/Recommendation/index.d.ts +1 -0
- package/dist/models/Recommendation/recommendation.model.d.ts +18 -0
- package/dist/models/Response/index.d.ts +1 -0
- package/dist/models/Response/response.model.d.ts +15 -0
- package/dist/models/Review/index.d.ts +2 -0
- package/dist/models/Review/review-params.model.d.ts +5 -0
- package/dist/models/Review/review.model.d.ts +42 -0
- package/dist/models/UserUpdate/index.d.ts +1 -0
- package/dist/models/UserUpdate/user-update.model.d.ts +24 -0
- package/dist/models/clubs/clubs-params.model.d.ts +14 -0
- package/dist/models/clubs/clubs.model.d.ts +25 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/magazine/magazine.model.d.ts +16 -0
- package/dist/models/watch/watch.model.d.ts +21 -0
- package/dist/types.d.ts +21 -0
- package/dist/types.js +1 -0
- package/package.json +62 -40
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type { JikanImages, PeopleSearchParams, Person, PersonAnimePosition, PersonFull, PersonMangaPosition, PersonVoiceActingRole } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **People Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the People Endpoints:
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class PeopleClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Get complete person data
|
|
13
|
+
* @param id Person ID
|
|
14
|
+
*/
|
|
15
|
+
getPersonFullById(id: number): Promise<import("../models").JikanResponse<PersonFull>>;
|
|
16
|
+
/**
|
|
17
|
+
* Get person by ID
|
|
18
|
+
* @param id Person ID
|
|
19
|
+
*/
|
|
20
|
+
getPersonById(id: number): Promise<import("../models").JikanResponse<Person>>;
|
|
21
|
+
/**
|
|
22
|
+
* Get anime staff positions of a person
|
|
23
|
+
* @param id Person ID
|
|
24
|
+
*/
|
|
25
|
+
getPersonAnime(id: number): Promise<import("../models").JikanResponse<PersonAnimePosition[]>>;
|
|
26
|
+
/**
|
|
27
|
+
* Get voice acting roles of a person
|
|
28
|
+
* @param id Person ID
|
|
29
|
+
*/
|
|
30
|
+
getPersonVoices(id: number): Promise<import("../models").JikanResponse<PersonVoiceActingRole[]>>;
|
|
31
|
+
/**
|
|
32
|
+
* Get manga works of a person
|
|
33
|
+
* @param id Person ID
|
|
34
|
+
*/
|
|
35
|
+
getPersonManga(id: number): Promise<import("../models").JikanResponse<PersonMangaPosition[]>>;
|
|
36
|
+
/**
|
|
37
|
+
* Get pictures of a person
|
|
38
|
+
* @param id Person ID
|
|
39
|
+
*/
|
|
40
|
+
getPersonPictures(id: number): Promise<import("../models").JikanResponse<JikanImages[]>>;
|
|
41
|
+
/**
|
|
42
|
+
* Search people
|
|
43
|
+
* @param searchParams Search parameters
|
|
44
|
+
*/
|
|
45
|
+
getPeopleSearch(searchParams?: Partial<PeopleSearchParams>): Promise<import("../models").JikanResponse<Person[]>>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { JikanNamedResource, Producer, ProducerFull, ProducersSearchParams } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **Producers Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the Producers Endpoints:
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class ProducersClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Get complete producer data
|
|
13
|
+
* @param id Producer ID
|
|
14
|
+
*/
|
|
15
|
+
getProducerFullById(id: number): Promise<import("../models").JikanResponse<ProducerFull>>;
|
|
16
|
+
/**
|
|
17
|
+
* Get producer by ID
|
|
18
|
+
* @param id Producer ID
|
|
19
|
+
*/
|
|
20
|
+
getProducerById(id: number): Promise<import("../models").JikanResponse<Producer>>;
|
|
21
|
+
/**
|
|
22
|
+
* Get producer external links
|
|
23
|
+
* @param id Producer ID
|
|
24
|
+
*/
|
|
25
|
+
getProducerExternal(id: number): Promise<import("../models").JikanResponse<JikanNamedResource[]>>;
|
|
26
|
+
/**
|
|
27
|
+
* Search producers
|
|
28
|
+
* @param searchParams Search parameters
|
|
29
|
+
*/
|
|
30
|
+
getProducersSearch(searchParams?: Partial<ProducersSearchParams>): Promise<import("../models").JikanResponse<Producer[]>>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Anime, Character, Manga, Person } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **Random Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the Random Endpoints:
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class RandomClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Get random anime
|
|
13
|
+
*/
|
|
14
|
+
getRandomAnime(): Promise<import("../models").JikanResponse<Anime>>;
|
|
15
|
+
/**
|
|
16
|
+
* Get random manga
|
|
17
|
+
*/
|
|
18
|
+
getRandomManga(): Promise<import("../models").JikanResponse<Manga>>;
|
|
19
|
+
/**
|
|
20
|
+
* Get a random character
|
|
21
|
+
*/
|
|
22
|
+
getRandomCharacters(): Promise<import("../models").JikanResponse<Character>>;
|
|
23
|
+
/**
|
|
24
|
+
* Get random person
|
|
25
|
+
*/
|
|
26
|
+
getRandomPerson(): Promise<import("../models").JikanResponse<Person>>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { PaginationParams, RecentRecommendation } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **Recommendations Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the Recommendations Endpoints:
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class RecommendationsClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Get recent anime recommendations
|
|
13
|
+
* @param params Pagination parameters
|
|
14
|
+
*/
|
|
15
|
+
getRecentAnimeRecommendations(params?: Partial<PaginationParams>): Promise<import("../models").JikanResponse<RecentRecommendation[]>>;
|
|
16
|
+
/**
|
|
17
|
+
* Get recent manga recommendations
|
|
18
|
+
* @param params Pagination parameters
|
|
19
|
+
*/
|
|
20
|
+
getRecentMangaRecommendations(params?: Partial<PaginationParams>): Promise<import("../models").JikanResponse<RecentRecommendation[]>>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { AnimeReview, MangaReview, ReviewsParams } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **Reviews Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the Reviews Endpoints:
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class ReviewsClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Get recent anime reviews
|
|
13
|
+
* @param params Review parameters
|
|
14
|
+
*/
|
|
15
|
+
getRecentAnimeReviews(params?: Partial<ReviewsParams>): Promise<import("../models").JikanResponse<AnimeReview[]>>;
|
|
16
|
+
/**
|
|
17
|
+
* Get recent manga reviews
|
|
18
|
+
* @param params Review parameters
|
|
19
|
+
*/
|
|
20
|
+
getRecentMangaReviews(params?: Partial<ReviewsParams>): Promise<import("../models").JikanResponse<MangaReview[]>>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Anime, SchedulesParams } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **Schedules Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the Schedules Endpoints
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class SchedulesClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Returns weekly schedule
|
|
13
|
+
* @param searchParams Filter parameters
|
|
14
|
+
*/
|
|
15
|
+
getSchedules(searchParams?: Partial<SchedulesParams>): Promise<import("../models").JikanResponse<Anime[]>>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { Anime, AnimeSeason, JikanSeasonsParams, SeasonNowParams, SeasonsListData } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **Seasons Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the Seasons Endpoints
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class SeasonsClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Get the seasonal anime by year and season
|
|
13
|
+
* @param year Season year
|
|
14
|
+
* @param season Season value
|
|
15
|
+
* @param searchParams Filter parameters
|
|
16
|
+
*/
|
|
17
|
+
getSeason(year: number, season: AnimeSeason, searchParams?: Partial<JikanSeasonsParams>): Promise<import("../models").JikanResponse<Anime[]>>;
|
|
18
|
+
/**
|
|
19
|
+
* Get current seasonal anime
|
|
20
|
+
* @param searchParams Filter parameters
|
|
21
|
+
*/
|
|
22
|
+
getSeasonNow(searchParams?: Partial<SeasonNowParams>): Promise<import("../models").JikanResponse<Anime[]>>;
|
|
23
|
+
/**
|
|
24
|
+
* Get available list of seasons
|
|
25
|
+
*/
|
|
26
|
+
getSeasonsList(): Promise<import("../models").JikanResponse<SeasonsListData[]>>;
|
|
27
|
+
/**
|
|
28
|
+
* Get upcoming season's anime
|
|
29
|
+
* @param searchParams Filter parameters
|
|
30
|
+
*/
|
|
31
|
+
getSeasonUpcoming(searchParams?: Partial<JikanSeasonsParams>): Promise<import("../models").JikanResponse<Anime[]>>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { Anime, AnimeReview, AnimeTopParams, Character, JikanTopParams, Manga, MangaTopParams, Person } from '../models';
|
|
2
|
+
import { BaseClient } from './base.client';
|
|
3
|
+
/**
|
|
4
|
+
* **Top Client**
|
|
5
|
+
*
|
|
6
|
+
* Client used to access the Top Endpoints:
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class TopClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* Get the top Animes
|
|
13
|
+
* @param searchParams Filter parameters
|
|
14
|
+
*/
|
|
15
|
+
getTopAnime(searchParams?: Partial<AnimeTopParams>): Promise<import("../models").JikanResponse<Anime[]>>;
|
|
16
|
+
/**
|
|
17
|
+
* Get the top Mangas
|
|
18
|
+
* @param searchParams Filter parameters
|
|
19
|
+
*/
|
|
20
|
+
getTopManga(searchParams?: Partial<MangaTopParams>): Promise<import("../models").JikanResponse<Manga[]>>;
|
|
21
|
+
/**
|
|
22
|
+
* Get the top Characters
|
|
23
|
+
* @param searchParams Filter parameters
|
|
24
|
+
*/
|
|
25
|
+
getTopCharacters(searchParams?: Partial<JikanTopParams>): Promise<import("../models").JikanResponse<Character[]>>;
|
|
26
|
+
/**
|
|
27
|
+
* Get top people
|
|
28
|
+
* @param params pagination params
|
|
29
|
+
*/
|
|
30
|
+
getTopPeople(params?: Partial<JikanTopParams>): Promise<import("../models").JikanResponse<Person[]>>;
|
|
31
|
+
/**
|
|
32
|
+
* Get top reviews
|
|
33
|
+
* @param params pagination params
|
|
34
|
+
*/
|
|
35
|
+
getTopReviews(params?: Partial<JikanTopParams>): Promise<import("../models").JikanResponse<AnimeReview[]>>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { PaginationParams } from '../models';
|
|
2
|
+
import type { WatchEpisode, WatchEpisodePromo } from '../models/watch/watch.model';
|
|
3
|
+
import { BaseClient } from './base.client';
|
|
4
|
+
/**
|
|
5
|
+
* **Watch Client**
|
|
6
|
+
* Client used to access the Watch Endpoint:
|
|
7
|
+
*
|
|
8
|
+
* See also: [Jikan Documentation](https://docs.api.jikan.moe/)
|
|
9
|
+
*/
|
|
10
|
+
export declare class WatchClient extends BaseClient {
|
|
11
|
+
/**
|
|
12
|
+
* @returns Recently added episodes
|
|
13
|
+
*/
|
|
14
|
+
getWatchRecentEpisodes(): Promise<import("../models").JikanResponse<WatchEpisode[]>>;
|
|
15
|
+
/**
|
|
16
|
+
* @returns Recently Popular episodes
|
|
17
|
+
*/
|
|
18
|
+
getWatchPopularEpisodes(): Promise<import("../models").JikanResponse<WatchEpisode[]>>;
|
|
19
|
+
/**
|
|
20
|
+
* @returns Recently added promotional videos
|
|
21
|
+
*/
|
|
22
|
+
getWatchRecentPromos(params?: Partial<PaginationParams>): Promise<import("../models").JikanResponse<WatchEpisodePromo[]>>;
|
|
23
|
+
/**
|
|
24
|
+
* @returns Popular promotional videos
|
|
25
|
+
*/
|
|
26
|
+
getWatchPopularPromos(): Promise<import("../models").JikanResponse<WatchEpisodePromo[]>>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface CacheOptions {
|
|
2
|
+
/** TTL in milliseconds. Default: 5 minutes */
|
|
3
|
+
ttl: number;
|
|
4
|
+
}
|
|
5
|
+
export declare class ResponseCache {
|
|
6
|
+
private cache;
|
|
7
|
+
private ttl;
|
|
8
|
+
constructor(options?: Partial<CacheOptions>);
|
|
9
|
+
get<T>(key: string): T | undefined;
|
|
10
|
+
set(key: string, data: unknown): void;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { KyInstance } from 'ky';
|
|
2
|
+
import { type CacheOptions, ResponseCache } from './cache';
|
|
3
|
+
export interface KyClientConfig {
|
|
4
|
+
enableLogging?: boolean;
|
|
5
|
+
cacheOptions?: Partial<CacheOptions>;
|
|
6
|
+
kyInstance?: KyInstance;
|
|
7
|
+
}
|
|
8
|
+
export declare function createKyInstance(config?: KyClientConfig): {
|
|
9
|
+
api: KyInstance;
|
|
10
|
+
cache: ResponseCache;
|
|
11
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BASE_URL = "https://api.jikan.moe/v4";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare const AnimeEndpoints: {
|
|
2
|
+
readonly animeFullById: "/anime/{id}/full";
|
|
3
|
+
readonly animeById: "/anime/{id}";
|
|
4
|
+
readonly animeCharacters: "/anime/{id}/characters";
|
|
5
|
+
readonly animeStaff: "/anime/{id}/staff";
|
|
6
|
+
readonly animeEpisodes: "/anime/{id}/episodes";
|
|
7
|
+
readonly animeEpisodeById: "/anime/{id}/episodes/{episode}";
|
|
8
|
+
readonly animeNews: "/anime/{id}/news";
|
|
9
|
+
readonly animeForum: "/anime/{id}/forum";
|
|
10
|
+
readonly animeVideos: "/anime/{id}/videos";
|
|
11
|
+
readonly animeVideosEpisodes: "/anime/{id}/videos/episodes";
|
|
12
|
+
readonly animePictures: "/anime/{id}/pictures";
|
|
13
|
+
readonly animeStatistics: "/anime/{id}/statistics";
|
|
14
|
+
readonly animeMoreInfo: "/anime/{id}/moreinfo";
|
|
15
|
+
readonly animeRecommendations: "/anime/{id}/recommendations";
|
|
16
|
+
readonly animeUserUpdates: "/anime/{id}/userupdates";
|
|
17
|
+
readonly animeReviews: "/anime/{id}/reviews";
|
|
18
|
+
readonly animeRelations: "/anime/{id}/relations";
|
|
19
|
+
readonly animeThemes: "/anime/{id}/themes";
|
|
20
|
+
readonly animeExternal: "/anime/{id}/external";
|
|
21
|
+
readonly animeStreaming: "/anime/{id}/streaming";
|
|
22
|
+
readonly animeSearch: "/anime";
|
|
23
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const CharactersEndpoints: {
|
|
2
|
+
readonly characterFullById: "/characters/{id}/full";
|
|
3
|
+
readonly characterById: "/characters/{id}";
|
|
4
|
+
readonly characterAnime: "/characters/{id}/anime";
|
|
5
|
+
readonly charactersManga: "/characters/{id}/manga";
|
|
6
|
+
readonly characterVoiceActors: "/characters/{id}/voices";
|
|
7
|
+
readonly characterPictures: "/characters/{id}/pictures";
|
|
8
|
+
readonly characterSearch: "/characters";
|
|
9
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const MangaEndpoints: {
|
|
2
|
+
readonly mangaSearch: "/manga";
|
|
3
|
+
readonly mangaFullById: "/manga/{id}/full";
|
|
4
|
+
readonly mangaById: "/manga/{id}";
|
|
5
|
+
readonly mangaCharacters: "/manga/{id}/characters";
|
|
6
|
+
readonly mangaNews: "/manga/{id}/news";
|
|
7
|
+
readonly mangaTopics: "/manga/{id}/forum";
|
|
8
|
+
readonly mangaPictures: "/manga/{id}/pictures";
|
|
9
|
+
readonly mangaStatistics: "/manga/{id}/statistics";
|
|
10
|
+
readonly mangaMoreInfo: "/manga/{id}/moreinfo";
|
|
11
|
+
readonly mangaRelations: "/manga/{id}/relations";
|
|
12
|
+
readonly mangaExternal: "/manga/{id}/external";
|
|
13
|
+
readonly mangaRecommendations: "/manga/{id}/recommendations";
|
|
14
|
+
readonly mangaUserUpdates: "/manga/{id}/userupdates";
|
|
15
|
+
readonly mangaReviews: "/manga/{id}/reviews";
|
|
16
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const PeopleEndpoints: {
|
|
2
|
+
readonly personFullById: "/people/{id}/full";
|
|
3
|
+
readonly personById: "/people/{id}";
|
|
4
|
+
readonly personAnime: "/people/{id}/anime";
|
|
5
|
+
readonly personVoices: "/people/{id}/voices";
|
|
6
|
+
readonly personManga: "/people/{id}/manga";
|
|
7
|
+
readonly personPictures: "/people/{id}/pictures";
|
|
8
|
+
readonly peopleSearch: "/people";
|
|
9
|
+
};
|