node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import type { Knex } from 'knex';
import type { Ctx } from '../types';
export interface Join {
method?: 'leftJoin' | 'innerJoin';
alias: string;
referencedTable: string;
referencedColumn: string;
rootColumn: string;
rootTable?: string;
on?: Record<string, any>;
orderBy?: Record<string, 'asc' | 'desc'>;
}
interface JoinOptions {
alias: string;
refAlias?: string;
attributeName: string;
attribute: any;
}
interface PivotJoinOptions {
alias: string;
refAlias?: string;
joinTable: any;
targetMeta: any;
}
declare const createPivotJoin: (ctx: Ctx, { alias, refAlias, joinTable, targetMeta }: PivotJoinOptions) => string;
declare const createJoin: (ctx: Ctx, { alias, refAlias, attributeName, attribute }: JoinOptions) => string;
declare const applyJoin: (qb: Knex.QueryBuilder, join: Join) => void;
declare const applyJoins: (qb: Knex.QueryBuilder, joins: Join[]) => void;
export { createJoin, createPivotJoin, applyJoins, applyJoin };
//# sourceMappingURL=join.d.ts.map