feat: Add AudioClip to database proper

Also: API endpoints and controller implementations
This commit is contained in:
Jozsef Kiraly 2025-11-27 11:55:52 +00:00
parent 657cb075ee
commit cdb0bbb4d2
No known key found for this signature in database
4 changed files with 983 additions and 0 deletions

View file

@ -182,6 +182,11 @@ class ApiRouter {
this.router.post('/me/item/:id/bookmark', MeController.createBookmark.bind(this))
this.router.patch('/me/item/:id/bookmark', MeController.updateBookmark.bind(this))
this.router.delete('/me/item/:id/bookmark/:time', MeController.removeBookmark.bind(this))
this.router.get('/me/clips', MeController.getClips.bind(this))
this.router.get('/me/item/:id/clips', MeController.getItemClips.bind(this))
this.router.post('/me/item/:id/clip', MeController.createClip.bind(this))
this.router.patch('/me/clip/:clipId', MeController.updateClip.bind(this))
this.router.delete('/me/clip/:clipId', MeController.deleteClip.bind(this))
this.router.patch('/me/password', this.auth.authRateLimiter, MeController.updatePassword.bind(this))
this.router.get('/me/items-in-progress', MeController.getAllLibraryItemsInProgress.bind(this))
this.router.get('/me/series/:id/remove-from-continue-listening', MeController.removeSeriesFromContinueListening.bind(this))