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 link-based-coupon-codes

Kiran K41afcc97d7bc
diff --cc apps/web/lib/zod/schemas/programs.ts
index e9382b323f,62c7084b7f..8e5b75e72e
--- a/apps/web/lib/zod/schemas/programs.ts
+++ b/apps/web/lib/zod/schemas/programs.ts
@@@ -35,11 -35,10 +35,11 @@@ export const ProgramSchema = z.object(
maxPartnerLinks: z.number(),
landerPublishedAt: z.date().nullish(),
autoApprovePartnersEnabledAt: z.date().nullish(),
+ couponCodeTrackingEnabledAt: z.date().nullish(),
rewards: z.array(RewardSchema).nullish(),
discounts: z.array(DiscountSchema).nullish(),
- defaultFolderId: z.string().nullable(),
- defaultGroupId: z.string().nullable(),
+ defaultFolderId: z.string(),
+ defaultGroupId: z.string(),
wordmark: z.string().nullable(),
supportEmail: z.string().nullish(),
helpUrl: z.string().nullish(),