484f603c9e
* Fix operators for number * Add number operator unit tests * Fixes and remove between operators --------- Co-authored-by: Omar López <zomars@me.com>
20 lines
623 B
TypeScript
20 lines
623 B
TypeScript
import type { GetServerSidePropsContext, GetServerSidePropsResult } from "next";
|
|
import type { CalendsoSessionUser } from "next-auth";
|
|
|
|
import type 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,
|
|
ssrInit: AppSsrInit
|
|
) => GetServerSidePropsResult;
|