✨ feat: create bulk insertion for characters
This commit is contained in:
1
src/config/account/system.ts
Normal file
1
src/config/account/system.ts
Normal file
@ -0,0 +1 @@
|
||||
export const SystemAccountId = "b734b9bc-b4ea-408f-a80e-0a837ce884da";
|
||||
1
src/config/apis/baseUrl.ts
Normal file
1
src/config/apis/baseUrl.ts
Normal file
@ -0,0 +1 @@
|
||||
export const baseURL = "https://api.jikan.moe/v4";
|
||||
@ -1,6 +1,8 @@
|
||||
import { baseURL } from "./baseUrl";
|
||||
|
||||
export const getContentReferenceAPI = (malId: number) => {
|
||||
return {
|
||||
baseURL: "https://api.jikan.moe/v4",
|
||||
baseURL,
|
||||
getMediaFullInfo: `/anime/${malId}/full`,
|
||||
getMediaCharactersWithVA: `/anime/${malId}/characters`,
|
||||
};
|
||||
|
||||
8
src/config/apis/people.reference.ts
Normal file
8
src/config/apis/people.reference.ts
Normal file
@ -0,0 +1,8 @@
|
||||
import { baseURL } from "./baseUrl";
|
||||
|
||||
export const getPeopleAPI = (malId: number) => {
|
||||
return {
|
||||
baseURL,
|
||||
getPeopleInfo: `/people/${malId}`,
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user