Skip to content
On this page

Module: features/achievements/achievement

Components

Interfaces

Type Aliases

Achievement

Ƭ Achievement<T>: Replace<T & BaseAchievement, { classes: GetComputableType<T["classes"]> ; display: GetComputableType<T["display"]> ; image: GetComputableType<T["image"]> ; mark: GetComputableType<T["mark"]> ; style: GetComputableType<T["style"]> ; visibility: GetComputableTypeWithDefault<T["visibility"], Visible> }>

Type parameters

NameType
Textends AchievementOptions

Defined in

profectus/src/features/achievements/achievement.tsx:54


GenericAchievement

Ƭ GenericAchievement: Replace<Achievement<AchievementOptions>, { visibility: ProcessedComputable<Visibility> }>

Defined in

profectus/src/features/achievements/achievement.tsx:66

Variables

AchievementType

Const AchievementType: typeof AchievementType

Defined in

profectus/src/features/achievements/achievement.tsx:32

Functions

createAchievement

createAchievement<T>(optionsFunc?): Achievement<T>

Type parameters

NameType
Textends AchievementOptions

Parameters

NameType
optionsFunc?OptionsFunc<T, BaseAchievement, GenericAchievement>

Returns

Achievement<T>