Skip to content

Commit 444f286

Browse files
field-level-config: add relationship properties to fields
1 parent 781ef0e commit 444f286

File tree

1 file changed

+360
-0
lines changed

1 file changed

+360
-0
lines changed

properties_pane/field_level/fieldLevelConfig.json

Lines changed: 360 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,96 @@ making sure that you maintain a proper JSON format.
341341
"propertyType": "checkbox",
342342
"enableForReference": true
343343
},
344+
{
345+
"propertyName": "Foreign definition",
346+
"propertyKeyword": "foreignCollection",
347+
"propertyType": "selecthashed",
348+
"template": "definitions",
349+
"disableForDefinitions": false,
350+
"withEmptyOption": true,
351+
"dependency": {
352+
"type": "and",
353+
"values": [
354+
{
355+
"level": "parent",
356+
"key": "type",
357+
"value": "definitions",
358+
"inDepthParentSearch": true
359+
}
360+
]
361+
}
362+
},
363+
{
364+
"propertyName": "Foreign field",
365+
"propertyKeyword": "foreignField",
366+
"propertyType": "detailshashed",
367+
"template": "collectiontree",
368+
"disableForDefinitions": false,
369+
"dependency": {
370+
"type": "and",
371+
"values": [
372+
{
373+
"level": "parent",
374+
"key": "type",
375+
"value": "definitions",
376+
"inDepthParentSearch": true
377+
}
378+
]
379+
}
380+
},
381+
{
382+
"propertyName": "Relationship type",
383+
"propertyKeyword": "relationshipType",
384+
"propertyType": "select",
385+
"options": ["", "Foreign Key", "Foreign Master"],
386+
"disableForDefinitions": false,
387+
"dependency": {
388+
"type": "and",
389+
"values": [
390+
{
391+
"level": "parent",
392+
"key": "type",
393+
"value": "definitions",
394+
"inDepthParentSearch": true
395+
}
396+
]
397+
}
398+
},
399+
{
400+
"propertyName": "Relationship name",
401+
"propertyKeyword": "relationshipName",
402+
"propertyType": "text",
403+
"disableForDefinitions": false,
404+
"dependency": {
405+
"type": "and",
406+
"values": [
407+
{
408+
"level": "parent",
409+
"key": "type",
410+
"value": "definitions",
411+
"inDepthParentSearch": true
412+
}
413+
]
414+
}
415+
},
416+
{
417+
"propertyName": "Cardinality",
418+
"propertyKeyword": "cardinality",
419+
"propertyType": "select",
420+
"options": ["1", "n", "0..1", "0..n", "1..n"],
421+
"disableForDefinitions": false,
422+
"dependency": {
423+
"type": "and",
424+
"values": [
425+
{
426+
"level": "parent",
427+
"key": "type",
428+
"value": "definitions",
429+
"inDepthParentSearch": true
430+
}
431+
]
432+
}
433+
},
344434
{
345435
"propertyName": "xml",
346436
"propertyType": "block",
@@ -543,6 +633,96 @@ making sure that you maintain a proper JSON format.
543633
"propertyType": "checkbox",
544634
"enableForReference": true
545635
},
636+
{
637+
"propertyName": "Foreign definition",
638+
"propertyKeyword": "foreignCollection",
639+
"propertyType": "selecthashed",
640+
"template": "definitions",
641+
"disableForDefinitions": false,
642+
"withEmptyOption": true,
643+
"dependency": {
644+
"type": "and",
645+
"values": [
646+
{
647+
"level": "parent",
648+
"key": "type",
649+
"value": "definitions",
650+
"inDepthParentSearch": true
651+
}
652+
]
653+
}
654+
},
655+
{
656+
"propertyName": "Foreign field",
657+
"propertyKeyword": "foreignField",
658+
"propertyType": "detailshashed",
659+
"template": "collectiontree",
660+
"disableForDefinitions": false,
661+
"dependency": {
662+
"type": "and",
663+
"values": [
664+
{
665+
"level": "parent",
666+
"key": "type",
667+
"value": "definitions",
668+
"inDepthParentSearch": true
669+
}
670+
]
671+
}
672+
},
673+
{
674+
"propertyName": "Relationship type",
675+
"propertyKeyword": "relationshipType",
676+
"propertyType": "select",
677+
"options": ["", "Foreign Key", "Foreign Master"],
678+
"disableForDefinitions": false,
679+
"dependency": {
680+
"type": "and",
681+
"values": [
682+
{
683+
"level": "parent",
684+
"key": "type",
685+
"value": "definitions",
686+
"inDepthParentSearch": true
687+
}
688+
]
689+
}
690+
},
691+
{
692+
"propertyName": "Relationship name",
693+
"propertyKeyword": "relationshipName",
694+
"propertyType": "text",
695+
"disableForDefinitions": false,
696+
"dependency": {
697+
"type": "and",
698+
"values": [
699+
{
700+
"level": "parent",
701+
"key": "type",
702+
"value": "definitions",
703+
"inDepthParentSearch": true
704+
}
705+
]
706+
}
707+
},
708+
{
709+
"propertyName": "Cardinality",
710+
"propertyKeyword": "cardinality",
711+
"propertyType": "select",
712+
"options": ["1", "n", "0..1", "0..n", "1..n"],
713+
"disableForDefinitions": false,
714+
"dependency": {
715+
"type": "and",
716+
"values": [
717+
{
718+
"level": "parent",
719+
"key": "type",
720+
"value": "definitions",
721+
"inDepthParentSearch": true
722+
}
723+
]
724+
}
725+
},
546726
{
547727
"propertyName": "xml",
548728
"propertyType": "block",
@@ -746,6 +926,96 @@ making sure that you maintain a proper JSON format.
746926
"propertyType": "checkbox",
747927
"enableForReference": true
748928
},
929+
{
930+
"propertyName": "Foreign definition",
931+
"propertyKeyword": "foreignCollection",
932+
"propertyType": "selecthashed",
933+
"template": "definitions",
934+
"disableForDefinitions": false,
935+
"withEmptyOption": true,
936+
"dependency": {
937+
"type": "and",
938+
"values": [
939+
{
940+
"level": "parent",
941+
"key": "type",
942+
"value": "definitions",
943+
"inDepthParentSearch": true
944+
}
945+
]
946+
}
947+
},
948+
{
949+
"propertyName": "Foreign field",
950+
"propertyKeyword": "foreignField",
951+
"propertyType": "detailshashed",
952+
"template": "collectiontree",
953+
"disableForDefinitions": false,
954+
"dependency": {
955+
"type": "and",
956+
"values": [
957+
{
958+
"level": "parent",
959+
"key": "type",
960+
"value": "definitions",
961+
"inDepthParentSearch": true
962+
}
963+
]
964+
}
965+
},
966+
{
967+
"propertyName": "Relationship type",
968+
"propertyKeyword": "relationshipType",
969+
"propertyType": "select",
970+
"options": ["", "Foreign Key", "Foreign Master"],
971+
"disableForDefinitions": false,
972+
"dependency": {
973+
"type": "and",
974+
"values": [
975+
{
976+
"level": "parent",
977+
"key": "type",
978+
"value": "definitions",
979+
"inDepthParentSearch": true
980+
}
981+
]
982+
}
983+
},
984+
{
985+
"propertyName": "Relationship name",
986+
"propertyKeyword": "relationshipName",
987+
"propertyType": "text",
988+
"disableForDefinitions": false,
989+
"dependency": {
990+
"type": "and",
991+
"values": [
992+
{
993+
"level": "parent",
994+
"key": "type",
995+
"value": "definitions",
996+
"inDepthParentSearch": true
997+
}
998+
]
999+
}
1000+
},
1001+
{
1002+
"propertyName": "Cardinality",
1003+
"propertyKeyword": "cardinality",
1004+
"propertyType": "select",
1005+
"options": ["1", "n", "0..1", "0..n", "1..n"],
1006+
"disableForDefinitions": false,
1007+
"dependency": {
1008+
"type": "and",
1009+
"values": [
1010+
{
1011+
"level": "parent",
1012+
"key": "type",
1013+
"value": "definitions",
1014+
"inDepthParentSearch": true
1015+
}
1016+
]
1017+
}
1018+
},
7491019
{
7501020
"propertyName": "xml",
7511021
"propertyType": "block",
@@ -906,6 +1176,96 @@ making sure that you maintain a proper JSON format.
9061176
"enableForReference": true
9071177
},
9081178
"default",
1179+
{
1180+
"propertyName": "Foreign definition",
1181+
"propertyKeyword": "foreignCollection",
1182+
"propertyType": "selecthashed",
1183+
"template": "definitions",
1184+
"disableForDefinitions": false,
1185+
"withEmptyOption": true,
1186+
"dependency": {
1187+
"type": "and",
1188+
"values": [
1189+
{
1190+
"level": "parent",
1191+
"key": "type",
1192+
"value": "definitions",
1193+
"inDepthParentSearch": true
1194+
}
1195+
]
1196+
}
1197+
},
1198+
{
1199+
"propertyName": "Foreign field",
1200+
"propertyKeyword": "foreignField",
1201+
"propertyType": "detailshashed",
1202+
"template": "collectiontree",
1203+
"disableForDefinitions": false,
1204+
"dependency": {
1205+
"type": "and",
1206+
"values": [
1207+
{
1208+
"level": "parent",
1209+
"key": "type",
1210+
"value": "definitions",
1211+
"inDepthParentSearch": true
1212+
}
1213+
]
1214+
}
1215+
},
1216+
{
1217+
"propertyName": "Relationship type",
1218+
"propertyKeyword": "relationshipType",
1219+
"propertyType": "select",
1220+
"options": ["", "Foreign Key", "Foreign Master"],
1221+
"disableForDefinitions": false,
1222+
"dependency": {
1223+
"type": "and",
1224+
"values": [
1225+
{
1226+
"level": "parent",
1227+
"key": "type",
1228+
"value": "definitions",
1229+
"inDepthParentSearch": true
1230+
}
1231+
]
1232+
}
1233+
},
1234+
{
1235+
"propertyName": "Relationship name",
1236+
"propertyKeyword": "relationshipName",
1237+
"propertyType": "text",
1238+
"disableForDefinitions": false,
1239+
"dependency": {
1240+
"type": "and",
1241+
"values": [
1242+
{
1243+
"level": "parent",
1244+
"key": "type",
1245+
"value": "definitions",
1246+
"inDepthParentSearch": true
1247+
}
1248+
]
1249+
}
1250+
},
1251+
{
1252+
"propertyName": "Cardinality",
1253+
"propertyKeyword": "cardinality",
1254+
"propertyType": "select",
1255+
"options": ["1", "n", "0..1", "0..n", "1..n"],
1256+
"disableForDefinitions": false,
1257+
"dependency": {
1258+
"type": "and",
1259+
"values": [
1260+
{
1261+
"level": "parent",
1262+
"key": "type",
1263+
"value": "definitions",
1264+
"inDepthParentSearch": true
1265+
}
1266+
]
1267+
}
1268+
},
9091269
{
9101270
"propertyName": "example",
9111271
"propertyKeyword": "sample",

0 commit comments

Comments
 (0)