feat(funnels): add per-step event property filters to schema and SQL queries
This commit is contained in:
1 parent
0a838649b7
commit
96ae1de7fd
2 files changed
+134
-21
No files matched your search
@@ -134,6 +134,15 @@ export const funnelReportSchema = z.object({
|
||||
z.object({
|
||||
type: z.enum(['path', 'event']),
|
||||
value: z.string(),
|
||||
filters: z
|
||||
.array(
|
||||
z.object({
|
||||
property: z.string().min(1),
|
||||
operator: z.enum(['eq', 'neq', 'c', 'dnc']),
|
||||
value: z.string(),
|
||||
}),
|
||||
)
|
||||
.optional(),
|
||||
}),
|
||||
)
|
||||
.min(2)
|
||||
|
||||
Reference in new issue
Block a user