Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.
import { BasePlan } from "../swr/use-billing";
/**
* Returns the conversion queue name for the given plan.
* Queue definitions are in lib/trigger/queues.ts.
*/
export const conversionQueueName = (plan: string): string => {
const planName = plan.split("+")[0] as BasePlan;
return `conversion-${planName}`;
};