@fileverse-dev/dsheet 1.2.93-ydoc → 1.2.93-ydoc-2

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.
@@ -1,18 +0,0 @@
1
- import { WorkbookInstance } from '@fileverse-dev/fortune-react';
2
-
3
- import * as Y from 'yjs';
4
- /**
5
- * Verifies the integrity of sheet data in a YDoc against a given sheet editor instance.
6
- * This function is used to verify that the sheet data in a YDoc matches the data in a sheet editor instance.
7
- * @param {Object} options
8
- * @param {React.RefObject<WorkbookInstance | null>} options.sheetEditorRef - Reference to the sheet editor instance
9
- * @param {React.RefObject<Y.Doc | null>} options.ydocRef - Reference to the YDoc instance
10
- * @returns {void}
11
- */
12
- export declare const dataBlockListYdocUpdate: ({ sheetEditorRef, ydocRef, dsheetId, handleContentPortal, dataBlockCalcFunction }: {
13
- sheetEditorRef: React.RefObject<WorkbookInstance | null>;
14
- ydocRef: React.RefObject<Y.Doc | null>;
15
- dsheetId: string;
16
- handleContentPortal?: any;
17
- dataBlockCalcFunction?: any;
18
- }) => void;
@@ -1,4 +1,4 @@
1
- import { Sheet, WorkbookInstance } from '@fileverse-dev/fortune-react';
1
+ import { Sheet } from '@fileverse-dev/fortune-react';
2
2
  import * as Y from 'yjs';
3
3
  export type SheetChangePath = {
4
4
  sheetId: string;
@@ -7,5 +7,5 @@ export type SheetChangePath = {
7
7
  value: any;
8
8
  type?: 'update' | 'delete';
9
9
  };
10
- export declare const updateYdocSheetData: (ydoc: Y.Doc | null, dsheetId: string, sheetEditor: WorkbookInstance | null, changes: SheetChangePath[], handleContentPortal: any) => void;
10
+ export declare const updateYdocSheetData: (ydoc: Y.Doc | null, dsheetId: string, changes: SheetChangePath[], handleContentPortal: any) => void;
11
11
  export declare function ySheetArrayToPlain(sheetArray: Y.Array<Y.Map>): Sheet[];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@fileverse-dev/dsheet",
3
3
  "private": false,
4
4
  "description": "DSheet",
5
- "version": "1.2.93-ydoc",
5
+ "version": "1.2.93-ydoc-2",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {