Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

feat(core): export function to use in exchange (#1547)

Dushusir54da0dc0aedf
diff --git a/packages/core/src/index.ts b/packages/core/src/index.ts
index 83a8f9c43f..b8f121e5f1 100644
--- a/packages/core/src/index.ts
+++ b/packages/core/src/index.ts
@@ -141,9 +141,11 @@ export {
transformSnapshotToDocumentData,
generateTemporarySnap,
} from './services/snapshot/snapshot-transform';
-export { textEncoder } from './services/snapshot/snapshot-utils';
+export { textEncoder, textDecoder } from './services/snapshot/snapshot-utils';
export { type ILogContext } from './services/log/context';
export { b64DecodeUnicode, b64EncodeUnicode } from './shared/coder';
+export { ClientSnapshotServerService } from './services/snapshot/snapshot-server.service';
+export { getSheetBlocksFromSnapshot } from './services/snapshot/snapshot-transform';
export { isBlackColor, isWhiteColor } from './shared/color/color-kit';