@kronor/dtv 7.5.2 → 7.6.0
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/dist/index.es.js +1174 -1172
- package/dist/types/App.d.ts +5 -1
- package/dist/types/framework/actions.d.ts +4 -3
- package/package.json +1 -1
package/dist/types/App.d.ts
CHANGED
|
@@ -66,7 +66,11 @@ export interface AppProps {
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
export type DTVAPI = {
|
|
69
|
-
/**
|
|
69
|
+
/**
|
|
70
|
+
* Forces the table to fetch data for the current view + filters, staying on
|
|
71
|
+
* the page the user is on. Intended for refreshing after an out-of-band
|
|
72
|
+
* mutation such as a mass action.
|
|
73
|
+
*/
|
|
70
74
|
fetchData: () => void;
|
|
71
75
|
rowSelection: {
|
|
72
76
|
/** Resets any current row selection (no-op if row selection is disabled). */
|
|
@@ -23,9 +23,10 @@ export interface ActionAPI {
|
|
|
23
23
|
*/
|
|
24
24
|
setFilterState: (next: FilterState) => void;
|
|
25
25
|
/**
|
|
26
|
-
* Refetch the current view using the *applied* filters
|
|
27
|
-
* changes made via `setFilterState` are
|
|
28
|
-
* those
|
|
26
|
+
* Refetch the current view using the *applied* filters, staying on the page
|
|
27
|
+
* the user is on. Any pending draft changes made via `setFilterState` are
|
|
28
|
+
* ignored — use `applyFilters` for those (which also returns to page one,
|
|
29
|
+
* since a new filter invalidates the cursor history).
|
|
29
30
|
*/
|
|
30
31
|
refetch: () => void;
|
|
31
32
|
/**
|