@fileverse-dev/dsheet 2.0.33-rtc-e → 2.0.33-rtc-g

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.
@@ -46,9 +46,6 @@ export interface EditorContextType {
46
46
  awareness?: Awareness | null;
47
47
  terminateSession?: () => void;
48
48
  onCollaboratorsChange?: (collaborators: CollabUser[]) => void;
49
- /** Attach collab methods to the WorkbookInstance — must be called from a
50
- * callback ref so we re-attach every time Workbook regenerates its handle. */
51
- augmentEditorRef?: (instance: WorkbookInstance | null) => void;
52
49
  handleLiveQuery: (subsheetIndex: number, data: LiveQueryData) => void;
53
50
  }
54
51
  interface EditorProviderProps {
@@ -70,6 +67,8 @@ interface EditorProviderProps {
70
67
  commentData?: object;
71
68
  editorStateRef?: React.MutableRefObject<{
72
69
  refreshIndexedDB: () => Promise<void>;
70
+ terminateSession?: () => void;
71
+ updateCollaboratorName?: (name: string) => void;
73
72
  } | null>;
74
73
  enableLiveQuery?: boolean;
75
74
  liveQueryRefreshRate?: number;