add validator to restrict the flexibility of LConfig
[lunaix-os.git] / lunaix-os / scripts / build-tools / lcfg2 / common.py
index 94cdcea201bfb4a2ccd8c4b91229fdf1d64fdfd2..21e75b166ddf5dc75e4a2f369518e331dbf2bbb5 100644 (file)
@@ -19,6 +19,7 @@ class NodeProperty:
     Enabled     = PropertyAccessor("$enabled")
     Status      = PropertyAccessor("$status")
     Dependency  = PropertyAccessor("$depends")
+    WhenToggle  = PropertyAccessor("$when")
     Hidden      = PropertyAccessor("hidden")
     Parent      = PropertyAccessor("parent")
     Label       = PropertyAccessor("label")