1 | import { Entity } from '../../model';
|
2 | import { EntityCrudRepository } from '../../repositories';
|
3 | import { Getter, HasManyDefinition, InclusionResolver } from '../relation.types';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 |
|
10 |
|
11 |
|
12 |
|
13 |
|
14 |
|
15 |
|
16 | export declare function createHasManyThroughInclusionResolver<Through extends Entity, ThroughID, ThroughRelations extends object, Target extends Entity, TargetID, TargetRelations extends object>(meta: HasManyDefinition, getThroughRepo: Getter<EntityCrudRepository<Through, ThroughID, ThroughRelations>>, getTargetRepoDict: {
|
17 | [repoType: string]: Getter<EntityCrudRepository<Target, TargetID, TargetRelations>>;
|
18 | }): InclusionResolver<Entity, Target>;
|