@factorialco/f0-react 1.197.1 → 1.198.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.
@@ -2572,7 +2572,10 @@ declare type KanbanVisualizationOptions<Record extends RecordType, _Filters exte
2572
2572
  icon: IconType;
2573
2573
  property: CardMetadataProperty;
2574
2574
  }>;
2575
- onMove?: (fromLaneId: string, toLaneId: string, sourceId: string, toIndex: number | null) => Promise<void>;
2575
+ onMove?: (fromLaneId: string, toLaneId: string, sourceRecord: Record, destinyRecord: {
2576
+ record: Record;
2577
+ position: "above" | "below";
2578
+ }) => Promise<void>;
2576
2579
  };
2577
2580
 
2578
2581
  /**
@@ -4825,8 +4828,8 @@ declare global {
4825
4828
 
4826
4829
  declare module "@tiptap/core" {
4827
4830
  interface Commands<ReturnType> {
4828
- liveCompanion: {
4829
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4831
+ aiBlock: {
4832
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4830
4833
  };
4831
4834
  }
4832
4835
  }
@@ -4834,8 +4837,8 @@ declare module "@tiptap/core" {
4834
4837
 
4835
4838
  declare module "@tiptap/core" {
4836
4839
  interface Commands<ReturnType> {
4837
- aiBlock: {
4838
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4840
+ liveCompanion: {
4841
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4839
4842
  };
4840
4843
  }
4841
4844
  }
@@ -4850,6 +4853,11 @@ declare module "@tiptap/core" {
4850
4853
  }
4851
4854
 
4852
4855
 
4856
+ declare namespace Calendar {
4857
+ var displayName: string;
4858
+ }
4859
+
4860
+
4853
4861
  declare module "@tiptap/core" {
4854
4862
  interface Commands<ReturnType> {
4855
4863
  moodTracker: {
@@ -4857,8 +4865,3 @@ declare module "@tiptap/core" {
4857
4865
  };
4858
4866
  }
4859
4867
  }
4860
-
4861
-
4862
- declare namespace Calendar {
4863
- var displayName: string;
4864
- }