Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / docs-shared / lib / Doc / DocStateInterface.ts
blob48a6d032fc9ed39fd1cdc7d54471e85dd4628d6e
1 import type { Observable } from 'lib0/observable'
2 import type { Doc } from 'yjs'
3 import type { DocsAwareness } from './DocsAwareness'
4 import type { RtsMessagePayload } from './RtsMessagePayload'
6 export interface DocStateInterface extends Observable<string> {
7   receiveMessage(message: RtsMessagePayload): void
8   getDocState(): Uint8Array
9   performOpeningCeremony(): void
10   performClosingCeremony(): void
11   getClientId(): number
12   getDoc(): Doc
14   awareness: DocsAwareness