@web-ppt/collab 0.5.0-beta.2 → 0.5.0-beta.7

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/dist/binding.d.ts CHANGED
@@ -1,3 +1,8 @@
1
1
  import type { Editor } from '@web-ppt/edit-core';
2
+ import { evaluateRemoteMessage } from './evaluate';
3
+ import type { CollaborationSession } from './state';
2
4
  import type { CollaborationBinding, CollaborationOptions } from './types';
5
+ /** 按需适配器共享当前会话;不创建第二套时钟或重复绑定 provider。 */
6
+ export declare function collaborationSession(editor: Editor): CollaborationSession;
7
+ export declare const bindWithEvaluator: (editor: Editor, options: CollaborationOptions, evaluate: typeof evaluateRemoteMessage) => CollaborationBinding;
3
8
  export declare function bindCollaboration(editor: Editor, options: CollaborationOptions): CollaborationBinding;