@epistemology-factory/crocks-web
Advanced tools
Comparing version 0.3.5 to 0.3.6
{ | ||
"name": "@epistemology-factory/crocks-web", | ||
"version": "0.3.5", | ||
"version": "0.3.6", | ||
"description": "Functions to help write web applications with crocks", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -32,2 +32,11 @@ "use strict"; | ||
const isIntStringFailure = (path, value) => { | ||
return aValidationFailure( | ||
path, | ||
CONSTRAINTS.IS_INT_STRING, | ||
DEFAULT_MESSAGES[CONSTRAINTS.IS_INT_STRING], | ||
value | ||
); | ||
} | ||
const isStringFailure = (path, value) => { | ||
@@ -45,4 +54,5 @@ return aValidationFailure( | ||
isDefinedFailure, | ||
isIntStringFailure, | ||
isObjectFailure, | ||
isStringFailure | ||
} |
33165
935