mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
refactor(nestjs): bank transactions matching
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
import { ToNumber } from '@/common/decorators/Validators';
|
||||
import { IsArray, IsEnum, IsInt, IsOptional, IsString } from 'class-validator';
|
||||
import { IFilterRole, ISortOrder } from '../DynamicFilter/DynamicFilter.types';
|
||||
|
||||
export class DynamicFilterQueryDto {
|
||||
@IsOptional()
|
||||
@ToNumber()
|
||||
customViewId?: number;
|
||||
|
||||
@IsArray()
|
||||
@IsOptional()
|
||||
filterRoles?: IFilterRole[];
|
||||
|
||||
@IsOptional()
|
||||
@IsString()
|
||||
columnSortBy: string;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
sortOrder: ISortOrder;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
stringifiedFilterRoles?: string;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
searchKeyword?: string;
|
||||
|
||||
@IsString()
|
||||
@IsOptional()
|
||||
viewSlug?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user