Module: features/achievements/achievement
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"
]> ; shouldEarn
: GetComputableType
<T
["shouldEarn"
]> ; style
: GetComputableType
<T
["style"
]> ; visibility
: GetComputableTypeWithDefault
<T
["visibility"
], Visible
> }>
Type parameters
Name | Type |
---|---|
T | extends AchievementOptions |
Defined in
profectus/src/features/achievements/achievement.tsx:51
GenericAchievement
Ƭ GenericAchievement: Replace
<Achievement
<AchievementOptions
>, { visibility
: ProcessedComputable
<Visibility
> }>
Defined in
profectus/src/features/achievements/achievement.tsx:64
Variables
AchievementType
• Const
AchievementType: typeof AchievementType
Defined in
profectus/src/features/achievements/achievement.tsx:29
Functions
createAchievement
▸ createAchievement<T
>(optionsFunc
): Achievement
<T
>
Type parameters
Name | Type |
---|---|
T | extends AchievementOptions |
Parameters
Name | Type |
---|---|
optionsFunc | () => T & ThisType <Achievement <T >> |
Returns
Achievement
<T
>