Module: features/milestones/milestone

Enumerations

Interfaces

Type aliases

GenericMilestone

Ƭ GenericMilestone: Replace<Milestone<MilestoneOptions>, { visibility: ProcessedComputable<Visibility> }>

Defined in

profectus/src/features/milestones/milestone.tsx:78


Milestone

Ƭ Milestone<T>: Replace<T & BaseMilestone, { classes: GetComputableType<T["classes"]> ; display: GetComputableType<T["display"]> ; shouldEarn: GetComputableType<T["shouldEarn"]> ; style: GetComputableType<T["style"]> ; visibility: GetComputableTypeWithDefault<T["visibility"], Visible> }>

Type parameters

NameType
Textends MilestoneOptions

Defined in

profectus/src/features/milestones/milestone.tsx:67

Variables

MilestoneType

Const MilestoneType: typeof MilestoneType

Defined in

profectus/src/features/milestones/milestone.tsx:33

Functions

createMilestone

createMilestone<T>(optionsFunc): Milestone<T>

Type parameters

NameType
Textends MilestoneOptions

Parameters

NameType
optionsFunc() => T & ThisType<Milestone<T>>

Returns

Milestone<T>

Defined in

profectus/src/features/milestones/milestone.tsx:85