@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.
package/dist/f0.d.ts CHANGED
@@ -5119,11 +5119,28 @@ declare global {
5119
5119
  }
5120
5120
  }
5121
5121
 
5122
+ declare module "gridstack" {
5123
+ interface GridStackWidget {
5124
+ id?: string;
5125
+ allowedSizes?: Array<{
5126
+ w: number;
5127
+ h: number;
5128
+ }>;
5129
+ meta?: Record<string, unknown>;
5130
+ }
5131
+ interface GridStackNode {
5132
+ allowedSizes?: Array<{
5133
+ w: number;
5134
+ h: number;
5135
+ }>;
5136
+ }
5137
+ }
5138
+
5122
5139
 
5123
5140
  declare module "@tiptap/core" {
5124
5141
  interface Commands<ReturnType> {
5125
- liveCompanion: {
5126
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5142
+ aiBlock: {
5143
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5127
5144
  };
5128
5145
  }
5129
5146
  }
@@ -5131,8 +5148,8 @@ declare module "@tiptap/core" {
5131
5148
 
5132
5149
  declare module "@tiptap/core" {
5133
5150
  interface Commands<ReturnType> {
5134
- aiBlock: {
5135
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
5151
+ liveCompanion: {
5152
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
5136
5153
  };
5137
5154
  }
5138
5155
  }
@@ -5146,23 +5163,6 @@ declare module "@tiptap/core" {
5146
5163
  }
5147
5164
  }
5148
5165
 
5149
- declare module "gridstack" {
5150
- interface GridStackWidget {
5151
- id?: string;
5152
- allowedSizes?: Array<{
5153
- w: number;
5154
- h: number;
5155
- }>;
5156
- meta?: Record<string, unknown>;
5157
- }
5158
- interface GridStackNode {
5159
- allowedSizes?: Array<{
5160
- w: number;
5161
- h: number;
5162
- }>;
5163
- }
5164
- }
5165
-
5166
5166
 
5167
5167
  declare module "@tiptap/core" {
5168
5168
  interface Commands<ReturnType> {
@@ -458,11 +458,28 @@ 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
+
461
478
 
462
479
  declare module "@tiptap/core" {
463
480
  interface Commands<ReturnType> {
464
- liveCompanion: {
465
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
481
+ aiBlock: {
482
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
466
483
  };
467
484
  }
468
485
  }
@@ -470,8 +487,8 @@ declare module "@tiptap/core" {
470
487
 
471
488
  declare module "@tiptap/core" {
472
489
  interface Commands<ReturnType> {
473
- aiBlock: {
474
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
490
+ liveCompanion: {
491
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
475
492
  };
476
493
  }
477
494
  }
@@ -485,23 +502,6 @@ declare module "@tiptap/core" {
485
502
  }
486
503
  }
487
504
 
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.321.0",
3
+ "version": "1.321.1",
4
4
  "main": "dist/f0.js",
5
5
  "typings": "dist/f0.d.ts",
6
6
  "private": false,