feat: notifications for media_available and media_approved

This commit is contained in:
sct
2020-11-23 10:34:53 +00:00
parent d8e542e5fe
commit a6c5e65bbf
8 changed files with 234 additions and 29 deletions

View File

@@ -1,10 +1,12 @@
import { Notification } from '..';
import { User } from '../../../entity/User';
export interface NotificationPayload {
subject: string;
username?: string;
notifyUser: User;
image?: string;
message?: string;
extra?: { name: string; value: string }[];
}
export interface NotificationAgent {