X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=shared%2Fmodels%2Fusers%2Fuser-notification.model.ts;h=b04619685cb5711e1a6092199b8403444d23043a;hb=829523cfa5177a1810d9373f9a25bf3b18138d1e;hp=e2f2234e48f642f2e85de19745128be106e74423;hpb=5d43dae3699d088698560851cb6f35f3dbc70c69;p=github%2FChocobozzz%2FPeerTube.git diff --git a/shared/models/users/user-notification.model.ts b/shared/models/users/user-notification.model.ts index e2f2234e4..b04619685 100644 --- a/shared/models/users/user-notification.model.ts +++ b/shared/models/users/user-notification.model.ts @@ -1,7 +1,7 @@ import { FollowState } from '../actors' import { AbuseState } from '../moderation' -export enum UserNotificationType { +export const enum UserNotificationType { NEW_VIDEO_FROM_SUBSCRIPTION = 1, NEW_COMMENT_ON_MY_VIDEO = 2, NEW_ABUSE_FOR_MODERATORS = 3,