This commit is contained in:
Benjamin Toby 2024-12-15 11:25:07 +01:00
parent 1fa61ab6fc
commit 4b8e8de71f
3 changed files with 4 additions and 6 deletions

View File

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

View File

@ -13,7 +13,7 @@ export = uploadImage;
* @async * @async
* *
* @param {Object} params - Single Param object containing params * @param {Object} params - Single Param object containing params
* @param {String} params.key - *FULL ACCESS API Key * @param {String} [params.key] - *FULL ACCESS API Key
* @param {{ * @param {{
* imageData: string, * imageData: string,
* imageName: string, * imageName: string,
@ -27,7 +27,7 @@ export = uploadImage;
* @returns { Promise<FunctionReturn> } - Return Object * @returns { Promise<FunctionReturn> } - Return Object
*/ */
declare function uploadImage({ key, payload, user_id }: { declare function uploadImage({ key, payload, user_id }: {
key: string; key?: string;
payload: { payload: {
imageData: string; imageData: string;
imageName: string; imageName: string;

View File

@ -1,7 +1,5 @@
// @ts-check // @ts-check
const http = require("http");
const https = require("https");
const grabHostNames = require("../package-shared/utils/grab-host-names"); const grabHostNames = require("../package-shared/utils/grab-host-names");
/** /**
@ -19,7 +17,7 @@ const grabHostNames = require("../package-shared/utils/grab-host-names");
* @async * @async
* *
* @param {Object} params - Single Param object containing params * @param {Object} params - Single Param object containing params
* @param {String} params.key - *FULL ACCESS API Key * @param {String} [params.key] - *FULL ACCESS API Key
* @param {{ * @param {{
* imageData: string, * imageData: string,
* imageName: string, * imageName: string,