profectus-docs/assets/api_interfaces_features_resources_resource.Resource.md.1517bf4f.js

2 lines
4.6 KiB
JavaScript
Raw Normal View History

import{_ as e,c as r,o as a,a as t}from"./app.ab34650d.js";const m=JSON.parse('{"title":"Interface: Resource","description":"","frontmatter":{"editLink":false},"headers":[{"level":2,"title":"Type parameters","slug":"type-parameters"},{"level":2,"title":"Hierarchy","slug":"hierarchy"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[RefSymbol]","slug":"refsymbol"},{"level":3,"title":"displayName","slug":"displayname"},{"level":3,"title":"precision","slug":"precision"},{"level":3,"title":"small","slug":"small"},{"level":3,"title":"value","slug":"value"}],"relativePath":"api/interfaces/features/resources/resource.Resource.md","lastUpdated":null}'),s={name:"api/interfaces/features/resources/resource.Resource.md"},i=t('<h1 id="interface-resource-t" tabindex="-1">Interface: Resource&lt;T&gt; <a class="header-anchor" href="#interface-resource-t" aria-hidden="true">#</a></h1><p><a href="./../../../modules/features/resources/resource.html">features/resources/resource</a>.Resource</p><h2 id="type-parameters" tabindex="-1">Type parameters <a class="header-anchor" href="#type-parameters" aria-hidden="true">#</a></h2><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</code></td><td style="text-align:left;"><a href="./../../../modules/util/bignum.html#decimalsource"><code>DecimalSource</code></a></td></tr></tbody></table><h2 id="hierarchy" tabindex="-1">Hierarchy <a class="header-anchor" href="#hierarchy" aria-hidden="true">#</a></h2><ul><li><p><code>Ref</code>&lt;<code>T</code>&gt;</p><p>\u21B3 <strong><code>Resource</code></strong></p></li></ul><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="refsymbol" tabindex="-1">[RefSymbol] <a class="header-anchor" href="#refsymbol" aria-hidden="true">#</a></h3><p>\u2022 <strong>[RefSymbol]</strong>: <code>true</code></p><p>Type differentiator only. We need this to be in public d.ts but don&#39;t want it to show up in IDE autocomplete, so we use a private Symbol instead.</p><h4 id="inherited-from" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from" aria-hidden="true">#</a></h4><p>Ref.__@RefSymbol@17474</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p>node_modules/@vue/runtime-core/node_modules/@vue/reactivity/dist/reactivity.d.ts:198</p><hr><h3 id="displayname" tabindex="-1">displayName <a class="header-anchor" href="#displayname" aria-hidden="true">#</a></h3><p>\u2022 <strong>displayName</strong>: <code>string</code></p><h4 id="defined-in-1" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-1" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/resources/resource.ts#L10" target="_blank" rel="noopener noreferrer">profectus/src/features/resources/resource.ts:10</a></p><hr><h3 id="precision" tabindex="-1">precision <a class="header-anchor" href="#precision" aria-hidden="true">#</a></h3><p>\u2022 <strong>precision</strong>: <code>number</code></p><h4 id="defined-in-2" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-2" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/resources/resource.ts#L11" target="_blank" rel="noopener noreferrer">profectus/src/features/resources/resource.ts:11</a></p><hr><h3 id="small" tabindex="-1">small <a class="header-anchor" href="#small" aria-hidden="true">#</a></h3><p>\u2022 <code>Optional</code> <strong>small</strong>: <code>boolean</code></p><h4 id="defined-in-3" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-3" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/013092f/src/features/resources/resource.ts#L12" target="_blank" rel="noopener noreferrer">profectus/src/features/resources/resource.ts:12</a></p><hr><h3 id="value" tabindex="-1">value <a