Skip to content

Commit e71198b

Browse files
authored
Merge pull request #40 from lenchvolodymyr/fix/HCK-2888-disable-udt-types
Fix/hck 2888 disable udt types
2 parents 5f9db5f + 93fde6c commit e71198b

File tree

5 files changed

+52
-6
lines changed

5 files changed

+52
-6
lines changed

properties_pane/field_level/fieldLevelConfig.json

Lines changed: 28 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4696,6 +4696,33 @@ making sure that you maintain a proper JSON format.
46964696
"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.",
46974697
"propertyType": "text"
46984698
},
4699+
{
4700+
"propertyName": "Array type",
4701+
"propertyType": "group",
4702+
"propertyKeyword": "array_type",
4703+
"propertyTooltip": "Declaring the array number of dimensions is simply for documentation; it does not affect run-time behavior.",
4704+
"enableForReference": true,
4705+
"dependency": {
4706+
"type": "or",
4707+
"values": [
4708+
{
4709+
"key": "$ref",
4710+
"exist": true
4711+
}
4712+
]
4713+
},
4714+
"structure": [
4715+
{
4716+
"propertyName": "Size limit",
4717+
"propertyKeyword": "array_size_limit",
4718+
"propertyTooltip": "Declaring the array size is simply for documentation; it does not affect run-time behavior.",
4719+
"propertyType": "numeric",
4720+
"valueType": "number",
4721+
"minValue": 0,
4722+
"step": 1
4723+
}
4724+
]
4725+
},
46994726
{
47004727
"propertyName": "Not null",
47014728
"propertyKeyword": "required",
@@ -4742,7 +4769,6 @@ making sure that you maintain a proper JSON format.
47424769
"propertyType": "details",
47434770
"template": "textarea"
47444771
}
4745-
],
4746-
"___2": []
4772+
]
47474773
}
47484774
}

types/composite.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@
44
"dtdAbbreviation": "{...}",
55
"parentType": "document",
66
"hiddenOnEntity": [
7-
"collection",
87
"view"
98
],
9+
"dependency": {
10+
"level": "parent",
11+
"key": "type",
12+
"value": "definitions"
13+
},
14+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1015
"defaultValues": {
1116
"properties": []
1217
}

types/domain.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
"dtdAbbreviation": "{dmn}",
55
"parentType": "string",
66
"hiddenOnEntity": [
7-
"collection",
87
"view"
98
],
9+
"dependency": {
10+
"level": "parent",
11+
"key": "type",
12+
"value": "definitions"
13+
},
14+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1015
"defaultValues": {}
1116
}

types/enum.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
"dtdAbbreviation": "{enum}",
55
"parentType": "string",
66
"hiddenOnEntity": [
7-
"collection",
87
"view"
98
],
9+
"dependency": {
10+
"level": "parent",
11+
"key": "type",
12+
"value": "definitions"
13+
},
14+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1015
"defaultValues": {}
1116
}

types/range_udt.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@
44
"dtdAbbreviation": "{123}",
55
"parentType": "string",
66
"hiddenOnEntity": [
7-
"collection",
87
"view"
98
],
9+
"dependency": {
10+
"level": "parent",
11+
"key": "type",
12+
"value": "definitions"
13+
},
14+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1015
"defaultValues": {}
1116
}

0 commit comments

Comments
 (0)