Updates
This commit is contained in:
Vendored
+3
-2
@@ -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)[];
|
||||
|
||||
Reference in New Issue
Block a user