// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Filter } from "./Filter.js"; import type { Layout } from "./Layout.js"; import type { ViewerConfigUpdate } from "./ViewerConfigUpdate.js"; /** * The parse target of a whole-element config in * [`PerspectiveViewerElement::restore`]. Mirrors [`WorkspaceConfig`], * but `panels` entries are full [`ViewerConfigUpdate`]s so a stray per-panel * `settings` can be detected (warned, then ignored — `create_panel` strips * it). */ export type WorkspaceConfigUpdate = { active?: string, layout?: Layout, panels: { [key in string]?: ViewerConfigUpdate }, /** * The element-level global (master/detail cross-) filters to re-apply as * a transient overlay on every DETAIL panel. Restored as one * unattributed bucket: the next selection on any master replaces it. */ global_filters?: Array, /** * The master (filter-source) panels, by saved `panels` key. An id not in * `panels` warns and is dropped. */ masters?: Array, };