Interface TimeframePreferences

Share one handle across panes. Selection belongs to each pane, never this store.

interface TimeframePreferences {
    addCustom(code: string): void;
    custom(): readonly string[];
    destroy(): void;
    favorites(): readonly string[];
    reload(): void;
    removeCustom(code: string): void;
    subscribe(listener: () => void): () => void;
    toggle(code: string): void;
}

Methods