This commit is contained in:
Tben 2023-05-22 08:51:33 +01:00
parent dcd0576147
commit 8aa34d0848
6 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "datasquirel", "name": "datasquirel",
"version": "1.1.8", "version": "1.1.9",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -30,7 +30,7 @@ const https = require("https");
* database: string * database: string
* }} * }}
* *
* @returns {FunctionReturn} * @returns { Promise<FunctionReturn> }
*/ */
module.exports = async function ({ key, payload, database }) { module.exports = async function ({ key, payload, database }) {
/** /**

View File

@ -31,7 +31,7 @@ const encrypt = require("../functions/encrypt");
* @param {String} params.encryptionKey - Encryption Key * @param {String} params.encryptionKey - Encryption Key
* @param {String} params.encryptionSalt - Encryption Salt * @param {String} params.encryptionSalt - Encryption Salt
* *
* @returns {FunctionReturn} * @returns { Promise<FunctionReturn>}
*/ */
module.exports = async function ({ key, payload, database, response, encryptionKey, encryptionSalt }) { module.exports = async function ({ key, payload, database, response, encryptionKey, encryptionSalt }) {
/** /**

View File

@ -30,7 +30,7 @@ const https = require("https");
* @param {String | Object} [params.payload={ id: 4, first_name: "Benjamin" }] - User Object. * @param {String | Object} [params.payload={ id: 4, first_name: "Benjamin" }] - User Object.
* @param {number} [params.payload.id] - User id => Required * @param {number} [params.payload.id] - User id => Required
* *
* @returns {FunctionReturn} * @returns { Promise<FunctionReturn>}
*/ */
module.exports = async function ({ key, payload, database }) { module.exports = async function ({ key, payload, database }) {
/** /**

View File

@ -29,7 +29,7 @@ const https = require("https");
* @param {string} params.db - Database Name * @param {string} params.db - Database Name
* @param {(string | Object)} params.query - SQL Query * @param {(string | Object)} params.query - SQL Query
* *
* @returns {GetReturn} - Return Object * @returns { Promise<GetReturn> } - Return Object
*/ */
module.exports = async function ({ key, db, query }) { module.exports = async function ({ key, db, query }) {
/** /**

View File

@ -35,7 +35,7 @@ const https = require("https");
* data: object, * data: object,
* } | string)} params.query - SQL query String or Request Object * } | string)} params.query - SQL query String or Request Object
* *
* @returns { PostReturn } - Return Object * @returns { Promise<PostReturn> } - Return Object
*/ */
module.exports = async function ({ key, query, database }) { module.exports = async function ({ key, query, database }) {
/** /**