Skip to content

Type Alias: BadgeRuleField ​

ts
type BadgeRuleField = 
  | `action.${BadgeAction}`
  | "account.created"
  | "profile.avatar_shape"
  | `profile.${BadgeProfileField}`;

Defined in: types/api.base.ts:145

What an auto-assign rule can ask about:

  • action.<name>: how often someone has done something (see BADGE_ACTIONS)
  • account.created: when their account was made
  • profile.avatar_shape: the shape of their picture
  • profile.<part>: whether a part of their profile is filled in

Released under the GNU Affero General Public License v3.0.