refactor(payload): extract ai extensions to @mintel/payload-ai package
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Failing after 1m24s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-03-02 23:00:50 +01:00
parent 2ab5a8a41f
commit b2f6627ec5
51 changed files with 90 additions and 1510 deletions

View File

@@ -23,7 +23,7 @@ import { CrmInteractions } from "./src/payload/collections/CrmInteractions";
import { CrmTopics } from "./src/payload/collections/CrmTopics";
import { Projects } from "./src/payload/collections/Projects";
import { AiSettings } from "./src/payload/globals/AiSettings";
import { AiSettings } from "@mintel/payload-ai";
const filename = fileURLToPath(import.meta.url);
const dirname = path.dirname(filename);
@@ -48,7 +48,7 @@ export default buildConfig({
CrmInteractions,
Projects,
],
globals: [AiSettings],
globals: [AiSettings as any],
email: nodemailerAdapter({
defaultFromAddress: process.env.MAIL_FROM || "info@mintel.me",
defaultFromName: "Mintel.me",