import{_ as e,c as o,o as c,a as d}from"./app.e5a3543f.js";const m='{"title":"Interface: BaseChallenge","description":"","frontmatter":{},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"active","slug":"active"},{"level":3,"title":"completed","slug":"completed"},{"level":3,"title":"completions","slug":"completions"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"maxed","slug":"maxed"},{"level":3,"title":"toggle","slug":"toggle"},{"level":3,"title":"type","slug":"type"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"},{"level":3,"title":"complete","slug":"complete"}],"relativePath":"api/interfaces/features/challenges/challenge.BaseChallenge.md"}',t={},r=d('
features/challenges/challenge.BaseChallenge
\u2022 [Component]: DefineComponent
<{ active
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; canComplete
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; canStart
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; completed
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; display
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; goal?
: CoercableComponent
; reward?
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; goal?
: CoercableComponent
; reward?
: CoercableComponent
; title?
: CoercableComponent
}>> ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; maxed
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; toggle
: { required
: true
= true; type
: PropType
<VoidFunction
> } ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }, { Visibility
: typeof Visibility
; buttonText
: ComputedRef
<"Finish"
| "Exit Early"
| "Completed"
| "Start"
> ; comp
: ShallowRef
<string
| Component
<any
, any
, any
, ComputedOptions
, MethodOptions
>> ; notifyStyle
: ComputedRef
<{}> ; unref
: <T>(ref
: T
| Ref
<T
>) => T
}, unknown
, {}, {}, ComponentOptionsMixin
, ComponentOptionsMixin
, Record
<string
, any
>, string
, PublicProps
, Readonly
<ExtractPropTypes
<{ active
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; canComplete
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; canStart
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; classes
: PropType
<ProcessedComputable
<Record
<string
, boolean
>>> ; completed
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; display
: PropType
<ProcessedComputable
<undefined
| CoercableComponent
| { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; goal?
: CoercableComponent
; reward?
: CoercableComponent
; title?
: CoercableComponent
} | { description
: CoercableComponent
; effectDisplay?
: CoercableComponent
; goal?
: CoercableComponent
; reward?
: CoercableComponent
; title?
: CoercableComponent
}>> ; id
: { required
: true
= true; type
: StringConstructor
= String } ; mark
: PropType
<ProcessedComputable
<string
| boolean
>> ; maxed
: { required
: true
= true; type
: PropType
<ProcessedComputable
<boolean
>> } ; style
: PropType
<ProcessedComputable
<StyleValue
>> ; toggle
: { required
: true
= true; type
: PropType
<VoidFunction
> } ; visibility
: { required
: true
= true; type
: PropType
<ProcessedComputable
<Visibility
>> } }>>, {}>
profectus/src/features/challenges/challenge.tsx:69
\u2022 active: Persistent
<boolean
>
profectus/src/features/challenges/challenge.tsx:65
\u2022 completed: Ref
<boolean
>
profectus/src/features/challenges/challenge.tsx:63
\u2022 completions: Persistent
<DecimalSource
>
profectus/src/features/challenges/challenge.tsx:62
\u2022 id: string
profectus/src/features/challenges/challenge.tsx:61
\u2022 maxed: Ref
<boolean
>
profectus/src/features/challenges/challenge.tsx:64
\u2022 toggle: VoidFunction
profectus/src/features/challenges/challenge.tsx:66
\u2022 type: typeof ChallengeType
profectus/src/features/challenges/challenge.tsx:68
\u25B8 [GatherProps](): Record
<string
, unknown
>
Record
<string
, unknown
>
profectus/src/features/challenges/challenge.tsx:70
\u25B8 complete(remainInChallenge?
): void
Name | Type |
---|---|
remainInChallenge? | boolean |
void