aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/core-utils/abuse/abuse-predefined-reasons.ts
blob: 9967e54dd1258e003524a67047458be4695388e2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                                                                                       
import { AbusePredefinedReasons, AbusePredefinedReasonsString } from '../../models/moderation/abuse/abuse-reason.model'

export const abusePredefinedReasonsMap: {
  [key in AbusePredefinedReasonsString]: AbusePredefinedReasons
} = {
  violentOrRepulsive: AbusePredefinedReasons.VIOLENT_OR_REPULSIVE,
  hatefulOrAbusive: AbusePredefinedReasons.HATEFUL_OR_ABUSIVE,
  spamOrMisleading: AbusePredefinedReasons.SPAM_OR_MISLEADING,
  privacy: AbusePredefinedReasons.PRIVACY,
  rights: AbusePredefinedReasons.RIGHTS,
  serverRules: AbusePredefinedReasons.SERVER_RULES,
  thumbnails: AbusePredefinedReasons.THUMBNAILS,
  captions: AbusePredefinedReasons.CAPTIONS
}