Merge branch 'feature/excel' into feature-ai-search, resolve conflicts
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🧪 QA (push) Successful in 1m28s
Build & Deploy / 🏗️ Build (push) Successful in 4m11s
Build & Deploy / 🚀 Deploy (push) Successful in 45s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 4m2s
Build & Deploy / 🔔 Notify (push) Successful in 2s

This commit is contained in:
2026-03-21 15:46:12 +01:00
255 changed files with 30803 additions and 1041 deletions

31
scripts/debug-product.ts Normal file
View File

@@ -0,0 +1,31 @@
import { getPayload } from 'payload';
import configPromise from '../payload.config';
async function debug() {
const payload = await getPayload({ config: configPromise });
const result = await payload.find({
collection: 'products',
where: {
slug: { equals: 'na2xsy' },
},
locale: 'de',
});
if (result.docs.length > 0) {
const doc = result.docs[0];
console.log('Product:', doc.title);
console.log(
'Content Blocks:',
JSON.stringify(
doc.content?.root?.children?.filter((n: any) => n.type === 'block'),
null,
2,
),
);
} else {
console.log('Product not found');
}
process.exit(0);
}
debug();