@factorialco/f0-react 3.0.0 → 3.0.1

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/f0.d.ts CHANGED
@@ -12075,6 +12075,18 @@ export declare type MentionsConfig = {
12075
12075
  users: MentionedUser[];
12076
12076
  };
12077
12077
 
12078
+ /**
12079
+ * Write counterpart of `resolveDataCollectionFilters`: returns a new storage
12080
+ * object with `filters` replaced, writing the SAME slot the resolver reads —
12081
+ * when a per-visualization override exists for the persisted visualization,
12082
+ * that slot is updated too, so a subsequent resolve sees the new filters
12083
+ * instead of the stale override winning.
12084
+ *
12085
+ * Pure; the rest of the persisted state (sortings, search, settings, …) is
12086
+ * preserved untouched.
12087
+ */
12088
+ export declare const mergeDataCollectionFilters: <CurrentFiltersState extends FiltersState<FiltersDefinition> = FiltersState<FiltersDefinition>>(storage: DataCollectionStorage<CurrentFiltersState>, filters: CurrentFiltersState) => DataCollectionStorage<CurrentFiltersState>;
12089
+
12078
12090
  export declare interface Message {
12079
12091
  userId: string;
12080
12092
  text: string;
@@ -16382,9 +16394,9 @@ declare namespace Calendar {
16382
16394
 
16383
16395
  declare module "@tiptap/core" {
16384
16396
  interface Commands<ReturnType> {
16385
- aiBlock: {
16386
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
16387
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
16397
+ enhanceHighlight: {
16398
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
16399
+ clearEnhanceHighlight: () => ReturnType;
16388
16400
  };
16389
16401
  }
16390
16402
  }
@@ -16392,9 +16404,9 @@ declare module "@tiptap/core" {
16392
16404
 
16393
16405
  declare module "@tiptap/core" {
16394
16406
  interface Commands<ReturnType> {
16395
- enhanceHighlight: {
16396
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
16397
- clearEnhanceHighlight: () => ReturnType;
16407
+ aiBlock: {
16408
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
16409
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
16398
16410
  };
16399
16411
  }
16400
16412
  }