File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed
Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,10 @@ const buildStepQuery = (
173173 AND timestamp >= parseDateTimeBestEffort({startDate:String})
174174 AND timestamp <= parseDateTimeBestEffort({endDate:String})
175175 AND event_name = {${ targetKey } :String}
176- ) AS event_union${
177- includeReferrer
178- ? `
176+ ) AS event_union${ includeReferrer
177+ ? `
179178 LEFT JOIN visitor_referrers vr ON event_union.anonymous_id = vr.anonymous_id`
180- : ""
179+ : ""
181180 }
182181 GROUP BY anonymous_id${ includeReferrer ? ", vr.visitor_referrer" : "" } ` ;
183182} ;
@@ -346,7 +345,9 @@ type AllowedField =
346345 | "city"
347346 | "device_type"
348347 | "browser"
348+ | "browser_name"
349349 | "os"
350+ | "os_name"
350351 | "screen_resolution"
351352 | "language"
352353 | "utm_source"
@@ -381,7 +382,9 @@ const ALLOWED_FIELDS: readonly AllowedField[] = [
381382 "city" ,
382383 "device_type" ,
383384 "browser" ,
385+ "browser_name" ,
384386 "os" ,
387+ "os_name" ,
385388 "screen_resolution" ,
386389 "language" ,
387390 "utm_source" ,
@@ -408,7 +411,7 @@ const ALLOWED_OPERATORS: readonly AllowedOperator[] = [
408411 "less_than_or_equal" ,
409412] as const ;
410413
411- interface Filter {
414+ type Filter = {
412415 field : string ;
413416 operator : string ;
414417 value : string | string [ ] ;
You can’t perform that action at this time.
0 commit comments