What restoreState actually applied, so a caller can finish the job.

interface RestoreReport {
    applied: boolean;
    indicators: number;
    reason?: string;
    series: SeriesState[];
}

Properties

applied: boolean

True when the payload was a recognised, applicable state object.

indicators: number

Indicator instances recreated.

reason?: string

Set when the payload was rejected.

series: SeriesState[]

Series descriptors found in the state — the app rebuilds these itself.