Skip to content

Commit

Permalink
Update to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
auralia committed Dec 23, 2017
1 parent 4778adb commit f4e2f2b
Show file tree
Hide file tree
Showing 20 changed files with 157 additions and 31 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.2.2 ##

* Add validate TRL function

## 0.2.1 ##

* Add new event handler
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/js/search.js

Large diffs are not rendered by default.

54 changes: 46 additions & 8 deletions docs/classes/nstgapi.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ <h3>Methods</h3>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="nstgapi.html#sendtelegram" class="tsd-kind-icon">send<wbr>Telegram</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-private"><a href="nstgapi.html#sendtelegramwithcallbacks" class="tsd-kind-icon">send<wbr>Telegram<wbr>With<wbr>Callbacks</a></li>
<li class="tsd-kind-method tsd-parent-kind-class"><a href="nstgapi.html#sendtelegramstrl" class="tsd-kind-icon">send<wbr>Telegrams<wbr>Trl</a></li>
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><a href="nstgapi.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a></li>
</ul>
</section>
</div>
Expand Down Expand Up @@ -1232,7 +1233,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> create<wbr>Job</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:596</li>
<li>Defined in api.ts:605</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1291,7 +1292,7 @@ <h3>evaluate<wbr>Trl</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:530</li>
<li>Defined in api.ts:539</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1359,7 +1360,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> job<wbr>Complete</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:726</li>
<li>Defined in api.ts:735</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1391,7 +1392,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> recipient<wbr>Failure</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:707</li>
<li>Defined in api.ts:716</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1429,7 +1430,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> recipient<wbr>Success</
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:688</li>
<li>Defined in api.ts:697</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1460,7 +1461,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> send<wbr>Telegram</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:643</li>
<li>Defined in api.ts:652</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1491,7 +1492,7 @@ <h3><span class="tsd-flag ts-flagPrivate">Private</span> send<wbr>Telegram<wbr>W
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:632</li>
<li>Defined in api.ts:641</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1522,7 +1523,7 @@ <h3>send<wbr>Telegrams<wbr>Trl</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:553</li>
<li>Defined in api.ts:562</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -1576,6 +1577,37 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class tsd-is-static">
<a name="validatetrl" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagStatic">Static</span> validate<wbr>Trl</h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class tsd-is-static">
<li class="tsd-signature tsd-kind-icon">validate<wbr>Trl<span class="tsd-signature-symbol">(</span>trl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in api.ts:527</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Throws an error if the specified TRL string is not valid.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>trl: <span class="tsd-signature-type">string</span></h5>
<div class="tsd-comment tsd-typography">
<p>A TRL string.</p>
</div>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
Expand Down Expand Up @@ -1722,6 +1754,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-method tsd-parent-kind-class">
<a href="nstgapi.html#sendtelegramstrl" class="tsd-kind-icon">send<wbr>Telegrams<wbr>Trl</a>
</li>
<li class=" tsd-kind-method tsd-parent-kind-class tsd-is-static">
<a href="nstgapi.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a>
</li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -1816,6 +1851,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#toid" class="tsd-kind-icon">to<wbr>Id</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a>
</li>
</ul>
</nav>
</div>
Expand Down
3 changes: 3 additions & 0 deletions docs/classes/parseerror.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> <span class="tsd-flag ts-
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#toid" class="tsd-kind-icon">to<wbr>Id</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a>
</li>
</ul>
</nav>
</div>
Expand Down
3 changes: 3 additions & 0 deletions docs/classes/refreshoverridecache.html
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,9 @@ <h3><span class="tsd-flag ts-flagOptional">Optional</span> override<wbr>Wa</h3>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#toid" class="tsd-kind-icon">to<wbr>Id</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a>
</li>
</ul>
</nav>
</div>
Expand Down
3 changes: 3 additions & 0 deletions docs/enums/action.html
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@ <h3>Remove</h3>
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="../globals.html#toid" class="tsd-kind-icon">to<wbr>Id</a>
</li>
<li class=" tsd-kind-function">
<a href="../globals.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a>
</li>
</ul>
</nav>
</div>
Expand Down
70 changes: 51 additions & 19 deletions docs/globals.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ <h3>Functions</h3>
<li class="tsd-kind-function tsd-is-not-exported"><a href="globals.html#parseprimitive" class="tsd-kind-icon">parse<wbr>Primitive</a></li>
<li class="tsd-kind-function tsd-is-not-exported"><a href="globals.html#parsetrl" class="tsd-kind-icon">parse<wbr>Trl</a></li>
<li class="tsd-kind-function tsd-is-not-exported"><a href="globals.html#toid" class="tsd-kind-icon">to<wbr>Id</a></li>
<li class="tsd-kind-function"><a href="globals.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a></li>
</ul>
</section>
</div>
Expand All @@ -134,7 +135,7 @@ <h3>evaluate<wbr>Action</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:506</li>
<li>Defined in trl.ts:513</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -180,7 +181,7 @@ <h3>evaluate<wbr>Command</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:348</li>
<li>Defined in trl.ts:355</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -231,7 +232,7 @@ <h3>evaluate<wbr>Group</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:325</li>
<li>Defined in trl.ts:332</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -277,7 +278,7 @@ <h3>evaluate<wbr>Primitive</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:376</li>
<li>Defined in trl.ts:383</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -335,7 +336,7 @@ <h3>evaluate<wbr>Trl</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:305</li>
<li>Defined in trl.ts:312</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -381,7 +382,7 @@ <h3>get<wbr>Category</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:707</li>
<li>Defined in trl.ts:714</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -425,7 +426,7 @@ <h3>get<wbr>Census<wbr>Score</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:729</li>
<li>Defined in trl.ts:736</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -476,7 +477,7 @@ <h3>get<wbr>Nations</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:531</li>
<li>Defined in trl.ts:538</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -508,7 +509,7 @@ <h3>get<wbr>New<wbr>Nations</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:630</li>
<li>Defined in trl.ts:637</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -598,7 +599,7 @@ <h3>get<wbr>Refounded<wbr>Nations</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:668</li>
<li>Defined in trl.ts:675</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -642,7 +643,7 @@ <h3>get<wbr>Regions</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:544</li>
<li>Defined in trl.ts:551</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -686,7 +687,7 @@ <h3>get<wbr>Tags</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:570</li>
<li>Defined in trl.ts:577</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -731,7 +732,7 @@ <h3>get<wbr>World<wbr>Assembly<wbr>Delegates</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:609</li>
<li>Defined in trl.ts:616</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -769,7 +770,7 @@ <h3>get<wbr>World<wbr>Assembly<wbr>Members</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:589</li>
<li>Defined in trl.ts:596</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -807,7 +808,7 @@ <h3>parse<wbr>Command</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:187</li>
<li>Defined in trl.ts:194</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -845,7 +846,7 @@ <h3>parse<wbr>Group</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:153</li>
<li>Defined in trl.ts:160</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -883,7 +884,7 @@ <h3>parse<wbr>Primitive</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:229</li>
<li>Defined in trl.ts:236</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -921,7 +922,7 @@ <h3>parse<wbr>Trl</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:141</li>
<li>Defined in trl.ts:148</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -949,7 +950,7 @@ <h3>to<wbr>Id</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:749</li>
<li>Defined in trl.ts:756</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -972,6 +973,34 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</s
</li>
</ul>
</section>
<section class="tsd-panel tsd-member tsd-kind-function">
<a name="validatetrl" class="tsd-anchor"></a>
<h3>validate<wbr>Trl</h3>
<ul class="tsd-signatures tsd-kind-function">
<li class="tsd-signature tsd-kind-icon">validate<wbr>Trl<span class="tsd-signature-symbol">(</span>trl<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
</ul>
<ul class="tsd-descriptions">
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in trl.ts:141</li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
<div class="lead">
<p>Throws an error if the specified TRL string is not valid.</p>
</div>
</div>
<h4 class="tsd-parameters-title">Parameters</h4>
<ul class="tsd-parameters">
<li>
<h5>trl: <span class="tsd-signature-type">string</span></h5>
</li>
</ul>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
</li>
</ul>
</section>
</section>
</div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
Expand Down Expand Up @@ -1080,6 +1109,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</s
<li class=" tsd-kind-function tsd-is-not-exported">
<a href="globals.html#toid" class="tsd-kind-icon">to<wbr>Id</a>
</li>
<li class=" tsd-kind-function">
<a href="globals.html#validatetrl" class="tsd-kind-icon">validate<wbr>Trl</a>
</li>
</ul>
</nav>
</div>
Expand Down
Loading

0 comments on commit f4e2f2b

Please sign in to comment.