@@ -2085,32 +2085,32 @@ var typedAudiencesConfig = {
2085
2085
{
2086
2086
'id' : '3988293898' ,
2087
2087
'name' : 'substringString' ,
2088
- 'conditions' : '[" and" , ["or" , ["or" , {" name": " house", " type": " custom_attribute", " match":" substring", " value":" Slytherin" }]]]'
2088
+ 'conditions' : [ ' and' , [ 'or' , [ 'or' , { ' name' : ' house' , ' type' : ' custom_attribute' , ' match' : ' substring' , ' value' : ' Slytherin' } ] ] ]
2089
2089
} ,
2090
2090
{
2091
2091
'id' : '3988293899' ,
2092
2092
'name' : 'exists' ,
2093
- 'conditions' : '[" and" , ["or" , ["or" , {" name": " favorite_ice_cream", " type": " custom_attribute", " match":" exists" }]]]'
2093
+ 'conditions' : [ ' and' , [ 'or' , [ 'or' , { ' name' : ' favorite_ice_cream' , ' type' : ' custom_attribute' , ' match' : ' exists' } ] ] ]
2094
2094
} ,
2095
2095
{
2096
2096
'id' : '3468206646' ,
2097
2097
'name' : 'exactNumber' ,
2098
- 'conditions' : '[" and" , ["or" , ["or" , {" name": " lasers", " type": " custom_attribute", " match":" exact", " value" : 45.5}]]]'
2098
+ 'conditions' : [ ' and' , [ 'or' , [ 'or' , { ' name' : ' lasers' , ' type' : ' custom_attribute' , ' match' : ' exact' , ' value' : 45.5 } ] ] ]
2099
2099
} ,
2100
2100
{
2101
2101
'id' : '3468206647' ,
2102
2102
'name' : 'gtNumber' ,
2103
- 'conditions' : '[" and" , ["or" , ["or" , {" name": " lasers", " type": " custom_attribute", " match":"gt", " value" : 70 }]]]'
2103
+ 'conditions' : [ ' and' , [ 'or' , [ 'or' , { ' name' : ' lasers' , ' type' : ' custom_attribute' , ' match' : 'gt' , ' value' : 70 } ] ] ]
2104
2104
} ,
2105
2105
{
2106
2106
'id' : '3468206644' ,
2107
2107
'name' : 'ltNumber' ,
2108
- 'conditions' : '[" and" , ["or" , ["or" , {" name": " lasers", " type": " custom_attribute", " match":"lt", " value" : 1.0 }]]]'
2108
+ 'conditions' : [ ' and' , [ 'or' , [ 'or' , { ' name' : ' lasers' , ' type' : ' custom_attribute' , ' match' : 'lt' , ' value' : 1.0 } ] ] ]
2109
2109
} ,
2110
2110
{
2111
2111
'id' : '3468206643' ,
2112
2112
'name' : 'exactBoolean' ,
2113
- 'conditions' : '[" and" , ["or" , ["or" , {" name": " should_do_it", " type": " custom_attribute", " match":" exact", " value" : true}]]]'
2113
+ 'conditions' : [ ' and' , [ 'or' , [ 'or' , { ' name' : ' should_do_it' , ' type' : ' custom_attribute' , ' match' : ' exact' , ' value' : true } ] ] ]
2114
2114
}
2115
2115
] ,
2116
2116
'groups' : [ ] ,
@@ -2156,7 +2156,7 @@ var getTypedAudiencesConfig = function() {
2156
2156
return cloneDeep ( typedAudiencesConfig ) ;
2157
2157
} ;
2158
2158
2159
- var parsedTypedAudiences = {
2159
+ var typedAudiencesById = {
2160
2160
3468206642 : {
2161
2161
'id' : '3468206642' ,
2162
2162
'name' : 'exactString' ,
@@ -2206,5 +2206,5 @@ module.exports = {
2206
2206
datafileWithFeaturesExpectedData : datafileWithFeaturesExpectedData ,
2207
2207
getUnsupportedVersionConfig : getUnsupportedVersionConfig ,
2208
2208
getTypedAudiencesConfig : getTypedAudiencesConfig ,
2209
- parsedTypedAudiences : parsedTypedAudiences ,
2209
+ typedAudiencesById : typedAudiencesById ,
2210
2210
} ;
0 commit comments