Migrates EE code
parent
159792831a
commit
60c2f73607
|
@ -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
|
||||||
|
|
|
@ -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";
|
||||||
|
|
||||||
|
|
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue