@bfrs/agentic-components 0.7.2 → 0.7.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.
@@ -1,8 +1,16 @@
1
1
  import { SavedView } from './DataTable.types';
2
2
  import { ViewStore } from './viewStore';
3
+ import { SaveViewApiConfig } from './saveViewApi';
3
4
  export type UseSavedViewsOptions = {
4
5
  /** Optional read adapter. Defaults to the localStorage-backed store for `screenName`. */
5
6
  store?: ViewStore;
7
+ /**
8
+ * Saved-view API config. When supplied, the primary view is hydrated with its
9
+ * full columns/filters via the API — the local mirror only holds the list
10
+ * summary — so a default view's columns/filters can be applied on load.
11
+ * Memoize this object so the hook doesn't re-fetch every render.
12
+ */
13
+ saveApi?: SaveViewApiConfig;
6
14
  /** Set false to keep the hook idle while a screen key is still resolving. */
7
15
  enabled?: boolean;
8
16
  };