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('

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:62


[GatherProps]

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

Type declaration

\u25B8 (): Record<string, unknown>

Returns

Record<string, unknown>

Defined in

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


active

\u2022 active: Persistent<boolean>

Defined in

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


complete

\u2022 complete: (remainInChallenge?: boolean) => void

Type declaration

\u25B8 (remainInChallenge?): void

Parameters
NameType
remainInChallenge?boolean
Returns

void

Defined in

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


completed

\u2022 completed: Ref<boolean>

Defined in

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


completions

\u2022 completions: Persistent<DecimalSource>

Defined in

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


id

\u2022 id: string

Defined in

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


maxed

\u2022 maxed: Ref<boolean>

Defined in

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


toggle

\u2022 toggle: VoidFunction

Defined in

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


type

\u2022 type: typeof ChallengeType

Defined in

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

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