* Create 2013 package
* Create 2016 package
* Add ews
* Update package.json
* Translate 2013 app to new structure
* Translate 2013 app to new structure
* Translate 2016 app to new structure
* Add appId
* Move setup to a seperate page
* RHF dependency version mismatch
* Move exchange 2016 setup to new page
* Add translations
* Relying on AppSetupMap not defined static pages
* Console build fixes
* Resolved node version to 16
* Prisma errors can't be handled on client
* Fixes node version mismatches
* Improvements
* Endpoint fixes
* Revert "Endpoint fixes"
This reverts commit c0320e3f3d
.
* Fixes
Co-authored-by: Joe Au-Yeung <j.auyeung419@gmail.com>
Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
Co-authored-by: Leo Giovanetti <hello@leog.me>
18 lines
726 B
TypeScript
18 lines
726 B
TypeScript
import dynamic from "next/dynamic";
|
|
|
|
import { DynamicComponent } from "../../_components/DynamicComponent";
|
|
|
|
export const AppSetupMap = {
|
|
"apple-calendar": dynamic(() => import("../../applecalendar/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")),
|
|
};
|
|
|
|
export const AppSetupPage = (props: { slug: string }) => {
|
|
return <DynamicComponent<typeof AppSetupMap> componentMap={AppSetupMap} {...props} />;
|
|
};
|
|
|
|
export default AppSetupPage;
|