Interface AwardChild

This is a type of a child award, as in one, that exists only in context of its parent.

Hierarchy

Properties

name: string

Name of the award.

description: string

Description of the award.

img: string

Image associated with award. Ideally should be 64x64.

children: null | string[]

Ordered list of children of this award (if it has them). Array is empty or null if no children.

requirements: AwardRequirement[]

Automatically detected requirements needed to earn that badge.

isStackable: boolean

Can the award be unlocked more than once.

isEnabled: boolean

This field determines if the award is being displayed.

isLegacy: boolean

Awards which will not be assigned anymore.

tier: null | string

Tier of the child award. This is so you can have gold, bronze etc. tiers while still keeping an unique name for the child award. Null if there is no tier specific name

category: never

Child awards cannot have their own categories.

_id: ObjectId

Generated using TypeDoc