feat: add guest notification center
This commit is contained in:
25
app/Enums/GuestNotificationType.php
Normal file
25
app/Enums/GuestNotificationType.php
Normal file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum GuestNotificationType: string
|
||||
{
|
||||
case BROADCAST = 'broadcast';
|
||||
case SUPPORT_TIP = 'support_tip';
|
||||
case UPLOAD_ALERT = 'upload_alert';
|
||||
case ACHIEVEMENT_MAJOR = 'achievement_major';
|
||||
case PHOTO_ACTIVITY = 'photo_activity';
|
||||
case FEEDBACK_REQUEST = 'feedback_request';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::BROADCAST => __('Allgemeine Nachricht'),
|
||||
self::SUPPORT_TIP => __('Support-Hinweis'),
|
||||
self::UPLOAD_ALERT => __('Upload-Status'),
|
||||
self::ACHIEVEMENT_MAJOR => __('Achievement'),
|
||||
self::PHOTO_ACTIVITY => __('Fotoupdate'),
|
||||
self::FEEDBACK_REQUEST => __('Feedback-Einladung'),
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user