Send Email to Owner on Form Submission (#5261)

Co-authored-by: alannnc <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2022-11-03 20:10:03 +05:30
1 parent d751cca0f4
commit 6a002b900f
16 files changed
+241 -54

No files matched your search

+5 -2
View File
@@ -3,14 +3,17 @@ import { CalendsoSessionUser } from "next-auth";
import prisma from "@calcom/prisma";
import type { ssrInit } from "@server/lib/ssr";
export type AppUser = CalendsoSessionUser | undefined;
export type AppPrisma = typeof prisma;
export type AppGetServerSidePropsContext = GetServerSidePropsContext<{
appPages: string[];
}>;
export type AppSsrInit = ssrInit;
export type AppGetServerSideProps = (
context: AppGetServerSidePropsContext,
prisma: AppPrisma,
user: AppUser
user: AppUser,
ssrInit: AppSsrInit
) => GetServerSidePropsResult;