Updates
This commit is contained in:
@@ -2741,6 +2741,7 @@ export const OpsActions = [
|
||||
"restart-db",
|
||||
"restart-all",
|
||||
"clear",
|
||||
"clear-container-logs",
|
||||
] as const;
|
||||
|
||||
export type OpsObject = {
|
||||
@@ -2869,9 +2870,7 @@ export type APIPathsParams<
|
||||
*/
|
||||
basePath?: string;
|
||||
auth?: () => Promise<boolean>;
|
||||
getMiddleware?: (params: {
|
||||
query: APIPathsQuery<T>;
|
||||
}) => Promise<APIPathsQuery<T>>;
|
||||
getMiddleware?: APIPathsParamsGetMiddleware<T>;
|
||||
postMiddleware?: APIPathsParamsCrudMiddleware<T>;
|
||||
putMiddleware?: APIPathsParamsCrudMiddleware<T>;
|
||||
deleteMiddleware?: APIPathsParamsCrudMiddleware<T>;
|
||||
@@ -2912,7 +2911,10 @@ export type APIPathsQuery<
|
||||
|
||||
export type APIPathsParamsGetMiddleware<
|
||||
T extends { [k: string]: any } = { [k: string]: any }
|
||||
> = (params: { query: APIPathsQuery<T> }) => Promise<DsqlCrudQueryObject<T>>;
|
||||
> = (params: {
|
||||
query: APIPathsQuery<T>;
|
||||
table: string;
|
||||
}) => Promise<APIPathsQuery<T>>;
|
||||
|
||||
export type APIPathsParamsCrudMiddleware<
|
||||
T extends { [k: string]: any } = { [k: string]: any },
|
||||
|
||||
Reference in New Issue
Block a user