@univerjs-pro/collaboration-client 0.4.0-nightly.202410141606 → 0.4.0-nightly.202410161605
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/collaboration/collaboration-entity.d.ts +2 -0
- package/lib/types/services/local-cache/local-cache.service.d.ts +2 -2
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +2 -1
- package/lib/umd/index.js +1 -1
- package/package.json +19 -18
@@ -35,6 +35,8 @@ export declare abstract class CollaborationEntity extends RxDisposable {
|
|
35
35
|
protected _state: CollaborationState;
|
36
36
|
get state(): CollaborationState;
|
37
37
|
protected _collaborationPaused: boolean;
|
38
|
+
protected _changesetSessionId: string;
|
39
|
+
protected _changesetReqId: number;
|
38
40
|
readonly status$: Observable<CollaborationStatus>;
|
39
41
|
constructor(unitID: string, session: CollaborationSession, _type: UniverType, _injector: Injector, _localCacheService: LocalCacheService, _compressMutationService: CompressMutationService, _localeService: LocaleService, _revisionService: RevisionService, _logService: ILogService, _commandService: ICommandService, _messageService: IMessageService, _permissionService: IPermissionService, _singleActiveUnitService?: ISingleActiveUnitService | undefined);
|
40
42
|
init(): Promise<void>;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { IMutationInfo, Nullable, Disposable, IConfigService, ILocalStorageService, LocaleService } from '@univerjs/core';
|
2
|
-
import { IBeforeCloseService } from '@univerjs/ui';
|
3
|
-
import { IChangeset, RevisionService } from '@univerjs-pro/collaboration';
|
4
2
|
import { UniverType } from '@univerjs/protocol';
|
3
|
+
import { IChangeset, RevisionService } from '@univerjs-pro/collaboration';
|
4
|
+
import { IBeforeCloseService } from '@univerjs/ui';
|
5
5
|
export interface IUnitCacheData {
|
6
6
|
unitID: string;
|
7
7
|
type: UniverType;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { ICopyFileMetaResponse, IFetchMissingChangesetsRequest, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetResourcesRequest, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetResponse, ISaveSheetBlockResponse, ISaveSnapshotResponse } from '@univerjs/protocol';
|
1
|
+
import { ICopyFileMetaResponse, IFetchMissingChangesetsRequest, IFetchMissingChangesetsResponse, IGetDeserializedSheetBlockResponse, IGetLatestCsReqIdBySidResponse, IGetResourcesRequest, IGetResourcesResponse, IGetSheetBlockRequest, IGetSheetBlockResponse, IGetUnitOnRevRequest, IGetUnitOnRevResponse, ISaveChangesetResponse, ISaveSheetBlockResponse, ISaveSnapshotResponse } from '@univerjs/protocol';
|
2
2
|
import { ILogContext, ISnapshotServerService } from '@univerjs-pro/collaboration';
|
3
3
|
import { IConfigService } from '@univerjs/core';
|
4
4
|
import { HTTPService } from '@univerjs/network';
|
@@ -17,4 +17,5 @@ export declare class SnapshotServerOverHTTPService implements ISnapshotServerSer
|
|
17
17
|
saveSheetBlock(): Promise<ISaveSheetBlockResponse>;
|
18
18
|
saveChangeset(): Promise<ISaveChangesetResponse>;
|
19
19
|
copyFileMeta(): Promise<ICopyFileMetaResponse>;
|
20
|
+
getLatestCsReqIdBySid(): Promise<IGetLatestCsReqIdBySidResponse>;
|
20
21
|
}
|