Started textnodes, renamed tool with wrong name, started field configuration system

This commit is contained in:
2026-04-08 23:32:05 +02:00
parent d2900bfd12
commit a088f97e2e
7 changed files with 62 additions and 2 deletions

16
experiments/config.mjs Normal file
View File

@@ -0,0 +1,16 @@
import { Field_Configuration } from '@efforting.tech/data/field-configuration';
function mandatory_anything(value) {
return value !== undefined;
}
const fc = new Field_Configuration('Some_Field', mandatory_anything, 'Anything defined');
console.log(fc.check_validation(undefined));
console.log(fc.check_validation(true));
//fc.validate(undefined);
fc.validate(undefined, 'New thingamabob object');