kWarnInterpretedLabelValueDefinition top-level constant

InterpretedLabelValueDefinition const kWarnInterpretedLabelValueDefinition

Implementation

const kWarnInterpretedLabelValueDefinition = InterpretedLabelValueDefinition(
  identifier: '!warn',
  defaultSetting: LabelPreference.warn,
  flags: [
    LabelValueDefinitionFlag.noSelf,
  ],
  severity: 'none',
  blurs: 'content',
  behaviors: {
    LabelTarget.account: {
      ModerationBehaviorContext.profileList: ModerationBehavior.blur,
      ModerationBehaviorContext.profileView: ModerationBehavior.blur,
      ModerationBehaviorContext.avatar: ModerationBehavior.blur,
      ModerationBehaviorContext.banner: ModerationBehavior.blur,
      ModerationBehaviorContext.contentList: ModerationBehavior.blur,
      ModerationBehaviorContext.contentView: ModerationBehavior.blur,
    },
    LabelTarget.profile: {
      ModerationBehaviorContext.avatar: ModerationBehavior.blur,
      ModerationBehaviorContext.banner: ModerationBehavior.blur,
      ModerationBehaviorContext.displayName: ModerationBehavior.blur,
    },
    LabelTarget.content: {
      ModerationBehaviorContext.contentList: ModerationBehavior.blur,
      ModerationBehaviorContext.contentView: ModerationBehavior.blur,
    }
  },
);