@factorialco/f0-react 1.316.0 → 1.316.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.
@@ -458,28 +458,11 @@ declare global {
458
458
  }
459
459
  }
460
460
 
461
- declare module "gridstack" {
462
- interface GridStackWidget {
463
- id?: string;
464
- allowedSizes?: Array<{
465
- w: number;
466
- h: number;
467
- }>;
468
- meta?: Record<string, unknown>;
469
- }
470
- interface GridStackNode {
471
- allowedSizes?: Array<{
472
- w: number;
473
- h: number;
474
- }>;
475
- }
476
- }
477
-
478
461
 
479
462
  declare module "@tiptap/core" {
480
463
  interface Commands<ReturnType> {
481
- aiBlock: {
482
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
464
+ liveCompanion: {
465
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
483
466
  };
484
467
  }
485
468
  }
@@ -487,8 +470,8 @@ declare module "@tiptap/core" {
487
470
 
488
471
  declare module "@tiptap/core" {
489
472
  interface Commands<ReturnType> {
490
- liveCompanion: {
491
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
473
+ aiBlock: {
474
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
492
475
  };
493
476
  }
494
477
  }
@@ -502,6 +485,23 @@ declare module "@tiptap/core" {
502
485
  }
503
486
  }
504
487
 
488
+ declare module "gridstack" {
489
+ interface GridStackWidget {
490
+ id?: string;
491
+ allowedSizes?: Array<{
492
+ w: number;
493
+ h: number;
494
+ }>;
495
+ meta?: Record<string, unknown>;
496
+ }
497
+ interface GridStackNode {
498
+ allowedSizes?: Array<{
499
+ w: number;
500
+ h: number;
501
+ }>;
502
+ }
503
+ }
504
+
505
505
 
506
506
  declare module "@tiptap/core" {
507
507
  interface Commands<ReturnType> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@factorialco/f0-react",
3
- "version": "1.316.0",
3
+ "version": "1.316.1",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,