From 1d6e7deb4d378c4680d970e300cf495f9842f93e Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Tue, 8 Feb 2022 13:38:59 +0000 Subject: [PATCH] Forgot to add domains to property types. --- Adding-new-objects.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Adding-new-objects.md b/Adding-new-objects.md index 583d7d9..9be46a3 100644 --- a/Adding-new-objects.md +++ b/Adding-new-objects.md @@ -65,6 +65,7 @@ So to create a new object, choose one of the two to extend, and then create a cl - Property type can be: - static types: `"string", "number", "boolean"` - Expressions: `"Expression"` + - Domains and ranges: `"Domain"` - Enumerations: `new P.Enum("value 1", "value 2"...)` displayed as comboboxes, property is set as the string value of the enum. - Lists: `new P.List(, format = /^.+$/, label = '', forbidAdding = false)` - Dictionaries: `new P.Dictionary(valueType: , keytType: , format = /^.+$/, preKeyLabel = '', postKeyLabel = ': ', forbidAdding = false)`