Change filtering type
This commit is contained in:
parent
f06a4b8926
commit
dcf6321cfb
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user