mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-01-22 02:49:40 +00:00
Fix remove items with issues API route & remove old endpoints
This commit is contained in:
parent
332078e6c1
commit
4f94deefa0
8 changed files with 24 additions and 793 deletions
|
|
@ -1,5 +1,4 @@
|
|||
const Sequelize = require('sequelize')
|
||||
const Logger = require('../../Logger')
|
||||
const Database = require('../../Database')
|
||||
|
||||
module.exports = {
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ module.exports = {
|
|||
|
||||
/**
|
||||
* Get library items using filter and sort
|
||||
* @param {oldLibrary} library
|
||||
* @param {oldUser} user
|
||||
* @param {import('../../objects/Library')} library
|
||||
* @param {import('../../objects/user/User')} user
|
||||
* @param {object} options
|
||||
* @returns {object} { libraryItems:LibraryItem[], count:number }
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ module.exports = {
|
|||
/**
|
||||
* Get all library items that have tags
|
||||
* @param {string[]} tags
|
||||
* @returns {Promise<LibraryItem[]>}
|
||||
* @returns {Promise<import('../../models/LibraryItem')[]>}
|
||||
*/
|
||||
async getAllLibraryItemsWithTags(tags) {
|
||||
const libraryItems = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue