mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 15:19:42 +02:00
Add:User stats API for year stats
This commit is contained in:
parent
f33b011847
commit
7391b4d0ec
4 changed files with 201 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue