Updates
This commit is contained in:
parent
1fa61ab6fc
commit
4b8e8de71f
@ -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": {
|
||||||
|
4
utils/upload-image.d.ts
vendored
4
utils/upload-image.d.ts
vendored
@ -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;
|
||||||
|
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user