import{_ as e,c as o,o as c,a as d}from"./app.8e8712eb.js";const f='{"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('

Interface: BaseChallenge

features/challenges/challenge.BaseChallenge

Properties

[Component]

\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>> } }>>, {}>

Defined in

profectus/src/features/challenges/challenge.tsx:68


active

\u2022 active: PersistentRef<boolean>

Defined in

profectus/src/features/challenges/challenge.tsx:64


completed

\u2022 completed: Ref<boolean>

Defined in

profectus/src/features/challenges/challenge.tsx:62


completions

\u2022 completions: PersistentRef<DecimalSource>

Defined in

profectus/src/features/challenges/challenge.tsx:61


id

\u2022 id: string

Defined in

profectus/src/features/challenges/challenge.tsx:60


maxed

\u2022 maxed: Ref<boolean>

Defined in

profectus/src/features/challenges/challenge.tsx:63


toggle

\u2022 toggle: VoidFunction

Defined in

profectus/src/features/challenges/challenge.tsx:65


type

\u2022 type: typeof ChallengeType

Defined in

profectus/src/features/challenges/challenge.tsx:67

Methods

[GatherProps]

\u25B8 [GatherProps](): Record<string, unknown>

Returns

Record<string, unknown>

Defined in

profectus/src/features/challenges/challenge.tsx:69


complete

\u25B8 complete(remainInChallenge?): void

Parameters

NameType
remainInChallenge?boolean

Returns

void

Defined in

profectus/src/features/challenges/challenge.tsx:66

',58),a=[r];function l(n,s,i,h,u,p){return c(),o("div",null,a)}var g=e(t,[["render",l]]);export{f as __pageData,g as default};