mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: local album events notification (#22817)
* feat: local album events notification * pr feedback * show number of unread notification
This commit is contained in:
parent
4d41fa08ad
commit
d778286777
10 changed files with 148 additions and 14 deletions
6
mobile/openapi/lib/model/notification_type.dart
generated
6
mobile/openapi/lib/model/notification_type.dart
generated
|
|
@ -26,6 +26,8 @@ class NotificationType {
|
|||
static const jobFailed = NotificationType._(r'JobFailed');
|
||||
static const backupFailed = NotificationType._(r'BackupFailed');
|
||||
static const systemMessage = NotificationType._(r'SystemMessage');
|
||||
static const albumInvite = NotificationType._(r'AlbumInvite');
|
||||
static const albumUpdate = NotificationType._(r'AlbumUpdate');
|
||||
static const custom = NotificationType._(r'Custom');
|
||||
|
||||
/// List of all possible values in this [enum][NotificationType].
|
||||
|
|
@ -33,6 +35,8 @@ class NotificationType {
|
|||
jobFailed,
|
||||
backupFailed,
|
||||
systemMessage,
|
||||
albumInvite,
|
||||
albumUpdate,
|
||||
custom,
|
||||
];
|
||||
|
||||
|
|
@ -75,6 +79,8 @@ class NotificationTypeTypeTransformer {
|
|||
case r'JobFailed': return NotificationType.jobFailed;
|
||||
case r'BackupFailed': return NotificationType.backupFailed;
|
||||
case r'SystemMessage': return NotificationType.systemMessage;
|
||||
case r'AlbumInvite': return NotificationType.albumInvite;
|
||||
case r'AlbumUpdate': return NotificationType.albumUpdate;
|
||||
case r'Custom': return NotificationType.custom;
|
||||
default:
|
||||
if (!allowNull) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue