Skip to content

Commit 1eb6e13

Browse files
field-level-config: enable primary key for definitions fields (#51)
1 parent beeb35d commit 1eb6e13

File tree

1 file changed

+64
-0
lines changed

1 file changed

+64
-0
lines changed

properties_pane/field_level/fieldLevelConfig.json

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,22 @@ making sure that you maintain a proper JSON format.
288288
"propertyKeyword": "description",
289289
"enableForReference": true
290290
},
291+
{
292+
"propertyName": "Primary key",
293+
"propertyType": "checkbox",
294+
"propertyKeyword": "primaryKey",
295+
"dependency": {
296+
"type": "and",
297+
"values": [
298+
{
299+
"level": "parent",
300+
"key": "type",
301+
"value": "definitions",
302+
"inDepthParentSearch": true
303+
}
304+
]
305+
}
306+
},
291307
"required",
292308
{
293309
"propertyName": "Deprecated",
@@ -470,6 +486,22 @@ making sure that you maintain a proper JSON format.
470486
"propertyKeyword": "description",
471487
"enableForReference": true
472488
},
489+
{
490+
"propertyName": "Primary key",
491+
"propertyType": "checkbox",
492+
"propertyKeyword": "primaryKey",
493+
"dependency": {
494+
"type": "and",
495+
"values": [
496+
{
497+
"level": "parent",
498+
"key": "type",
499+
"value": "definitions",
500+
"inDepthParentSearch": true
501+
}
502+
]
503+
}
504+
},
473505
"required",
474506
{
475507
"propertyName": "Deprecated",
@@ -657,6 +689,22 @@ making sure that you maintain a proper JSON format.
657689
"propertyKeyword": "description",
658690
"enableForReference": true
659691
},
692+
{
693+
"propertyName": "Primary key",
694+
"propertyType": "checkbox",
695+
"propertyKeyword": "primaryKey",
696+
"dependency": {
697+
"type": "and",
698+
"values": [
699+
{
700+
"level": "parent",
701+
"key": "type",
702+
"value": "definitions",
703+
"inDepthParentSearch": true
704+
}
705+
]
706+
}
707+
},
660708
"required",
661709
{
662710
"propertyName": "Deprecated",
@@ -834,6 +882,22 @@ making sure that you maintain a proper JSON format.
834882
"propertyKeyword": "description",
835883
"enableForReference": true
836884
},
885+
{
886+
"propertyName": "Primary key",
887+
"propertyType": "checkbox",
888+
"propertyKeyword": "primaryKey",
889+
"dependency": {
890+
"type": "and",
891+
"values": [
892+
{
893+
"level": "parent",
894+
"key": "type",
895+
"value": "definitions",
896+
"inDepthParentSearch": true
897+
}
898+
]
899+
}
900+
},
837901
"required",
838902
{
839903
"propertyName": "Deprecated",

0 commit comments

Comments
 (0)