* modules for platform plans and billing pages * add platform billing and plans related pages * update platform navigation to include billing tab * custom hook to upgrade team subscription * refactors * export cta row component * fixup * only pass in subscription id instead of whole subscription * refactor :teamId/subscribe endpoint logic, add endpoint for upgrading stripe and shift all webhooks logic into services * refactor team subscription logic, add logic for upgrading stripe and webhooks logic from billing controller --------- Co-authored-by: Peer Richelsen <[email protected]>
13 lines
294 B
TypeScript
13 lines
294 B
TypeScript
import PageWrapper from "@components/PageWrapper";
|
|
|
|
import PlatformPlansView from "~/settings/platform/plans/platform-plans-view";
|
|
|
|
const Page = new Proxy<{
|
|
(): JSX.Element;
|
|
PageWrapper?: typeof PageWrapper;
|
|
}>(PlatformPlansView, {});
|
|
|
|
Page.PageWrapper = PageWrapper;
|
|
|
|
export default Page;
|