// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually. import type { Aggregate } from "./Aggregate.d.ts"; import type { Expressions } from "./Expressions.d.ts"; import type { Filter } from "./Filter.d.ts"; import type { FilterReducer } from "./FilterReducer.d.ts"; import type { GroupRollupMode } from "./GroupRollupMode.d.ts"; import type { Sort } from "./Sort.d.ts"; import type { SplitRollupMode } from "./SplitRollupMode.d.ts"; import type { Windows } from "./Windows.d.ts"; /** * A derived `Table`'s definition: the `Table` its source `View` reads, and * the config of that `View`; generic over the `table` slot, which is a name * in the workspace `derived_tables` map and a recursive [`TableRef`] when * inlined in a single-panel config. */ export type DerivedTableConfig = { /** * The `Table` this derivation reads, which may itself be another * derived `Table`. */ table: T, group_by: Array, split_by: Array, sort: Array, filter: Array, group_rollup_mode: GroupRollupMode, split_rollup_mode: SplitRollupMode, filter_op?: FilterReducer, expressions: Expressions, windows?: Windows, columns: Array, aggregates: { [key in string]?: Aggregate }, group_by_depth?: number | null, };