sections
Generated Reference
Section registry contracts and validation helpers for page-builder and site composition flows. This page is generated from core/cms/sections/index.ts against package version 0.8.3 on the 0.8 docs line.
Import
ts
import { createSectionRegistry, validatePageSections } from '@system-core/core/sections'Entry
| Field | Value |
|---|---|
| Import path | @system-core/core/sections |
| Package export | ./sections |
| Source entry | core/cms/sections/index.ts |
| Exported symbols | 24 |
| Runtime file | ./dist/sections.js |
| Types file | ./dist/sections.d.ts |
Use This Surface When
- Use this when building page-builder registries, section renderers, or section validation flows.
- Keep section metadata in the shared package so public sites and admin tooling stay aligned.
- Pair it with
site-clientfor frontend rendering andcmsfor server-driven content workflows.
Public Surface
Functions
| Export | Kind | Source |
|---|---|---|
applyCanonicalPageFlow | function | core/cms/site-builder/index.ts |
createBuiltInSection | function | core/cms/site-builder/index.ts |
createPageFromBuiltInTemplate | function | core/cms/site-builder/index.ts |
createSectionRegistry | function | core/cms/sections/registry.ts |
createSectionsFromPageFlow | function | core/cms/site-builder/index.ts |
getBuiltInWebsiteSection | function | core/cms/site-builder/index.ts |
getBuiltInWebsiteSections | function | core/cms/site-builder/index.ts |
heroContentToSection | function | core/cms/site-builder/index.ts |
heroSectionToContent | function | core/cms/site-builder/index.ts |
validatePageSection | function | core/cms/sections/validation.ts |
validatePageSections | function | core/cms/sections/validation.ts |
Class
| Export | Kind | Source |
|---|---|---|
SectionValidationError | class | core/cms/sections/validation.ts |
Consts
| Export | Kind | Source |
|---|---|---|
BUILT_IN_WEBSITE_SECTION_DEFINITIONS | const | core/cms/site-builder/index.ts |
FOOTER_SETTINGS_DEFAULTS | const | core/cms/sections/footer-schema.ts |
SITE_PAGE_FLOWS | const | core/cms/site-builder/index.ts |
SITE_PAGE_TEMPLATES | const | core/cms/site-builder/index.ts |
SITE_SECTION_GROUPS | const | core/cms/site-builder/index.ts |
Interfaces
| Export | Kind | Source |
|---|---|---|
SectionDefinition | interface | core/cms/types/index.ts |
SectionFieldDef | interface | core/cms/types/index.ts |
SectionRegistry | interface | core/cms/sections/registry.ts |
SectionValidationIssue | interface | core/cms/sections/validation.ts |
SectionValidationOptions | interface | core/cms/sections/validation.ts |
Types
| Export | Kind | Source |
|---|---|---|
SectionFieldType | type | core/cms/types/index.ts |
SectionValidationIssueCode | type | core/cms/sections/validation.ts |