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.

Temp fix

Kiran K2bb4b4eff674
diff --git a/apps/web/lib/types.ts b/apps/web/lib/types.ts
index fa30d64d97..e8b1e0dc6b 100644
--- a/apps/web/lib/types.ts
+++ b/apps/web/lib/types.ts
@@ -1,8 +1,8 @@
import { DirectorySyncProviders } from "@boxyhq/saml-jackson";
import z from "@/lib/zod";
-import { PlanSchema } from "./zod/schemas";
import { CreateLinkBodySchema } from "./zod/schemas/links";
+import { PlanSchema } from "prisma/zod";
export { type Link as LinkProps } from "@prisma/client";
export interface SimpleLinkProps {
diff --git a/apps/web/scripts/restore-backup.ts b/apps/web/scripts/restore-backup.ts
index da296bc8ba..e1cb5ebcef 100644
--- a/apps/web/scripts/restore-backup.ts
+++ b/apps/web/scripts/restore-backup.ts
@@ -54,7 +54,7 @@ async function main() {
"checkDisabled",
"clicks",
]);
- await bulkCreateLinks(csvLinks);
+ await bulkCreateLinks(csvLinks as any); // TODO: fix types
},
});
}