* Reapply "feat: add text & numeric filters to insights routing responses (#18016)"
This reverts commit 49070b96ae.
* support SINGLE_SELECT
* fix type error
* put back ts-expect-error
* remove playground
---------
Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
19 lines
547 B
TypeScript
19 lines
547 B
TypeScript
import "@tanstack/react-table";
|
|
|
|
import type { ColumnFilterMeta } from "@calcom/features/data-table";
|
|
|
|
declare module "@tanstack/table-core" {
|
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
sticky?: {
|
|
position: "left" | "right";
|
|
gap?: number;
|
|
};
|
|
filter?: ColumnFilterMeta;
|
|
|
|
// `autoWidth` can make the column size dynamic,
|
|
// allowing each row to have a different width based on its content.
|
|
// As a result, scrolling may be flaky, unless the content size is consistent.
|
|
autoWidth?: boolean;
|
|
}
|
|
}
|