1 | import { Entity, EntityResolver, PropertyDefinition } from '../../model';
|
2 | import { ReferencesManyDefinition } from '../relation.types';
|
3 | /**
|
4 | * Decorator for referencesMany
|
5 | * @param targetResolver - A resolver function that returns the target model for
|
6 | * a referencesMany relation
|
7 | * @param definition - Optional metadata for setting up a referencesMany relation
|
8 | * @param propertyDefinition - Optional metadata for setting up the property
|
9 | * @returns A property decorator
|
10 | */
|
11 | export declare function referencesMany<T extends Entity>(targetResolver: EntityResolver<T>, definition?: Partial<ReferencesManyDefinition>, propertyDefinition?: Partial<PropertyDefinition>): (decoratedTarget: Entity, decoratedKey: string) => void;
|