The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
fix discrepancies
Steven Tey6248256b7682
diff --git a/apps/web/lib/types.ts b/apps/web/lib/types.tsindex 88b77afbad..e4ea366756 100644--- a/apps/web/lib/types.ts+++ b/apps/web/lib/types.ts@@ -20,7 +20,6 @@ import { trackLeadResponseSchema } from "./zod/schemas/leads";import { createLinkBodySchema } from "./zod/schemas/links";import { createOAuthAppSchema, oAuthAppSchema } from "./zod/schemas/oauth";import {- CustomerSchema,EnrolledPartnerSchema,PartnerSchema,PayoutSchema,diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.tsindex 3125e838ca..7438d8e5da 100644--- a/apps/web/lib/zod/schemas/partners.ts+++ b/apps/web/lib/zod/schemas/partners.ts@@ -9,6 +9,7 @@ import {SaleStatus,} from "@prisma/client";import { z } from "zod";+import { CustomerSchema } from "./customers";import { LinkSchema } from "./links";import { getPaginationQuerySchema } from "./misc";import { parseDateSchema } from "./utils";@@ -107,16 +108,6 @@ export const PayoutSchema = z.object({updatedAt: z.date(),});-export const CustomerSchema = z.object({- id: z.string(),- name: z.string(),- email: z.string().nullable(),- avatar: z.string().nullable(),- externalId: z.string(),- createdAt: z.date(),- updatedAt: z.date(),-});-export const SaleSchema = z.object({id: z.string(),amount: z.number(),