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.

update LinkSchema

Kiran K78c01e6f0b98
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.ts
index 4f87031066..3ea0b53670 100644
--- a/apps/web/lib/zod/schemas/links.ts
+++ b/apps/web/lib/zod/schemas/links.ts
@@ -575,6 +575,10 @@ export const LinkSchema = z
"The project ID of the short link. This field is deprecated – use `workspaceId` instead.",
)
.openapi({ deprecated: true }),
+ programId: z
+ .string()
+ .nullable()
+ .describe("The ID of the program the short link is associated with."),
})
.openapi({ title: "Link" });