From d9855036888b6dedfa79c653d3bb30e48ffe0fbf Mon Sep 17 00:00:00 2001 From: Benjamin Toby Date: Thu, 1 Jan 2026 09:24:55 +0100 Subject: [PATCH] Updates --- dist/package-shared/types/index.d.ts | 4 ++-- package-shared/types/index.ts | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dist/package-shared/types/index.d.ts b/dist/package-shared/types/index.d.ts index adfbee0..9ee1f9e 100644 --- a/dist/package-shared/types/index.d.ts +++ b/dist/package-shared/types/index.d.ts @@ -2305,9 +2305,9 @@ export type ClientCrudFetchParams = DSQLFetchApiOptions & { +}, P = string> = Omit, "method"> & { table: P; - method?: "GET" | "POST" | "PUT" | "DELETE"; + method?: DSQLFetchApiOptions["method"]; query?: APIPathsQuery; body?: APIPathsBody; basePath?: string; diff --git a/package-shared/types/index.ts b/package-shared/types/index.ts index f9dce39..cf88350 100644 --- a/package-shared/types/index.ts +++ b/package-shared/types/index.ts @@ -2970,9 +2970,9 @@ export type APIPathsData< export type ClientCrudFetchParams< T extends { [k: string]: any } = { [k: string]: any }, P = string -> = DSQLFetchApiOptions & { +> = Omit, "method"> & { table: P; - method?: "GET" | "POST" | "PUT" | "DELETE"; + method?: DSQLFetchApiOptions["method"]; query?: APIPathsQuery; body?: APIPathsBody; basePath?: string; diff --git a/package.json b/package.json index 182f7ce..106aef0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@moduletrace/datasquirel", - "version": "5.7.8", + "version": "5.7.9", "description": "Cloud-based SQL data management tool", "main": "dist/index.js", "bin": {