@fileverse-dev/ddoc 3.0.92 → 3.0.93

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.
@@ -2,7 +2,6 @@ import { Editor } from '@tiptap/react';
2
2
  import { BubbleMenuProps } from '@tiptap/react/menus';
3
3
  import { SetStateAction } from 'react';
4
4
  import { InlineCommentData, IpfsImageFetchPayload, IpfsImageUploadResponse } from '../../types';
5
- import { Reminder } from '../../extensions/reminder-block/types';
6
5
 
7
6
  export interface BubbleMenuItem {
8
7
  name: string;
@@ -31,9 +30,6 @@ export type EditorBubbleMenuProps = Omit<BubbleMenuProps, 'children'> & {
31
30
  file: File;
32
31
  }>;
33
32
  fetchV1ImageFn?: (url: string) => Promise<ArrayBuffer | undefined>;
34
- onReminderCreate?: (reminder: Reminder, type: string) => void;
35
- isConnected?: boolean;
36
- isCollabDocOwner?: boolean;
37
33
  enableCollaboration?: boolean;
38
34
  };
39
35
  export interface NodeSelectorProps {
@@ -1,7 +1,7 @@
1
1
  import { CommandProps } from './types';
2
2
  import { IpfsImageUploadResponse } from '../../types';
3
3
 
4
- export declare const getSuggestionItems: ({ query, onError, isConnected, ipfsImageUploadFn, editor, enableCollaboration, disableInlineComment, }: {
4
+ export declare const getSuggestionItems: ({ query, onError, ipfsImageUploadFn, editor, }: {
5
5
  query: string;
6
6
  onError?: (errorString: string) => void;
7
7
  ipfsImageUploadFn?: (file: File) => Promise<IpfsImageUploadResponse>;
@@ -25,13 +25,5 @@ export declare const getSuggestionItems: ({ query, onError, isConnected, ipfsIma
25
25
  image: string;
26
26
  command: ({ editor, range }: CommandProps) => void;
27
27
  isDisabled?: undefined;
28
- } | {
29
- title: string;
30
- description: string;
31
- searchTerms: string[];
32
- icon: import("react/jsx-runtime").JSX.Element;
33
- image: string;
34
- isDisabled: boolean | undefined;
35
- command: ({ editor, range }: CommandProps) => true | undefined;
36
28
  })[];
37
29
  export declare const updateScrollView: (container: HTMLElement, item: HTMLElement) => void;