This commit is contained in:
Benjamin Toby 2024-12-10 13:45:30 +01:00
parent c366e295ae
commit 17fdf05382
3 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@moduletrace/datasquirel", "name": "@moduletrace/datasquirel",
"version": "2.8.0", "version": "2.8.1",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "index.js", "main": "index.js",
"bin": { "bin": {

4
users/add-user.d.ts vendored
View File

@ -6,7 +6,7 @@ export = addUser;
* *
* @param {object} param - Single object passed * @param {object} param - Single object passed
* @param {string} [param.key] - FULL ACCESS API Key * @param {string} [param.key] - FULL ACCESS API Key
* @param {string} param.database - Database Name * @param {string} [param.database] - Database Name
* @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload * @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload
* @param {string} [param.encryptionKey] * @param {string} [param.encryptionKey]
* @param {string} [param.encryptionSalt] * @param {string} [param.encryptionSalt]
@ -18,7 +18,7 @@ export = addUser;
*/ */
declare function addUser({ key, payload, database, encryptionKey, user_id, useLocal, apiUserId, }: { declare function addUser({ key, payload, database, encryptionKey, user_id, useLocal, apiUserId, }: {
key?: string; key?: string;
database: string; database?: string;
payload: import("../package-shared/types").UserDataPayload; payload: import("../package-shared/types").UserDataPayload;
encryptionKey?: string; encryptionKey?: string;
encryptionSalt?: string; encryptionSalt?: string;

View File

@ -12,7 +12,7 @@ const apiCreateUser = require("../package-shared/functions/api/users/api-create-
* *
* @param {object} param - Single object passed * @param {object} param - Single object passed
* @param {string} [param.key] - FULL ACCESS API Key * @param {string} [param.key] - FULL ACCESS API Key
* @param {string} param.database - Database Name * @param {string} [param.database] - Database Name
* @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload * @param {import("../package-shared/types").UserDataPayload} param.payload - User Data Payload
* @param {string} [param.encryptionKey] * @param {string} [param.encryptionKey]
* @param {string} [param.encryptionSalt] * @param {string} [param.encryptionSalt]