The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Merge branch 'main' into customers
Steven Tey8efbaaf9dddc
diff --cc apps/web/lib/types.tsindex 6425d872c2,91149e924a..325be5fcb3--- a/apps/web/lib/types.ts+++ b/apps/web/lib/types.ts@@@ -1,12 -1,9 +1,12 @@@import z from "@/lib/zod";import { metaTagsSchema } from "@/lib/zod/schemas/metatags";import { DirectorySyncProviders } from "@boxyhq/saml-jackson";- import { Link, Project, Webhook } from "@prisma/client";+ import { Link, Project, UtmTemplate, Webhook } from "@prisma/client";import { WEBHOOK_TRIGGER_DESCRIPTIONS } from "./webhook/constants";-import { trackCustomerResponseSchema } from "./zod/schemas/customers";+import {+ CustomerSchema,+ trackCustomerResponseSchema,+} from "./zod/schemas/customers";import { integrationSchema } from "./zod/schemas/integration";import { trackLeadResponseSchema } from "./zod/schemas/leads";import { createLinkBodySchema } from "./zod/schemas/links";@@@ -266,4 -269,4 +272,6 @@@ export type TrackLeadResponse = z.inferexport type TrackSaleResponse = z.infer<typeof trackSaleResponseSchema>;+export type Customer = z.infer<typeof CustomerSchema>;+++ export type UsageResponse = z.infer<typeof usageResponse>;