@factorialco/f0-react 2.29.0 → 2.30.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/ai.d.ts CHANGED
@@ -4195,9 +4195,9 @@ declare module "gridstack" {
4195
4195
 
4196
4196
  declare module "@tiptap/core" {
4197
4197
  interface Commands<ReturnType> {
4198
- aiBlock: {
4199
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4200
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4198
+ enhanceHighlight: {
4199
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
4200
+ clearEnhanceHighlight: () => ReturnType;
4201
4201
  };
4202
4202
  }
4203
4203
  }
@@ -4205,9 +4205,9 @@ declare module "@tiptap/core" {
4205
4205
 
4206
4206
  declare module "@tiptap/core" {
4207
4207
  interface Commands<ReturnType> {
4208
- enhanceHighlight: {
4209
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
4210
- clearEnhanceHighlight: () => ReturnType;
4208
+ aiBlock: {
4209
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
4210
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
4211
4211
  };
4212
4212
  }
4213
4213
  }
@@ -4224,8 +4224,10 @@ declare module "@tiptap/core" {
4224
4224
 
4225
4225
  declare module "@tiptap/core" {
4226
4226
  interface Commands<ReturnType> {
4227
- transcript: {
4228
- insertTranscript: (data: TranscriptData) => ReturnType;
4227
+ videoEmbed: {
4228
+ setVideoEmbed: (options: {
4229
+ src: string;
4230
+ }) => ReturnType;
4229
4231
  };
4230
4232
  }
4231
4233
  }
@@ -4233,10 +4235,8 @@ declare module "@tiptap/core" {
4233
4235
 
4234
4236
  declare module "@tiptap/core" {
4235
4237
  interface Commands<ReturnType> {
4236
- videoEmbed: {
4237
- setVideoEmbed: (options: {
4238
- src: string;
4239
- }) => ReturnType;
4238
+ transcript: {
4239
+ insertTranscript: (data: TranscriptData) => ReturnType;
4240
4240
  };
4241
4241
  }
4242
4242
  }
@@ -2698,7 +2698,7 @@ declare type DateNavigatorFilterDefinition = NavigationFilterDefinitionBase<Date
2698
2698
  type: "date-navigator";
2699
2699
  } & DateNavigationOptions_2;
2700
2700
 
2701
- declare type DatePickerCompareTo = Record<GranularityDefinitionKey, CompareToDef[]>;
2701
+ declare type DatePickerCompareTo = Partial<Record<GranularityDefinitionKey, CompareToDef[]>>;
2702
2702
 
2703
2703
  declare interface DatePickerPopupProps {
2704
2704
  onSelect?: (value: DatePickerValue | undefined) => void;
@@ -5033,7 +5033,15 @@ export declare interface GranularityDefinition {
5033
5033
 
5034
5034
  export declare type GranularityDefinitionKey = keyof typeof granularityDefinitions;
5035
5035
 
5036
- export declare const granularityDefinitions: Record<string, GranularityDefinition>;
5036
+ export declare const granularityDefinitions: {
5037
+ readonly day: GranularityDefinition;
5038
+ readonly week: GranularityDefinition;
5039
+ readonly month: GranularityDefinition;
5040
+ readonly quarter: GranularityDefinition;
5041
+ readonly halfyear: GranularityDefinition;
5042
+ readonly year: GranularityDefinition;
5043
+ readonly range: GranularityDefinition;
5044
+ };
5037
5045
 
5038
5046
  export declare type GranularityDefinitionSimple = Pick<GranularityDefinition, "toRangeString" | "toString">;
5039
5047
 
@@ -7545,7 +7553,7 @@ export declare type TabItem = {
7545
7553
 
7546
7554
  declare type TableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, TableVisualizationOptions<R, Filters, Sortings, Summaries>>;
7547
7555
 
7548
- declare type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width"> & {
7556
+ declare type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width" | "minWidth"> & {
7549
7557
  /**
7550
7558
  * Optional summary configuration for this column
7551
7559
  * References a key in the Summaries definition, similar to how sorting works
@@ -7582,7 +7590,7 @@ declare type TableColumnDefinition<R extends RecordType, Sortings extends Sortin
7582
7590
  headerGroupId?: string;
7583
7591
  };
7584
7592
 
7585
- declare function TableHead({ children, width, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
7593
+ declare function TableHead({ children, width, minWidth, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
7586
7594
 
7587
7595
  declare interface TableHeadProps {
7588
7596
  children: React.ReactNode;
@@ -7591,6 +7599,12 @@ declare interface TableHeadProps {
7591
7599
  * @default "auto"
7592
7600
  */
7593
7601
  width?: ColumnWidth;
7602
+ /**
7603
+ * Optional minimum width for the header cell. When provided, overrides the
7604
+ * minWidth derived from `width`, allowing the column to grow past `width`
7605
+ * while never shrinking below this value.
7606
+ */
7607
+ minWidth?: ColumnWidth;
7594
7608
  /**
7595
7609
  * When true, the header cell will stick in the specified position when scrolling horizontally
7596
7610
  * @default undefined
@@ -8494,6 +8508,12 @@ declare type WithOptionalSorting<R extends RecordType, Sortings extends Sortings
8494
8508
  * The width of the column. If not provided, the width will be "auto"
8495
8509
  */
8496
8510
  width?: number;
8511
+ /**
8512
+ * Optional minimum width for the column in pixels. When provided, overrides
8513
+ * the minWidth derived from `width`. Useful for columns with no fixed
8514
+ * `width` that should not shrink below a given size.
8515
+ */
8516
+ minWidth?: number;
8497
8517
  };
8498
8518
 
8499
8519
  declare type WithOptionalSorting_2<Record, Sortings extends SortingsDefinition> = PropertyDefinition_2<Record> & {
@@ -8549,9 +8569,9 @@ declare module "gridstack" {
8549
8569
 
8550
8570
  declare module "@tiptap/core" {
8551
8571
  interface Commands<ReturnType> {
8552
- aiBlock: {
8553
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8554
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8572
+ enhanceHighlight: {
8573
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
8574
+ clearEnhanceHighlight: () => ReturnType;
8555
8575
  };
8556
8576
  }
8557
8577
  }
@@ -8559,9 +8579,9 @@ declare module "@tiptap/core" {
8559
8579
 
8560
8580
  declare module "@tiptap/core" {
8561
8581
  interface Commands<ReturnType> {
8562
- enhanceHighlight: {
8563
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
8564
- clearEnhanceHighlight: () => ReturnType;
8582
+ aiBlock: {
8583
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
8584
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
8565
8585
  };
8566
8586
  }
8567
8587
  }
@@ -8578,8 +8598,10 @@ declare module "@tiptap/core" {
8578
8598
 
8579
8599
  declare module "@tiptap/core" {
8580
8600
  interface Commands<ReturnType> {
8581
- transcript: {
8582
- insertTranscript: (data: TranscriptData) => ReturnType;
8601
+ videoEmbed: {
8602
+ setVideoEmbed: (options: {
8603
+ src: string;
8604
+ }) => ReturnType;
8583
8605
  };
8584
8606
  }
8585
8607
  }
@@ -8587,10 +8609,8 @@ declare module "@tiptap/core" {
8587
8609
 
8588
8610
  declare module "@tiptap/core" {
8589
8611
  interface Commands<ReturnType> {
8590
- videoEmbed: {
8591
- setVideoEmbed: (options: {
8592
- src: string;
8593
- }) => ReturnType;
8612
+ transcript: {
8613
+ insertTranscript: (data: TranscriptData) => ReturnType;
8594
8614
  };
8595
8615
  }
8596
8616
  }
@@ -2,8 +2,8 @@ import { g as da, B as ua, h as fa, i as ma, j as At, k as De, l as ha, m as p,
2
2
  import { bQ as Lc, bP as Ec, c0 as _c, bM as Oc, bN as Dc, bF as Tc, bG as zc, c1 as Pc, bH as Bc, bO as Rc, bY as $c, bZ as Wc, bI as Mc, bS as jc, bR as Vc, bJ as Gc, bK as Hc, b_ as Uc, c2 as Kc, b$ as qc, bX as Yc, bU as Zc, bW as Xc, bT as Jc, bL as Qc, bV as ed } from "./F0CanvasPanel-8cFWNhbQ.js";
3
3
  import { jsx as e, jsxs as o, Fragment as U } from "react/jsx-runtime";
4
4
  import se, { forwardRef as j, useRef as G, useTransition as Hr, useState as _, useLayoutEffect as Fn, useId as ot, useContext as Ke, createContext as Nt, useEffect as $, useCallback as Q, useMemo as q, Fragment as Ur, isValidElement as Kr, cloneElement as An, Children as Ln } from "react";
5
- import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-xx6dGFms.js";
6
- import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-xx6dGFms.js";
5
+ import { C as qr, P as Yr, g as En, c as Zr, a as _n, F as ct, f as Xr, M as Jr, b as Qr, R as Dt, d as On, u as el, e as Dn, S as tl, A as nl, B as al, L as rl, h as ll, V as il, i as sl, j as Tt, k as ol, l as cl, O as dl } from "./useDataCollectionSource-DM1ZthY3.js";
6
+ import { r as nd, s as ad, p as rd, H as ld, t as id, z as sd, a5 as od, G as cd, q as dd, o as ud, Q as fd, ab as md, U as hd, W as pd, v as gd, a7 as bd, a8 as xd, a6 as vd, a9 as wd, N as yd, X as Nd, a2 as Cd, a4 as kd, w as Sd, y as Id, D as Fd, J as Ad, aa as Ld, K as Ed, T as _d, x as Od, E as Dd, m as Td, n as zd, Z as Pd, _ as Bd, a3 as Rd, I as $d, $ as Wd, a0 as Md, Y as jd, a1 as Vd } from "./useDataCollectionSource-DM1ZthY3.js";
7
7
  const ul = da("Search", [
8
8
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
9
9
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
package/dist/f0.d.ts CHANGED
@@ -3861,7 +3861,7 @@ declare type DateNavigatorFilterDefinition = NavigationFilterDefinitionBase<Date
3861
3861
  type: "date-navigator";
3862
3862
  } & DateNavigationOptions_2;
3863
3863
 
3864
- declare type DatePickerCompareTo = Record<GranularityDefinitionKey, CompareToDef[]>;
3864
+ declare type DatePickerCompareTo = Partial<Record<GranularityDefinitionKey, CompareToDef[]>>;
3865
3865
 
3866
3866
  declare interface DatePickerPopupProps {
3867
3867
  onSelect?: (value: DatePickerValue_2 | undefined) => void;
@@ -10497,7 +10497,15 @@ export declare interface GranularityDefinition {
10497
10497
 
10498
10498
  export declare type GranularityDefinitionKey = keyof typeof granularityDefinitions;
10499
10499
 
10500
- export declare const granularityDefinitions: Record<string, GranularityDefinition>;
10500
+ export declare const granularityDefinitions: {
10501
+ readonly day: GranularityDefinition;
10502
+ readonly week: GranularityDefinition;
10503
+ readonly month: GranularityDefinition;
10504
+ readonly quarter: GranularityDefinition;
10505
+ readonly halfyear: GranularityDefinition;
10506
+ readonly year: GranularityDefinition;
10507
+ readonly range: GranularityDefinition;
10508
+ };
10501
10509
 
10502
10510
  export declare type GranularityDefinitionSimple = Pick<GranularityDefinition, "toRangeString" | "toString">;
10503
10511
 
@@ -13522,7 +13530,7 @@ declare type SwitchFieldRenderIf = BooleanRenderIfCondition | CommonRenderIfCond
13522
13530
 
13523
13531
  declare type TableCollectionProps<R extends RecordType, Filters extends FiltersDefinition, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition, ItemActions extends ItemActionsDefinition<R>, NavigationFilters extends NavigationFiltersDefinition, Grouping extends GroupingDefinition<R>> = CollectionProps<R, Filters, Sortings, Summaries, ItemActions, NavigationFilters, Grouping, TableVisualizationOptions<R, Filters, Sortings, Summaries>>;
13524
13532
 
13525
- declare type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width"> & {
13533
+ declare type TableColumnDefinition<R extends RecordType, Sortings extends SortingsDefinition, Summaries extends SummariesDefinition> = WithOptionalSorting<R, Sortings> & Pick<ComponentProps<typeof TableHead>, "hidden" | "info" | "infoIcon" | "sticky" | "width" | "minWidth"> & {
13526
13534
  /**
13527
13535
  * Optional summary configuration for this column
13528
13536
  * References a key in the Summaries definition, similar to how sorting works
@@ -13559,7 +13567,7 @@ declare type TableColumnDefinition<R extends RecordType, Sortings extends Sortin
13559
13567
  headerGroupId?: string;
13560
13568
  };
13561
13569
 
13562
- declare function TableHead({ children, width, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
13570
+ declare function TableHead({ children, width, minWidth, sortState, onSortClick, info, infoIcon, sticky, hidden, align, className, colSpan, }: TableHeadProps): JSX_2.Element;
13563
13571
 
13564
13572
  declare interface TableHeadProps {
13565
13573
  children: React.ReactNode;
@@ -13568,6 +13576,12 @@ declare interface TableHeadProps {
13568
13576
  * @default "auto"
13569
13577
  */
13570
13578
  width?: ColumnWidth;
13579
+ /**
13580
+ * Optional minimum width for the header cell. When provided, overrides the
13581
+ * minWidth derived from `width`, allowing the column to grow past `width`
13582
+ * while never shrinking below this value.
13583
+ */
13584
+ minWidth?: ColumnWidth;
13571
13585
  /**
13572
13586
  * When true, the header cell will stick in the specified position when scrolling horizontally
13573
13587
  * @default undefined
@@ -15079,6 +15093,12 @@ declare type WithOptionalSorting<R extends RecordType, Sortings extends Sortings
15079
15093
  * The width of the column. If not provided, the width will be "auto"
15080
15094
  */
15081
15095
  width?: number;
15096
+ /**
15097
+ * Optional minimum width for the column in pixels. When provided, overrides
15098
+ * the minWidth derived from `width`. Useful for columns with no fixed
15099
+ * `width` that should not shrink below a given size.
15100
+ */
15101
+ minWidth?: number;
15082
15102
  };
15083
15103
 
15084
15104
  declare type WithOptionalSorting_2<Record, Sortings extends SortingsDefinition> = PropertyDefinition_2<Record> & {
@@ -15143,9 +15163,9 @@ declare module "gridstack" {
15143
15163
 
15144
15164
  declare module "@tiptap/core" {
15145
15165
  interface Commands<ReturnType> {
15146
- aiBlock: {
15147
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
15148
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
15166
+ enhanceHighlight: {
15167
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
15168
+ clearEnhanceHighlight: () => ReturnType;
15149
15169
  };
15150
15170
  }
15151
15171
  }
@@ -15153,9 +15173,9 @@ declare module "@tiptap/core" {
15153
15173
 
15154
15174
  declare module "@tiptap/core" {
15155
15175
  interface Commands<ReturnType> {
15156
- enhanceHighlight: {
15157
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
15158
- clearEnhanceHighlight: () => ReturnType;
15176
+ aiBlock: {
15177
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
15178
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
15159
15179
  };
15160
15180
  }
15161
15181
  }
@@ -15172,8 +15192,10 @@ declare module "@tiptap/core" {
15172
15192
 
15173
15193
  declare module "@tiptap/core" {
15174
15194
  interface Commands<ReturnType> {
15175
- transcript: {
15176
- insertTranscript: (data: TranscriptData) => ReturnType;
15195
+ videoEmbed: {
15196
+ setVideoEmbed: (options: {
15197
+ src: string;
15198
+ }) => ReturnType;
15177
15199
  };
15178
15200
  }
15179
15201
  }
@@ -15181,10 +15203,8 @@ declare module "@tiptap/core" {
15181
15203
 
15182
15204
  declare module "@tiptap/core" {
15183
15205
  interface Commands<ReturnType> {
15184
- videoEmbed: {
15185
- setVideoEmbed: (options: {
15186
- src: string;
15187
- }) => ReturnType;
15206
+ transcript: {
15207
+ insertTranscript: (data: TranscriptData) => ReturnType;
15188
15208
  };
15189
15209
  }
15190
15210
  }
package/dist/f0.js CHANGED
@@ -6,8 +6,8 @@ import He, { forwardRef as Jr, useRef as se, useImperativeHandle as IH, Children
6
6
  import { z as PH, B as OH, U as nT, D as iT, E as $m, G as aT, H as BH, I as Oa, J as nl, K as VH, L as Gw, M as Rr, N as fi, O as FH, P as zH, Q as kk, Z as Ho, R as GH, S as HH, T as WH, V as Rk, W as Xv, X as Hw, Y as Pk, _ as Ok, $ as pn, a0 as UH, a1 as $H, a2 as Bk, a3 as Rg, a4 as YH, a5 as XH, a6 as Vk, a7 as qH, a8 as ZH, a9 as jH, aa as KH, ab as QH, ac as JH, F as eW } from "./useChatHistory-BLSpXWfe.js";
7
7
  import { A as Aye, C as Mye, h as Eye, t as Lye, v as Nye, x as Iye, ah as kye, n as Rye, j as Pye, r as Oye, y as Bye, q as Vye, s as Fye, k as zye, e as Gye, g as Hye, l as Wye, i as Uye, a as $ye, p as Yye, ai as Xye, af as qye, ae as Zye, ag as jye, m as Kye, o as Qye, ad as Jye, b as e0e, f as t0e, w as r0e, c as n0e, d as i0e, u as a0e } from "./useChatHistory-BLSpXWfe.js";
8
8
  import { createPortal as Fk, unstable_batchedUpdates as qd, flushSync as tW } from "react-dom";
9
- import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-xx6dGFms.js";
10
- import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-xx6dGFms.js";
9
+ import { C as rW, o as nW, G as jb, H as zk, ac as Gk, N as Hk, aa as iW, T as aW, K as Wk, Q as Ww, ad as Uw, a5 as oW, ae as sW, af as lW, d as Pg, ag as uW, R as $w, u as Yw, J as Uk, O as Xw, ah as $k, ai as qw, p as cW, a0 as Yk, X as Xk, aj as fW, ak as dW, al as hW, am as vW, an as pW, M as gW } from "./useDataCollectionSource-DM1ZthY3.js";
10
+ import { r as s0e, s as l0e, t as u0e, z as c0e, ap as f0e, F as d0e, ab as h0e, v as v0e, a7 as p0e, a8 as g0e, a6 as m0e, a9 as y0e, w as b0e, P as x0e, y as _0e, D as w0e, x as S0e, E as C0e, m as T0e, n as D0e, ao as A0e, a3 as M0e, I as E0e, aq as L0e, ar as N0e, as as I0e, e as k0e } from "./useDataCollectionSource-DM1ZthY3.js";
11
11
  import { utils as fu, write as qk } from "./xlsx-Bedf3nwD.js";
12
12
  import { defaultTranslations as P0e } from "./i18n-provider-defaults.js";
13
13
  import './f0.css';const mW = {
@@ -844,9 +844,9 @@ declare module "gridstack" {
844
844
 
845
845
  declare module "@tiptap/core" {
846
846
  interface Commands<ReturnType> {
847
- aiBlock: {
848
- insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
849
- executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
847
+ enhanceHighlight: {
848
+ setEnhanceHighlight: (from: number, to: number) => ReturnType;
849
+ clearEnhanceHighlight: () => ReturnType;
850
850
  };
851
851
  }
852
852
  }
@@ -854,9 +854,9 @@ declare module "@tiptap/core" {
854
854
 
855
855
  declare module "@tiptap/core" {
856
856
  interface Commands<ReturnType> {
857
- enhanceHighlight: {
858
- setEnhanceHighlight: (from: number, to: number) => ReturnType;
859
- clearEnhanceHighlight: () => ReturnType;
857
+ aiBlock: {
858
+ insertAIBlock: (data: AIBlockData, config: AIBlockConfig) => ReturnType;
859
+ executeAIAction: (actionType: string, config: AIBlockConfig) => ReturnType;
860
860
  };
861
861
  }
862
862
  }
@@ -873,8 +873,10 @@ declare module "@tiptap/core" {
873
873
 
874
874
  declare module "@tiptap/core" {
875
875
  interface Commands<ReturnType> {
876
- transcript: {
877
- insertTranscript: (data: TranscriptData) => ReturnType;
876
+ videoEmbed: {
877
+ setVideoEmbed: (options: {
878
+ src: string;
879
+ }) => ReturnType;
878
880
  };
879
881
  }
880
882
  }
@@ -882,10 +884,8 @@ declare module "@tiptap/core" {
882
884
 
883
885
  declare module "@tiptap/core" {
884
886
  interface Commands<ReturnType> {
885
- videoEmbed: {
886
- setVideoEmbed: (options: {
887
- src: string;
888
- }) => ReturnType;
887
+ transcript: {
888
+ insertTranscript: (data: TranscriptData) => ReturnType;
889
889
  };
890
890
  }
891
891
  }