From 1808a1f8e4b7b102823492a2007a46929aebf189 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Mar 2022 14:35:04 +0100 Subject: Add video edition finished notification --- shared/models/users/user-notification-setting.model.ts | 2 ++ shared/models/users/user-notification.model.ts | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'shared/models/users') diff --git a/shared/models/users/user-notification-setting.model.ts b/shared/models/users/user-notification-setting.model.ts index 977e6b985..35656f14c 100644 --- a/shared/models/users/user-notification-setting.model.ts +++ b/shared/models/users/user-notification-setting.model.ts @@ -27,4 +27,6 @@ export interface UserNotificationSetting { newPeerTubeVersion: UserNotificationSettingValue newPluginVersion: UserNotificationSettingValue + + myVideoEditionFinished: UserNotificationSettingValue } diff --git a/shared/models/users/user-notification.model.ts b/shared/models/users/user-notification.model.ts index a2621fb5b..a2918194f 100644 --- a/shared/models/users/user-notification.model.ts +++ b/shared/models/users/user-notification.model.ts @@ -30,7 +30,9 @@ export const enum UserNotificationType { ABUSE_NEW_MESSAGE = 16, NEW_PLUGIN_VERSION = 17, - NEW_PEERTUBE_VERSION = 18 + NEW_PEERTUBE_VERSION = 18, + + MY_VIDEO_EDITION_FINISHED = 19 } export interface VideoInfo { -- cgit v1.2.3