feat: erweitere Benachrichtigungseinstellungen um Live-Ticker-Optionen und implementiere Push-Benachrichtigungen für Live-Spielereignisse
This commit is contained in:
@@ -9,6 +9,9 @@ export const DEFAULT_NOTIFICATION_SETTINGS = Object.freeze({
|
||||
newContactRequest: false,
|
||||
newUserRegistration: false,
|
||||
ownTtrChanges: false,
|
||||
liveTickerStarts: false,
|
||||
liveTickerScoreChanges: false,
|
||||
liveTickerFinished: false,
|
||||
selectedTeamSlugs: [],
|
||||
selectedTeamSeason: null,
|
||||
notificationTime: '09:00'
|
||||
@@ -43,6 +46,9 @@ export function sanitizeNotificationSettings(input = {}) {
|
||||
newContactRequest: coerceBoolean(input.newContactRequest),
|
||||
newUserRegistration: coerceBoolean(input.newUserRegistration),
|
||||
ownTtrChanges: coerceBoolean(input.ownTtrChanges),
|
||||
liveTickerStarts: coerceBoolean(input.liveTickerStarts),
|
||||
liveTickerScoreChanges: coerceBoolean(input.liveTickerScoreChanges),
|
||||
liveTickerFinished: coerceBoolean(input.liveTickerFinished),
|
||||
selectedTeamSlugs: [...new Set(selectedTeamSlugs)],
|
||||
selectedTeamSeason,
|
||||
notificationTime
|
||||
|
||||
Reference in New Issue
Block a user