@mikro-orm/sql 7.0.0-dev.121 → 7.0.0-dev.122

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/typings.d.ts CHANGED
@@ -176,6 +176,7 @@ export interface ICriteriaNodeProcessOptions {
176
176
  preferNoBranch?: boolean;
177
177
  type?: 'orderBy';
178
178
  filter?: boolean;
179
+ parentPath?: string;
179
180
  }
180
181
  export interface ICriteriaNode<T extends object> {
181
182
  readonly entityName: EntityName<T>;
@@ -190,7 +191,9 @@ export interface ICriteriaNode<T extends object> {
190
191
  willAutoJoin(qb: IQueryBuilder<T>, alias?: string, options?: ICriteriaNodeProcessOptions): boolean;
191
192
  shouldRename(payload: any): boolean;
192
193
  renameFieldToPK<T>(qb: IQueryBuilder<T>, ownerAlias?: string): string;
193
- getPath(addIndex?: boolean): string;
194
+ getPath(opts?: {
195
+ addIndex?: boolean;
196
+ }): string;
194
197
  getPivotPath(path: string): string;
195
198
  }
196
199
  export type MaybeReturnType<T> = T extends (...args: any[]) => infer R ? R : T;