This commit is contained in:
Benjamin Toby 2025-12-31 10:30:01 +01:00
parent f7a2d6e03a
commit 05733b4ade
3 changed files with 8 additions and 15 deletions

View File

@ -2269,11 +2269,7 @@ export type APIPathsPostResulstsFn<T extends {
[k: string]: any; [k: string]: any;
} = { } = {
[k: string]: any; [k: string]: any;
}, K extends string = string> = (params: { }> = (params: APIPathsCrudParams<T> & {
body?: APIPathsBody<T>;
query?: DsqlCrudQueryObject<T>;
table: K;
targetId?: number | string;
res?: APIResponseObject; res?: APIResponseObject;
}) => Promise<APIPathsBody<T> | undefined>; }) => Promise<APIPathsBody<T> | undefined>;
export type APIPathsParamsAllowedTable = { export type APIPathsParamsAllowedTable = {

View File

@ -2933,15 +2933,12 @@ export type APIPathsParamsCrudMiddleware<
}) => Promise<APIPathsBody<T> | undefined>; }) => Promise<APIPathsBody<T> | undefined>;
export type APIPathsPostResulstsFn< export type APIPathsPostResulstsFn<
T extends { [k: string]: any } = { [k: string]: any }, T extends { [k: string]: any } = { [k: string]: any }
K extends string = string > = (
> = (params: { params: APIPathsCrudParams<T> & {
body?: APIPathsBody<T>;
query?: DsqlCrudQueryObject<T>;
table: K;
targetId?: number | string;
res?: APIResponseObject; res?: APIResponseObject;
}) => Promise<APIPathsBody<T> | undefined>; }
) => Promise<APIPathsBody<T> | undefined>;
export type APIPathsParamsAllowedTable = { export type APIPathsParamsAllowedTable = {
table: string; table: string;

View File

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