mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-19 11:21:27 +02:00
Add:User stats API for year stats
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user