15 lines
657 B
TypeScript
15 lines
657 B
TypeScript
|
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
|
||
|
}
|