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
+8 -7
View File
@@ -1153,14 +1153,15 @@ export type ServerQueryParam = {
[key: string]: any;
};
export type ServerQueryQueryObject = {
[key: string]: {
value: string | string[];
operator?: "AND" | "OR";
equality?: "EQUAL" | "LIKE";
tableName?: string;
export type ServerQueryQueryObject<T extends object = { [key: string]: any }> =
{
[key in keyof T]: {
value: string | string[];
operator?: "AND" | "OR";
equality?: "EQUAL" | "LIKE";
tableName?: string;
};
};
};
export type FetchDataParams = {
path: string;