Migrates EE code

pull/9078/head
zomars 2022-07-28 13:51:20 -06:00
parent 159792831a
commit 60c2f73607
3 changed files with 6 additions and 9 deletions

View File

@ -84,7 +84,7 @@ We're calling several packages from monorepo, this need to be transpiled before
"@calcom/app-store", "@calcom/app-store",
"@calcom/prisma", "@calcom/prisma",
"@calcom/lib", "@calcom/lib",
"@calcom/ee", "@calcom/features",
``` ```
## API Endpoint Validation ## API Endpoint Validation

View File

@ -1,6 +1,6 @@
import { NextMiddleware } from "next-api-middleware"; import { NextMiddleware } from "next-api-middleware";
import { hashAPIKey } from "@calcom/ee/api-keys/lib/apiKeys"; import { hashAPIKey } from "@calcom/features/ee/api-keys/lib/apiKeys";
import { isAdminGuard } from "@lib/utils/isAdmin"; import { isAdminGuard } from "@lib/utils/isAdmin";

View File

@ -3,17 +3,14 @@
const withTM = require("next-transpile-modules")([ const withTM = require("next-transpile-modules")([
"@calcom/app-store", "@calcom/app-store",
"@calcom/core", "@calcom/core",
"@calcom/ee",
"@calcom/lib",
"@calcom/prisma",
"@calcom/stripe",
"@calcom/ui",
"@calcom/dayjs", "@calcom/dayjs",
"@calcom/emails", "@calcom/emails",
"@calcom/dayjs",
"@calcom/embed-core", "@calcom/embed-core",
"@calcom/dayjs",
"@calcom/embed-snippet", "@calcom/embed-snippet",
"@calcom/features",
"@calcom/lib",
"@calcom/prisma",
"@calcom/ui",
]); ]);
const { withAxiom } = require("next-axiom"); const { withAxiom } = require("next-axiom");