@fileverse-dev/fortune-core 1.1.5-patch.2 → 1.1.5-patch.3

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.
@@ -68,10 +68,5 @@ export declare function getSheetWithLatestCelldata(ctx: Context, options?: Commo
68
68
  column_focus: number;
69
69
  } | undefined;
70
70
  } | undefined;
71
- liveQueryList?: Record<string, {
72
- function: string;
73
- value: string;
74
- row: number;
75
- column: number;
76
- }> | undefined;
71
+ liveQueryList?: Record<string, import("../types").LiveQueryData> | undefined;
77
72
  };
package/es/types.d.ts CHANGED
@@ -144,6 +144,18 @@ export type ConditionRulesProps = {
144
144
  repeatValue: string;
145
145
  projectValue: string;
146
146
  };
147
+ export type LiveQueryData = {
148
+ data: {
149
+ row: number;
150
+ column: number;
151
+ function: string;
152
+ value: string;
153
+ id: string;
154
+ name: string;
155
+ subSheetId: string;
156
+ };
157
+ cellData: Cell;
158
+ };
147
159
  export type Sheet = {
148
160
  name: string;
149
161
  config?: SheetConfig;
@@ -205,12 +217,7 @@ export type Sheet = {
205
217
  column_focus: number;
206
218
  };
207
219
  };
208
- liveQueryList?: Record<string, {
209
- function: string;
210
- value: string;
211
- row: number;
212
- column: number;
213
- }>;
220
+ liveQueryList?: Record<string, LiveQueryData>;
214
221
  };
215
222
  export type CommentBox = {
216
223
  r: number;
@@ -68,10 +68,5 @@ export declare function getSheetWithLatestCelldata(ctx: Context, options?: Commo
68
68
  column_focus: number;
69
69
  } | undefined;
70
70
  } | undefined;
71
- liveQueryList?: Record<string, {
72
- function: string;
73
- value: string;
74
- row: number;
75
- column: number;
76
- }> | undefined;
71
+ liveQueryList?: Record<string, import("../types").LiveQueryData> | undefined;
77
72
  };
package/lib/types.d.ts CHANGED
@@ -144,6 +144,18 @@ export type ConditionRulesProps = {
144
144
  repeatValue: string;
145
145
  projectValue: string;
146
146
  };
147
+ export type LiveQueryData = {
148
+ data: {
149
+ row: number;
150
+ column: number;
151
+ function: string;
152
+ value: string;
153
+ id: string;
154
+ name: string;
155
+ subSheetId: string;
156
+ };
157
+ cellData: Cell;
158
+ };
147
159
  export type Sheet = {
148
160
  name: string;
149
161
  config?: SheetConfig;
@@ -205,12 +217,7 @@ export type Sheet = {
205
217
  column_focus: number;
206
218
  };
207
219
  };
208
- liveQueryList?: Record<string, {
209
- function: string;
210
- value: string;
211
- row: number;
212
- column: number;
213
- }>;
220
+ liveQueryList?: Record<string, LiveQueryData>;
214
221
  };
215
222
  export type CommentBox = {
216
223
  r: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fileverse-dev/fortune-core",
3
- "version": "1.1.5-patch.2",
3
+ "version": "1.1.5-patch.3",
4
4
  "main": "lib/index.js",
5
5
  "module": "es/index.js",
6
6
  "typings": "lib/index.d.ts",