Fix/api build (#3675)

* fix: shared next-auth calendso session type fix

* fix: move imports from @lib -> @calcom/lib to fix types

* Consolidates next-auth definitions

Co-authored-by: Agusti Fernandez Pardo <[email protected]>
Co-authored-by: zomars <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-08-03 13:18:26 -06:00
1 parent 298a6d5e15
commit e878e1a665
11 files changed
+18 -38

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { GetServerSidePropsContext } from "next";
import { Session } from "next-auth";
import type { GetServerSidePropsContext } from "next";
import type { Session } from "next-auth";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
import { getSession } from "@calcom/lib/auth";