Skip to content

charton API


charton API / @chart-on/core / index / LayoutEntry

Interface: LayoutEntry ​

Defined in: packages/core/src/storage/types.ts:41

What saveLayout stores: the layout, and its summary for listLayouts. Build it with layoutEntry(). Adapters store the summary as it is, with the id, and never read fields out of the layout. id is left out for a new layout, and the adapter picks one.

Properties ​

id? ​

optional id?: string

Defined in: packages/core/src/storage/types.ts:42


layout ​

layout: ChartLayout

Defined in: packages/core/src/storage/types.ts:44


summary ​

summary: Omit<LayoutSummary, "id">

Defined in: packages/core/src/storage/types.ts:43