Skip to content

Commit e1caae8

Browse files
authored
Fix: index attribute of Data must be a boolean (#493)
* Fix: index attribute of Data must be a boolean * Remove previewUrl/generateTypeDeclarations
1 parent 572b04b commit e1caae8

File tree

5 files changed

+46
-56
lines changed

5 files changed

+46
-56
lines changed

install/class_source/class_CustomerSegmentGroup_export.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"allowInherit": false,
66
"allowVariants": false,
77
"showVariants": false,
8-
"generateTypeDeclarations": true,
98
"layoutDefinitions": {
109
"fieldtype": "panel",
1110
"labelWidth": 100,
@@ -66,7 +65,7 @@
6665
"tooltip": "",
6766
"mandatory": true,
6867
"noteditable": false,
69-
"index": null,
68+
"index": false,
7069
"locked": false,
7170
"style": "",
7271
"permissions": null,
@@ -107,7 +106,7 @@
107106
"tooltip": "",
108107
"mandatory": false,
109108
"noteditable": true,
110-
"index": null,
109+
"index": false,
111110
"locked": false,
112111
"style": "",
113112
"permissions": null,
@@ -128,7 +127,7 @@
128127
"tooltip": "",
129128
"mandatory": false,
130129
"noteditable": true,
131-
"index": null,
130+
"index": false,
132131
"locked": false,
133132
"style": "",
134133
"permissions": null,
@@ -167,7 +166,7 @@
167166
"tooltip": "Show segment group as filter on customer view",
168167
"mandatory": false,
169168
"noteditable": false,
170-
"index": 1,
169+
"index": true,
171170
"locked": false,
172171
"style": "",
173172
"permissions": null,
@@ -196,7 +195,7 @@
196195
"tooltip": "Set sort order for field. Higher numbers for sort order will have higher priority.",
197196
"mandatory": false,
198197
"noteditable": false,
199-
"index": null,
198+
"index": false,
200199
"locked": false,
201200
"style": "",
202201
"permissions": null,
@@ -217,7 +216,7 @@
217216
"tooltip": "",
218217
"mandatory": false,
219218
"noteditable": false,
220-
"index": null,
219+
"index": false,
221220
"locked": false,
222221
"style": "",
223222
"permissions": null,
@@ -237,7 +236,6 @@
237236
"locked": false
238237
},
239238
"icon": "\/bundles\/pimcorecustomermanagementframework\/icons\/segment-group.svg",
240-
"previewUrl": null,
241239
"group": "CustomerManagement",
242240
"propertyVisibility": {
243241
"grid": {

install/class_source/class_CustomerSegment_export.json

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"tooltip": "",
6868
"mandatory": false,
6969
"noteditable": false,
70-
"index": null,
70+
"index": false,
7171
"locked": false,
7272
"style": "",
7373
"permissions": null,
@@ -111,7 +111,7 @@
111111
"tooltip": "Drag and drop segment into groups in the tree",
112112
"mandatory": false,
113113
"noteditable": true,
114-
"index": null,
114+
"index": false,
115115
"locked": false,
116116
"style": "",
117117
"permissions": null,
@@ -133,7 +133,7 @@
133133
"tooltip": "needs to be unique within the group",
134134
"mandatory": false,
135135
"noteditable": true,
136-
"index": 1,
136+
"index": true,
137137
"locked": false,
138138
"style": "",
139139
"permissions": null,
@@ -151,7 +151,7 @@
151151
"tooltip": "",
152152
"mandatory": false,
153153
"noteditable": true,
154-
"index": null,
154+
"index": false,
155155
"locked": false,
156156
"style": "",
157157
"permissions": null,
@@ -169,7 +169,7 @@
169169
"tooltip": "",
170170
"mandatory": false,
171171
"noteditable": false,
172-
"index": null,
172+
"index": false,
173173
"locked": false,
174174
"style": "",
175175
"permissions": null,
@@ -193,7 +193,7 @@
193193
"tooltip": "",
194194
"mandatory": false,
195195
"noteditable": false,
196-
"index": null,
196+
"index": false,
197197
"locked": false,
198198
"style": "",
199199
"permissions": null,
@@ -213,12 +213,10 @@
213213
"locked": false
214214
},
215215
"icon": "\/bundles\/pimcorecustomermanagementframework\/icons\/segment.svg",
216-
"previewUrl": "",
217216
"group": "CustomerManagement",
218217
"showAppLoggerTab": false,
219218
"linkGeneratorReference": "",
220219
"compositeIndices": [],
221-
"generateTypeDeclarations": true,
222220
"showFieldLookup": false,
223221
"propertyVisibility": {
224222
"grid": {

install/class_source/class_LinkActivityDefinition_export.json

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"allowInherit": true,
99
"allowVariants": false,
1010
"showVariants": false,
11-
"generateTypeDeclarations": true,
1211
"layoutDefinitions": {
1312
"fieldtype": "panel",
1413
"labelWidth": 100,
@@ -76,7 +75,7 @@
7675
"tooltip": "",
7776
"mandatory": false,
7877
"noteditable": true,
79-
"index": null,
78+
"index": false,
8079
"locked": false,
8180
"style": "",
8281
"permissions": null,
@@ -138,7 +137,7 @@
138137
"tooltip": "",
139138
"mandatory": true,
140139
"noteditable": false,
141-
"index": null,
140+
"index": false,
142141
"locked": false,
143142
"style": "",
144143
"permissions": null,
@@ -165,7 +164,7 @@
165164
"tooltip": "",
166165
"mandatory": false,
167166
"noteditable": false,
168-
"index": null,
167+
"index": false,
169168
"locked": false,
170169
"style": "",
171170
"permissions": null,
@@ -186,7 +185,7 @@
186185
"tooltip": "",
187186
"mandatory": false,
188187
"noteditable": false,
189-
"index": null,
188+
"index": false,
190189
"locked": false,
191190
"style": "",
192191
"permissions": null,
@@ -222,7 +221,7 @@
222221
"tooltip": "",
223222
"mandatory": false,
224223
"noteditable": false,
225-
"index": null,
224+
"index": false,
226225
"locked": false,
227226
"style": "",
228227
"permissions": null,
@@ -270,7 +269,7 @@
270269
"tooltip": "",
271270
"mandatory": false,
272271
"noteditable": false,
273-
"index": null,
272+
"index": false,
274273
"locked": false,
275274
"style": "",
276275
"permissions": null,
@@ -297,7 +296,7 @@
297296
"tooltip": "",
298297
"mandatory": false,
299298
"noteditable": false,
300-
"index": null,
299+
"index": false,
301300
"locked": false,
302301
"style": "",
303302
"permissions": null,
@@ -324,7 +323,7 @@
324323
"tooltip": "",
325324
"mandatory": false,
326325
"noteditable": false,
327-
"index": null,
326+
"index": false,
328327
"locked": false,
329328
"style": "",
330329
"permissions": null,
@@ -351,7 +350,7 @@
351350
"tooltip": "",
352351
"mandatory": false,
353352
"noteditable": false,
354-
"index": null,
353+
"index": false,
355354
"locked": false,
356355
"style": "",
357356
"permissions": null,
@@ -378,7 +377,7 @@
378377
"tooltip": "",
379378
"mandatory": false,
380379
"noteditable": false,
381-
"index": null,
380+
"index": false,
382381
"locked": false,
383382
"style": "",
384383
"permissions": null,
@@ -442,7 +441,7 @@
442441
"tooltip": "",
443442
"mandatory": true,
444443
"noteditable": false,
445-
"index": null,
444+
"index": false,
446445
"locked": false,
447446
"style": "float: left; margin-right: 60px;",
448447
"permissions": null,
@@ -469,7 +468,7 @@
469468
"tooltip": "",
470469
"mandatory": false,
471470
"noteditable": false,
472-
"index": null,
471+
"index": false,
473472
"locked": false,
474473
"style": "float:left;",
475474
"permissions": null,
@@ -492,7 +491,7 @@
492491
"tooltip": "",
493492
"mandatory": false,
494493
"noteditable": false,
495-
"index": null,
494+
"index": false,
496495
"locked": false,
497496
"style": "",
498497
"permissions": null,
@@ -511,7 +510,6 @@
511510
"icon": null
512511
},
513512
"icon": "\/bundles\/pimcoreadmin\/img\/flat-color-icons\/sports_mode.svg",
514-
"previewUrl": "\/__customermanagementframework\/object-preview\/link-activity-definition-preview",
515513
"group": "CustomerManagement",
516514
"showAppLoggerTab": false,
517515
"linkGeneratorReference": "@CustomerManagementFrameworkBundle\\LinkGenerator\\LinkActivityDefinitionLinkGenerator",

install/class_source/class_TermSegmentBuilderDefinition_export.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"allowInherit": false,
66
"allowVariants": false,
77
"showVariants": false,
8-
"generateTypeDeclarations": true,
98
"layoutDefinitions": {
109
"fieldtype": "panel",
1110
"labelWidth": 100,
@@ -51,7 +50,7 @@
5150
"tooltip": "",
5251
"mandatory": true,
5352
"noteditable": false,
54-
"index": null,
53+
"index": false,
5554
"locked": false,
5655
"style": "",
5756
"permissions": null,
@@ -84,7 +83,7 @@
8483
"tooltip": "",
8584
"mandatory": false,
8685
"noteditable": false,
87-
"index": null,
86+
"index": false,
8887
"locked": false,
8988
"style": "",
9089
"permissions": null,
@@ -111,7 +110,7 @@
111110
"tooltip": "",
112111
"mandatory": false,
113112
"noteditable": false,
114-
"index": null,
113+
"index": false,
115114
"locked": false,
116115
"style": "",
117116
"permissions": null,
@@ -129,7 +128,7 @@
129128
"tooltip": "",
130129
"mandatory": false,
131130
"noteditable": false,
132-
"index": null,
131+
"index": false,
133132
"locked": false,
134133
"style": "",
135134
"permissions": null,
@@ -146,7 +145,6 @@
146145
"locked": false
147146
},
148147
"icon": "\/bundles\/pimcoreadmin\/img\/flat-color-icons\/data_configuration.svg",
149-
"previewUrl": null,
150148
"group": "CustomerManagement",
151149
"propertyVisibility": {
152150
"grid": {

0 commit comments

Comments
 (0)