From 60566461226e21ac5b224c378346f20c22f441a5 Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Mon, 18 Nov 2024 10:34:08 +0100 Subject: [PATCH] Updates --- package.json | 2 +- utils/get.d.ts | 10 +++++++++- utils/post.d.ts | 10 +++++++++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e5bb017..c5a6be6 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/utils/get.d.ts b/utils/get.d.ts index d1d57d8..3b27b80 100644 --- a/utils/get.d.ts +++ b/utils/get.d.ts @@ -19,10 +19,18 @@ export = get; * * @returns { Promise } - 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; diff --git a/utils/post.d.ts b/utils/post.d.ts index f85e925..94d48e4 100644 --- a/utils/post.d.ts +++ b/utils/post.d.ts @@ -19,10 +19,18 @@ export = post; * * @returns { Promise } - 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;