Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Merge branch 'main' into partner-network

Steven Teyd289b533f5a5
diff --cc apps/web/lib/types.ts
index 0ef31adcc9,0c1674b3b2..206439c0eb
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@@ -441,14 -438,10 +442,18 @@@ export type PartnerProfileLinkProps = z
export type EnrolledPartnerProps = z.infer<typeof EnrolledPartnerSchema>;
+export type DiscoverablePartnerProps = z.infer<
+ typeof DiscoverablePartnerSchema
+>;
+
+export type PartnerConversionScore = z.infer<
+ typeof PartnerConversionScoreSchema
+>;
+
+ export type EnrolledPartnerExtendedProps = z.infer<
+ typeof EnrolledPartnerSchemaExtended
+ >;
+
export type DiscountProps = z.infer<typeof DiscountSchema>;
export type ProgramProps = z.infer<typeof ProgramSchema>;
diff --cc apps/web/ui/partners/online-presence-summary.tsx
index e797f05481,354e642fb5..abf6cbf6db
--- a/apps/web/ui/partners/online-presence-summary.tsx
+++ b/apps/web/ui/partners/online-presence-summary.tsx
@@@ -1,6 -1,14 +1,6 @@@
+import { ONLINE_PRESENCE_FIELDS } from "@/lib/partners/online-presence";
- import { EnrolledPartnerProps } from "@/lib/types";
+ import { EnrolledPartnerExtendedProps } from "@/lib/types";
-import {
- Globe,
- Icon,
- Instagram,
- LinkedIn,
- TikTok,
- Twitter,
- YouTube,
-} from "@dub/ui/icons";
-import { cn, getPrettyUrl, nFormatter } from "@dub/utils";
+import { cn } from "@dub/utils";
import { Fragment } from "react";
import { OnlinePresenceCard } from "./online-presence-card";