import{_ as e,c as o,o as c,a as d}from"./app.ab34650d.js";const m=JSON.parse('{"title":"Interface: BaseChallenge","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"},{"level":3,"title":"active","slug":"active"},{"level":3,"title":"complete","slug":"complete"},{"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"}],"relativePath":"api/interfaces/features/challenges/challenge.BaseChallenge.md","lastUpdated":null}'),t={name:"api/interfaces/features/challenges/challenge.BaseChallenge.md"},a=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:62
\u2022 [GatherProps]: () => Record
<string
, unknown
>
\u25B8 (): Record
<string
, unknown
>
Record
<string
, unknown
>
profectus/src/features/challenges/challenge.tsx:63
\u2022 active: Persistent
<boolean
>
profectus/src/features/challenges/challenge.tsx:58
\u2022 complete: (remainInChallenge?
: boolean
) => void
\u25B8 (remainInChallenge?
): void
Name | Type |
---|---|
remainInChallenge? | boolean |
void
profectus/src/features/challenges/challenge.tsx:60
\u2022 completed: Ref
<boolean
>
profectus/src/features/challenges/challenge.tsx:56
\u2022 completions: Persistent
<DecimalSource
>
profectus/src/features/challenges/challenge.tsx:55
\u2022 id: string
profectus/src/features/challenges/challenge.tsx:54
\u2022 maxed: Ref
<boolean
>
profectus/src/features/challenges/challenge.tsx:57
\u2022 toggle: VoidFunction
profectus/src/features/challenges/challenge.tsx:59
\u2022 type: typeof ChallengeType