@factorialco/f0-react 1.317.2 → 1.318.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.
@@ -6466,11 +6466,28 @@ declare global {
6466
6466
  }
6467
6467
  }
6468
6468
 
6469
+ declare module "gridstack" {
6470
+ interface GridStackWidget {
6471
+ id?: string;
6472
+ allowedSizes?: Array<{
6473
+ w: number;
6474
+ h: number;
6475
+ }>;
6476
+ meta?: Record<string, unknown>;
6477
+ }
6478
+ interface GridStackNode {
6479
+ allowedSizes?: Array<{
6480
+ w: number;
6481
+ h: number;
6482
+ }>;
6483
+ }
6484
+ }
6485
+
6469
6486
 
6470
6487
  declare module "@tiptap/core" {
6471
6488
  interface Commands<ReturnType> {
6472
- liveCompanion: {
6473
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6489
+ aiBlock: {
6490
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6474
6491
  };
6475
6492
  }
6476
6493
  }
@@ -6478,8 +6495,8 @@ declare module "@tiptap/core" {
6478
6495
 
6479
6496
  declare module "@tiptap/core" {
6480
6497
  interface Commands<ReturnType> {
6481
- aiBlock: {
6482
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6498
+ liveCompanion: {
6499
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6483
6500
  };
6484
6501
  }
6485
6502
  }
@@ -6493,21 +6510,9 @@ declare module "@tiptap/core" {
6493
6510
  }
6494
6511
  }
6495
6512
 
6496
- declare module "gridstack" {
6497
- interface GridStackWidget {
6498
- id?: string;
6499
- allowedSizes?: Array<{
6500
- w: number;
6501
- h: number;
6502
- }>;
6503
- meta?: Record<string, unknown>;
6504
- }
6505
- interface GridStackNode {
6506
- allowedSizes?: Array<{
6507
- w: number;
6508
- h: number;
6509
- }>;
6510
- }
6513
+
6514
+ declare namespace Calendar {
6515
+ var displayName: string;
6511
6516
  }
6512
6517
 
6513
6518
 
@@ -6518,8 +6523,3 @@ declare module "@tiptap/core" {
6518
6523
  };
6519
6524
  }
6520
6525
  }
6521
-
6522
-
6523
- declare namespace Calendar {
6524
- var displayName: string;
6525
- }