The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update partners.ts
Steven Teyd00d34765d11
diff --git a/apps/web/lib/zod/schemas/partners.ts b/apps/web/lib/zod/schemas/partners.tsindex 15ef4ce6c4..1f0bea3a50 100644--- a/apps/web/lib/zod/schemas/partners.ts+++ b/apps/web/lib/zod/schemas/partners.ts@@ -126,7 +126,7 @@ export const PartnerSchema = z.object({updatedAt: z.date(),});-// Used by GET+POST /api/partners and partner.created webhook+// Used externally by GET+POST /api/partners and partner.created webhookexport const EnrolledPartnerSchema = PartnerSchema.pick({id: true,name: true,@@ -156,6 +156,7 @@ export const EnrolledPartnerSchema = PartnerSchema.pick({applicationId: z.string().nullish(),});+// Used internally in the Dub dashboard for partners tableexport const EnrolledPartnerSchemaWithExpandedFields =EnrolledPartnerSchema.merge(PartnerOnlinePresenceSchema);