Change filtering type

This commit is contained in:
Денис 2026-02-17 15:43:57 +03:00
parent f06a4b8926
commit dcf6321cfb

View File

@ -18,7 +18,10 @@ import {
import { ErrorCode } from '../enums/error-code.enum'; import { ErrorCode } from '../enums/error-code.enum';
export type EntityFields<T> = (keyof T)[]; export type EntityFields<T> = (keyof T)[];
export type FilteringResult = Record<string, unknown>;
export interface IFiltering {
[field: string]: unknown;
}
interface IFilteringParams { interface IFilteringParams {
field: string; field: string;