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 partner-link-titles
Pedro Ladeira2b2c64d75517
diff --cc apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/earnings/earnings-table.tsxindex a649a3e01c,950f47eb3c..871d6f6262--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/earnings/earnings-table.tsx+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/programs/[programSlug]/(enrolled)/earnings/earnings-table.tsx@@@ -1,7 -1,7 +1,8 @@@"use client";+ import { formatCommissionDescriptionTooltip } from "@/lib/commissions/format-commission-description-tooltip";import usePartnerEarningsCount from "@/lib/swr/use-partner-earnings-count";+import { usePartnerLinksDisplay } from "@/lib/swr/use-partner-links-display";import usePartnerProfile from "@/lib/swr/use-partner-profile";import useProgramEnrollment from "@/lib/swr/use-program-enrollment";import { PartnerEarningsResponse } from "@/lib/types";diff --cc apps/web/lib/zod/schemas/partner-profile.tsindex f447a92046,b681cab2e5..0c26a2567d--- a/apps/web/lib/zod/schemas/partner-profile.ts+++ b/apps/web/lib/zod/schemas/partner-profile.ts@@@ -25,12 -29,12 +29,12 @@@ import { customerActivityResponseSchemimport { CustomerEnrichedSchema } from "./customers";import { DiscountSchema } from "./discount";import { LinkSchema } from "./links";- import { getPaginationQuerySchema } from "./misc";+ import { booleanQuerySchema, getPaginationQuerySchema } from "./misc";import { payoutsQuerySchema } from "./payouts";- import { ProgramSchema } from "./programs";+ import { ProgramEnrollmentSchema, ProgramSchema } from "./programs";import { RewardSchema } from "./rewards";import { submittedLeadFormDataSchema } from "./submitted-lead-form";-import { centsSchema } from "./utils";+import { centsSchema, parseUrlSchema } from "./utils";export const PartnerEarningsSchema = CommissionSchema.omit({userId: true,