1 line
2.3 KiB
JavaScript
1 line
2.3 KiB
JavaScript
import{_ as a,c as t,a0 as n,o as r}from"./chunks/framework.P9qPzDnn.js";const u=JSON.parse('{"title":"Function: createAchievement()","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/features/achievements/achievement/functions/createAchievement.md","filePath":"api/features/achievements/achievement/functions/createAchievement.md","lastUpdated":null}'),c={name:"api/features/achievements/achievement/functions/createAchievement.md"};function i(o,e,s,h,m,d){return r(),t("div",null,e[0]||(e[0]=[n('<p><a href="./../../../../">Profectus</a> / <a href="./../">features/achievements/achievement</a> / createAchievement</p><h1 id="function-createachievement" tabindex="-1">Function: createAchievement() <a class="header-anchor" href="#function-createachievement" aria-label="Permalink to "Function: createAchievement()""></a></h1><blockquote><p><strong>createAchievement</strong><<code>T</code>>(<code>optionsFunc</code>?): <code>any</code></p></blockquote><p>Lazily creates an achievement with the given options.</p><h2 id="type-parameters" tabindex="-1">Type Parameters <a class="header-anchor" href="#type-parameters" aria-label="Permalink to "Type Parameters""></a></h2><p>• <strong>T</strong> <em>extends</em> <a href="./../interfaces/AchievementOptions"><code>AchievementOptions</code></a></p><h2 id="parameters" tabindex="-1">Parameters <a class="header-anchor" href="#parameters" aria-label="Permalink to "Parameters""></a></h2><h3 id="optionsfunc" tabindex="-1">optionsFunc? <a class="header-anchor" href="#optionsfunc" aria-label="Permalink to "optionsFunc?""></a></h3><p>() => <code>T</code></p><p>Achievement options.</p><h2 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-label="Permalink to "Returns""></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 "Defined in""></a></h2><p><a href="https://code.incremental.social/profectus/Profectus/src/branch/main/src/features/achievements/achievement.tsx#L98" target="_blank" rel="noreferrer">profectus/src/features/achievements/achievement.tsx:98</a></p>',14)]))}const l=a(c,[["render",i]]);export{u as __pageData,l as default};
|