Skip to content

Commit 13a843d

Browse files
committed
Generate types
1 parent 12aa9f3 commit 13a843d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

assets/js/types/query-api.d.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export type CustomPropertyFilterDimensions = string;
6464
export type GoalDimension = "event:goal";
6565
export type TimeDimensions = "time" | "time:month" | "time:week" | "time:day" | "time:hour";
6666
export type FilterTree = FilterEntry | FilterAndOr | FilterNot;
67-
export type FilterEntry = FilterWithoutGoals | FilterWithGoals | FilterWithPattern;
67+
export type FilterEntry = FilterWithoutGoals | FilterWithGoals | FilterWithPattern | FilterForSegment;
6868
/**
6969
* @minItems 3
7070
* @maxItems 4
@@ -115,6 +115,11 @@ export type FilterWithPattern = [
115115
* filter operation
116116
*/
117117
export type FilterOperationRegex = "matches" | "matches_not";
118+
/**
119+
* @minItems 3
120+
* @maxItems 3
121+
*/
122+
export type FilterForSegment = ["is", "segment", number[]];
118123
/**
119124
* @minItems 2
120125
* @maxItems 2

0 commit comments

Comments
 (0)