Skip to content

BlockSchema

const BlockSchema: z.ZodType<any>

Defined in: packages/core/src/schemas/page.schema.ts:131

Union of all block types.

Blocks are the building blocks of pages. Each page contains an array of blocks that are rendered in order.

Block Types:

  • content - Rich text and media
  • map - Standard map
  • map-fullpage - Full viewport map
  • scrollytelling - Narrative map story
  • mixed - Layout container for other blocks