Skip to content

Commit

Permalink
feat(decorators): add Data decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
isuvorov committed May 30, 2024
1 parent 6a44d3d commit 186fa55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/decorators/src/FindParams.decorator.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Err } from '@lsk4/err';
import { createParamDecorator, ExecutionContext } from '@nestjs/common';
import { Exclude, plainToInstance } from 'class-transformer';
import { IsBoolean, IsNumber, IsOptional, IsString, Max, Min, validate } from 'class-validator';
import { validateAndThrow, validateErrorsAndThrow } from './utils/validateAndTrow';

import { validateErrorsAndThrow } from './utils/validateAndTrow';

export class Find<Filter = any> {
@IsOptional()
Expand Down

0 comments on commit 186fa55

Please sign in to comment.