implement OR logic to filters, segments, cohorts
This commit is contained in:
1 parent
79c06787cd
commit
cc1e4438d0
64 files changed
+343
-54
No files matched your search
@@ -67,6 +67,7 @@ export const filterParams = {
|
||||
cohort: z.uuid().optional(),
|
||||
eventType: z.coerce.number().int().positive().optional(),
|
||||
excludeBounce: z.string().optional(),
|
||||
match: z.enum(['all', 'any']).optional(),
|
||||
};
|
||||
|
||||
export const searchParams = {
|
||||
@@ -295,6 +296,7 @@ export const segmentParamSchema = z.object({
|
||||
}),
|
||||
)
|
||||
.optional(),
|
||||
match: z.enum(['all', 'any']).optional(),
|
||||
dateRange: z.string().optional(),
|
||||
action: z
|
||||
.object({
|
||||
|
||||
Reference in new issue
Block a user