Update Types

This commit is contained in:
Benjamin Toby 2024-11-09 06:28:53 +01:00
parent f26f224ce7
commit 0d6b1d7e4c
2 changed files with 9 additions and 8 deletions

View File

@ -1153,8 +1153,9 @@ export type ServerQueryParam = {
[key: string]: any;
};
export type ServerQueryQueryObject = {
[key: string]: {
export type ServerQueryQueryObject<T extends object = { [key: string]: any }> =
{
[key in keyof T]: {
value: string | string[];
operator?: "AND" | "OR";
equality?: "EQUAL" | "LIKE";

View File

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