@fileverse-dev/ddoc 2.1.0-yjs-patch-3 → 2.1.0-yjs-patch-4

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/ddoc",
3
3
  "private": false,
4
4
  "description": "DDoc",
5
- "version": "2.1.0-yjs-patch-3",
5
+ "version": "2.1.0-yjs-patch-4",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -1,14 +0,0 @@
1
- import { AnyExtension } from '@tiptap/react';
2
-
3
- import * as Y from 'yjs';
4
- export declare function useZoomLevelListener({ zoomLevel, setExtensions, defaultExtensions, onError, secureImageUploadUrl, customTextInputRules, SlashCommand, PageBreak, ydoc, }: {
5
- zoomLevel: string | undefined;
6
- setExtensions: React.Dispatch<React.SetStateAction<AnyExtension[]>>;
7
- defaultExtensions: (zoomLevel: string, errorHandler: (error: string) => void, secureImageUploadUrl?: string) => AnyExtension[];
8
- onError?: (error: string) => void;
9
- secureImageUploadUrl?: string;
10
- customTextInputRules: AnyExtension;
11
- SlashCommand: (errorHandler: (error: string) => void, secureImageUploadUrl: string) => AnyExtension;
12
- PageBreak: AnyExtension;
13
- ydoc: Y.Doc;
14
- }): void;