nestjs-validators-devyx
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

Description

Custom validators

Installation

$ npm install nestjs-validators-devyx --save

Usages

import {DbExists} from 'nestjs-validators-devyx';

@Validate(DbExists, ["Entity", "id_field"])
import {DbUnique} from 'nestjs-validators-devyx';

@Validate(DbUnique, ["Entity"])
import {IsDocument} from 'nestjs-validators-devyx';

@Validate(IsDocument)
import {IsGreaterThan} from 'nestjs-validators-devyx';

@Validate(IsGreaterThan, ["other_field"])
import {IsActive} from 'nestjs-validators-devyx';

@Validate(IsActive)

Readme

Keywords

Package Sidebar

Install

npm i nestjs-validators-devyx

Weekly Downloads

12

Version

1.0.11

License

MIT

Unpacked Size

24.9 kB

Total Files

32

Last publish

Collaborators

  • burg16
  • lucas.teodoro