* feat: 8x8 app-store setup * fix: regex remove optional protocol, -imageSrc * Update packages/app-store/eightxeight/config.json * Update packages/app-store/eightxeight/config.json --------- Co-authored-by: Peer Richelsen <peer@cal.com>
17 lines
528 B
TypeScript
17 lines
528 B
TypeScript
import { createDefaultInstallation } from "@calcom/app-store/_utils/installation";
|
|
import type { AppDeclarativeHandler } from "@calcom/types/AppHandler";
|
|
|
|
import appConfig from "../config.json";
|
|
|
|
const handler: AppDeclarativeHandler = {
|
|
appType: appConfig.type,
|
|
variant: appConfig.variant,
|
|
slug: appConfig.slug,
|
|
supportsMultipleInstalls: false,
|
|
handlerType: "add",
|
|
createCredential: ({ appType, user, slug }) =>
|
|
createDefaultInstallation({ appType, userId: user.id, slug, key: {} }),
|
|
};
|
|
|
|
export default handler;
|