1.0.11 • Published 3 years ago

nestjs-validators-devyx v1.0.11

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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)
1.0.11

3 years ago

1.0.10

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago