@univerjs-pro/exchange-client 0.4.1-nightly.202410291304 → 0.4.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/exchange-client",
3
- "version": "0.4.1-nightly.202410291304",
3
+ "version": "0.4.2",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -50,12 +50,12 @@
50
50
  "dependencies": {
51
51
  "@univerjs/icons": "^0.1.78",
52
52
  "pako": "^2.1.0",
53
- "@univerjs-pro/collaboration": "0.4.1-nightly.202410291304",
54
- "@univerjs/network": "0.4.1-nightly.202410291304",
55
- "@univerjs/design": "0.4.1-nightly.202410291304",
56
- "@univerjs/core": "0.4.1-nightly.202410291304",
57
- "@univerjs/ui": "0.4.1-nightly.202410291304",
58
- "@univerjs/protocol": "0.1.39-alpha.38"
53
+ "@univerjs/core": "0.4.2",
54
+ "@univerjs/design": "0.4.2",
55
+ "@univerjs-pro/collaboration": "0.4.2",
56
+ "@univerjs/protocol": "0.1.39-alpha.38",
57
+ "@univerjs/network": "0.4.2",
58
+ "@univerjs/ui": "0.4.2"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@types/pako": "^2.0.3",
@@ -64,7 +64,7 @@
64
64
  "typescript": "5.6.3",
65
65
  "vite": "^5.4.8",
66
66
  "vitest": "^2.1.2",
67
- "@univerjs-infra/shared": "0.4.1"
67
+ "@univerjs-infra/shared": "0.4.2"
68
68
  },
69
69
  "univerSpace": {
70
70
  ".": {
@@ -1,42 +0,0 @@
1
- import { IDocumentData, IWorkbookData } from '@univerjs/core';
2
- interface IFUniverExchangeClientMixin {
3
- /**
4
- * Import XLSX file to unit id
5
- * @zh 导入 XLSX 文件,得到 unit id
6
- * @param file File path or file object
7
- */
8
- importXLSXToUnitId(file: string | File): Promise<string | undefined>;
9
- /**
10
- * Import XLSX file to workbook data
11
- * @zh 导入 XLSX 文件,得到 workbook data
12
- * @param file File path or file object
13
- */
14
- importXLSXToSnapshot(file: string | File): Promise<IWorkbookData | undefined>;
15
- /**
16
- * Export XLSX file by unit id
17
- * @zh 传入 unit id,导出 XLSX 文件
18
- */
19
- exportXLSXByUnitId(unitId: string): Promise<File | undefined>;
20
- /**
21
- * Export XLSX file by workbook data
22
- * @zh 传入 workbook data,导出 XLSX 文件
23
- */
24
- exportXLSXBySnapshot(snapshot: IWorkbookData): Promise<File | undefined>;
25
- /**
26
- * Import DOCX file to unit id
27
- * @zh 导入 DOCX 文件,得到 unit id
28
- * @param file File path or file object
29
- */
30
- importDOCXToUnitId(file: string | File): Promise<string | undefined>;
31
- /**
32
- * Import DOCX file to document data
33
- * @zh 导入 DOCX 文件,得到 document data
34
- * @param file File path or file object
35
- */
36
- importDOCXToSnapshot(file: string | File): Promise<IDocumentData | undefined>;
37
- }
38
- declare module '@univerjs/core' {
39
- interface FUniver extends IFUniverExchangeClientMixin {
40
- }
41
- }
42
- export {};
File without changes