Socket
Socket
Sign inDemoInstall

@keen.io/query

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@keen.io/query - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

8

CHANGELOG.md

@@ -6,4 +6,12 @@ # Change Log

## [1.0.2](https://github.com/keen/keen/compare/@keen.io/query@1.0.1...@keen.io/query@1.0.2) (2021-01-29)
**Note:** Version bump only for package @keen.io/query
## 1.0.1 (2020-12-14)
**Note:** Version bump only for package @keen.io/query

4

dist/index.d.ts

@@ -1,4 +0,4 @@

import { Query, OrderBy, OrderByProperty, Step, Direction, Intervals, Analysis } from './types';
import { Query, OrderBy, OrderByProperty, Step, Direction, Intervals, Timeframe, Analysis } from './types';
import { isCustomInterval } from './utils';
export { Query, OrderBy, Step, OrderByProperty, Direction, Intervals, Analysis, };
export { Query, OrderBy, Step, OrderByProperty, Direction, Intervals, Timeframe, Analysis, };
export { isCustomInterval };
export declare type Analysis = 'sum' | 'average' | 'count' | 'count_unique' | 'maximum' | 'minimum' | 'median' | 'percentile' | 'standard_deviation' | 'funnel' | 'extraction' | 'select_unique';
export declare type Intervals = 'minutely' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly';
export declare type Direction = 'ASC' | 'DESC';
export declare type Timeframe = {
start: string;
end: string;
} | string;
export declare type OrderByProperty = {
propertyName: string;
property_name: string;
direction: Direction;

@@ -10,14 +14,12 @@ };

export declare type Step = {
with_actors: boolean;
actor_property: string;
event_collection: string;
timeframe: {
start: string;
end: string;
};
optional: boolean;
inverted: boolean;
timeframe: Timeframe;
with_actors?: boolean;
optional?: boolean;
inverted?: boolean;
};
export declare type Query = {
analysis_type: Analysis;
timeframe: Timeframe;
event_collection: string;

@@ -28,5 +30,5 @@ interval?: string | Intervals;

limit?: number;
order_by: OrderBy;
order_by?: OrderBy;
property_names?: string[];
steps?: Step[];
};
{
"name": "@keen.io/query",
"version": "1.0.1",
"version": "1.0.2",
"description": "Keen Query utilities",

@@ -32,3 +32,3 @@ "author": "Keen.IO <team@keen.io> (https://keen.io/)",

},
"gitHead": "6778741855e5146993fc69fd3fcffde1bf908a9d"
"gitHead": "9447afaa5762a00bd25d8ad0a14820443c98666f"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc