Update controllers to use new user model

This commit is contained in:
advplyr 2024-08-10 17:15:21 -05:00
parent 202ceb02b5
commit 68ef3a07a7
20 changed files with 396 additions and 304 deletions

View file

@ -22,7 +22,8 @@ class Collection extends Model {
/**
* Get all old collections toJSONExpanded, items filtered for user permissions
* @param {oldUser} [user]
*
* @param {import('./User')} user
* @param {string} [libraryId]
* @param {string[]} [include]
* @returns {Promise<oldCollection[]>} oldCollection.toJSONExpanded
@ -116,7 +117,8 @@ class Collection extends Model {
/**
* Get old collection toJSONExpanded, items filtered for user permissions
* @param {oldUser} [user]
*
* @param {import('./User')|null} user
* @param {string[]} [include]
* @returns {Promise<oldCollection>} oldCollection.toJSONExpanded
*/