@types/joi
Advanced tools
Comparing version 13.6.1 to 13.6.2
@@ -913,2 +913,18 @@ // Type definitions for joi 13.6 | ||
/** | ||
* Specifies that the value must be greater than date. | ||
* Notes: 'now' can be passed in lieu of date so as to always compare relatively to the current date, | ||
* allowing to explicitly ensure a date is either in the past or in the future. | ||
* It can also be a reference to another field. | ||
*/ | ||
greater(date: 'now' | Date | number | string | Reference): this; | ||
/** | ||
* Specifies that the value must be less than date. | ||
* Notes: 'now' can be passed in lieu of date so as to always compare relatively to the current date, | ||
* allowing to explicitly ensure a date is either in the past or in the future. | ||
* It can also be a reference to another field. | ||
*/ | ||
less(date: 'now' | Date | number | string | Reference): this; | ||
/** | ||
* Specifies the oldest date allowed. | ||
@@ -919,6 +935,3 @@ * Notes: 'now' can be passed in lieu of date so as to always compare relatively to the current date, | ||
*/ | ||
min(date: Date): this; | ||
min(date: number): this; | ||
min(date: string): this; | ||
min(date: Reference): this; | ||
min(date: 'now' | Date | number | string | Reference): this; | ||
@@ -931,6 +944,3 @@ /** | ||
*/ | ||
max(date: Date): this; | ||
max(date: number): this; | ||
max(date: string): this; | ||
max(date: Reference): this; | ||
max(date: 'now' | Date | number | string | Reference): this; | ||
@@ -941,4 +951,3 @@ /** | ||
*/ | ||
format(format: string): this; | ||
format(format: string[]): this; | ||
format(format: string | string[]): this; | ||
@@ -945,0 +954,0 @@ /** |
{ | ||
"name": "@types/joi", | ||
"version": "13.6.1", | ||
"version": "13.6.2", | ||
"description": "TypeScript definitions for joi", | ||
@@ -84,2 +84,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "", | ||
"repository": { | ||
@@ -91,4 +92,4 @@ "type": "git", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "26faec54a1d3cbcad1943eccdc1832707f2f929c80e5371df9ee0984d50f6349", | ||
"typesPublisherContentHash": "5d65ca82bea90848199798d91ede06d9f02159d2b67de24cd6974d81f73dc3e9", | ||
"typeScriptVersion": "2.4" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 12 Oct 2018 21:27:10 GMT | ||
* Last updated: Sat, 27 Oct 2018 21:05:47 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
49390
1121