@keen.io/query
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.2.2](https://github.com/keen/keen/compare/@keen.io/query@1.2.1...@keen.io/query@1.2.2) (2022-05-12) | ||
**Note:** Version bump only for package @keen.io/query | ||
## [1.2.1](https://github.com/keen/keen/compare/@keen.io/query@1.2.0...@keen.io/query@1.2.1) (2022-05-12) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,16 @@ | ||
import { isCustomInterval, extractGroupBySettings } from './utils'; | ||
export { isCustomInterval, extractGroupBySettings }; | ||
'use strict'; | ||
Object.defineProperty(exports, '__esModule', { value: true }); | ||
var isCustomInterval = function (interval) { | ||
return interval.includes('every'); | ||
}; | ||
var extractGroupSettings = function (groupBy) { | ||
if (typeof groupBy === 'string') return [groupBy]; | ||
return groupBy; | ||
}; | ||
exports.extractGroupBySettings = extractGroupSettings; | ||
exports.isCustomInterval = isCustomInterval; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@keen.io/query", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Keen Query utilities", | ||
@@ -24,5 +24,4 @@ "author": "Keen.IO <team@keen.io> (https://keen.io/)", | ||
"scripts": { | ||
"test": "jest", | ||
"prebuild": "rimraf dist && rimraf tsconfig.tsbuildinfo", | ||
"build": "tsc" | ||
"prebuild": "rimraf dist typings tsconfig.tsbuildinfo", | ||
"build": "npx rollup --configPlugin @rollup/plugin-typescript --config rollup.config.ts" | ||
}, | ||
@@ -40,3 +39,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "cde44b2297bfa7adeb56b8b05e219ca2702d84a5" | ||
"gitHead": "eedf8f49c75c7df516730ae6c77c2a111976245d" | ||
} |
@@ -0,0 +0,0 @@ import { Query, OrderBy, OrderByProperty, Filter, FilterOperator, GeoCoordinates, Step, Direction, Intervals, Timeframe, Analysis, Timezones } from './types'; |
@@ -0,0 +0,0 @@ export declare type Analysis = 'sum' | 'average' | 'count' | 'count_unique' | 'maximum' | 'minimum' | 'median' | 'percentile' | 'standard_deviation' | 'funnel' | 'extraction' | 'select_unique'; |
declare const extractGroupSettings: (groupBy: string | string[]) => string[]; | ||
export default extractGroupSettings; |
import extractGroupSettings from './extract-group-settings'; | ||
export default extractGroupSettings; |
import isCustomInterval from './is-custom-interval'; | ||
import extractGroupBySettings from './extract-group-settings'; | ||
export { isCustomInterval, extractGroupBySettings }; |
import { Intervals } from '../types'; | ||
declare const isCustomInterval: (interval: string | Intervals) => boolean; | ||
export default isCustomInterval; |
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
8401
84
14