@contrail/aggregates
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -7,5 +7,5 @@ import { TypeProperty } from "@contrail/types"; | ||
export declare class AggregateTypePropertyHelper { | ||
static computeAggregatesForOption(aggregates: any, data: any, properties: Array<AggregatePropertyInfo>): void; | ||
static computeAggregatesForOptions(aggregates: any, data: any, properties: Array<AggregatePropertyInfo>): void; | ||
static testValue(value: any, testValue: any): boolean; | ||
static computeAggregatesForNumericProperties(aggregates: any, data: any, properties: Array<AggregatePropertyInfo>): void; | ||
} |
@@ -8,3 +8,3 @@ "use strict"; | ||
class AggregateTypePropertyHelper { | ||
static computeAggregatesForOption(aggregates, data, properties) { | ||
static computeAggregatesForOptions(aggregates, data, properties) { | ||
const optionProperties = properties.filter(prop => { var _a; return ([types_1.PropertyType.SingleSelect, types_1.PropertyType.MultiSelect].includes(prop.typeProperty.propertyType) && ((_a = prop === null || prop === void 0 ? void 0 : prop.typeProperty) === null || _a === void 0 ? void 0 : _a.options)); }); | ||
@@ -11,0 +11,0 @@ optionProperties.forEach(property => { |
{ | ||
"name": "@contrail/aggregates", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Utilities for computing aggregates", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10180