This commit is contained in:
Benjamin Toby 2024-11-18 10:34:08 +01:00
parent aaa604c66b
commit 6056646122
3 changed files with 19 additions and 3 deletions

View File

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

10
utils/get.d.ts vendored
View File

@ -19,10 +19,18 @@ export = get;
*
* @returns { Promise<import("../package-shared/types").GetReturn> } - Return Object
*/
declare function get({ key, db, query, queryValues, tableName }: {
declare function get({
key,
db,
query,
queryValues,
tableName,
useLocal,
}: {
key?: string;
db?: string;
query: string;
queryValues?: string[];
tableName?: string;
useLocal?: boolean;
}): Promise<import("../package-shared/types").GetReturn>;

10
utils/post.d.ts vendored
View File

@ -19,10 +19,18 @@ export = post;
*
* @returns { Promise<import("../package-shared/types").PostReturn> } - Return Object
*/
declare function post({ key, query, queryValues, database, tableName }: {
declare function post({
key,
query,
queryValues,
database,
tableName,
useLocal,
}: {
key?: string;
database?: string;
query: import("../package-shared/types").PostDataPayload | string;
queryValues?: any[];
tableName?: string;
useLocal?: boolean;
}): Promise<import("../package-shared/types").PostReturn>;