import{_ase,casa,oasr,Nast}from"./chunks/framework.0799945b.js";constg=JSON.parse('{"title":"Interface: UpgradeOptions","description":"","frontmatter":{"editLink":false},"headers":[],"relativePath":"api/interfaces/features/upgrades/upgrade.UpgradeOptions.md","lastUpdated":null}'),o={name:"api/interfaces/features/upgrades/upgrade.UpgradeOptions.md"},s=t('<h1id="interface-upgradeoptions"tabindex="-1">Interface:UpgradeOptions<aclass="header-anchor"href="#interface-upgradeoptions"aria-label="Permalink to "Interface: UpgradeOptions""></a></h1><p><ahref="./../../../modules/features/upgrades/upgrade">features/upgrades/upgrade</a>.UpgradeOptions</p><p>Anobjectthatconfiguresa<ahref="./../../../modules/features/upgrades/upgrade#upgrade">Upgrade</a>.</p><h2id="properties"tabindex="-1">Properties<aclass="header-anchor"href="#properties"aria-label="Permalinkto"Properties""></a></h2><h3id="classes"tabindex="-1">classes<aclass="header-anchor"href="#classes"aria-label="Permalinkto"classes""></a></h3><p>•<code>Optional</code><strong>classes</strong>:<ahref="./../../../modules/util/computed#computable"><code>Computable</code></a><<ahref="https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type"target="_blank"rel="noreferrer"><code>Record</code></a><<code>string</code>,<code>boolean</code>>></p><p>DictionaryofCSSclassestoapplytothisfeature.</p><h4id="defined-in"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/features/upgrades/upgrade.ts#L49"target="_blank"rel="noreferrer">profectus/src/features/upgrades/upgrade.ts:49</a></p><hr><h3id="display"tabindex="-1">display<aclass="header-anchor"href="#display"aria-label="Permalinkto"display""></a></h3><p>•<code>Optional</code><strong>display</strong>:<ahref="./../../../modules/util/computed#computable"><code>Computable</code></a><<ahref="./../../../modules/features/feature#coercablecomponent"><code>CoercableComponent</code></a>|{<code>description</code>:<ahref="./../../../modules/features/feature#coercablecomponent"><code>CoercableComponent</code></a>;<code>effectDisplay?</code>:<ahref="./../../../modules/features/feature#coercablecomponent"><code>CoercableComponent</code></a>;<code>title?</code>:<ahref="./../../../modules/features/feature#coercablecomponent"><code>CoercableComponent</code></a>}></p><p>Thedisplaytouseforthisclickable.</p><h4id="defined-in-1"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-1"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/features/upgrades/upgrade.ts#L55"target="_blank"rel="noreferrer">profectus/src/features/upgrades/upgrade.ts:55</a></p><hr><h3id="mark"tabindex="-1">mark<aclass="header-anchor"href="#mark"aria-label="Permalinkto"mark""></a></h3><p>•<code>Optional</code><strong>mark</strong>:<ahref="./../../../modules/util/computed#computable"><code>Computable</code></a><<code>string</code>|<code>boolean</code>></p><p>Showsamarkeronthecornerofthefeature.</p><h4id="defined-in-2"tabindex="-1">Definedin<aclass="header-anchor"href="#defined-in-2"aria-label="Permalinkto"Definedin""></a></h4><p><ahref="https://github.com/profectus-engine/Profectus/blob/8c0a0c4/src/features/upgrades/upgrade.ts#L53"target="_blank"rel="noreferrer">profectus/src/features/upgrades/upgrade.ts:53</a></p><hr><h3id="onpurchase"tabindex="-1">onPurchase<aclass="header-anchor"href="#onpurchase"aria-label="Permalinkto"onPurchase""></a></h3><p>•<code>Optional</code><strong>onPurchase</strong>:<code>VoidFunction</code></p><p>Afunctionthatiscalledwhentheupgradeispurchased.</p><h4id="defined-in-3"tabindex="-1">Definedin<aclass="header-anchor"href="