@univerjs-pro/collaboration 0.1.12 → 0.1.15
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/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/types/controllers/doc-transform/algorithms/doc-algo.d.ts +2 -1
- package/lib/types/controllers/doc-transform/json-x-pro/json-x-pro.d.ts +6 -0
- package/lib/types/controllers/doc-transform/text-x-pro/text-x-pro.d.ts +4 -2
- package/lib/types/controllers/sheet-transform/algorithms/add-hyper-link/add-hyper-link.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-conditional-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-range-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-worksheet-merge.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/add-worksheet-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/delete-conditional-formatting-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/insert-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/insert-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/move-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-data-validation-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-numfmt.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-sheet-filter.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/remove-worksheet-merge.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-conditional-formatting-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-frozen.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-numfmt.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-range-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-range-value.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/set-worksheet-col-width.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/update-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-range-protection/update-data-validation-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/insert-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-range.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/move-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-col.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/remove-worksheet-merge.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-merge/set-range-values.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-conditional-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-range-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-worksheet-merge.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/add-worksheet-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/change-sheet-order.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/delete-conditional-formatting-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/insert-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/insert-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/move-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-data-validation-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-numfmt.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-sheet-filter.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-worksheet-merge.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/remove-worksheet.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-conditional-formatting-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-frozen.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-numfmt.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-range-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-range-value.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-worksheet-col-width.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/set-worksheet-name.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/update-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/add-worksheet-protection/update-data-validation-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/insert-col/update-comment-ref.algo.d.ts +1 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-hyper-link/remove-hyper-link.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/remove-worksheet-merge/insert-row.algo.d.ts +1 -1
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-conditional-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-worksheet-merge.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/add-worksheet-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/delete-conditional-formatting-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/insert-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/insert-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-range.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/move-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-col.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-data-validation-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-numfmt.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-row.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-sheet-filter.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-worksheet-merge.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-conditional-formatting-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-frozen.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-numfmt.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-range-protection.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-range-value.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-worksheet-col-width.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/update-comment.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/update-data-validation-rule.algo.d.ts +5 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-hyper-link/update-hyper-link.algo.d.ts +4 -0
- package/lib/types/controllers/sheet-transform/algorithms/update-hyper-link-ref/update-hyper-link-ref.d.ts +4 -0
- package/lib/types/index.d.ts +2 -2
- package/lib/types/models/changeset.d.ts +3 -2
- package/lib/types/models/collaboration-events.d.ts +2 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/rev/rev.service.d.ts +2 -3
- package/lib/umd/index.js +1 -1
- package/package.json +36 -21
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IRemoveNumfmtMutationParams, ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithRemoveNumfmt: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, IRemoveNumfmtMutationParams>;
|
package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/remove-row.algo.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IRemoveRowsMutationParams, ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithRemoveRow: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, IRemoveRowsMutationParams>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IRemoveSheetsFilterMutationParams } from '@univerjs/sheets-filter';
|
|
3
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
|
+
|
|
5
|
+
export declare const setRangeProtectionWithRemoveFilter: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, IRemoveSheetsFilterMutationParams>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IRemoveWorksheetMergeMutationParams, ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithRemoveWorksheetMerge: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, IRemoveWorksheetMergeMutationParams>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { ISetConditionalRuleMutationParams } from '@univerjs/sheets-conditional-formatting';
|
|
3
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
|
+
|
|
5
|
+
export declare const setRangeProtectionWithSetConditionalFormattingRule: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, ISetConditionalRuleMutationParams>;
|
package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-frozen.algo.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ISetFrozenMutationParams, ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithSetFrozen: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, ISetFrozenMutationParams>;
|
package/lib/types/controllers/sheet-transform/algorithms/set-range-protection/set-numfmt.algo.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ISetNumfmtMutationParams, ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithSetNumfmt: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, ISetNumfmtMutationParams>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithSetRangeProtection: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, ISetRangeProtectionMutationParams>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ISetRangeProtectionMutationParams, ISetRangeValuesMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithSetRangeValue: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, ISetRangeValuesMutationParams>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { ISetRangeProtectionMutationParams, ISetWorksheetColWidthMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const setRangeProtectionWithSetWorksheetColWidth: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, ISetWorksheetColWidthMutationParams>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
2
|
+
import { IUpdateCommentCommandParams } from '@univerjs/thread-comment';
|
|
3
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
|
+
|
|
5
|
+
export declare const setRangeProtectionWithUpdateComment: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, IUpdateCommentCommandParams>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IUpdateDataValidationMutationParams } from '@univerjs/data-validation';
|
|
2
|
+
import { ISetRangeProtectionMutationParams } from '@univerjs/sheets';
|
|
3
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
4
|
+
|
|
5
|
+
export declare const setRangeProtectionWithUpdateDataValidation: IMutationTransformAlgorithm<ISetRangeProtectionMutationParams, IUpdateDataValidationMutationParams>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IUpdateHyperLinkMutationParams } from '@univerjs/sheets-hyper-link';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const updateHyperLinkWithSelf: IMutationTransformAlgorithm<IUpdateHyperLinkMutationParams, IUpdateHyperLinkMutationParams>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { IUpdateHyperLinkRefMutationParams } from '@univerjs/sheets-hyper-link';
|
|
2
|
+
import { IMutationTransformAlgorithm } from '../../../../services/transform/transform.service';
|
|
3
|
+
|
|
4
|
+
export declare const updateHyperLinkRefWithSelf: IMutationTransformAlgorithm<IUpdateHyperLinkRefMutationParams, IUpdateHyperLinkRefMutationParams>;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { SheetTransformController } from './controllers/sheet-transform/sheet-transform.controller';
|
|
2
2
|
export { DocTransformController } from './controllers/doc-transform/doc-transform.controller';
|
|
3
|
-
export { type IChangeset, parseChangesetToProtocol, parseMutationToProtocol, parseProtocolChangeset, parseProtocolMutation, } from './models/changeset';
|
|
3
|
+
export { type IChangeset, parseProtocolCommand, parseChangesetToProtocol, parseMutationToProtocol, parseProtocolChangeset, parseProtocolMutation, } from './models/changeset';
|
|
4
4
|
export { CollaborationEvent, type IAcknowledgedChangeset, type IAcknowledgementEvent, type ICollaborationEvent, type ICollaborationUser, type IFetchingMissEvent, type IFetchOperationsEvent, type INewChangesetsEvent, type INewHostEvent, type IOperationEvent, type IPseudoFetchMissingResultEvent, type IRejectedChangeset, type IRejectionEvent, type IRequestHostEvent, type ISubmitChangesetEvent, type ITerminateEvent, type IUpdateCursorEvent, type IUserJoinEvent, type IUserLeaveEvent, type IUserSelectionEvent, } from './models/collaboration-events';
|
|
5
5
|
export { type ICombRequestEvent, type ICombResponseEvent, type IHeartbeatRequestEvent, type IHeartbeatResponseEvent, type IHelloRequestEvent, type IHelloResponseEvent, type IIngestQuestEvent, type IJoinRequestEvent, type IJoinResponseEvent, type ILeaveRequestEvent, type IRecvResponseEvent, } from './models/socket-events';
|
|
6
|
-
export {
|
|
6
|
+
export { UniverCollaborationPlugin } from './plugin';
|
|
7
7
|
export { CompressMutationService } from './services/compress-mutation/compress-mutation-service';
|
|
8
8
|
export { RevisionService, SINGLE_SNAPSHOT_MUTATIONS } from './services/rev/rev.service';
|
|
9
9
|
export { SnapshotService } from './services/snapshot/snapshot.service';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IMutationInfo } from '@univerjs/core';
|
|
2
|
-
import { IChangeset as IProtocolChangeset, IMutation as IProtocolMutation, UniverType } from '@univerjs/protocol';
|
|
1
|
+
import { ICommandInfo, IMutationInfo } from '@univerjs/core';
|
|
2
|
+
import { IChangeset as IProtocolChangeset, ICommand as IProtocolCommand, IMutation as IProtocolMutation, UniverType } from '@univerjs/protocol';
|
|
3
3
|
|
|
4
4
|
export interface IChangeset {
|
|
5
5
|
unitID: string;
|
|
@@ -11,6 +11,7 @@ export interface IChangeset {
|
|
|
11
11
|
memberID: string;
|
|
12
12
|
}
|
|
13
13
|
export declare function parseProtocolChangeset(protocolChangeset: IProtocolChangeset): IChangeset;
|
|
14
|
+
export declare function parseProtocolCommand(protocolCommands: IProtocolCommand[]): ICommandInfo[];
|
|
14
15
|
export declare function parseChangesetToProtocol(changeset: IChangeset): IProtocolChangeset;
|
|
15
16
|
export declare function parseProtocolMutation(mutation: IProtocolMutation): IMutationInfo;
|
|
16
17
|
export declare function parseMutationToProtocol(mutation: IMutationInfo): IProtocolMutation;
|
|
@@ -86,7 +86,8 @@ export declare enum CollaborationEvent {
|
|
|
86
86
|
/**
|
|
87
87
|
* This type will be returned if an error is reported.
|
|
88
88
|
*/
|
|
89
|
-
MSG_FOR_ERROR = "error_msg"
|
|
89
|
+
MSG_FOR_ERROR = "error_msg",
|
|
90
|
+
PERMISSION_REJ = "permission_rej"
|
|
90
91
|
}
|
|
91
92
|
/**
|
|
92
93
|
* Awaiting mutations were acknowledged by the server.
|
package/lib/types/plugin.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Injector } from '@wendellhu/redi';
|
|
|
3
3
|
|
|
4
4
|
export interface ICollaborationPluginConfig {
|
|
5
5
|
}
|
|
6
|
-
export declare class
|
|
6
|
+
export declare class UniverCollaborationPlugin extends Plugin {
|
|
7
7
|
private _config;
|
|
8
8
|
protected _injector: Injector;
|
|
9
9
|
static pluginName: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IUniverInstanceService } from '@univerjs/core';
|
|
2
2
|
|
|
3
3
|
/** Some special mutations. It a changeset contains the following mutations it should create a snapshot immediately. */
|
|
4
4
|
export declare const SINGLE_SNAPSHOT_MUTATIONS: Set<string>;
|
|
@@ -7,8 +7,7 @@ export declare const SINGLE_SNAPSHOT_MUTATIONS: Set<string>;
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class RevisionService {
|
|
9
9
|
private readonly _univerInstanceService;
|
|
10
|
-
|
|
11
|
-
constructor(_univerInstanceService: IUniverInstanceService, _logService: ILogService);
|
|
10
|
+
constructor(_univerInstanceService: IUniverInstanceService);
|
|
12
11
|
/**
|
|
13
12
|
* Get the current revision of a document.
|
|
14
13
|
* @param unitID
|