b328527434
* Added alert when there isn't default calendar connected * Add default calendar externalId to select placeholder * Fix typos * Fixes prisma import Co-authored-by: Peer Richelsen <peeroke@gmail.com> Co-authored-by: zomars <zomars@me.com>
17 lines
503 B
TypeScript
17 lines
503 B
TypeScript
import { GetServerSidePropsContext, GetServerSidePropsResult } from "next";
|
|
import { CalendsoSessionUser } from "next-auth";
|
|
|
|
import prisma from "@calcom/prisma";
|
|
|
|
export type AppUser = CalendsoSessionUser | undefined;
|
|
export type AppPrisma = typeof prisma;
|
|
export type AppGetServerSidePropsContext = GetServerSidePropsContext<{
|
|
appPages: string[];
|
|
}>;
|
|
|
|
export type AppGetServerSideProps = (
|
|
context: AppGetServerSidePropsContext,
|
|
prisma: AppPrisma,
|
|
user: AppUser
|
|
) => GetServerSidePropsResult;
|