nestjs-yup-validator
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -1,2 +0,2 @@ | ||
import { Schema } from "yup"; | ||
import { ObjectSchema } from "yup"; | ||
@@ -19,3 +19,3 @@ /** | ||
*/ | ||
export declare function BodyValidator(schema: Schema<any> | ((data: Object) => any) ): ParameterDecorator; | ||
export declare function BodyValidator(schema: (ObjectSchema<Object> | ((data: Object) => any))[] ): ParameterDecorator; | ||
/** | ||
@@ -25,2 +25,2 @@ * Validate/transform the query string parameters passed in the url of a requisition and stores the result in a object. | ||
*/ | ||
export declare function QueryValidator(schema: Schema<any> | ((data: Object) => any) ): ParameterDecorator; | ||
export declare function QueryValidator(schema: (ObjectSchema<Object> | ((data: Object) => any))[] ): ParameterDecorator; |
{ | ||
"name": "nestjs-yup-validator", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "decorators.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10423