@colisweb/rescript-toolkit 5.42.2 → 5.42.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -129,6 +129,8 @@ and header<'filterVariant> = {
|
|
|
129
129
|
id: string,
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
type columnInstance = {setFilterValue: 'a. ('a) => unit}
|
|
133
|
+
|
|
132
134
|
type rec tableInstance<'tableData, 'filterVariant> = {
|
|
133
135
|
getHeaderGroups: unit => array<headerGroup<'filterVariant>>,
|
|
134
136
|
getRowModel: unit => rowModel<'filterVariant>,
|
|
@@ -148,6 +150,7 @@ type rec tableInstance<'tableData, 'filterVariant> = {
|
|
|
148
150
|
tableOptions<'tableData, 'filterVariant> => tableOptions<'tableData, 'filterVariant>
|
|
149
151
|
) => unit,
|
|
150
152
|
setColumnFilters: (array<filterState> => array<filterState>) => unit,
|
|
153
|
+
getColumn: ( string) => option<columnInstance>,
|
|
151
154
|
}
|
|
152
155
|
and tableOptions<'tableData, 'filterVariant> = {
|
|
153
156
|
data: array<'tableData>,
|