This commit is contained in:
2026-02-21 22:18:18 +01:00
parent a68e42beab
commit 0e44676226
5 changed files with 41 additions and 3 deletions
+5 -1
View File
@@ -1039,11 +1039,15 @@ export type ServerQueryParamsJoinMatchObject<Field extends object = {
[key: string]: any;
}> = {
/** Field name from the **Root Table** */
source: string | ServerQueryParamsJoinMatchSourceTargetObject;
source?: string | ServerQueryParamsJoinMatchSourceTargetObject;
/** Field name from the **Join Table** */
target?: keyof Field | ServerQueryParamsJoinMatchSourceTargetObject;
/** A literal value: No source and target Needed! */
targetLiteral?: string;
__batch?: {
matches: Omit<ServerQueryParamsJoinMatchObject<Field>, "__batch">[];
operator: "AND" | "OR";
};
};
export type ServerQueryParamsJoinMatchSourceTargetObject = {
tableName: string;