diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index aa9eafa..31a7301 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -4696,6 +4696,33 @@ making sure that you maintain a proper JSON format. "propertyTooltip": "An optional collation for the domain. If no collation is specified, the underlying data type's default collation is used. The underlying type must be collatable if COLLATE is specified.", "propertyType": "text" }, + { + "propertyName": "Array type", + "propertyType": "group", + "propertyKeyword": "array_type", + "propertyTooltip": "Declaring the array number of dimensions is simply for documentation; it does not affect run-time behavior.", + "enableForReference": true, + "dependency": { + "type": "or", + "values": [ + { + "key": "$ref", + "exist": true + } + ] + }, + "structure": [ + { + "propertyName": "Size limit", + "propertyKeyword": "array_size_limit", + "propertyTooltip": "Declaring the array size is simply for documentation; it does not affect run-time behavior.", + "propertyType": "numeric", + "valueType": "number", + "minValue": 0, + "step": 1 + } + ] + }, { "propertyName": "Not null", "propertyKeyword": "required", @@ -4742,7 +4769,6 @@ making sure that you maintain a proper JSON format. "propertyType": "details", "template": "textarea" } - ], - "___2": [] + ] } } \ No newline at end of file diff --git a/types/composite.json b/types/composite.json index f7a9a1b..8d58ec6 100644 --- a/types/composite.json +++ b/types/composite.json @@ -4,9 +4,14 @@ "dtdAbbreviation": "{...}", "parentType": "document", "hiddenOnEntity": [ - "collection", "view" ], + "dependency": { + "level": "parent", + "key": "type", + "value": "definitions" + }, + "disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.", "defaultValues": { "properties": [] } diff --git a/types/domain.json b/types/domain.json index 234a5c1..b9b6f80 100644 --- a/types/domain.json +++ b/types/domain.json @@ -4,8 +4,13 @@ "dtdAbbreviation": "{dmn}", "parentType": "string", "hiddenOnEntity": [ - "collection", "view" ], + "dependency": { + "level": "parent", + "key": "type", + "value": "definitions" + }, + "disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.", "defaultValues": {} } \ No newline at end of file diff --git a/types/enum.json b/types/enum.json index 9398faf..be3ef6a 100644 --- a/types/enum.json +++ b/types/enum.json @@ -4,8 +4,13 @@ "dtdAbbreviation": "{enum}", "parentType": "string", "hiddenOnEntity": [ - "collection", "view" ], + "dependency": { + "level": "parent", + "key": "type", + "value": "definitions" + }, + "disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.", "defaultValues": {} } \ No newline at end of file diff --git a/types/range_udt.json b/types/range_udt.json index 8a3d9e5..6e8d1d7 100644 --- a/types/range_udt.json +++ b/types/range_udt.json @@ -4,8 +4,13 @@ "dtdAbbreviation": "{123}", "parentType": "string", "hiddenOnEntity": [ - "collection", "view" ], + "dependency": { + "level": "parent", + "key": "type", + "value": "definitions" + }, + "disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.", "defaultValues": {} } \ No newline at end of file