2 lines
13 KiB
JavaScript
2 lines
13 KiB
JavaScript
|
import{_ as e,c as t,o as a,a as l}from"./app.e5a3543f.js";const p='{"title":"Module: features/challenges/challenge","description":"","frontmatter":{},"headers":[{"level":2,"title":"Interfaces","slug":"interfaces"},{"level":2,"title":"Type aliases","slug":"type-aliases"},{"level":3,"title":"Challenge","slug":"challenge"},{"level":3,"title":"GenericChallenge","slug":"genericchallenge"},{"level":2,"title":"Variables","slug":"variables"},{"level":3,"title":"ChallengeType","slug":"challengetype"},{"level":2,"title":"Functions","slug":"functions"},{"level":3,"title":"createActiveChallenge","slug":"createactivechallenge"},{"level":3,"title":"createChallenge","slug":"createchallenge"},{"level":3,"title":"isAnyChallengeActive","slug":"isanychallengeactive"},{"level":3,"title":"setupAutoComplete","slug":"setupautocomplete"}],"relativePath":"api/modules/features/challenges/challenge.md"}',c={},d=l('<h1 id="module-features-challenges-challenge" tabindex="-1">Module: features/challenges/challenge <a class="header-anchor" href="#module-features-challenges-challenge" aria-hidden="true">#</a></h1><h2 id="interfaces" tabindex="-1">Interfaces <a class="header-anchor" href="#interfaces" aria-hidden="true">#</a></h2><ul><li><a href="../../../interfaces/features/challenges/challenge.BaseChallenge">BaseChallenge</a></li><li><a href="../../../interfaces/features/challenges/challenge.ChallengeOptions">ChallengeOptions</a></li></ul><h2 id="type-aliases" tabindex="-1">Type aliases <a class="header-anchor" href="#type-aliases" aria-hidden="true">#</a></h2><h3 id="challenge" tabindex="-1">Challenge <a class="header-anchor" href="#challenge" aria-hidden="true">#</a></h3><p>\u01AC <strong>Challenge</strong><<code>T</code>>: <a href="./../feature.html#replace"><code>Replace</code></a><<code>T</code> & <a href="../../../interfaces/features/challenges/challenge.BaseChallenge"><code>BaseChallenge</code></a>, { <code>canComplete</code>: <a href="./../../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"canComplete"</code>], <code>Ref</code><<code>boolean</code>>> ; <code>canStart</code>: <a href="./../../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"canStart"</code>], <code>true</code>> ; <code>classes</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"classes"</code>]> ; <code>completionLimit</code>: <a href="./../../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"completionLimit"</code>], <code>1</code>> ; <code>display</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"display"</code>]> ; <code>goal</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"goal"</code>]> ; <code>mark</code>: <a href="./../../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"mark"</code>], <code>Ref</code><<code>boolean</code>>> ; <code>style</code>: <a href="./../../util/computed.html#getcomputabletype"><code>GetComputableType</code></a><<code>T</code>[<code>"style"</code>]> ; <code>visibility</code>: <a href="./../../util/computed.html#getcomputabletypewithdefault"><code>GetComputableTypeWithDefault</code></a><<code>T</code>[<code>"visibility"</code>], <a href="./../../../enums/features/feature.Visibility.html#visible"><code>Visible</code></a>> }></p><h4 id="type-parameters" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters" aria-hidden="true">#</a></h4><table><thead><tr><th style="text-align:left;">Name</th><th style="text-align:left;">Type</th></tr></thead><tbody><tr><td style="text-align:left;"><code>T
|