mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-06-29 05:26:16 +02:00
Add:User stats API for year stats
This commit is contained in:
+6
-1
@@ -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