This commit is contained in:
Benjamin Toby 2025-12-28 10:33:52 +01:00
parent 49276d4cb3
commit d9f0f74481
4 changed files with 10 additions and 4 deletions

View File

@ -1478,6 +1478,7 @@ export type APIResponseObject<T extends {
createdAt?: number;
email?: string;
requestOptions?: RequestOptions;
logoutUser?: boolean;
};
export declare const UserTypes: readonly ["su", "admin"];
export declare const SignUpParadigms: readonly [{
@ -2231,7 +2232,7 @@ export type APIPathsBody<T extends {
[k: string]: any;
} = {
[k: string]: any;
}> = APIPathsQuery & {
}> = APIPathsQuery<T> & {
data?: T;
};
export type APIPathsQuery<T extends {

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 }

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;
};

View File

@ -1,6 +1,6 @@
{
"name": "@moduletrace/datasquirel",
"version": "5.6.6",
"version": "5.6.7",
"description": "Cloud-based SQL data management tool",
"main": "dist/index.js",
"bin": {