Type Checking

This commit is contained in:
Tben 2023-08-07 09:48:19 +01:00
parent c02feeca08
commit 2e2895a4bd
3 changed files with 6 additions and 6 deletions

View File

@ -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": {

View File

@ -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
*

View File

@ -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 }
*/