The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Update links.ts
Steven Tey0691234686ba
diff --git a/apps/web/lib/zod/schemas/links.ts b/apps/web/lib/zod/schemas/links.tsindex 045f06cecf..22203a6a41 100644--- a/apps/web/lib/zod/schemas/links.ts+++ b/apps/web/lib/zod/schemas/links.ts@@ -28,7 +28,7 @@ const LinksQuerySchema = z.object({tagId: z.string().optional()- .describe("The tag ID to filter the links by. Use `tagIds` instead.")+ .describe("The tag ID to filter the links by. This field is deprecated – use `tagIds` instead.").openapi({ deprecated: true }),tagIds: z.union([z.string(), z.array(z.string())])@@ -195,7 +195,7 @@ export const createLinkBodySchema = z.object({.string().nullish().describe(- "The unique ID of the tag assigned to the short link. Use `tagIds` instead.",+ "The unique ID of the tag assigned to the short link. This field is deprecated – use `tagIds` instead.",).openapi({ deprecated: true }),tagIds: z@@ -303,7 +303,7 @@ export const LinkSchema = z.string().nullable().describe(- "The unique ID of the tag assigned to the short link. Use `tags` instead.",+ "The unique ID of the tag assigned to the short link. This field is deprecated – use `tags` instead.",).openapi({ deprecated: true }),tags: TagSchema.array()@@ -362,7 +362,7 @@ export const LinkSchema = z.describe("The date and time when the short link was last updated."),projectId: z.string()- .describe("The project ID of the short link. Use `workspaceId` instead.")+ .describe("The project ID of the short link. This field is deprecated – use `workspaceId` instead.").openapi({ deprecated: true }),}).openapi({ title: "Link" });