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", "name": "@moduletrace/datasquirel",
"version": "2.6.7", "version": "2.6.8",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "index.js", "main": "index.js",
"bin": { "bin": {

10
utils/get.d.ts vendored
View File

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