-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
2,181 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,7 +56,7 @@ <h2> | |
LocalSession | ||
</h2> | ||
|
||
<div class="class-description"><p>Represents a wrapper around locally stored session, it's <a href="LocalSession.html#middleware"><code>middleware</code></a> & lowdb</p></div> | ||
<div class="class-description usertext"><p>Represents a wrapper around locally stored session, it's <a href="LocalSession.html#middleware"><code>middleware</code></a> & lowdb</p></div> | ||
|
||
|
||
</header> | ||
|
@@ -83,7 +83,7 @@ <h4 class="name" id="LocalSession"><span class="type-signature"></span>new Local | |
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line25">line 25</a> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line28">line 28</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
@@ -666,7 +666,7 @@ <h4 class="name" id=".storagefileAsync"><span class="type-signature">(readonly) | |
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line213">line 213</a> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line206">line 206</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
@@ -705,7 +705,7 @@ <h4 class="name" id=".storagefileAsync"><span class="type-signature">(readonly) | |
|
||
|
||
|
||
<div class="description"> | ||
<div class="description usertext"> | ||
<p>lowdb storage named <a href="https://git.io/vhM3m">fileAsync</a> before <a href="https://git.io/vhM3Z">[email protected]</a></p> | ||
</div> | ||
|
||
|
@@ -729,7 +729,7 @@ <h4 class="name" id=".storagefileSync"><span class="type-signature">(readonly) < | |
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line189">line 189</a> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line182">line 182</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
@@ -768,7 +768,7 @@ <h4 class="name" id=".storagefileSync"><span class="type-signature">(readonly) < | |
|
||
|
||
|
||
<div class="description"> | ||
<div class="description usertext"> | ||
<p>lowdb storage named <a href="https://git.io/vhM3Y">fileSync</a> before <a href="https://git.io/vhM3Z">[email protected]</a></p> | ||
</div> | ||
|
||
|
@@ -802,7 +802,7 @@ <h4 class="name" id="getSession"><span class="type-signature"></span>getSession< | |
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line105">line 105</a> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line108">line 108</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
@@ -841,7 +841,7 @@ <h4 class="name" id="getSession"><span class="type-signature"></span>getSession< | |
|
||
|
||
|
||
<div class="description"> | ||
<div class="description usertext"> | ||
<p>Get session by it's key in database</p> | ||
</div> | ||
|
||
|
@@ -960,7 +960,7 @@ <h4 class="name" id="getSessionKey"><span class="type-signature"></span>getSessi | |
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line94">line 94</a> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line97">line 97</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
@@ -999,7 +999,7 @@ <h4 class="name" id="getSessionKey"><span class="type-signature"></span>getSessi | |
|
||
|
||
|
||
<div class="description"> | ||
<div class="description usertext"> | ||
<p>Get session key from <a href="https://telegraf.js.org/#/?id=context">Telegraf Context</a></p> | ||
</div> | ||
|
||
|
@@ -1118,7 +1118,7 @@ <h4 class="name" id="middleware"><span class="type-signature"></span>middleware< | |
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line162">line 162</a> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line155">line 155</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
@@ -1157,7 +1157,7 @@ <h4 class="name" id="middleware"><span class="type-signature"></span>middleware< | |
|
||
|
||
|
||
<div class="description"> | ||
<div class="description usertext"> | ||
<p>Session middleware for use in Telegraf</p> | ||
</div> | ||
|
||
|
@@ -1272,7 +1272,7 @@ <h5>Returns:</h5> | |
|
||
|
||
|
||
<h4 class="name" id="saveSession"><span class="type-signature"></span>saveSession<span class="signature">(key, data)</span><span class="type-signature"> → {Promise|function}</span></h4> | ||
<h4 class="name" id="saveSession"><span class="type-signature">(async) </span>saveSession<span class="signature">(key, data)</span><span class="type-signature"> → {Promise|function}</span></h4> | ||
|
||
|
||
|
||
|
@@ -1284,7 +1284,7 @@ <h4 class="name" id="saveSession"><span class="type-signature"></span>saveSessio | |
|
||
<dt class="tag-source">Source:</dt> | ||
<dd class="tag-source"><ul class="dummy"><li> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line119">line 119</a> | ||
<a href="session.js.html">session.js</a>, <a href="session.js.html#line122">line 122</a> | ||
</li></ul></dd> | ||
|
||
|
||
|
@@ -1323,7 +1323,7 @@ <h4 class="name" id="saveSession"><span class="type-signature"></span>saveSessio | |
|
||
|
||
|
||
<div class="description"> | ||
<div class="description usertext"> | ||
<p>Save session to database</p> | ||
</div> | ||
|
||
|
@@ -1473,7 +1473,7 @@ <h5>Returns:</h5> | |
<br class="clear"> | ||
|
||
<footer> | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.4</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme. | ||
</footer> | ||
|
||
<script>prettyPrint();</script> | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.