Skip to content

Commit bc91f14

Browse files
HCK-7033: remove properties that do not pass dependency check (#167)
1 parent 551d758 commit bc91f14

1 file changed

Lines changed: 94 additions & 22 deletions

File tree

properties_pane/field_level/fieldLevelConfig.json

Lines changed: 94 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved.
33
*
44
* The copyright to the computer software herein is the property of IntegrIT S.A.
5-
* The software may be used and/or copied only with the written permission of
6-
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
7-
* the agreement/contract under which the software has been supplied.
5+
* The software may be used and/or copied only with the written permission of
6+
* IntegrIT S.A. or in accordance with the terms and conditions stipulated in
7+
* the agreement/contract under which the software has been supplied.
88

99

1010
In order to define custom properties for any object's properties pane, you may copy/paste from the following,
@@ -71,8 +71,8 @@ making sure that you maintain a proper JSON format.
7171
]
7272
},
7373
// “groupInput” can have the following states - 0 items, 1 item, and many items.
74-
// “blockInput” has only 2 states - 0 items or 1 item.
75-
// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing
74+
// “blockInput” has only 2 states - 0 items or 1 item.
75+
// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing
7676
// and forward-engineering in particular.
7777
{
7878
"propertyName": "Block",
@@ -100,7 +100,7 @@ making sure that you maintain a proper JSON format.
100100
"propertyKeyword": "keyList",
101101
"propertyType": "fieldList",
102102
"template": "orderedList"
103-
},
103+
},
104104
{
105105
"propertyName": "List with attribute",
106106
"propertyKeyword": "keyListOrder",
@@ -143,8 +143,17 @@ making sure that you maintain a proper JSON format.
143143
"type": "and",
144144
"values": [
145145
{
146-
"key": "required",
147-
"value": false
146+
"type": "or",
147+
"values": [
148+
{
149+
"key": "required",
150+
"value": false
151+
},
152+
{
153+
"key": "required",
154+
"exist": false
155+
}
156+
]
148157
},
149158
{
150159
"type": "not",
@@ -515,8 +524,17 @@ making sure that you maintain a proper JSON format.
515524
"type": "and",
516525
"values": [
517526
{
518-
"key": "required",
519-
"value": false
527+
"type": "or",
528+
"values": [
529+
{
530+
"key": "required",
531+
"value": false
532+
},
533+
{
534+
"key": "required",
535+
"exist": false
536+
}
537+
]
520538
},
521539
{
522540
"type": "not",
@@ -657,8 +675,17 @@ making sure that you maintain a proper JSON format.
657675
"type": "and",
658676
"values": [
659677
{
660-
"key": "required",
661-
"value": false
678+
"type": "or",
679+
"values": [
680+
{
681+
"key": "required",
682+
"value": false
683+
},
684+
{
685+
"key": "required",
686+
"exist": false
687+
}
688+
]
662689
},
663690
{
664691
"type": "not",
@@ -788,8 +815,17 @@ making sure that you maintain a proper JSON format.
788815
"type": "and",
789816
"values": [
790817
{
791-
"key": "required",
792-
"value": false
818+
"type": "or",
819+
"values": [
820+
{
821+
"key": "required",
822+
"value": false
823+
},
824+
{
825+
"key": "required",
826+
"exist": false
827+
}
828+
]
793829
},
794830
{
795831
"type": "not",
@@ -874,8 +910,17 @@ making sure that you maintain a proper JSON format.
874910
"type": "and",
875911
"values": [
876912
{
877-
"key": "required",
878-
"value": false
913+
"type": "or",
914+
"values": [
915+
{
916+
"key": "required",
917+
"value": false
918+
},
919+
{
920+
"key": "required",
921+
"exist": false
922+
}
923+
]
879924
},
880925
{
881926
"type": "not",
@@ -1015,8 +1060,17 @@ making sure that you maintain a proper JSON format.
10151060
"type": "and",
10161061
"values": [
10171062
{
1018-
"key": "required",
1019-
"value": false
1063+
"type": "or",
1064+
"values": [
1065+
{
1066+
"key": "required",
1067+
"value": false
1068+
},
1069+
{
1070+
"key": "required",
1071+
"exist": false
1072+
}
1073+
]
10201074
},
10211075
{
10221076
"type": "not",
@@ -1161,8 +1215,17 @@ making sure that you maintain a proper JSON format.
11611215
"type": "and",
11621216
"values": [
11631217
{
1164-
"key": "required",
1165-
"value": false
1218+
"type": "or",
1219+
"values": [
1220+
{
1221+
"key": "required",
1222+
"value": false
1223+
},
1224+
{
1225+
"key": "required",
1226+
"exist": false
1227+
}
1228+
]
11661229
},
11671230
{
11681231
"type": "not",
@@ -1283,8 +1346,17 @@ making sure that you maintain a proper JSON format.
12831346
"type": "and",
12841347
"values": [
12851348
{
1286-
"key": "required",
1287-
"value": false
1349+
"type": "or",
1350+
"values": [
1351+
{
1352+
"key": "required",
1353+
"value": false
1354+
},
1355+
{
1356+
"key": "required",
1357+
"exist": false
1358+
}
1359+
]
12881360
},
12891361
{
12901362
"type": "not",

0 commit comments

Comments
 (0)