mirror of
https://github.com/Radiquum/AniX.git
synced 2025-04-29 01:19:41 +05:00
feat: add logged in user favorite and owned collection fetching
This commit is contained in:
parent
9f3e1b951a
commit
b6878a0386
6 changed files with 84 additions and 151 deletions
|
@ -21,4 +21,15 @@ export const ENDPOINTS = {
|
|||
addHistory: `${API_PREFIX}/history/add`,
|
||||
markWatched: `${API_PREFIX}/episode/watch`,
|
||||
},
|
||||
collection: {
|
||||
base: `${API_PREFIX}/collection`,
|
||||
list: `${API_PREFIX}/collection/list`,
|
||||
create: `${API_PREFIX}/collectionMy/create`,
|
||||
delete: `${API_PREFIX}/collectionMy/delete`,
|
||||
edit: `${API_PREFIX}/collectionMy/edit`,
|
||||
editImage: `${API_PREFIX}/collectionMy/editImage`,
|
||||
releaseInCollections: `${API_PREFIX}/collection/all/release`,
|
||||
userCollections: `${API_PREFIX}/collection/all/profile`,
|
||||
favoriteCollections: `${API_PREFIX}/collectionFavorite`,
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue