@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.
@@ -66,7 +66,11 @@ export interface AppProps {
66
66
  };
67
67
  }
68
68
  export type DTVAPI = {
69
- /** Forces the table to fetch data for the current view + filters. */
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. Any pending draft
27
- * changes made via `setFilterState` are ignored — use `applyFilters` for
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kronor/dtv",
3
- "version": "7.5.2",
3
+ "version": "7.6.0",
4
4
  "description": "Schema-driven, declarative table views with advanced filtering, data fetching and AI-assisted filter generation.",
5
5
  "repository": {
6
6
  "type": "git",