Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request failure retry count #4

Merged
merged 13 commits into from
Jan 7, 2021
Prev Previous commit
Next Next commit
Docs update
uttamukkoji committed Dec 3, 2020
commit 29dd88521ccd19cc111b622bd79550b3f40b96ef
2 changes: 1 addition & 1 deletion dist/es-modules/contentstackClient.js
Original file line number Diff line number Diff line change
@@ -97,7 +97,7 @@ export default function contentstackClient(_ref) {
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key', management_token: 'management_token' }).fetch()
* client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch()
* .then((stack) => console.log(stack))
*
*/
2 changes: 1 addition & 1 deletion dist/es-modules/entity.js
Original file line number Diff line number Diff line change
@@ -420,7 +420,7 @@ export var fetch = function fetch(http, type) {
response.data[type]['schema'] = response.data['schema'];
}

return _context9.abrupt("return", Object.assign(this, cloneDeep(response.data[type])));
return _context9.abrupt("return", new this.constructor(http, parseData(response, this.stackHeaders)));

case 11:
throw error(response);
2 changes: 1 addition & 1 deletion dist/es-modules/organization/index.js
Original file line number Diff line number Diff line change
@@ -122,7 +122,7 @@ export function Organization(http, data) {
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key'}).transferOwnership('emailId')
* client.organization('organization_uid').transferOwnership('emailId')
* .then((response) => console.log(response.notice))
*
*/
7 changes: 0 additions & 7 deletions dist/es-modules/stack/index.js
Original file line number Diff line number Diff line change
@@ -906,13 +906,6 @@ export function Stack(http, data) {
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.organization('org_uid').stack().create({name: 'My New Stack'})
* .then((stack) => console.log(stack))
*
* @example
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack().create({name: 'My New Stack'}, { organization_uid: 'org_uid' })
* .then((stack) => console.log(stack))
*/
2 changes: 1 addition & 1 deletion dist/es5/contentstackClient.js
Original file line number Diff line number Diff line change
@@ -117,7 +117,7 @@ function contentstackClient(_ref) {
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key', management_token: 'management_token' }).fetch()
* client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch()
* .then((stack) => console.log(stack))
*
*/
2 changes: 1 addition & 1 deletion dist/es5/entity.js
Original file line number Diff line number Diff line change
@@ -459,7 +459,7 @@ var fetch = exports.fetch = function fetch(http, type) {
response.data[type]['schema'] = response.data['schema'];
}

return _context9.abrupt("return", Object.assign(this, (0, _cloneDeep2["default"])(response.data[type])));
return _context9.abrupt("return", new this.constructor(http, parseData(response, this.stackHeaders)));

case 11:
throw (0, _contentstackError2["default"])(response);
2 changes: 1 addition & 1 deletion dist/es5/organization/index.js
Original file line number Diff line number Diff line change
@@ -155,7 +155,7 @@ function Organization(http, data) {
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key'}).transferOwnership('emailId')
* client.organization('organization_uid').transferOwnership('emailId')
* .then((response) => console.log(response.notice))
*
*/
7 changes: 0 additions & 7 deletions dist/es5/stack/index.js
Original file line number Diff line number Diff line change
@@ -947,13 +947,6 @@ function Stack(http, data) {
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.organization('org_uid').stack().create({name: 'My New Stack'})
* .then((stack) => console.log(stack))
*
* @example
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack().create({name: 'My New Stack'}, { organization_uid: 'org_uid' })
* .then((stack) => console.log(stack))
*/
2 changes: 1 addition & 1 deletion dist/nativescript/contentstack-management.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/node/contentstack-management.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-native/contentstack-management.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web/contentstack-management.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jsdocs/Asset.html
Original file line number Diff line number Diff line change
@@ -1354,7 +1354,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/BulkOperation.html
Original file line number Diff line number Diff line change
@@ -800,7 +800,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/ContentType.html
Original file line number Diff line number Diff line change
@@ -1316,7 +1316,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Contentstack.html
Original file line number Diff line number Diff line change
@@ -794,7 +794,7 @@ <h5>Examples</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
4 changes: 2 additions & 2 deletions jsdocs/ContentstackClient.html
Original file line number Diff line number Diff line change
@@ -596,7 +596,7 @@ <h5>Examples</h5>
<pre class="prettyprint"><code>import * as contentstack from '@contentstack/management'
const client = contentstack.client()

client.stack({ api_key: 'api_key', management_token: 'management_token' }).fetch()
client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch()
.then((stack) => console.log(stack))</code></pre>


@@ -1077,7 +1077,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Entry.html
Original file line number Diff line number Diff line change
@@ -1496,7 +1496,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Extension.html
Original file line number Diff line number Diff line change
@@ -944,7 +944,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Folder.html
Original file line number Diff line number Diff line change
@@ -633,7 +633,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/GlobalField.html
Original file line number Diff line number Diff line change
@@ -908,7 +908,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Label.html
Original file line number Diff line number Diff line change
@@ -855,7 +855,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Locale.html
Original file line number Diff line number Diff line change
@@ -850,7 +850,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
4 changes: 2 additions & 2 deletions jsdocs/Organization.html
Original file line number Diff line number Diff line change
@@ -659,7 +659,7 @@ <h5>Example</h5>
<pre class="prettyprint"><code>import * as contentstack from '@contentstack/management'
const client = contentstack.client()

client.stack({ api_key: 'api_key'}).transferOwnership('emailId')
client.organization('organization_uid').transferOwnership('emailId')
.then((response) => console.log(response.notice))</code></pre>


@@ -1691,7 +1691,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Release.html
Original file line number Diff line number Diff line change
@@ -1503,7 +1503,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Role.html
Original file line number Diff line number Diff line change
@@ -1125,7 +1125,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
12 changes: 3 additions & 9 deletions jsdocs/Stack.html
Original file line number Diff line number Diff line change
@@ -3468,17 +3468,11 @@ <h4 class="name" id=".create"><span class="type-signature">(static) </span>creat



<h5>Examples</h5>
<h5>Example</h5>

<pre class="prettyprint"><code>import * as contentstack from '@contentstack/management'
const client = contentstack.client()

client.organization('org_uid').stack().create({name: 'My New Stack'})
.then((stack) => console.log(stack))</code></pre>

<pre class="prettyprint"><code>import * as contentstack from '@contentstack/management'
const client = contentstack.client()

client.stack().create({name: 'My New Stack'}, { organization_uid: 'org_uid' })
.then((stack) => console.log(stack))</code></pre>

@@ -3541,7 +3535,7 @@ <h4 class="name" id=".query"><span class="type-signature">(static) </span>query<

<dt class="tag-source">Source:</dt>
<dd class="tag-source"><ul class="dummy"><li>
<a href="stack_index.js.html">stack/index.js</a>, <a href="stack_index.js.html#line594">line 594</a>
<a href="stack_index.js.html">stack/index.js</a>, <a href="stack_index.js.html#line587">line 587</a>
</li></ul></dd>


@@ -3803,7 +3797,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/User.html
Original file line number Diff line number Diff line change
@@ -644,7 +644,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/Webhook.html
Original file line number Diff line number Diff line change
@@ -1410,7 +1410,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:54 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/contentstack.js.html
Original file line number Diff line number Diff line change
@@ -211,7 +211,7 @@ <h1 class="page-title">contentstack.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:17 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
4 changes: 2 additions & 2 deletions jsdocs/contentstackClient.js.html
Original file line number Diff line number Diff line change
@@ -137,7 +137,7 @@ <h1 class="page-title">contentstackClient.js</h1>
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key', management_token: 'management_token' }).fetch()
* client.stack({ api_key: 'api_key', management_token: 'management_token' }).contentType('content_type_uid').fetch()
* .then((stack) => console.log(stack))
*
*/
@@ -236,7 +236,7 @@ <h1 class="page-title">contentstackClient.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:17 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
8 changes: 4 additions & 4 deletions jsdocs/index.html
Original file line number Diff line number Diff line change
@@ -101,10 +101,10 @@ <h3>Login</h3>
</code></pre>
<h3>Management Token</h3>
<p><a href="https://www.contentstack.com/docs/developers/create-tokens/about-management-tokens/">Management Tokens</a> are <strong>stack-level</strong> tokens, with no users attached to them.</p>
<pre class="prettyprint source"><code>contentstackClient.stack({ api_key: 'API_KEY', management_token: 'MANAGEMENT_TOKEN' })
<pre class="prettyprint source"><code>contentstackClient.stack({ api_key: 'API_KEY', management_token: 'MANAGEMENT_TOKEN' }).contentType('CONTENT_TYPE_UID')
.fetch()
.then((stack) => {
console.log(stack)
.then((contenttype) => {
console.log(contenttype)
})
</code></pre>
<h3>Contentstack Management JavaScript SDK: 5-minute Quickstart</h3>
@@ -171,7 +171,7 @@ <h3>The MIT License (MIT)</h3>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
4 changes: 2 additions & 2 deletions jsdocs/organization_index.js.html
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ <h1 class="page-title">organization/index.js</h1>
* import * as contentstack from '@contentstack/management'
* const client = contentstack.client()
*
* client.stack({ api_key: 'api_key'}).transferOwnership('emailId')
* client.organization('organization_uid').transferOwnership('emailId')
* .then((response) => console.log(response.notice))
*
*/
@@ -313,7 +313,7 @@ <h1 class="page-title">organization/index.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:17 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/query_index.js.html
Original file line number Diff line number Diff line change
@@ -184,7 +184,7 @@ <h1 class="page-title">query/index.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:17 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
2 changes: 1 addition & 1 deletion jsdocs/stack_asset_folders_index.js.html
Original file line number Diff line number Diff line change
@@ -162,7 +162,7 @@ <h1 class="page-title">stack/asset/folders/index.js</h1>
<br class="clear">

<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.5</a> on Thu Oct 22 2020 13:08:53 GMT+0530 (IST) 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.5</a> on Thu Dec 03 2020 11:19:18 GMT+0530 (India Standard Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
Loading