Skip to content

Commit 4fcdc67

Browse files
HCK-2888: disabled in table udt types and added tooltip for them
1 parent 5f9db5f commit 4fcdc67

File tree

5 files changed

+56
-18
lines changed

5 files changed

+56
-18
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: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
"erdAbbreviation": "<cmp>",
44
"dtdAbbreviation": "{...}",
55
"parentType": "document",
6-
"hiddenOnEntity": [
7-
"collection",
8-
"view"
9-
],
6+
"hiddenOnEntity": ["view"],
7+
"dependency": {
8+
"level": "parent",
9+
"key": "type",
10+
"value": "definitions"
11+
},
12+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1013
"defaultValues": {
1114
"properties": []
1215
}

types/domain.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
"erdAbbreviation": "<dmn>",
44
"dtdAbbreviation": "{dmn}",
55
"parentType": "string",
6-
"hiddenOnEntity": [
7-
"collection",
8-
"view"
9-
],
6+
"hiddenOnEntity": ["view"],
7+
"dependency": {
8+
"level": "parent",
9+
"key": "type",
10+
"value": "definitions"
11+
},
12+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1013
"defaultValues": {}
1114
}

types/enum.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
"erdAbbreviation": "<enum>",
44
"dtdAbbreviation": "{enum}",
55
"parentType": "string",
6-
"hiddenOnEntity": [
7-
"collection",
8-
"view"
9-
],
6+
"hiddenOnEntity": ["view"],
7+
"dependency": {
8+
"level": "parent",
9+
"key": "type",
10+
"value": "definitions"
11+
},
12+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1013
"defaultValues": {}
1114
}

types/range_udt.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@
33
"erdAbbreviation": "<rng>",
44
"dtdAbbreviation": "{123}",
55
"parentType": "string",
6-
"hiddenOnEntity": [
7-
"collection",
8-
"view"
9-
],
6+
"hiddenOnEntity": ["view"],
7+
"dependency": {
8+
"level": "parent",
9+
"key": "type",
10+
"value": "definitions"
11+
},
12+
"disabledTooltip": "For these datatypes, the PostgreSQL specification requires that you create first a UDT, then reference it in your model.",
1013
"defaultValues": {}
1114
}

0 commit comments

Comments
 (0)