Skip to content

charton API


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

Interface: LayoutSummary ​

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

One saved layout as listLayouts returns it: what a layout picker shows without loading the layout (#860). A picker row needs a name to read, when it was saved to sort and date it, and what the chart shows to tell similar names apart; nothing else, so adapters keep it small.

Properties ​

id ​

id: string

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


name ​

name: string

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


preview? ​

optional preview?: LayoutPreview

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

What it shows, when the layout names a symbol or an interval.


savedAt ​

savedAt: number

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

When it was saved, unix seconds.