Skip to content

Commit

Permalink
HCK-7973 (#128)
Browse files Browse the repository at this point in the history
* HCK-7651: set notNull for PK by default

* HCK-7651: Extend config for remaining field types

---------

Co-authored-by: chulanovskyi-bs <56116665+chulanovskyi-bs@users.noreply.github.com>
  • Loading branch information
Nightlngale and chulanovskyi-bs authored Sep 12, 2024
1 parent 45cd233 commit 4040a6f
Showing 1 changed file with 162 additions and 57 deletions.
219 changes: 162 additions & 57 deletions properties_pane/field_level/fieldLevelConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -816,25 +816,56 @@ making sure that you maintain a proper JSON format.
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "and",
"values": [
{
"type": "and",
"type": "or",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
"key": "primaryKey",
"value": false
},
{
"level": "root",
"key": "duality",
"value": true
"key": "primaryKey",
"exists": false
}
]
},
{
"type": "not",
"values": [
{
"type": "and",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
},
{
"level": "root",
"key": "duality",
"value": true
}
]
}
]
}
]
}
},
"defaultValue": false
},
{
"propertyName": "Not null constraint name",
Expand Down Expand Up @@ -2514,25 +2545,56 @@ making sure that you maintain a proper JSON format.
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "and",
"values": [
{
"type": "and",
"type": "or",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
"key": "primaryKey",
"value": false
},
{
"level": "root",
"key": "duality",
"value": true
"key": "primaryKey",
"exists": false
}
]
},
{
"type": "not",
"values": [
{
"type": "and",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
},
{
"level": "root",
"key": "duality",
"value": true
}
]
}
]
}
]
}
},
"defaultValue": false
},
{
"propertyName": "Identity",
Expand Down Expand Up @@ -4410,25 +4472,56 @@ making sure that you maintain a proper JSON format.
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "and",
"values": [
{
"type": "and",
"type": "or",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
"key": "primaryKey",
"value": false
},
{
"level": "root",
"key": "duality",
"value": true
"key": "primaryKey",
"exists": false
}
]
},
{
"type": "not",
"values": [
{
"type": "and",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
},
{
"level": "root",
"key": "duality",
"value": true
}
]
}
]
}
]
}
},
"defaultValue": false
},
{
"propertyName": "Masked with function",
Expand Down Expand Up @@ -7624,25 +7717,31 @@ making sure that you maintain a proper JSON format.
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "or",
"values": [
{
"type": "and",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
},
{
"level": "root",
"key": "duality",
"value": true
}
]
"key": "primaryKey",
"value": false
},
{
"key": "primaryKey",
"exists": false
}
]
}
},
"defaultValue": false
},
{
"propertyName": "Masked with function",
Expand Down Expand Up @@ -8845,25 +8944,31 @@ making sure that you maintain a proper JSON format.
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "not",
"key": "primaryKey",
"value": true
},
"disabled": true,
"defaultValue": true
},
{
"propertyName": "Not null",
"propertyKeyword": "required",
"enableForReference": true,
"propertyType": "checkbox",
"dependency": {
"type": "or",
"values": [
{
"type": "and",
"values": [
{
"level": "root",
"key": "viewOn",
"exist": true
},
{
"level": "root",
"key": "duality",
"value": true
}
]
"key": "primaryKey",
"value": false
},
{
"key": "primaryKey",
"exists": false
}
]
}
},
"defaultValue": false
},
{
"propertyName": "Row GUID Column",
Expand Down

0 comments on commit 4040a6f

Please sign in to comment.