This commit is contained in:
2025-12-26 10:33:46 +01:00
parent 0e5b5fea6e
commit f95cf21ffd
15 changed files with 99 additions and 23 deletions
+3 -2
View File
@@ -2255,10 +2255,11 @@ export type APIPathsParamsCrudMiddleware<T extends {
[k: string]: any;
} = {
[k: string]: any;
}> = (params: {
}, K extends string = string> = (params: {
body: APIPathsBody<T>;
query: DsqlCrudQueryObject<T>;
}) => Promise<APIPathsBody<T>>;
table: K;
}) => Promise<APIPathsBody<T> | undefined>;
export type APIPathsParamsAllowedTable = {
table: string;
allowedFields?: (string | RegExp)[];