kHideInterpretedLabelValueDefinition top-level constant

InterpretedLabelValueDefinition const kHideInterpretedLabelValueDefinition

Implementation

const kHideInterpretedLabelValueDefinition = InterpretedLabelValueDefinition(
  identifier: '!hide',
  defaultSetting: LabelPreference.hide,
  flags: [
    LabelValueDefinitionFlag.noOverride,
    LabelValueDefinitionFlag.noSelf,
  ],
  severity: 'alert',
  blurs: 'content',
  behaviors: {
    LabelTarget.account: {
      ModerationBehaviorContext.profileList: ModerationBehavior.blur,
      ModerationBehaviorContext.profileView: ModerationBehavior.blur,
      ModerationBehaviorContext.avatar: ModerationBehavior.blur,
      ModerationBehaviorContext.banner: ModerationBehavior.blur,
      ModerationBehaviorContext.displayName: 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,
    }
  },
);