aboutsummaryrefslogtreecommitdiffhomepage
path: root/packages/models/src/moderation/abuse/abuse-reason.model.ts
blob: 770b9d47aad09011b475c0df4407ddcdd0f2139a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
export const AbusePredefinedReasons = {
  VIOLENT_OR_REPULSIVE: 1,
  HATEFUL_OR_ABUSIVE: 2,
  SPAM_OR_MISLEADING: 3,
  PRIVACY: 4,
  RIGHTS: 5,
  SERVER_RULES: 6,
  THUMBNAILS: 7,
  CAPTIONS: 8
} as const

export type AbusePredefinedReasonsType = typeof AbusePredefinedReasons[keyof typeof AbusePredefinedReasons]

export type AbusePredefinedReasonsString =
  'violentOrRepulsive' |
  'hatefulOrAbusive' |
  'spamOrMisleading' |
  'privacy' |
  'rights' |
  'serverRules' |
  'thumbnails' |
  'captions'