Updates
This commit is contained in:
@@ -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 }
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user