/** * Options for serializing a window of data from a [`View`]. * * Some fields of [`ViewWindow`] are only applicable to specific methods of * [`View`]. */ export type ViewWindow = { start_row?: number; start_col?: number; end_row?: number; end_col?: number; id?: boolean; index?: boolean; /** * Only impacts [`View::to_csv`] */ formatted?: boolean; /** * Only impacts [`View::to_arrow`] */ compression?: string; /** * When `true`, group-by columns use legacy `"colname (Group by N)"` * naming. When `false`, they use `__ROW_PATH_N__` naming consistent * with the SQL backend. Defaults to `true` for backwards compatibility. */ emit_legacy_row_path_names?: boolean; };