@publidata/utils-data-manager
Version:
Collection of methods to extract data from publidata
69 lines (54 loc) • 1.79 kB
Markdown
## Members
<dl>
<dt><a href="#id">id</a> ⇒ <code>Number</code></dt>
<dd></dd>
<dt><a href="#model">model</a> ⇒ <code>String</code></dt>
<dd></dd>
<dt><a href="#name">name</a> ⇒ <code>String</code></dt>
<dd></dd>
<dt><a href="#_source">_source</a> ⇒ <code>Object</code></dt>
<dd></dd>
<dt><a href="#_type">_type</a> ⇒ <code>String</code></dt>
<dd></dd>
<dt><a href="#sort">sort</a> ⇒ <code>Array</code></dt>
<dd></dd>
</dl>
## Functions
<dl>
<dt><a href="#memoize">memoize(key, value)</a> ⇒ <code>Any</code></dt>
<dd><p>Delete current Record key accessor and set a read-only value</p>
</dd>
</dl>
<a name="id"></a>
## id ⇒ <code>Number</code>
**Kind**: global variable
**Returns**: <code>Number</code> - - Object Id
<a name="model"></a>
## model ⇒ <code>String</code>
**Kind**: global variable
**Returns**: <code>String</code> - - Object Model
<a name="name"></a>
## name ⇒ <code>String</code>
**Kind**: global variable
**Returns**: <code>String</code> - - Object Name
<a name="_source"></a>
## \_source ⇒ <code>Object</code>
**Kind**: global variable
**Returns**: <code>Object</code> - - Object Source
<a name="_type"></a>
## \_type ⇒ <code>String</code>
**Kind**: global variable
**Returns**: <code>String</code> - Object Type
<a name="sort"></a>
## sort ⇒ <code>Array</code>
**Kind**: global variable
**Returns**: <code>Array</code> - Object Sort
<a name="memoize"></a>
## memoize(key, value) ⇒ <code>Any</code>
Delete current Record key accessor and set a read-only value
**Kind**: global function
**Returns**: <code>Any</code> - - new Property created
| Param | Type | Description |
| --- | --- | --- |
| key | <code>String</code> | Accessor which will be deleted |
| value | <code>Any</code> | Value of the record key |