backk-frontend-utils
Advanced tools
Comparing version 1.0.83 to 1.0.84
@@ -19,3 +19,6 @@ import { getMetadataStorage } from 'cv-pksilen'; | ||
.filter((validationMetadata) => validationMetadata.propertyName === propertyName); | ||
if (hasValidationMetadata(validationMetadatas, 'isString')) { | ||
if (hasValidationMetadata(validationMetadatas, 'isStringOrObjectId')) { | ||
return 'text'; | ||
} | ||
else if (hasValidationMetadata(validationMetadatas, 'isString')) { | ||
if (hasValidationMetadata(validationMetadatas, 'isEmail')) { | ||
@@ -82,4 +85,4 @@ return 'email'; | ||
} | ||
throw new Error(ArgumentClass + '.' + propertyName + ': There is not any input type for this property type.'); | ||
throw new Error(ArgumentClass.name + '.' + propertyName + ': There is not any input type for this property type.'); | ||
} | ||
//# sourceMappingURL=getInputType.js.map |
{ | ||
"name": "backk-frontend-utils", | ||
"version": "1.0.83", | ||
"version": "1.0.84", | ||
"description": "Web frontend utils for Backk microservices", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
315307
3131