@univerjs-pro/collaboration-client 0.1.17 → 0.2.1
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/index.d.ts +1 -0
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +3 -1
- package/lib/types/services/comment/comment.service.d.ts +7 -0
- package/lib/umd/index.js +1 -1
- package/package.json +33 -33
package/lib/types/index.d.ts
CHANGED
@@ -13,3 +13,4 @@ export { DesktopCollaborationStatusDisplayController } from './controllers/colla
|
|
13
13
|
export { AUTHZ_URL_KEY, AuthzIoHttpService } from './services/auth-server/authz-io-http.service';
|
14
14
|
export { deserializeToCombResponse, serializeCombRequest } from './services/socket/serialize';
|
15
15
|
export { CollaborationStatusDisplay } from './views/components/CollabStatus';
|
16
|
+
export { CommentService } from './services/comment/comment.service';
|
@@ -5,6 +5,7 @@ import { IDisposable, Injector } from '@wendellhu/redi';
|
|
5
5
|
import { Observable } from 'rxjs';
|
6
6
|
import { MemberService } from '../member/member.service';
|
7
7
|
import { ICollaborationSocket, ICollaborationSocketService } from '../socket/collaboration-socket.service';
|
8
|
+
import { CommentService } from '../comment/comment.service';
|
8
9
|
|
9
10
|
export declare enum SessionStatus {
|
10
11
|
IDLE = 0,
|
@@ -25,6 +26,7 @@ export declare class CollaborationSession extends RxDisposable implements IDispo
|
|
25
26
|
private readonly _configService;
|
26
27
|
private readonly _localeService;
|
27
28
|
private readonly _memberService;
|
29
|
+
private readonly _commentService;
|
28
30
|
private readonly _sessionStatus$;
|
29
31
|
readonly sessionStatus$: Observable<SessionStatus>;
|
30
32
|
get sessionStatus(): SessionStatus;
|
@@ -32,7 +34,7 @@ export declare class CollaborationSession extends RxDisposable implements IDispo
|
|
32
34
|
readonly event$: Observable<ICollaborationEvent>;
|
33
35
|
private _socket;
|
34
36
|
private _socketMessageSubscription;
|
35
|
-
constructor(_unitID: string, socket$: Observable<Nullable<ICollaborationSocket>>, _logService: ILogService, _beforeCloseService: IBeforeCloseService, _messageService: IMessageService, _configService: IConfigService, _localeService: LocaleService, _memberService: MemberService);
|
37
|
+
constructor(_unitID: string, socket$: Observable<Nullable<ICollaborationSocket>>, _logService: ILogService, _beforeCloseService: IBeforeCloseService, _messageService: IMessageService, _configService: IConfigService, _localeService: LocaleService, _memberService: MemberService, _commentService: CommentService);
|
36
38
|
getMemberID(): string | null;
|
37
39
|
dispose(): void;
|
38
40
|
private _onCombEvent;
|