diff --git a/src/common/decorators/filtering-params.decorator.ts b/src/common/decorators/filtering-params.decorator.ts index 5f5b955..04c94a5 100644 --- a/src/common/decorators/filtering-params.decorator.ts +++ b/src/common/decorators/filtering-params.decorator.ts @@ -18,7 +18,10 @@ import { import { ErrorCode } from '../enums/error-code.enum'; export type EntityFields = (keyof T)[]; -export type FilteringResult = Record; + +export interface IFiltering { + [field: string]: unknown; +} interface IFilteringParams { field: string;