Update jsdocs for expanded library items

This commit is contained in:
advplyr
2024-01-16 16:31:16 -06:00
parent b51853b3df
commit 7b0fa48e2e
3 changed files with 78 additions and 0 deletions

View File

@ -18,6 +18,19 @@ const Logger = require('../Logger')
* @property {string} title
*/
/**
* @typedef SeriesExpandedProperties
* @property {{sequence:string}} bookSeries
*
* @typedef {import('./Series') & SeriesExpandedProperties} SeriesExpanded
*
* @typedef BookExpandedProperties
* @property {import('./Author')[]} authors
* @property {SeriesExpanded[]} series
*
* @typedef {Book & BookExpandedProperties} BookExpanded
*/
/**
* @typedef AudioFileObject
* @property {number} index
@ -54,6 +67,8 @@ class Book extends Model {
/** @type {string} */
this.titleIgnorePrefix
/** @type {string} */
this.subtitle
/** @type {string} */
this.publishedYear
/** @type {string} */
this.publishedDate