The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update types.ts
Kiran K6dd46aca9c79
diff --git a/apps/web/lib/webhook/types.ts b/apps/web/lib/webhook/types.tsindex 1531113d16..dc5f8055f7 100644--- a/apps/web/lib/webhook/types.ts+++ b/apps/web/lib/webhook/types.ts@@ -3,15 +3,12 @@ import { BountySchema } from "../zod/schemas/bounties";import { CommissionWebhookSchema } from "../zod/schemas/commissions";import { linkEventSchema } from "../zod/schemas/links";import { EnrolledPartnerSchema } from "../zod/schemas/partners";-import { WEBHOOK_TRIGGERS } from "./constants";import {clickWebhookEventSchema,leadWebhookEventSchema,saleWebhookEventSchema,} from "./schemas";-export type WebhookTrigger = (typeof WEBHOOK_TRIGGERS)[number];-export type ClickEventWebhookPayload = z.infer<typeof clickWebhookEventSchema>;export type LeadEventWebhookPayload = z.infer<typeof leadWebhookEventSchema>;