From dcf6321cfb2de272f69c74d196d1f38a3bf90236 Mon Sep 17 00:00:00 2001 From: DionysusBenstein Date: Tue, 17 Feb 2026 15:43:57 +0300 Subject: [PATCH] Change filtering type --- src/common/decorators/filtering-params.decorator.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;