Type Checking
This commit is contained in:
parent
c02feeca08
commit
2e2895a4bd
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "datasquirel",
|
||||
"version": "1.2.8",
|
||||
"version": "1.2.9",
|
||||
"description": "Cloud-based SQL data management tool",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
@ -37,7 +37,7 @@ const userAuth = require("./user-auth");
|
||||
* @param {String} params.database - Target Database
|
||||
* @param {http.ServerResponse} params.response - Http response object
|
||||
* @param {http.IncomingMessage} params.request - Http request object
|
||||
* @param {string} params.level - Authentication level
|
||||
* @param {*} params.level - Authentication level
|
||||
* @param {String} params.encryptionKey - Encryption Key
|
||||
* @param {String} params.encryptionSalt - Encryption Salt
|
||||
*
|
||||
|
@ -31,10 +31,10 @@ const parseCookies = require("../utils/functions/parseCookies");
|
||||
*
|
||||
* @param {Object} params - Arg
|
||||
* @param {http.IncomingMessage} params.request - Http request object
|
||||
* @param {String} params.encryptionKey - Encryption Key
|
||||
* @param {String} params.encryptionSalt - Encryption Salt
|
||||
* @param {String} params.level - Optional. "Deep" value indicates an extra layer of security
|
||||
* @param {String} params.database - Database Name
|
||||
* @param {string} params.encryptionKey - Encryption Key
|
||||
* @param {string} params.encryptionSalt - Encryption Salt
|
||||
* @param {("deep" | "normal")?} [params.level] - Optional. "Deep" value indicates an extra layer of security
|
||||
* @param {string} params.database - Database Name
|
||||
*
|
||||
* @returns { AuthenticatedUserObject }
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user