Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 16s
Build & Deploy / 🏗️ Build (push) Failing after 6m58s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 QA (push) Has been skipped
Build & Deploy / 🧪 Post-Deploy Verification (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 1s
- Statically declare ChatWindowProvider in payload.config.ts admin.components.providers - Regenerate importMap.js with correct component mappings - Update Dockerfile to support _at-mintel monorepo sync for local builds - Add .gitignore entries for manual build artifacts - Update blocks and collections (payload-ai integration updates) - Sync pnpm-lock.yaml
37 lines
883 B
TypeScript
37 lines
883 B
TypeScript
import { MintelBlock } from "./types";
|
|
|
|
import type { Block } from "payload";
|
|
|
|
export const ParagraphBlock: MintelBlock = {
|
|
slug: "mintelP",
|
|
labels: {
|
|
singular: "Paragraph",
|
|
plural: "Paragraphs",
|
|
},
|
|
admin: {
|
|
group: "MDX Components",
|
|
},
|
|
ai: {
|
|
name: "Paragraph",
|
|
description:
|
|
"Standard body text paragraph. All body text must be wrapped in this.",
|
|
usageExample:
|
|
"'<Paragraph>\n Mein System ist kein Kostenfaktor, sondern ein <Marker>ROI-Beschleuniger</Marker>.\n</Paragraph>'",
|
|
},
|
|
fields: [
|
|
{
|
|
name: "text",
|
|
type: "textarea",
|
|
required: true,
|
|
admin: {
|
|
components: {
|
|
afterInput: [
|
|
"@mintel/payload-ai/components/FieldGenerators/AiFieldButton#AiFieldButton",
|
|
],
|
|
},
|
|
description: "Geben Sie den mehrzeiligen Text für text ein.",
|
|
},
|
|
},
|
|
],
|
|
};
|