new front end #33

This commit is contained in:
2024-07-30 20:47:46 -04:00
parent baad9b0eec
commit fc66225cf5
37 changed files with 1317 additions and 15375 deletions
+2 -1
View File
@@ -46,6 +46,7 @@ function processKeys(map, data, partial){
}
if(errors.length !== 0){
console.log('errors', errors)
throw new ObjectValidateError(errors);
return {__errors__: errors};
}
@@ -62,7 +63,7 @@ function parseFromString(map, data){
};
for(let key of Object.keys(data)){
if(map[key] && map[key].type){
if(map[key] && map[key].type && data[key]){
data[key] = types[map[key].type](data[key]);
}
}