Skip to content

Commit

Permalink
v4.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgpearce committed Apr 4, 2024
1 parent 3293f52 commit 15edf47
Show file tree
Hide file tree
Showing 1,226 changed files with 1,992 additions and 4,457 deletions.
2 changes: 1 addition & 1 deletion docs/api/all.html
Original file line number Diff line number Diff line change
Expand Up @@ -17430,4 +17430,4 @@
editable<span class="operator">?</span><span class="operator">:</span> <span class="builtin">boolean</span><span class="punctuation">;</span>
valueComponent<span class="operator">?</span><span class="operator">:</span> ComponentType<span class="operator">&lt;</span><span class="type"><a href="#/api/ui-react/type-aliases/props/valueprops/">ValueProps</a></span><span class="operator">></span><span class="punctuation">;</span>
getValueComponentProps<span class="operator">?</span><span class="operator">:</span> <span class="punctuation">(</span>valueId<span class="operator">:</span> <span class="type"><a href="#/api/common/type-aliases/identity/id/">Id</a></span><span class="punctuation">)</span> <span class="operator">=></span> <span class="type"><a href="#/api/ui-react/type-aliases/props/extraprops/">ExtraProps</a></span><span class="punctuation">;</span>
<span class="punctuation">}</span></code></pre><div class="table"><table><tr><th></th><th>Type</th><th>Description</th></tr><tr><th><code>store<span class="operator">?</span></code></th><td><code><span class="type"><a href="#/api/ui-react/type-aliases/identity/storeorstoreid/">StoreOrStoreId</a></span></code></td><td><p>The <a href="#/api/store/interfaces/store/store/"><code>Store</code></a> to be accessed: omit for the default context <a href="#/api/store/interfaces/store/store/"><code>Store</code></a>, provide an <a href="#/api/common/type-aliases/identity/id/"><code>Id</code></a> for a named context <a href="#/api/store/interfaces/store/store/"><code>Store</code></a>, or provide an explicit reference.</p></td></tr><tr><th><code>editable<span class="operator">?</span></code></th><td><code><span class="builtin">boolean</span></code></td><td><p>Whether the <a href="#/api/store/type-aliases/store/values/"><code>Values</code></a> should be editable. This affects the default <a href="#/api/ui-react/functions/store-components/valueview/"><code>ValueView</code></a> component (to use the <a href="#/api/ui-react-dom/functions/store-components/editablevalueview/"><code>EditableValueView</code></a> component instead) but of course will not affect a custom valueComponent if you have set one.</p></td></tr><tr><th><code>valueComponent<span class="operator">?</span></code></th><td><code>ComponentType<span class="operator">&lt;</span><span class="type"><a href="#/api/ui-react/type-aliases/props/valueprops/">ValueProps</a></span><span class="operator">></span></code></td><td><p>A custom component for rendering each <a href="#/api/store/type-aliases/store/value/"><code>Value</code></a> in the <a href="#/api/store/interfaces/store/store/"><code>Store</code></a> (to override the default <a href="#/api/ui-react/functions/store-components/valueview/"><code>ValueView</code></a> component).</p></td></tr><tr><th><code>getValueComponentProps<span class="operator">?</span></code></th><td><code><span class="punctuation">(</span>valueId<span class="operator">:</span> <span class="type"><a href="#/api/common/type-aliases/identity/id/">Id</a></span><span class="punctuation">)</span> <span class="operator">=></span> <span class="type"><a href="#/api/ui-react/type-aliases/props/extraprops/">ExtraProps</a></span></code></td><td><p>A function for generating extra props for each custom <a href="#/api/store/type-aliases/store/value/"><code>Value</code></a> component based on its <a href="#/api/common/type-aliases/identity/id/"><code>Id</code></a>.</p></td></tr></table></div><section class="s6"><h6>Since</h6><p>v4.1.0</p></section></section></section></section></section></section></article><aside></aside></main><footer><nav><a id="tw" href="https://twitter.com/tinybasejs" target="_blank">Twitter</a><a id="fb" href="https://facebook.com/tinybasejs" target="_blank">Facebook</a></nav><nav><a href="/">TinyBase 4.7.3</a> © 2021- All Rights Reserved</nav></footer></body><script async="" src="https://www.googletagmanager.com/gtag/js?id=G-D1MGR8VRWJ"></script><script>window.dataLayer=window.dataLayer||[];function g(){dataLayer.push(arguments);}g('js',new Date());g('config','G-D1MGR8VRWJ');</script></html>
<span class="punctuation">}</span></code></pre><div class="table"><table><tr><th></th><th>Type</th><th>Description</th></tr><tr><th><code>store<span class="operator">?</span></code></th><td><code><span class="type"><a href="#/api/ui-react/type-aliases/identity/storeorstoreid/">StoreOrStoreId</a></span></code></td><td><p>The <a href="#/api/store/interfaces/store/store/"><code>Store</code></a> to be accessed: omit for the default context <a href="#/api/store/interfaces/store/store/"><code>Store</code></a>, provide an <a href="#/api/common/type-aliases/identity/id/"><code>Id</code></a> for a named context <a href="#/api/store/interfaces/store/store/"><code>Store</code></a>, or provide an explicit reference.</p></td></tr><tr><th><code>editable<span class="operator">?</span></code></th><td><code><span class="builtin">boolean</span></code></td><td><p>Whether the <a href="#/api/store/type-aliases/store/values/"><code>Values</code></a> should be editable. This affects the default <a href="#/api/ui-react/functions/store-components/valueview/"><code>ValueView</code></a> component (to use the <a href="#/api/ui-react-dom/functions/store-components/editablevalueview/"><code>EditableValueView</code></a> component instead) but of course will not affect a custom valueComponent if you have set one.</p></td></tr><tr><th><code>valueComponent<span class="operator">?</span></code></th><td><code>ComponentType<span class="operator">&lt;</span><span class="type"><a href="#/api/ui-react/type-aliases/props/valueprops/">ValueProps</a></span><span class="operator">></span></code></td><td><p>A custom component for rendering each <a href="#/api/store/type-aliases/store/value/"><code>Value</code></a> in the <a href="#/api/store/interfaces/store/store/"><code>Store</code></a> (to override the default <a href="#/api/ui-react/functions/store-components/valueview/"><code>ValueView</code></a> component).</p></td></tr><tr><th><code>getValueComponentProps<span class="operator">?</span></code></th><td><code><span class="punctuation">(</span>valueId<span class="operator">:</span> <span class="type"><a href="#/api/common/type-aliases/identity/id/">Id</a></span><span class="punctuation">)</span> <span class="operator">=></span> <span class="type"><a href="#/api/ui-react/type-aliases/props/extraprops/">ExtraProps</a></span></code></td><td><p>A function for generating extra props for each custom <a href="#/api/store/type-aliases/store/value/"><code>Value</code></a> component based on its <a href="#/api/common/type-aliases/identity/id/"><code>Id</code></a>.</p></td></tr></table></div><section class="s6"><h6>Since</h6><p>v4.1.0</p></section></section></section></section></section></section></article><aside></aside></main><footer><nav><a id="tw" href="https://twitter.com/tinybasejs" target="_blank">Twitter</a><a id="fb" href="https://facebook.com/tinybasejs" target="_blank">Facebook</a></nav><nav><a href="/">TinyBase 4.7.4</a> © 2021- All Rights Reserved</nav></footer></body><script async="" src="https://www.googletagmanager.com/gtag/js?id=G-D1MGR8VRWJ"></script><script>window.dataLayer=window.dataLayer||[];function g(){dataLayer.push(arguments);}g('js',new Date());g('config','G-D1MGR8VRWJ');</script></html>
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
<span class="keyword">const</span> checkpoints2 <span class="operator">=</span> <span class="function"><a href="/api/checkpoints/functions/creation/createcheckpoints/">createCheckpoints</a></span><span class="punctuation">(</span>store<span class="punctuation">)</span><span class="punctuation">;</span>
console<span class="punctuation">.</span><span class="function">log</span><span class="punctuation">(</span>checkpoints1 <span class="operator">===</span> checkpoints2<span class="punctuation">)</span><span class="punctuation">;</span>
<span class="comment">// -> true</span>
</code></pre></section></section></article><aside></aside></main><footer><nav><a id="tw" href="https://twitter.com/tinybasejs" target="_blank">Twitter</a><a id="fb" href="https://facebook.com/tinybasejs" target="_blank">Facebook</a></nav><nav><a href="/">TinyBase 4.7.3</a> © 2021- All Rights Reserved</nav></footer></body><script async="" src="https://www.googletagmanager.com/gtag/js?id=G-D1MGR8VRWJ"></script><script>window.dataLayer=window.dataLayer||[];function g(){dataLayer.push(arguments);}g('js',new Date());g('config','G-D1MGR8VRWJ');</script></html>
</code></pre></section></section></article><aside></aside></main><footer><nav><a id="tw" href="https://twitter.com/tinybasejs" target="_blank">Twitter</a><a id="fb" href="https://facebook.com/tinybasejs" target="_blank">Facebook</a></nav><nav><a href="/">TinyBase 4.7.4</a> © 2021- All Rights Reserved</nav></footer></body><script async="" src="https://www.googletagmanager.com/gtag/js?id=G-D1MGR8VRWJ"></script><script>window.dataLayer=window.dataLayer||[];function g(){dataLayer.push(arguments);}g('js',new Date());g('config','G-D1MGR8VRWJ');</script></html>
Loading

0 comments on commit 15edf47

Please sign in to comment.