* mv PaymentPage to web * mv 2 more components to web * refactor * update imports * mv * revert * fix * fix * update * migrate relevant test too * move setup components to web from appstore * move wipemycalother * mv * fix typechecks * mv more routing forms components * fix * fix * fix * fix: resolve type errors in SingleForm.tsx after migration - Updated SingleFormComponentProps type to include enriched form properties - Added proper typing for user, team, nonOrgUsername, nonOrgTeamslug, userOrigin, teamOrigin - Fixes type errors that occurred after migrating SingleForm.tsx from packages/app-store/routing-forms/components/ - Resolves both SingleForm.tsx and TestForm.tsx type errors Co-Authored-By: benny@cal.com <sldisek783@gmail.com> * delete * refactors * fix * fix * fix * remove usage of trpc client from OmniInstallAppButton.tsx * fix test * import only type * fix test * remove trpc package from appstore package.json * remove remaining trpc usage * update test * fix type checks * fix errors * fix * make it error * nit --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
27 lines
1.5 KiB
TypeScript
27 lines
1.5 KiB
TypeScript
import dynamic from "next/dynamic";
|
|
|
|
import { DynamicComponent } from "@calcom/app-store/_components/DynamicComponent";
|
|
|
|
export const AppSetupMap = {
|
|
alby: dynamic(() => import("@calcom/web/components/apps/alby/Setup")),
|
|
"apple-calendar": dynamic(() => import("@calcom/web/components/apps/applecalendar/Setup")),
|
|
exchange: dynamic(() => import("@calcom/web/components/apps/exchangecalendar/Setup")),
|
|
"exchange2013-calendar": dynamic(() => import("@calcom/web/components/apps/exchange2013calendar/Setup")),
|
|
"exchange2016-calendar": dynamic(() => import("@calcom/web/components/apps/exchange2016calendar/Setup")),
|
|
"caldav-calendar": dynamic(() => import("@calcom/web/components/apps/caldavcalendar/Setup")),
|
|
"ics-feed": dynamic(() => import("@calcom/web/components/apps/ics-feedcalendar/Setup")),
|
|
zapier: dynamic(() => import("@calcom/web/components/apps/zapier/Setup")),
|
|
make: dynamic(() => import("@calcom/web/components/apps/make/Setup")),
|
|
sendgrid: dynamic(() => import("@calcom/web/components/apps/sendgrid/Setup")),
|
|
stripe: dynamic(() => import("@calcom/web/components/apps/stripepayment/Setup")),
|
|
paypal: dynamic(() => import("@calcom/web/components/apps/paypal/Setup")),
|
|
hitpay: dynamic(() => import("@calcom/web/components/apps/hitpay/Setup")),
|
|
btcpayserver: dynamic(() => import("@calcom/web/components/apps/btcpayserver/Setup")),
|
|
};
|
|
|
|
export const AppSetupPage = (props: { slug: string }) => {
|
|
return <DynamicComponent<typeof AppSetupMap> componentMap={AppSetupMap} {...props} />;
|
|
};
|
|
|
|
export default AppSetupPage;
|