Skip to main content

Interface: PuckData

Defined in: puckData.types.ts:18

Puck's whole editor state for one page: top-level components in order, and the page-level fields Puck hangs off root.props — where the adapter keeps DocumentMeta. zones is Puck's legacy DropZone storage; the studio's config is slot-fields-only, so nothing here should ever populate it, and fromPuckData refuses a Data that arrives with one filled.

Properties

content

content: PuckComponentData[]

Defined in: puckData.types.ts:19


root

root: object

Defined in: puckData.types.ts:20

props?

optional props?: Record<string, unknown>


zones?

optional zones?: Record<string, PuckComponentData[]>

Defined in: puckData.types.ts:21