This commit is contained in:
Benjamin Toby
2025-08-14 15:16:35 +01:00
parent e8269a8b5e
commit 82bea3efd0
8 changed files with 240 additions and 141 deletions
+6 -1
View File
@@ -1009,11 +1009,16 @@ export type ServerQueryParam<
[key: string]: any;
};
export type ServerQueryValuesObject = {
value?: string | number;
equality?: (typeof ServerQueryEqualities)[number];
};
export type ServerQueryObject<
T extends object = { [key: string]: any },
K extends string = string
> = {
value?: string | string[];
value?: string | (string | ServerQueryValuesObject)[];
nullValue?: boolean;
notNullValue?: boolean;
operator?: (typeof ServerQueryOperators)[number];