This commit is contained in:
2025-12-28 10:33:52 +01:00
parent 49276d4cb3
commit d9f0f74481
4 changed files with 10 additions and 4 deletions
+5 -1
View File
@@ -1,5 +1,9 @@
import _ from "lodash";
import { APIPathsCrudParams, APIPathsParamsAllowedTable } from "../../types";
import {
APIPathsCrudParams,
APIPathsParamsAllowedTable,
APIPathsQuery,
} from "../../types";
export default async function checks<
T extends { [k: string]: any } = { [k: string]: any }
+2 -1
View File
@@ -1713,6 +1713,7 @@ export type APIResponseObject<
createdAt?: number;
email?: string;
requestOptions?: RequestOptions;
logoutUser?: boolean;
};
export const UserTypes = ["su", "admin"] as const;
@@ -2890,7 +2891,7 @@ export type APIPathsParams<
export type APIPathsBody<
T extends { [k: string]: any } = { [k: string]: any }
> = APIPathsQuery & {
> = APIPathsQuery<T> & {
data?: T;
};