import type { Caller, RecordData } from '@forestadmin/datasource-toolkit'; import { CollectionDecorator, Filter } from '@forestadmin/datasource-toolkit'; export default class UpdateRelationCollectionDecorator extends CollectionDecorator { update(caller: Caller, filter: Filter, patch: RecordData): Promise; /** * Build a projection that has enough information to know * - which relations need to be created/updated * - the values that will be used to build filters to target records * - the values that will be used to create/update the relations */ private buildProjection; /** * Create or update the relation provided in the key parameter according to the patch. */ private createOrUpdateRelation; } //# sourceMappingURL=collection.d.ts.map