Skip to content
This repository has been archived by the owner on Dec 13, 2019. It is now read-only.

Commit

Permalink
Feature detection mechanism #20
Browse files Browse the repository at this point in the history
Updated changelog and docs
  • Loading branch information
vyacheslav-pushkin committed Nov 27, 2019
1 parent 1264a2c commit e76f176
Show file tree
Hide file tree
Showing 35 changed files with 2,492 additions and 144 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Changelog
## 0.7.0
- Added `setSessionLocale` (issue [cuba-platform/front-generator#34](https://github.com/cuba-platform/front-generator/issues/34))
- Added feature detection mechanism (issue [#20](https://github.com/cuba-platform/cuba-rest-js/issues/20))
## 0.6.0
- Added `getFileUploadURL` and `getFile` methods (issue [#14](https://github.com/cuba-platform/cuba-rest-js/issues/14))
## 0.5.3
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

319 changes: 263 additions & 56 deletions docs/classes/_cuba_.cubaapp.html

Large diffs are not rendered by default.

17 changes: 10 additions & 7 deletions docs/classes/_storage_.defaultstorage.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> items</h3>
<div class="tsd-signature tsd-kind-icon">items<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">object</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/storage.ts#L6">storage.ts:6</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/storage.ts#L6">storage.ts:6</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
Expand All @@ -158,7 +158,7 @@ <h3>length</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/storage.ts#L8">storage.ts:8</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/storage.ts#L8">storage.ts:8</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
Expand All @@ -178,7 +178,7 @@ <h3>clear</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/storage.ts#L12">storage.ts:12</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/storage.ts#L12">storage.ts:12</a></li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
Expand All @@ -195,7 +195,7 @@ <h3>get<wbr>Item</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/storage.ts#L16">storage.ts:16</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/storage.ts#L16">storage.ts:16</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -221,7 +221,7 @@ <h3>key</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/storage.ts#L23">storage.ts:23</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/storage.ts#L23">storage.ts:23</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -254,7 +254,7 @@ <h3>remove<wbr>Item</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/storage.ts#L27">storage.ts:27</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/storage.ts#L27">storage.ts:27</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand All @@ -277,7 +277,7 @@ <h3>set<wbr>Item</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/storage.ts#L31">storage.ts:31</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/storage.ts#L31">storage.ts:31</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
Expand Down Expand Up @@ -310,6 +310,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</spa
<li class=" tsd-kind-external-module">
<a href="../modules/_model_.html">"model"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_security_.html">"security"</a>
</li>
<li class="current tsd-kind-external-module">
<a href="../modules/_storage_.html">"storage"</a>
</li>
Expand Down
336 changes: 336 additions & 0 deletions docs/enums/_model_.permissiontype.html

Large diffs are not rendered by default.

33 changes: 30 additions & 3 deletions docs/enums/_model_.predefinedview.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h3>BASE</h3>
<div class="tsd-signature tsd-kind-icon">BASE<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;_base&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/model.ts#L79">model.ts:79</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/model.ts#L110">model.ts:110</a></li>
</ul>
</aside>
</section>
Expand All @@ -102,7 +102,7 @@ <h3>LOCAL</h3>
<div class="tsd-signature tsd-kind-icon">LOCAL<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;_local&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/model.ts#L78">model.ts:78</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/model.ts#L109">model.ts:109</a></li>
</ul>
</aside>
</section>
Expand All @@ -112,7 +112,7 @@ <h3>MINIMAL</h3>
<div class="tsd-signature tsd-kind-icon">MINIMAL<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"> =&nbsp;&quot;_minimal&quot;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/408af1a/src/model.ts#L77">model.ts:77</a></li>
<li>Defined in <a href="https://github.com/cuba-platform/cuba-rest-js/blob/1264a2c/src/model.ts#L108">model.ts:108</a></li>
</ul>
</aside>
</section>
Expand All @@ -133,6 +133,9 @@ <h3>MINIMAL</h3>
<li class="current tsd-kind-external-module">
<a href="../modules/_model_.html">"model"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_security_.html">"security"</a>
</li>
<li class=" tsd-kind-external-module">
<a href="../modules/_storage_.html">"storage"</a>
</li>
Expand All @@ -143,6 +146,9 @@ <h3>MINIMAL</h3>
</nav>
<nav class="tsd-navigation secondary menu-sticky">
<ul class="before-current">
<li class=" tsd-kind-enum tsd-parent-kind-external-module">
<a href="_model_.permissiontype.html" class="tsd-kind-icon">Permission<wbr>Type</a>
</li>
</ul>
<ul class="current">
<li class="current tsd-kind-enum tsd-parent-kind-external-module">
Expand All @@ -161,6 +167,9 @@ <h3>MINIMAL</h3>
</li>
</ul>
<ul class="after-current">
<li class=" tsd-kind-enum tsd-parent-kind-external-module">
<a href="_model_.roletype.html" class="tsd-kind-icon">Role<wbr>Type</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../interfaces/_model_.entitieswithcount.html" class="tsd-kind-icon">Entities<wbr>With<wbr>Count</a>
</li>
Expand All @@ -182,6 +191,12 @@ <h3>MINIMAL</h3>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/_model_.permissioninfo.html" class="tsd-kind-icon">Permission<wbr>Info</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/_model_.roleinfo.html" class="tsd-kind-icon">Role<wbr>Info</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/_model_.rolesinfo.html" class="tsd-kind-icon">Roles<wbr>Info</a>
</li>
<li class=" tsd-kind-interface tsd-parent-kind-external-module">
<a href="../interfaces/_model_.serializedentityprops.html" class="tsd-kind-icon">Serialized<wbr>Entity<wbr>Props</a>
</li>
Expand All @@ -194,15 +209,27 @@ <h3>MINIMAL</h3>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#attributetype" class="tsd-kind-icon">Attribute<wbr>Type</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#basepermissionvalue" class="tsd-kind-icon">Base<wbr>Permission<wbr>Value</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#cardinality" class="tsd-kind-icon">Cardinality</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#entityattrpermissionvalue" class="tsd-kind-icon">Entity<wbr>Attr<wbr>Permission<wbr>Value</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#entityoperationtype" class="tsd-kind-icon">Entity<wbr>Operation<wbr>Type</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#propertytype" class="tsd-kind-icon">Property<wbr>Type</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module tsd-has-type-parameter">
<a href="../modules/_model_.html#serializedentity" class="tsd-kind-icon">Serialized<wbr>Entity</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#uipermissionvalue" class="tsd-kind-icon">Ui<wbr>Permission<wbr>Value</a>
</li>
<li class=" tsd-kind-type-alias tsd-parent-kind-external-module">
<a href="../modules/_model_.html#viewproperty" class="tsd-kind-icon">View<wbr>Property</a>
</li>
Expand Down
Loading

0 comments on commit e76f176

Please sign in to comment.