This commit is contained in:
Benjamin Toby
2025-01-15 23:11:00 +01:00
parent b18ec506b3
commit 982149f759
11 changed files with 290 additions and 48 deletions
+4 -2
View File
@@ -1084,9 +1084,11 @@ export type FetchApiReturn = {
export const ServerQueryOperators = ["AND", "OR"] as const;
export const ServerQueryEqualities = ["EQUAL", "LIKE", "NOT EQUAL"] as const;
export type ServerQueryParam = {
export type ServerQueryParam<
T extends { [k: string]: any } = { [k: string]: any }
> = {
selectFields?: string[];
query?: ServerQueryQueryObject;
query?: ServerQueryQueryObject<T>;
limit?: number;
offset?: number;
order?: {