diff --git a/central_pane/style.json b/central_pane/style.json index 50b8d39..40e0e32 100644 --- a/central_pane/style.json +++ b/central_pane/style.json @@ -42,6 +42,15 @@ } ], "indexes", + { + "value": "AK", + "orderingNumbersBy": ["uniqueKey", "compositeUniqueKey"], + "dependency": { + "key": "alternateKey", + "value": true + }, + "width": 16 + }, "refType" ] } diff --git a/properties_pane/entity_level/entityLevelConfig.json b/properties_pane/entity_level/entityLevelConfig.json index 2b9abae..72e9eac 100644 --- a/properties_pane/entity_level/entityLevelConfig.json +++ b/properties_pane/entity_level/entityLevelConfig.json @@ -864,6 +864,13 @@ making sure that you maintain a proper JSON format. "key": "deferrable", "value": "DEFERRABLE" } + }, + { + "propertyName": "Alternate key", + "propertyKeyword": "alternateKey", + "propertyTooltip": "", + "propertyType": "checkbox", + "setFieldPropertyBy": "compositeUniqueKey" } ] } diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index 265b12a..27ac9b8 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -692,6 +692,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "foreignCollection", "foreignField", "relationshipType", @@ -1279,6 +1305,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "foreignCollection", "foreignField", "relationshipType", @@ -1827,6 +1879,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, { "propertyName": "Remarks", "propertyKeyword": "comments", @@ -2414,6 +2492,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "pattern", "enum", "sample", @@ -2532,6 +2636,32 @@ making sure that you maintain a proper JSON format. "addTimestampButton": true, "propertyType": "details", "template": "textarea" + }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] } ], "range": [ @@ -3058,6 +3188,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "foreignCollection", "foreignField", "relationshipType", @@ -3612,6 +3768,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "foreignCollection", "foreignField", "relationshipType", @@ -3798,6 +3980,32 @@ making sure that you maintain a proper JSON format. "addTimestampButton": true, "propertyType": "details", "template": "textarea" + }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] } ], "inet": [ @@ -4325,6 +4533,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "foreignCollection", "foreignField", "relationshipType", @@ -4859,6 +5093,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "foreignCollection", "foreignField", "relationshipType", @@ -5414,6 +5674,32 @@ making sure that you maintain a proper JSON format. } ] }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, "foreignCollection", "foreignField", "relationshipType", @@ -5601,6 +5887,32 @@ making sure that you maintain a proper JSON format. "propertyName": "JSON Type", "propertyKeyword": "physicalType", "hidden": true + }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] } ], "vector": [ @@ -5690,6 +6002,32 @@ making sure that you maintain a proper JSON format. "addTimestampButton": true, "propertyType": "details", "template": "textarea" + }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] } ], "xml": [ @@ -5801,6 +6139,32 @@ making sure that you maintain a proper JSON format. "addTimestampButton": true, "propertyType": "details", "template": "textarea" + }, + { + "propertyName": "Alternate Key", + "propertyKeyword": "alternateKey", + "defaultValue": false, + "enableForReference": true, + "propertyType": "checkbox", + "dependency": { + "type": "or", + "values": [ + { + "key": "unique", + "value": true + }, + { + "key": "compositeUniqueKey", + "value": true + } + ] + }, + "disabledOnCondition": [ + { + "key": "compositeUniqueKey", + "value": true + } + ] } ], "___1": [],