Update jsdoc defs for models

This commit is contained in:
advplyr 2023-08-24 17:55:29 -05:00
parent e0dae44c7d
commit 1187f91063
4 changed files with 50 additions and 17 deletions

View file

@ -4,7 +4,7 @@ class Podcast extends Model {
constructor(values, options) {
super(values, options)
/** @type {UUIDV4} */
/** @type {string} */
this.id
/** @type {string} */
this.title
@ -42,9 +42,9 @@ class Podcast extends Model {
this.maxEpisodesToKeep
/** @type {string} */
this.coverPath
/** @type {Object} */
/** @type {string[]} */
this.tags
/** @type {Object} */
/** @type {string[]} */
this.genres
/** @type {Date} */
this.createdAt