Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix: add datarooms to plan type

Marc Seitzbd53ac0e3f8d
diff --git a/lib/swr/use-billing.ts b/lib/swr/use-billing.ts
index 5c71769d..a5010562 100644
--- a/lib/swr/use-billing.ts
+++ b/lib/swr/use-billing.ts
@@ -34,7 +34,13 @@ export function useBilling() {
};
}
-export type BasePlan = "free" | "starter" | "pro" | "trial" | "business";
+export type BasePlan =
+ | "free"
+ | "starter"
+ | "pro"
+ | "trial"
+ | "business"
+ | "datarooms";
type PlanWithTrial = `${BasePlan}+drtrial`;
type PlanResponse = {