@atombender/hydrant-api
Advanced tools
Comparing version 0.0.23 to 0.0.24
@@ -174,2 +174,3 @@ 'use strict'; | ||
this.aggregationFunctionName = null; | ||
this.indexValueHashes = false; | ||
} | ||
@@ -265,2 +266,3 @@ | ||
copy['default'] = this['default']; | ||
copy.indexValueHashes = this.indexValueHashes; | ||
return copy; | ||
@@ -267,0 +269,0 @@ } |
@@ -458,5 +458,16 @@ 'use strict'; | ||
description: eventType.description, | ||
dimensions: eventType.dimensions | ||
dimensions: eventType.dimensions.map(serializeDimension) | ||
}; | ||
} | ||
function serializeDimension(dimension) { | ||
return { | ||
id: dimension.id, | ||
description: dimension.description, | ||
group: dimension.group, | ||
aggregationFunctionName: dimension.aggregationFunctionName, | ||
'default': dimension['default'], | ||
indexValueHashes: dimension.indexValueHashes | ||
}; | ||
} | ||
} | ||
@@ -487,4 +498,5 @@ | ||
dimension['default'] = raw['default']; | ||
dimension.indexValueHashes = raw.indexValueHashes; | ||
return dimension; | ||
} | ||
} |
{ | ||
"name": "@atombender/hydrant-api", | ||
"version": "0.0.23", | ||
"version": "0.0.24", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
116464
2998
20