profectus-docs/assets/api_interfaces_features_boards_board.BaseBoard.md.3cefc65f.js

1 line
15 KiB
JavaScript

import{_ as e,c as d,o as r,a as o}from"./app.e5a3543f.js";const b='{"title":"Interface: BaseBoard","description":"","frontmatter":{},"headers":[{"level":2,"title":"Hierarchy","slug":"hierarchy"},{"level":2,"title":"Properties","slug":"properties"},{"level":3,"title":"[Component]","slug":"component"},{"level":3,"title":"[DefaultValue]","slug":"defaultvalue"},{"level":3,"title":"[Deleted]","slug":"deleted"},{"level":3,"title":"[PersistentState]","slug":"persistentstate"},{"level":3,"title":"[RefSymbol]","slug":"refsymbol"},{"level":3,"title":"[StackTrace]","slug":"stacktrace"},{"level":3,"title":"id","slug":"id"},{"level":3,"title":"links","slug":"links"},{"level":3,"title":"nodes","slug":"nodes"},{"level":3,"title":"selectedAction","slug":"selectedaction"},{"level":3,"title":"selectedNode","slug":"selectednode"},{"level":3,"title":"type","slug":"type"},{"level":3,"title":"value","slug":"value"},{"level":2,"title":"Methods","slug":"methods"},{"level":3,"title":"[GatherProps]","slug":"gatherprops"}],"relativePath":"api/interfaces/features/boards/board.BaseBoard.md"}',a={},t=o('<h1 id="interface-baseboard" tabindex="-1">Interface: BaseBoard <a class="header-anchor" href="#interface-baseboard" aria-hidden="true">#</a></h1><p><a href="./../../../modules/features/boards/board.html">features/boards/board</a>.BaseBoard</p><h2 id="hierarchy" tabindex="-1">Hierarchy <a class="header-anchor" href="#hierarchy" aria-hidden="true">#</a></h2><ul><li><p><a href="./../../../modules/game/persistence.html#persistent"><code>Persistent</code></a>&lt;<a href="./../../../modules/features/boards/board.html#boarddata"><code>BoardData</code></a>&gt;</p><p>\u21B3 <strong><code>BaseBoard</code></strong></p></li></ul><h2 id="properties" tabindex="-1">Properties <a class="header-anchor" href="#properties" aria-hidden="true">#</a></h2><h3 id="component" tabindex="-1">[Component] <a class="header-anchor" href="#component" aria-hidden="true">#</a></h3><p>\u2022 <strong>[Component]</strong>: <code>DefineComponent</code>&lt;<code>__VLS_TypePropsToRuntimeProps</code>&lt;{ <code>[PersistentState]</code>: <code>Ref</code>&lt;<a href="./../../../modules/features/boards/board.html#boarddata"><code>BoardData</code></a>&gt; ; <code>classes?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>Record</code>&lt;<code>string</code>, <code>boolean</code>&gt;&gt; ; <code>height?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>string</code>&gt; ; <code>links</code>: <code>Ref</code>&lt;<code>null</code> | <a href="./board.BoardNodeLink"><code>BoardNodeLink</code></a>[]&gt; ; <code>nodes</code>: <code>Ref</code>&lt;<a href="./board.BoardNode"><code>BoardNode</code></a>[]&gt; ; <code>selectedAction</code>: <code>Ref</code>&lt;<code>null</code> | <a href="./../../../modules/features/boards/board.html#genericboardnodeaction"><code>GenericBoardNodeAction</code></a>&gt; ; <code>selectedNode</code>: <code>Ref</code>&lt;<code>null</code> | <a href="./board.BoardNode"><code>BoardNode</code></a>&gt; ; <code>style?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a>&gt; ; <code>types</code>: <code>Record</code>&lt;<code>string</code>, <a href="./../../../modules/features/boards/board.html#genericnodetype"><code>GenericNodeType</code></a>&gt; ; <code>visibility</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="../../../enums/features/feature.Visibility"><code>Visibility</code></a>&gt; ; <code>width?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>string</code>&gt; }&gt;, {}, <code>unknown</code>, {}, {}, <code>ComponentOptionsMixin</code>, <code>ComponentOptionsMixin</code>, <code>Record</code>&lt;<code>string</code>, <code>any</code>&gt;, <code>string</code>, <code>PublicProps</code>, <code>Readonly</code>&lt;<code>ExtractPropTypes</code>&lt;<code>__VLS_TypePropsToRuntimeProps</code>&lt;{ <code>[PersistentState]</code>: <code>Ref</code>&lt;<a href="./../../../modules/features/boards/board.html#boarddata"><code>BoardData</code></a>&gt; ; <code>classes?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>Record</code>&lt;<code>string</code>, <code>boolean</code>&gt;&gt; ; <code>height?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>string</code>&gt; ; <code>links</code>: <code>Ref</code>&lt;<code>null</code> | <a href="./board.BoardNodeLink"><code>BoardNodeLink</code></a>[]&gt; ; <code>nodes</code>: <code>Ref</code>&lt;<a href="./board.BoardNode"><code>BoardNode</code></a>[]&gt; ; <code>selectedAction</code>: <code>Ref</code>&lt;<code>null</code> | <a href="./../../../modules/features/boards/board.html#genericboardnodeaction"><code>GenericBoardNodeAction</code></a>&gt; ; <code>selectedNode</code>: <code>Ref</code>&lt;<code>null</code> | <a href="./board.BoardNode"><code>BoardNode</code></a>&gt; ; <code>style?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="./../../../modules/features/feature.html#stylevalue"><code>StyleValue</code></a>&gt; ; <code>types</code>: <code>Record</code>&lt;<code>string</code>, <a href="./../../../modules/features/boards/board.html#genericnodetype"><code>GenericNodeType</code></a>&gt; ; <code>visibility</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<a href="../../../enums/features/feature.Visibility"><code>Visibility</code></a>&gt; ; <code>width?</code>: <a href="./../../../modules/util/computed.html#processedcomputable"><code>ProcessedComputable</code></a>&lt;<code>string</code>&gt; }&gt;&gt;&gt;, {}&gt;</p><h4 id="defined-in" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L177" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:177</a></p><hr><h3 id="defaultvalue" tabindex="-1">[DefaultValue] <a class="header-anchor" href="#defaultvalue" aria-hidden="true">#</a></h3><p>\u2022 <strong>[DefaultValue]</strong>: <a href="./../../../modules/features/boards/board.html#boarddata"><code>BoardData</code></a></p><h4 id="inherited-from" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from" aria-hidden="true">#</a></h4><p>Persistent.__@DefaultValue@18931</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/2e3f1de/src/game/persistence.ts#L27" target="_blank" rel="noopener noreferrer">profectus/src/game/persistence.ts:27</a></p><hr><h3 id="deleted" tabindex="-1">[Deleted] <a class="header-anchor" href="#deleted" aria-hidden="true">#</a></h3><p>\u2022 <strong>[Deleted]</strong>: <code>boolean</code></p><h4 id="inherited-from-1" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-1" aria-hidden="true">#</a></h4><p>Persistent.__@Deleted@18933</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/2e3f1de/src/game/persistence.ts#L29" target="_blank" rel="noopener noreferrer">profectus/src/game/persistence.ts:29</a></p><hr><h3 id="persistentstate" tabindex="-1">[PersistentState] <a class="header-anchor" href="#persistentstate" aria-hidden="true">#</a></h3><p>\u2022 <strong>[PersistentState]</strong>: <code>Ref</code>&lt;<a href="./../../../modules/features/boards/board.html#boarddata"><code>BoardData</code></a>&gt;</p><h4 id="inherited-from-2" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-2" aria-hidden="true">#</a></h4><p>Persistent.__@PersistentState@18930</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/2e3f1de/src/game/persistence.ts#L26" target="_blank" rel="noopener noreferrer">profectus/src/game/persistence.ts:26</a></p><hr><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-3" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-3" aria-hidden="true">#</a></h4><p>Persistent.__@RefSymbol@17181</p><h4 id="defined-in-4" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-4" aria-hidden="true">#</a></h4><p>node_modules/@vue/reactivity/dist/reactivity.d.ts:197</p><hr><h3 id="stacktrace" tabindex="-1">[StackTrace] <a class="header-anchor" href="#stacktrace" aria-hidden="true">#</a></h3><p>\u2022 <strong>[StackTrace]</strong>: <code>string</code></p><h4 id="inherited-from-4" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-4" aria-hidden="true">#</a></h4><p>Persistent.__@StackTrace@18932</p><h4 id="defined-in-5" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-5" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/game/persistence.ts#L28" target="_blank" rel="noopener noreferrer">profectus/src/game/persistence.ts:28</a></p><hr><h3 id="id" tabindex="-1">id <a class="header-anchor" href="#id" aria-hidden="true">#</a></h3><p>\u2022 <strong>id</strong>: <code>string</code></p><h4 id="defined-in-6" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-6" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L171" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:171</a></p><hr><h3 id="links" tabindex="-1">links <a class="header-anchor" href="#links" aria-hidden="true">#</a></h3><p>\u2022 <strong>links</strong>: <code>Ref</code>&lt;<code>null</code> | <a href="./board.BoardNodeLink"><code>BoardNodeLink</code></a>[]&gt;</p><h4 id="defined-in-7" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-7" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L172" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:172</a></p><hr><h3 id="nodes" tabindex="-1">nodes <a class="header-anchor" href="#nodes" aria-hidden="true">#</a></h3><p>\u2022 <strong>nodes</strong>: <code>Ref</code>&lt;<a href="./board.BoardNode"><code>BoardNode</code></a>[]&gt;</p><h4 id="defined-in-8" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-8" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L173" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:173</a></p><hr><h3 id="selectedaction" tabindex="-1">selectedAction <a class="header-anchor" href="#selectedaction" aria-hidden="true">#</a></h3><p>\u2022 <strong>selectedAction</strong>: <code>Ref</code>&lt;<code>null</code> | <a href="./../../../modules/features/boards/board.html#genericboardnodeaction"><code>GenericBoardNodeAction</code></a>&gt;</p><h4 id="defined-in-9" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-9" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L175" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:175</a></p><hr><h3 id="selectednode" tabindex="-1">selectedNode <a class="header-anchor" href="#selectednode" aria-hidden="true">#</a></h3><p>\u2022 <strong>selectedNode</strong>: <code>Ref</code>&lt;<code>null</code> | <a href="./board.BoardNode"><code>BoardNode</code></a>&gt;</p><h4 id="defined-in-10" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-10" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L174" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:174</a></p><hr><h3 id="type" tabindex="-1">type <a class="header-anchor" href="#type" aria-hidden="true">#</a></h3><p>\u2022 <strong>type</strong>: typeof <a href="./../../../modules/features/boards/board.html#boardtype"><code>BoardType</code></a></p><h4 id="defined-in-11" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-11" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L176" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:176</a></p><hr><h3 id="value" tabindex="-1">value <a class="header-anchor" href="#value" aria-hidden="true">#</a></h3><p>\u2022 <strong>value</strong>: <a href="./../../../modules/features/boards/board.html#boarddata"><code>BoardData</code></a></p><h4 id="inherited-from-5" tabindex="-1">Inherited from <a class="header-anchor" href="#inherited-from-5" aria-hidden="true">#</a></h4><p>Persistent.value</p><h4 id="defined-in-12" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-12" aria-hidden="true">#</a></h4><p>node_modules/@vue/reactivity/dist/reactivity.d.ts:191</p><h2 id="methods" tabindex="-1">Methods <a class="header-anchor" href="#methods" aria-hidden="true">#</a></h2><h3 id="gatherprops" tabindex="-1">[GatherProps] <a class="header-anchor" href="#gatherprops" aria-hidden="true">#</a></h3><p>\u25B8 <strong>[GatherProps]</strong>(): <code>Record</code>&lt;<code>string</code>, <code>unknown</code>&gt;</p><h4 id="returns" tabindex="-1">Returns <a class="header-anchor" href="#returns" aria-hidden="true">#</a></h4><p><code>Record</code>&lt;<code>string</code>, <code>unknown</code>&gt;</p><h4 id="defined-in-13" tabindex="-1">Defined in <a class="header-anchor" href="#defined-in-13" aria-hidden="true">#</a></h4><p><a href="https://github.com/profectus-engine/Profectus/blob/2e3f1de/src/features/boards/board.ts#L178" target="_blank" rel="noopener noreferrer">profectus/src/features/boards/board.ts:178</a></p>',89),s=[t];function c(n,i,h,l,f,u){return r(),d("div",null,s)}var g=e(a,[["render",c]]);export{b as __pageData,g as default};