profectus-docs/assets/api_features_challenges_challenge_functions_createChallenge.md.D4VbK-Km.js

1 line
2.2 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,c as t,a0 as n,o as r}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: createChallenge()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/challenges/challenge/functions/createChallenge.md","filePath":"api/features/challenges/challenge/functions/createChallenge.md","lastUpdated":null}'),l={name:"api/features/challenges/challenge/functions/createChallenge.md"};function o(c,e,s,i,h,d){return r(),t("div",null,e[0]||(e[0]=[n('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/challenges/challenge</a> / createChallenge</p><h1 id="function-createchallenge" tabindex="-1">Function: createChallenge() <a class="header-anchor" href="#function-createchallenge" aria-label="Permalink to &quot;Function: createChallenge()&quot;"></a></h1><blockquote><p><strong>createChallenge</strong>&lt;<code>T</code>&gt;(<code>optionsFunc</code>): <code>any</code></p></blockquote><p>Lazily creates a challenge with the given options.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to &quot;Type Parameters&quot;"></a></h2><p>• <strong>T</strong> <em>extends</em> <a href="./../interfaces/ChallengeOptions"><code>ChallengeOptions</code></a></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to &quot;Parameters&quot;"></a></h2><h3 id="optionsfunc" tabindex="-1">optionsFunc <a class="header-anchor" href="#optionsfunc" aria-label="Permalink to &quot;optionsFunc&quot;"></a></h3><p>() =&gt; <code>T</code></p><p>Challenge options.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to &quot;Returns&quot;"></a></h2><p><code>any</code></p><h2 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-label="Permalink to &quot;Defined in&quot;"></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/challenges/challenge.tsx#L106" target="_blank" rel="noreferrer">profectus/src/features/challenges/challenge.tsx:106</a></p>',14)]))}const f=a(l,[["render",o]]);export{u as __pageData,f as default};