@factorialco/f0-react 1.319.0 → 1.319.2

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.
@@ -6405,11 +6405,28 @@ declare global {
6405
6405
  }
6406
6406
  }
6407
6407
 
6408
+ declare module "gridstack" {
6409
+ interface GridStackWidget {
6410
+ id?: string;
6411
+ allowedSizes?: Array<{
6412
+ w: number;
6413
+ h: number;
6414
+ }>;
6415
+ meta?: Record<string, unknown>;
6416
+ }
6417
+ interface GridStackNode {
6418
+ allowedSizes?: Array<{
6419
+ w: number;
6420
+ h: number;
6421
+ }>;
6422
+ }
6423
+ }
6424
+
6408
6425
 
6409
6426
  declare module "@tiptap/core" {
6410
6427
  interface Commands<ReturnType> {
6411
- liveCompanion: {
6412
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6428
+ aiBlock: {
6429
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6413
6430
  };
6414
6431
  }
6415
6432
  }
@@ -6417,8 +6434,8 @@ declare module "@tiptap/core" {
6417
6434
 
6418
6435
  declare module "@tiptap/core" {
6419
6436
  interface Commands<ReturnType> {
6420
- aiBlock: {
6421
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
6437
+ liveCompanion: {
6438
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
6422
6439
  };
6423
6440
  }
6424
6441
  }
@@ -6432,23 +6449,6 @@ declare module "@tiptap/core" {
6432
6449
  }
6433
6450
  }
6434
6451
 
6435
- declare module "gridstack" {
6436
- interface GridStackWidget {
6437
- id?: string;
6438
- allowedSizes?: Array<{
6439
- w: number;
6440
- h: number;
6441
- }>;
6442
- meta?: Record<string, unknown>;
6443
- }
6444
- interface GridStackNode {
6445
- allowedSizes?: Array<{
6446
- w: number;
6447
- h: number;
6448
- }>;
6449
- }
6450
- }
6451
-
6452
6452
 
6453
6453
  declare module "@tiptap/core" {
6454
6454
  interface Commands<ReturnType> {