Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ All notable changes to this project will be documented in this file.

### Fixed

- Validate empty filter clauses list in Stats API v2
- Fixed Stats API timeseries returning time buckets falling outside the queried range
- Fixed issue with all non-interactive events being counted as interactive
- Fixed countries map countries staying highlighted on Chrome
Expand Down
5 changes: 4 additions & 1 deletion assets/js/types/query-api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ export type FilterWithoutGoals =
* filter operation
*/
export type FilterOperationWithoutGoals = "is_not" | "contains_not";
export type Clauses = (string | number)[];
/**
* @minItems 1
*/
export type Clauses = [string | number, ...(string | number)[]];
/**
* @minItems 3
* @maxItems 4
Expand Down
1 change: 1 addition & 0 deletions priv/json-schemas/query-api-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@
},
"clauses": {
"type": "array",
"minItems": 1,
"items": {
"type": ["string", "integer"]
}
Expand Down
Loading