The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
revert the eventId filter
Kiran K819003a8b5ae
diff --git a/apps/web/lib/analytics/types.ts b/apps/web/lib/analytics/types.tsindex 5953bfb4e0..a89efd9299 100644--- a/apps/web/lib/analytics/types.ts+++ b/apps/web/lib/analytics/types.ts@@ -52,7 +52,6 @@ export type EventsFilters = z.infer<typeof eventsQuerySchema> & {customerId?: string;folderIds?: string[];isMegaFolder?: boolean;- eventIds?: string[];};const partnerAnalyticsSchema = analyticsQuerySchemadiff --git a/apps/web/lib/zod/schemas/analytics.ts b/apps/web/lib/zod/schemas/analytics.tsindex 5751b1b514..bc86335c6e 100644--- a/apps/web/lib/zod/schemas/analytics.ts+++ b/apps/web/lib/zod/schemas/analytics.ts@@ -319,14 +319,13 @@ export const analyticsFilterTB = z);export const eventsFilterTB = analyticsFilterTB- .omit({ granularity: true, timezone: true, page: true, sortBy: true, })+ .omit({ granularity: true, timezone: true, page: true, sortBy: true }).and(z.object({offset: z.coerce.number().default(0),limit: z.coerce.number().default(PAGINATION_LIMIT),order: z.enum(["asc", "desc"]).default("desc"),sortBy: z.enum(["timestamp"]).default("timestamp"),- eventIds: z.array(z.string()).optional(),}),);