14 lines
512 B
TypeScript
14 lines
512 B
TypeScript
import { subscriptionRequiredCheckoutPath } from "./SubscriptionUrlUtils";
|
|
|
|
export function appTenantSubscriptionRequiredPath(params: { tenant?: string }) {
|
|
return subscriptionRequiredCheckoutPath(params.tenant ?? "");
|
|
}
|
|
|
|
export function appTenantPlanRequiredPath(params: { tenant?: string }) {
|
|
return `/plan-required/${encodeURIComponent(params.tenant ?? "")}`;
|
|
}
|
|
|
|
export function appTenantDeactivatedPath(params: { tenant?: string }) {
|
|
return `/deactivated/${encodeURIComponent(params.tenant ?? "")}`;
|
|
}
|