aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/user/user-notification-setting.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/server/models/user/user-notification-setting.ts b/server/models/user/user-notification-setting.ts
index f03b19e41..b144f8377 100644
--- a/server/models/user/user-notification-setting.ts
+++ b/server/models/user/user-notification-setting.ts
@@ -175,6 +175,15 @@ export class UserNotificationSettingModel extends Model<Partial<AttributesOnly<U
175 @Column 175 @Column
176 newPluginVersion: UserNotificationSettingValue 176 newPluginVersion: UserNotificationSettingValue
177 177
178 @AllowNull(false)
179 @Default(null)
180 @Is(
181 'UserNotificationSettingMyVideoEditionFinished',
182 value => throwIfNotValid(value, isUserNotificationSettingValid, 'myVideoEditionFinished')
183 )
184 @Column
185 myVideoEditionFinished: UserNotificationSettingValue
186
178 @ForeignKey(() => UserModel) 187 @ForeignKey(() => UserModel)
179 @Column 188 @Column
180 userId: number 189 userId: number
@@ -216,6 +225,7 @@ export class UserNotificationSettingModel extends Model<Partial<AttributesOnly<U
216 abuseNewMessage: this.abuseNewMessage, 225 abuseNewMessage: this.abuseNewMessage,
217 abuseStateChange: this.abuseStateChange, 226 abuseStateChange: this.abuseStateChange,
218 newPeerTubeVersion: this.newPeerTubeVersion, 227 newPeerTubeVersion: this.newPeerTubeVersion,
228 myVideoEditionFinished: this.myVideoEditionFinished,
219 newPluginVersion: this.newPluginVersion 229 newPluginVersion: this.newPluginVersion
220 } 230 }
221 } 231 }