mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-12-15 16:29:37 +00:00
Notification create/update events UI
This commit is contained in:
parent
ff04eb8d5e
commit
b08ad8785e
9 changed files with 389 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
|||
const axios = require('axios')
|
||||
const Logger = require("../Logger")
|
||||
const { notificationData } = require('../utils/notifications')
|
||||
|
||||
class NotificationManager {
|
||||
constructor(db) {
|
||||
|
|
@ -8,6 +9,10 @@ class NotificationManager {
|
|||
this.notificationFailedMap = {}
|
||||
}
|
||||
|
||||
getData() {
|
||||
return notificationData
|
||||
}
|
||||
|
||||
onPodcastEpisodeDownloaded(libraryItem, episode) {
|
||||
if (!this.db.notificationSettings.isUseable) return
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue