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 schema.ts

Steven Tey9ef4b4130161
diff --git a/apps/web/tests/utils/schema.ts b/apps/web/tests/utils/schema.ts
index 453a8a1578..bb5a2bce54 100644
--- a/apps/web/tests/utils/schema.ts
+++ b/apps/web/tests/utils/schema.ts
@@ -8,7 +8,8 @@ export const LinkSchema = LinkSchemaOld.extend({
linkRetentionCleanupDisabledAt: z.null(),
});
-export const expectedLink: Partial<Link> & {
+export const expectedLink: Omit<Partial<Link>, "saleAmount"> & {
+ saleAmount: number; // API coerces BigInt → number in response
identifier: null;
tagId: string | null;
tags: [];