Updates
This commit is contained in:
parent
f7a2d6e03a
commit
05733b4ade
6
dist/package-shared/types/index.d.ts
vendored
6
dist/package-shared/types/index.d.ts
vendored
@ -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 = {
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user