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
+6 -2
View File
@@ -917,9 +917,13 @@ export type FetchApiReturn = {
};
export declare const ServerQueryOperators: readonly ["AND", "OR"];
export declare const ServerQueryEqualities: readonly ["EQUAL", "LIKE", "NOT EQUAL"];
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?: {