Fix remove items with issues API route & remove old endpoints

This commit is contained in:
advplyr 2023-08-19 17:12:24 -05:00
parent 332078e6c1
commit 4f94deefa0
8 changed files with 24 additions and 793 deletions

View file

@ -1,5 +1,4 @@
const Sequelize = require('sequelize')
const Logger = require('../../Logger')
const Database = require('../../Database')
module.exports = {

View file

@ -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 }
*/

View file

@ -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 = []