@factorialco/f0-react 1.303.6 → 1.304.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.
package/dist/f0.d.ts CHANGED
@@ -4683,11 +4683,28 @@ declare global {
4683
4683
  }
4684
4684
  }
4685
4685
 
4686
+ declare module "gridstack" {
4687
+ interface GridStackWidget {
4688
+ id?: string;
4689
+ allowedSizes?: Array<{
4690
+ w: number;
4691
+ h: number;
4692
+ }>;
4693
+ meta?: Record<string, unknown>;
4694
+ }
4695
+ interface GridStackNode {
4696
+ allowedSizes?: Array<{
4697
+ w: number;
4698
+ h: number;
4699
+ }>;
4700
+ }
4701
+ }
4702
+
4686
4703
 
4687
4704
  declare module "@tiptap/core" {
4688
4705
  interface Commands<ReturnType> {
4689
- liveCompanion: {
4690
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4706
+ aiBlock: {
4707
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4691
4708
  };
4692
4709
  }
4693
4710
  }
@@ -4695,8 +4712,8 @@ declare module "@tiptap/core" {
4695
4712
 
4696
4713
  declare module "@tiptap/core" {
4697
4714
  interface Commands<ReturnType> {
4698
- transcript: {
4699
- insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
4715
+ liveCompanion: {
4716
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
4700
4717
  };
4701
4718
  }
4702
4719
  }
@@ -4704,29 +4721,12 @@ declare module "@tiptap/core" {
4704
4721
 
4705
4722
  declare module "@tiptap/core" {
4706
4723
  interface Commands<ReturnType> {
4707
- aiBlock: {
4708
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
4724
+ transcript: {
4725
+ insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
4709
4726
  };
4710
4727
  }
4711
4728
  }
4712
4729
 
4713
- declare module "gridstack" {
4714
- interface GridStackWidget {
4715
- id?: string;
4716
- allowedSizes?: Array<{
4717
- w: number;
4718
- h: number;
4719
- }>;
4720
- meta?: Record<string, unknown>;
4721
- }
4722
- interface GridStackNode {
4723
- allowedSizes?: Array<{
4724
- w: number;
4725
- h: number;
4726
- }>;
4727
- }
4728
- }
4729
-
4730
4730
 
4731
4731
  declare namespace Calendar {
4732
4732
  var displayName: string;
@@ -450,11 +450,28 @@ declare global {
450
450
  }
451
451
  }
452
452
 
453
+ declare module "gridstack" {
454
+ interface GridStackWidget {
455
+ id?: string;
456
+ allowedSizes?: Array<{
457
+ w: number;
458
+ h: number;
459
+ }>;
460
+ meta?: Record<string, unknown>;
461
+ }
462
+ interface GridStackNode {
463
+ allowedSizes?: Array<{
464
+ w: number;
465
+ h: number;
466
+ }>;
467
+ }
468
+ }
469
+
453
470
 
454
471
  declare module "@tiptap/core" {
455
472
  interface Commands<ReturnType> {
456
- liveCompanion: {
457
- insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
473
+ aiBlock: {
474
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
458
475
  };
459
476
  }
460
477
  }
@@ -462,8 +479,8 @@ declare module "@tiptap/core" {
462
479
 
463
480
  declare module "@tiptap/core" {
464
481
  interface Commands<ReturnType> {
465
- transcript: {
466
- insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
482
+ liveCompanion: {
483
+ insertLiveCompanion: (data: LiveCompanionData, config?: LiveCompanionConfig) => ReturnType;
467
484
  };
468
485
  }
469
486
  }
@@ -471,29 +488,12 @@ declare module "@tiptap/core" {
471
488
 
472
489
  declare module "@tiptap/core" {
473
490
  interface Commands<ReturnType> {
474
- aiBlock: {
475
- insertAIBlock: (data: AIBlockData, config: AIBlockConfigWithLabels) => ReturnType;
491
+ transcript: {
492
+ insertTranscript: (data: TranscriptData, config?: TranscriptConfig) => ReturnType;
476
493
  };
477
494
  }
478
495
  }
479
496
 
480
- declare module "gridstack" {
481
- interface GridStackWidget {
482
- id?: string;
483
- allowedSizes?: Array<{
484
- w: number;
485
- h: number;
486
- }>;
487
- meta?: Record<string, unknown>;
488
- }
489
- interface GridStackNode {
490
- allowedSizes?: Array<{
491
- w: number;
492
- h: number;
493
- }>;
494
- }
495
- }
496
-
497
497
 
498
498
  declare namespace Calendar {
499
499
  var displayName: string;