* WIP * warnings and errors, and working app * Refresh token now usable * Correcting env.appStore.example * Reverting changes that will come from Sendgrid App PR * Resetting with main * Renaming all othercalendars * Fixing types * Renaming leftovers * More renaming stuff * Format readme * Adds prettier override for website wordlist * Omit salesforce app in this PR * Cleanup * Update AppSettings.tsx * Revert "Cleanup" This reverts commit 41f94c52c3a34ce8ae6047ce9d4c187722343d7e. * Update yarn.lock Co-authored-by: Leo Giovanetti <hello@leog.me> Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
21 lines
929 B
TypeScript
21 lines
929 B
TypeScript
import dynamic from "next/dynamic";
|
|
|
|
import { DynamicComponent } from "../../_components/DynamicComponent";
|
|
|
|
export const AppSetupMap = {
|
|
"apple-calendar": dynamic(() => import("../../applecalendar/pages/setup")),
|
|
exchange: dynamic(() => import("../../exchangecalendar/pages/setup")),
|
|
"exchange2013-calendar": dynamic(() => import("../../exchange2013calendar/pages/setup")),
|
|
"exchange2016-calendar": dynamic(() => import("../../exchange2016calendar/pages/setup")),
|
|
"caldav-calendar": dynamic(() => import("../../caldavcalendar/pages/setup")),
|
|
zapier: dynamic(() => import("../../zapier/pages/setup")),
|
|
closecom: dynamic(() => import("../../closecom/pages/setup")),
|
|
sendgrid: dynamic(() => import("../../sendgrid/pages/setup")),
|
|
};
|
|
|
|
export const AppSetupPage = (props: { slug: string }) => {
|
|
return <DynamicComponent<typeof AppSetupMap> componentMap={AppSetupMap} {...props} />;
|
|
};
|
|
|
|
export default AppSetupPage;
|