cms.c2sgmbh/src/blocks/index.ts
Martin Porwoll 6692af575e fix(BlogWoman): resolve RSC error by adding system table columns
Root cause: payload_locked_documents_rels table was missing columns
for new collections, causing "column does not exist" errors during
the dashboard query after login.

Changes:
- Enable Favorites and Series collections in payload.config.ts
- Enable all BlogWoman blocks (FavoritesBlock, SeriesBlock, etc.)
- Add migration with proper system table updates:
  - favorites_id column in payload_locked_documents_rels
  - series_id column in payload_locked_documents_rels
- Include related migrations for Pages blocks and VideoEmbed

Key insight: When adding new collections, the migration must also
update payload_locked_documents_rels with a reference column.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-09 01:21:45 +00:00

56 lines
2.2 KiB
TypeScript

export { HeroBlock } from './HeroBlock'
export { HeroSliderBlock } from './HeroSliderBlock'
export { ImageSliderBlock } from './ImageSliderBlock'
export { TextBlock } from './TextBlock'
export { ImageTextBlock } from './ImageTextBlock'
export { CardGridBlock } from './CardGridBlock'
export { QuoteBlock } from './QuoteBlock'
export { CTABlock } from './CTABlock'
export { ContactFormBlock } from './ContactFormBlock'
export { TimelineBlock } from './TimelineBlock'
export { DividerBlock } from './DividerBlock'
export { VideoBlock } from './VideoBlock'
// Neue universelle Blocks
export { PostsListBlock } from './PostsListBlock'
export { TestimonialsBlock } from './TestimonialsBlock'
export { NewsletterBlock } from './NewsletterBlock'
export { ProcessStepsBlock } from './ProcessStepsBlock'
export { FAQBlock } from './FAQBlock'
export { TeamBlock } from './TeamBlock'
export { ServicesBlock } from './ServicesBlock'
// Blogging Blocks
export { AuthorBioBlock } from './AuthorBioBlock'
export { RelatedPostsBlock } from './RelatedPostsBlock'
export { ShareButtonsBlock } from './ShareButtonsBlock'
export { TableOfContentsBlock } from './TableOfContentsBlock'
// Team Blocks
export { TeamFilterBlock } from './TeamFilterBlock'
export { OrgChartBlock } from './OrgChartBlock'
// New Feature Blocks
export { LocationsBlock } from './LocationsBlock'
export { LogoGridBlock } from './LogoGridBlock'
export { StatsBlock } from './StatsBlock'
export { JobsBlock } from './JobsBlock'
export { DownloadsBlock } from './DownloadsBlock'
export { MapBlock } from './MapBlock'
// Events & Interactive Blocks
export { EventsBlock } from './EventsBlock'
export { PricingBlock } from './PricingBlock'
export { TabsBlock } from './TabsBlock'
export { AccordionBlock } from './AccordionBlock'
export { ComparisonBlock } from './ComparisonBlock'
// Tenant-specific Blocks
export { BeforeAfterBlock } from './BeforeAfterBlock'
// BlogWoman Blocks - ENABLED
export { FavoritesBlock } from './FavoritesBlock'
export { SeriesBlock } from './SeriesBlock'
export { SeriesDetailBlock } from './SeriesDetailBlock'
export { VideoEmbedBlock } from './VideoEmbedBlock'
export { FeaturedContentBlock } from './FeaturedContentBlock'