π Get real-time stocks from TradingView
TypeScript backtestingbacktesting-trading-strategiesbitcoinchartscryptocryptocurrencyethereumrealtime-stocksstocksstocks-apistocks-pricestradingtradingviewtradingview-apitradingview-indicatortradingview-replaytradingview-scraper
Fix doctyping
Mathieu Colmon7809758ad66e
diff --git a/src/classes/PinePermManager.js b/src/classes/PinePermManager.jsindex df0af26..5125bdc 100644--- a/src/classes/PinePermManager.js+++ b/src/classes/PinePermManager.js@@ -40,7 +40,7 @@ class PinePermManager {* | 'expiration,user__username'* | '-expiration,user__username'* } order Fetching order- * @returns {AuthorizationUser[]}+ * @returns {Promise<AuthorizationUser[]>}*/async getUsers(limit = 10, order = '-created') {try {@@ -66,7 +66,7 @@ class PinePermManager {* Adds an user to the authorized list* @param {string} username User's username* @param {Date} [expiration] Expiration date- * @returns {'ok' | 'exists' | null}+ * @returns {Promise<'ok' | 'exists' | null>}*/async addUser(username, expiration = null) {try {@@ -100,7 +100,7 @@ class PinePermManager {* Modify an authorization expiration date* @param {string} username User's username* @param {Date} [expiration] New expiration date- * @returns {'ok' | null}+ * @returns {Promise<'ok' | null>}*/async modifyExpiration(username, expiration = null) {try {@@ -133,7 +133,7 @@ class PinePermManager {/*** Removes an user to the authorized list* @param {string} username User's username- * @returns {'ok' | null}+ * @returns {Promise<'ok' | null>}*/async removeUser(username) {try {