This commit is contained in:
Benjamin Toby
2025-05-12 10:47:47 +01:00
parent 07c2186b98
commit 674af34355
9 changed files with 268 additions and 231 deletions
+9
View File
@@ -1098,6 +1098,7 @@ export type ServerQueryParam<
T extends { [k: string]: any } = { [k: string]: any }
> = {
selectFields?: string[];
omitFields?: string[];
query?: ServerQueryQueryObject<T>;
limit?: number;
page?: number;
@@ -1160,6 +1161,14 @@ export type ServerQueryParamsJoin<
count?: boolean;
}
)[];
omitFields?: (
| keyof Field
| {
field: keyof Field;
alias?: string;
count?: boolean;
}
)[];
operator?: (typeof ServerQueryOperators)[number];
};