Add:User stats API for year stats

This commit is contained in:
advplyr
2023-12-19 17:19:33 -06:00
parent f33b011847
commit 7391b4d0ec
4 changed files with 201 additions and 1 deletions

View File

@@ -122,11 +122,16 @@ class Database {
return this.models.feed
}
/** @type {typeof import('./models/Feed')} */
/** @type {typeof import('./models/FeedEpisode')} */
get feedEpisodeModel() {
return this.models.feedEpisode
}
/** @type {typeof import('./models/PlaybackSession')} */
get playbackSessionModel() {
return this.models.playbackSession
}
/**
* Check if db file exists
* @returns {boolean}