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