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": {