mirror of https://git.lenooby09.tech/LeNooby09/social-app.git
1import {LabelPreferencesModel} from 'state/models/ui/preferences' 2import {LabelValGroup} from './types' 3 4export const ILLEGAL_LABEL_GROUP: LabelValGroup = { 5 id: 'illegal', 6 title: 'Illegal Content', 7 warning: 'Illegal Content', 8 values: ['csam', 'dmca-violation', 'nudity-nonconsensual'], 9} 10 11export const ALWAYS_FILTER_LABEL_GROUP: LabelValGroup = { 12 id: 'always-filter', 13 title: 'Content Warning', 14 warning: 'Content Warning', 15 values: ['!filter'], 16} 17 18export const ALWAYS_WARN_LABEL_GROUP: LabelValGroup = { 19 id: 'always-warn', 20 title: 'Content Warning', 21 warning: 'Content Warning', 22 values: ['!warn', 'account-security'], 23} 24 25export const UNKNOWN_LABEL_GROUP: LabelValGroup = { 26 id: 'unknown', 27 title: 'Unknown Label', 28 warning: 'Content Warning', 29 values: [], 30} 31 32export const CONFIGURABLE_LABEL_GROUPS: Record< 33 keyof LabelPreferencesModel, 34 LabelValGroup 35> = { 36 nsfw: { 37 id: 'nsfw', 38 title: 'Explicit Sexual Images', 39 subtitle: 'i.e. pornography', 40 warning: 'Sexually Explicit', 41 values: ['porn', 'nsfl'], 42 isAdultImagery: true, 43 }, 44 nudity: { 45 id: 'nudity', 46 title: 'Other Nudity', 47 subtitle: 'Including non-sexual and artistic', 48 warning: 'Nudity', 49 values: ['nudity'], 50 isAdultImagery: true, 51 }, 52 suggestive: { 53 id: 'suggestive', 54 title: 'Sexually Suggestive', 55 subtitle: 'Does not include nudity', 56 warning: 'Sexually Suggestive', 57 values: ['sexual'], 58 isAdultImagery: true, 59 }, 60 gore: { 61 id: 'gore', 62 title: 'Violent / Bloody', 63 subtitle: 'Gore, self-harm, torture', 64 warning: 'Violence', 65 values: ['gore', 'self-harm', 'torture', 'nsfl', 'corpse'], 66 isAdultImagery: true, 67 }, 68 hate: { 69 id: 'hate', 70 title: 'Hate Group Iconography', 71 subtitle: 'Images of terror groups, articles covering events, etc.', 72 warning: 'Hate Groups', 73 values: ['icon-kkk', 'icon-nazi', 'icon-intolerant', 'behavior-intolerant'], 74 }, 75 spam: { 76 id: 'spam', 77 title: 'Spam', 78 subtitle: 'Excessive unwanted interactions', 79 warning: 'Spam', 80 values: ['spam'], 81 }, 82 impersonation: { 83 id: 'impersonation', 84 title: 'Impersonation', 85 subtitle: 'Accounts falsely claiming to be people or orgs', 86 warning: 'Impersonation', 87 values: ['impersonation'], 88 }, 89}