Skip to content

Type Alias: BadgeRuleFieldKind ​

ts
type BadgeRuleFieldKind = "count" | "date" | "shape" | "presence";

Defined in: badgeRules.ts:23

Auto-assigned badges: the rules instance admins build, and checking someone against them.

Shared so the condition builder offers exactly what the server accepts, and describes a rule in the same words the server would. The server gathers the facts (IBadgeFacts) and awards; this only decides.

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