|
1 | 1 | import type { |
2 | 2 | RowData, |
3 | | - RowModel, |
4 | | - Table, |
5 | 3 | TableFeature, |
6 | 4 | TableMeta, |
7 | 5 | TableOptions, |
@@ -42,12 +40,6 @@ export interface TableOptions_Core<TData extends RowData> { |
42 | 40 | * @link [Guide](https://tanstack.com/table/v8/docs/guide/tables) |
43 | 41 | */ |
44 | 42 | debugTable?: boolean |
45 | | - /** |
46 | | - * This required option is a factory for a function that computes and returns the core row model for the table. |
47 | | - * @link [API Docs](https://tanstack.com/table/v8/docs/api/core/table#getcorerowmodel) |
48 | | - * @link [Guide](https://tanstack.com/table/v8/docs/guide/tables) |
49 | | - */ |
50 | | - getCoreRowModel: (table: Table<any>) => () => RowModel<any> |
51 | 43 | /** |
52 | 44 | * Use this option to optionally pass initial state to the table. This state will be used when resetting various table states either automatically by the table (eg. `options.autoResetPageIndex`) or via functions like `table.resetRowSelection()`. Most reset function allow you optionally pass a flag to reset to a blank/default state instead of the initial state. |
53 | 45 | * |
@@ -105,20 +97,7 @@ export interface Table_CoreProperties<TData extends RowData> { |
105 | 97 |
|
106 | 98 | export interface Table_Core<TData extends RowData> |
107 | 99 | extends Table_CoreProperties<TData> { |
108 | | - _getCoreRowModel?: () => RowModel<TData> |
109 | 100 | _queue: (cb: () => void) => void |
110 | | - /** |
111 | | - * Returns the core row model before any processing has been applied. |
112 | | - * @link [API Docs](https://tanstack.com/table/v8/docs/api/core/table#getcorerowmodel) |
113 | | - * @link [Guide](https://tanstack.com/table/v8/docs/guide/tables) |
114 | | - */ |
115 | | - getCoreRowModel: () => RowModel<TData> |
116 | | - /** |
117 | | - * Returns the final model after all processing from other used features has been applied. This is the row model that is most commonly used for rendering. |
118 | | - * @link [API Docs](https://tanstack.com/table/v8/docs/api/core/table#getrowmodel) |
119 | | - * @link [Guide](https://tanstack.com/table/v8/docs/guide/tables) |
120 | | - */ |
121 | | - getRowModel: () => RowModel<TData> |
122 | 101 | /** |
123 | 102 | * Call this function to get the table's current state. It's recommended to use this function and its state, especially when managing the table state manually. It is the exact same state used internally by the table for every feature and function it provides. |
124 | 103 | * @link [API Docs](https://tanstack.com/table/v8/docs/api/core/table#getstate) |
|
0 commit comments