@fileverse-dev/dsheet 1.1.7-patch-2 → 1.1.7-patch-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.
@@ -1,5 +1,6 @@
1
1
  import { default as React } from 'react';
2
- import { LiveQueryData, SmartContractQueryHandler } from '../utils/after-update-cell';
2
+ import { LiveQueryData } from '@fileverse-dev/fortune-react';
3
+ import { SmartContractQueryHandler } from '../utils/after-update-cell';
3
4
  import { OnboardingHandlerType, DataBlockApiKeyHandlerType } from '../types';
4
5
 
5
6
  type OnboardingHandler = OnboardingHandlerType;
@@ -1,7 +1,7 @@
1
- import { Sheet, WorkbookInstance, Cell } from '@fileverse-dev/fortune-react';
1
+ import { LiveQueryData, Sheet, WorkbookInstance, Cell } from '@fileverse-dev/fortune-react';
2
2
  import { RefObject } from 'react';
3
3
  import { ERROR_MESSAGES_FLAG } from './constants/shared-constants';
4
- import { LiveQueryData, SmartContractQueryHandler } from './utils/after-update-cell';
4
+ import { SmartContractQueryHandler } from './utils/after-update-cell';
5
5
 
6
6
  import * as Y from 'yjs';
7
7
  export interface SheetUpdateData {
@@ -1,5 +1,6 @@
1
1
  import { Cell, WorkbookInstance } from '@fileverse-dev/fortune-react';
2
2
  import { OnboardingHandlerType, DataBlockApiKeyHandlerType } from '../types';
3
+ import { LiveQueryData } from '@fileverse-dev/fortune-core';
3
4
 
4
5
  export type SmartContractResponse = {
5
6
  callSignature: unknown[];
@@ -12,17 +13,6 @@ export type SheetSmartContractApi = {
12
13
  newValue: Cell;
13
14
  };
14
15
  export type SmartContractQueryHandler = (sheetApi: SheetSmartContractApi) => (callSignature: unknown[]) => Promise<void>;
15
- export type LiveQueryData = {
16
- data: {
17
- row: number;
18
- column: number;
19
- function: string;
20
- value: string;
21
- id: string;
22
- name: string;
23
- };
24
- cellData: Cell;
25
- };
26
16
  /**
27
17
  * Parameters for the afterUpdateCell function
28
18
  */
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.1.7-patch-2",
5
+ "version": "1.1.7-patch-4",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
8
8
  "exports": {
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@fileverse-dev/dsheets-templates": "^0.0.18",
37
37
  "@fileverse-dev/formulajs": "^4.4.12-mod-3",
38
- "@fileverse-dev/fortune-react": "^1.1.5-patch.2",
38
+ "@fileverse-dev/fortune-react": "^1.1.5-patch.3",
39
39
  "@fileverse/ui": "^4.1.7-patch-21",
40
40
  "classnames": "^2.5.1",
41
41
  "exceljs": "^4.4.0",