Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Commit 136f500

Browse files
committed
fix: Adds constructFilter to FactoryConfig.
1 parent 5a22638 commit 136f500

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FactoryConfig.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import Facade from '@js-entity-repos/core/dist/Facade';
22
import Entity from '@js-entity-repos/core/dist/types/Entity';
3+
import { Filter } from '@js-entity-repos/core/dist/types/Filter';
34
import ErrorCatcher from './utils/ErrorCatcher';
45

56
export default interface FactoryConfig<E extends Entity> {
7+
readonly constructFilter?: (filter: Filter<E>) => any;
68
readonly service: Facade<E>;
79
readonly errorCatcher?: ErrorCatcher;
810
readonly defaultPaginationLimit?: number;

0 commit comments

Comments
 (0)