@platejs/ai 50.2.2 → 50.3.4

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.
@@ -4,7 +4,6 @@ import * as platejs from 'platejs';
4
4
  import { ExtendConfig, SlateEditor, Range, NodeEntry, TElement, PluginConfig, Path, TIdElement, TRange, OmitFirst, EditorNodesOptions, TText, Descendant, RemoveNodesOptions } from 'platejs';
5
5
  import { B as BaseAIPluginConfig, b as AIMode, E as EditorPrompt, A as AIToolName } from '../getEditorPrompt-C7EEuMw8.mjs';
6
6
  import { UIMessage, ChatRequestOptions } from 'ai';
7
- import { Range as Range$1 } from 'slate';
8
7
  import { UseChatHelpers } from '@ai-sdk/react';
9
8
  import { TriggerComboboxPluginOptions } from '@platejs/combobox';
10
9
  import { DeserializeMdOptions, SerializeMdOptions } from '@platejs/markdown';
@@ -42,7 +41,7 @@ declare const aiCommentToRange: (editor: SlateEditor, aiComment: TComment) => Ra
42
41
  declare function findTextRangeInBlock({ block, findText, }: {
43
42
  block: NodeEntry;
44
43
  findText: string;
45
- }): Range$1 | null;
44
+ }): Range | null;
46
45
 
47
46
  declare const acceptAIChat: (editor: PlateEditor) => void;
48
47
  declare const acceptSuggestions: (editor: PlateEditor) => void;
@@ -4,7 +4,6 @@ import * as platejs from 'platejs';
4
4
  import { ExtendConfig, SlateEditor, Range, NodeEntry, TElement, PluginConfig, Path, TIdElement, TRange, OmitFirst, EditorNodesOptions, TText, Descendant, RemoveNodesOptions } from 'platejs';
5
5
  import { B as BaseAIPluginConfig, b as AIMode, E as EditorPrompt, A as AIToolName } from '../getEditorPrompt-C7EEuMw8.js';
6
6
  import { UIMessage, ChatRequestOptions } from 'ai';
7
- import { Range as Range$1 } from 'slate';
8
7
  import { UseChatHelpers } from '@ai-sdk/react';
9
8
  import { TriggerComboboxPluginOptions } from '@platejs/combobox';
10
9
  import { DeserializeMdOptions, SerializeMdOptions } from '@platejs/markdown';
@@ -42,7 +41,7 @@ declare const aiCommentToRange: (editor: SlateEditor, aiComment: TComment) => Ra
42
41
  declare function findTextRangeInBlock({ block, findText, }: {
43
42
  block: NodeEntry;
44
43
  findText: string;
45
- }): Range$1 | null;
44
+ }): Range | null;
46
45
 
47
46
  declare const acceptAIChat: (editor: PlateEditor) => void;
48
47
  declare const acceptSuggestions: (editor: PlateEditor) => void;