Comparing version 1.0.0-pre-66 to 1.0.0-pre-67
import { isDryvFieldValidator, isDryvObjectValidator } from '../.'; | ||
export function annotateValidator(validator, ruleSet) { | ||
for (const childValidator of Object.values(validator.value)) { | ||
for (const childValidator of Object.values(validator.fields)) { | ||
if (isDryvFieldValidator(childValidator)) { | ||
@@ -5,0 +5,0 @@ annotateFieldValidator(childValidator, ruleSet); |
{ | ||
"name": "dryvjs", | ||
"version": "1.0.0-pre-66", | ||
"version": "1.0.0-pre-67", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
124754