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 'network-v2' into program-marketplace

Tim Wilson79d27396875b
diff --cc apps/web/lib/zod/schemas/programs.ts
index aa771364d3,0e1a8c1ea6..23b650f8e2
--- a/apps/web/lib/zod/schemas/programs.ts
+++ b/apps/web/lib/zod/schemas/programs.ts
@@@ -19,10 -18,10 +19,12 @@@ import { RewardSchema } from "./rewards
import { UserSchema } from "./users";
import { parseDateSchema } from "./utils";
+ export const PROGRAM_SIMILARITY_SCORE_THRESHOLD = 0.3;
+
export const HOLDING_PERIOD_DAYS = [0, 7, 14, 30, 60, 90];
+export const MAX_PROGRAM_CATEGORIES = 3;
+
export const ProgramSchema = z.object({
id: z.string(),
name: z.string(),