The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
add min() check to bulk/route
Steven Tey524fdea467f3
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.tsindex ff4fdcacb1..35f2651c21 100644--- a/apps/web/lib/zod/schemas/links.ts+++ b/apps/web/lib/zod/schemas/links.ts@@ -181,6 +181,7 @@ export const updateLinkBodySchema = createLinkBodySchema.partial();export const bulkCreateLinksBodySchema = z.array(createLinkBodySchema)+ .min(1, "No links created – you must provide at least one link.").max(100, "You can only create up to 100 links at a time.");export const getLinksCountParamsSchema = z.object({